On Fri, 9 Dec 2005, Paul Bonser wrote:

> I knew it was a good idea to read the USB bus specification :)
> 
> T:  Bus=02 Lev=02 Prnt=06 Port=00 Cnt=01 Dev#= 10 Spd= 1.5 MxCh= 0
> D:  Ver= 1.10 Cls=ff(vend.) Sub=ff Prot=ff MxPS= 8 #Cfgs=  1
> P:  Vendor=0665 ProdID=0301 Rev= 0.03
> C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=  0mA
> I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=dm2
> E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
> E:  Ad=02(O) Atr=02(Bulk) MxPS=   8 Ivl=0ms
> 
> There's the portion corresponding to the dm2.
> 
> So I guess -EINVAL is a perfectly reasonable error to be returned.
> That's so frustrating. *I'm* not the one who designed the device
> poorly...
> I guess they were afraid of doing control transfers or something...or
> didn't read the USB spec before designing a USB device.

Things aren't as bad as all that.  Although the distribution kernel won't 
change, you can always remove that prohibition against low-speed bulk URBs 
on your own machine.  It's the first two executable lines in 
drivers/usb/host/uhci-q.c:uhci_submit_bulk().  Just get rid of them.

Alan Stern



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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