Re: usbserial_generic, idVendor=1a28, idProduct=6010

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 24, 2014 at 01:46:59AM +0100, Emanuel Koczwara wrote:
> Hi,
> 
> W dniu 23.02.2014 21:21, Johan Hovold pisze:
> > You might need to mount debugfs: mount -t debugfs none 
> > /sys/kernel/debug and make sure your kernel is compiled with 
> > CONFIG_DYNAMIC_DEBUG (and CONFIG_DEBUG_FS) enabled. Johan -- To 
> > unsubscribe from this list: send the line "unsubscribe linux-usb" in 
> > the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info 
> > at http://vger.kernel.org/majordomo-info.html 
> 
>    Here is my debug output: http://nopaste.info/50a31e9ca7.html
> 
>    This is interesting:
> 
>    usb_serial_generic_read_bulk_callback - urb 0, len 2
>    usb_serial_generic_read_bulk_callback - length = 2, data = 31 60
> 
>    I'm getting this 31 60 as 1` when I read from /dev/ttyUSB0.

Yes, that was expected. The printer is returning what appears to be empty
status-messages every 110ms. I also wanted to make sure that all bulk
data had this two-byte header. Is that also the case for /dev/ttyUSB1?

The printer has a serial interface as well? Which behaves exactly the
same but does not return any "1`"?

I can write up a small driver which strips the header from incoming data
for you to test, but it would be nice to know what the header actually
is (and if it ever changes). There are no hints in the (Polish) manual?

Thanks,
Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux