On Tue, May 22, 2007 at 12:06:54PM +0530, Pandita, Vikram wrote: > > Hi Felipe > > >Sent: Monday, May 21, 2007 3:56 PM > > > >Hello all, > > > >is there a way to use libusb to talk directly to hcd drivers? > > > >what I'm wondering to do is to develop an application similar to the > >USBHSET tool from usb.org in order to test embedded host devices. > > > >I think that keep adding lots of sysfs interfaces is not the better > >way to do it since I could use ioctls. > > > >If any of you have a clue about how to do it... just point me the > >header file and I'll try to do it... but any information/tip is > >welcome :-) > > We have a working HSET tool for MUSB platform (based on linux-omap git) > that you can use. Attached is the implementation (patch that can apply > on linux-omap git for musb) with two interfaces:
<snip> Very nice. Is there any reason why you can't submit this to the main kernel tree so that others can use this? I get people asking all the time about this kind of functionality, especially as Linux is being used more and more in embedded systems with USB. thanks, greg k-h ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel