Re: [linux-usb-devel] First usbfs bulk write gets lost.

2005-07-12 Thread Dave Mielke
[quoted lines by Alan Stern on 2005/07/12 at 10:37 -0400] >You could try using the USBDEVFS_RESET ioctl before claiming the >interface. That ought to clear the data toggle. That indeed does appear to work. It does cause the device at the far end of an FTDI serial adapter to report one framing

Re: [linux-usb-devel] First usbfs bulk write gets lost.

2005-07-12 Thread Alan Stern
On Tue, 12 Jul 2005, Dave Mielke wrote: > [quoted lines by Alan Stern on 2005/07/12 at 09:55 -0400] > > >On the other hand, there are known examples where loading a driver, > >unloading it, and then loading it again will cause just such a > >disagreement to occur. When a driver is unloaded, usbc

Re: [linux-usb-devel] First usbfs bulk write gets lost.

2005-07-12 Thread Alan Stern
On Tue, 12 Jul 2005, Dave Mielke wrote: > Is it normal for the first user-space bulk write to a bulk output endpoint of > a > freshly opened usbfs file gets lost? This problem seems to have occurred on > every kernel I can remember, although, in case it's important, the one I'm > currently using

[linux-usb-devel] First usbfs bulk write gets lost.

2005-07-11 Thread Dave Mielke
Is it normal for the first user-space bulk write to a bulk output endpoint of a freshly opened usbfs file gets lost? This problem seems to have occurred on every kernel I can remember, although, in case it's important, the one I'm currently using is 2.6.12-1.1390_FC4smp. Is there something I'm supp