Hi all,

I am seeing some strange behaviour in my code when moving from
kernel 2.4 to 2.6. In particular, the working system is:

 Linux 2.4.22-xfs armv5b unknown

and the two non-working kernels are:

 Linux 2.6.11-rc4 mips unknown
 Linux 2.6.11-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz

The device being used is high-speed USB 2.0, connected directly
to the EHCI root hub.

My code uses USBDEVFS_BULK ioctls with a timeout of 11000 msec
to communicate with the device from user space.

Here's a sequence of steps and what I am seeing:

1) Plug device in.

2) Run program for first time.
  It works and manages to transfer 100s of MBytes of data.

3) Running program again (any number of times) results in:
  usb 1-1: puppy timed out on ep2in
  usb 1-1: usbfs: USBDEVFS_BULK failed ep 0x82 len 4096 ret -145

4) Disconnecting and reconnecting the USB cable seems to reset
  the state well enough to fix the issue.

The issue could be with 2.6, but it is just as possible that my
code is not doing the right thing. The source to my program is
available via CVS:

cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/puppy login
cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/puppy co puppy


I would appreciate any and all help I can get. I'd be very happy to do whatever I can to get to the bottom of this.

Best regards,

   Peter.



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to