On Thu, Mar 24, 2005 at 04:37:21PM +0100, Paul Koster wrote: > Hi guys, > > I'm currently making my first steps in USB driver development as I am > developping a linux driver for an optical fiber to USB convertor. I managed > to successfully write a driver for the 2.6.9 kernel, but when I upgraded to > 2.6.10 or 2.6.11 things suddenly didn't work anymore. As I am not that quite > proficient with USB driver development, I guess I must have been lucky things > worked out in the first place. > > The convertor uses bulk in/out endpoints for control commands and a > isochronous in endpoint for streaming data. I want to buffer both the bulk in > and iso in data into one buffer. The convertor can only operate on an USB2 > interface, so I check for that in the probe function. > > The problem is that loading the driver into the kernel goes well. Sometimes a > bulk transfer comes through. Iso transfers sometimes get through but always > generate -71 (EPROTO) errors. According to Mr. Fliegl's programming guide it > means bitstuff or unknown error: doesn't get me further. When I disable the > iso URB submitting, the bulk works well for about 2 minutes. Unloading the > driver results most of the time in kernel panics, but only when I actively > used the driver in a open/close session.
Are you sure the device is working properly? Do you have access to a usb analizer to see if the data stream is being sent properly from the device? Other than that, a few usb host controller changes have happened from 2.6.9, but nothing that should have broken your driver from what I can tell. thanks, greg k-h ------------------------------------------------------- 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
