On Mon, 23 Oct 2006, Marcello Botrugno wrote:

> Hi all,
> I am not sure this is the the right place for my question ... but this
> is the problem.
> I have an application for printing labels on CD/DVD discs. For this task
> I use a device composed by a mechanical arm for getting discs from a bin
> and putting it in an inkjet printer (the device has a CD writer too).
> The CD Writer and the Arm-printer) are independent devices and are
> connected to an USB hub.
> The Arm device is a Class Printer device and I send it commands using
> usb_bulk_write() and read its status using usb_bulk_read().
> My application works fine on FC2 with the kernel 2.6.10-1.771 (the last
> available for FC2) but I need to move to FC5 (kernel 2.6.18-1-2200)  for
> best support of SATA discs. I have recompiled the application on FC5 but
> when I arrive at the point where I send the data for printing, the
> device stalls and all successive calls to usb_bulk_write() fail with
> -110 and some time -2.
> I already had this problem in the past, but with kernel 2.6.10-1.771 it
> seemed resolved, now it reappears again. I should like to solve this
> problem but I don't know if the problem is in libusb, in the kernel or
> in the device. I suppose in the kernel because installing kernel
> 2.6.10-1.771 on the same workstation and using the same device it works.
> 
> Could you give me any suggestion ?
> Do you think it is possible to use the usbcore of kernel 2.6.10-1.771 in
> kernel 2.6.18-1-2200 or I should get some log message and submit to this
> mailing list ? In this case can you tell me the best way for getting
> this logs ?

You can try using the usbmon facility to check the communication between 
the computer and the device.  Instructions are in the kernel source file 
Documentation/usb/usbmon.txt.

Alan Stern


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to