On 12/9/05, Alan Stern <[EMAIL PROTECTED]> wrote: > On Thu, 8 Dec 2005, Paul Bonser wrote: > Well, that would certainly do it. The Linux USB drivers do not accept > bulk URBs for low-speed devices. (The UHCI driver doesn't -- I'm not sure > about the OHCI driver. This could explain the difference in behavior > between your two computers.) > > > So long story medium-length, I was hoping somebody could help me > > figure out what's going wrong, whether it's in my code or in uhci-hcd > > or my code, or neither somehow. > > If what you said is correct then the problem is in your device. It > shouldn't have a bulk endpoint if it runs at low speed; that's in > violation of the USB specification. Can you post the entry in > /proc/bus/usb/devices for the device? > > Alan Stern >
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. -- PaulB ------------------------------------------------------- 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_idv37&alloc_id865&op=click _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel