On 12/9/05, Alan Stern <[EMAIL PROTECTED]> wrote:
> 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
>
>

Ooh, thanks, that saves me the trouble of finding it myself :)
So is that what I'm going to have to tell others if they want to use
the driver, too? Or just provide a patch, I guess.
I guess the most important part (the inputs) still works without the
ability to set the LEDs. It will be functional for those who don't
want to patch their kernels. Is there any other way (short of
including half of the uhci driver duplicated in my own driver, minus
those lines) that this could be gotten around? I'm guessing not...
Well, I'll take what I can get, but so much for the thing working
fully out of the box for anyone else. (except for OHCI people).

--
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

Reply via email to