Greg KH <[EMAIL PROTECTED]>
Sent by: To: Richard
Johnston/Rochester/IBM@IBMUS
[EMAIL PROTECTED] cc:
[EMAIL PROTECTED]
ceforge.net Subject: Re:
[Linux-usb-users] Trouble using Belkin USB-Serial adapter with a serial
printer
12/18/01 03:57 PM
>>On Tue, Dec 18, 2001 at 03:36:55PM -0600, Richard Johnston wrote:
>>
>> I tried a newer kernel (2.4.16) same results. I found a printer which
>> could be placed in hex dump mode. Only E0 or 00 are printed to the
>> printer. The driver debug messages looked like they were correct hex
>> values for the file I was trying to print. Its almost like the data is
>> manipulated just before it is sent out to the printer. I don't think
>> it is Belkin specific. As near as I could tell any driver which uses
>> the generic serial read/write routines would see this problem. I tried
>> another device (Not Belkin) it behaved the same as the Belkin just E0
>> or 00.
>>
>> Any Ideas?
>There isn't any data manipulation functions in the usb-serial driver
functions.
>
>If you turn on debugging for the driver (load it with "debug=1") does it
>show that the proper data is being sent to the device?
>
Yes the proper data is being sent
>I'd be interested in seeing the debug logs for where things go wrong.
>
I am heading on vacation but will get you a fresh log when I return mid JAN
>What baud rates / control settings are you trying?
started with
standard 8 bit 1 stop 9600 No Parity
But tried various combinations (no change)
Do you have a speed/stty setting to try?
>What kind of userspace program are you using to transfer the file? I've
This may be the problem I am using lpr but
echo "HELLO">/dev/ttyUSB0 would not work either.
>heard people say that lpr can't handle "short" writes, which the
>usb-serial drivers do. If this proves true, a patch for lpr might be a
>good :)
>thanks,
>greg k-h
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users