On Fri, May 19, 2006 at 08:50:50PM -0400, Paul Giblock wrote: > > > >If it's not an interrupt or a bulk, what is it? > > > > It _is_ an interrupt endpoint. > > > > >usb_bulk_msg() should work just fine for interrupt endpoints and bulk > >endpoints. What are you trying to connect to here? > > > > It should, but it doesn't. On one system (VIA EDEN with Gentoo > 2.6.15) it works fine. On another system (Pentium M, not sure which > chipset, Gentoo 2.6.16) it doesn't work at all. On the Pentium system > it always returns -EINVAL. Both systems are EHCI.
Ah. Is this device a 1.1 device behind a 2.0 hub? Or a real 2.0 device? A 1.1 device with a UHCI or OHCI driver? > For this reason I am suggesting a usb_intr_msg() function which is > written as usb_bulk_msg() but with usb_fill_int_urb() instead of > usb_fill_bulk_urb(). Take a look at how usb_fill_int_urb() and usb_fill_bulk_urb() are defined, they are just simple "fill up the structure" functions, and are not different. > Regardless, I have grown fond of my completion variable solution since > it will keep me from having to use kthreads to achieve some of my > goals. That's fine. I'm still interested in finding out why usb_bulk_msg() is failing for you, if you don't mind my questioning :) thanks, greg k-h ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel