On Wednesday 23 May 2007, Pandita, Vikram wrote:
> >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.
> 
> Hi Greg
>  Currently the implementation of HSET driver is coupled with OMAP MUSB

Needlessly so.  (And presumably you're aware that the driver is
also used with DaVinci ...)

Note also the response I sent to Felipe.  This should be fully
doable from userspace...


>  and I will be trying to push it to linux-omap git, so that people can
>  take reference from it.  

Actually, it'd be a lot easier if you just provided a clean patch
in the first place.  That way it won't have to get ripped out
when the musb_hdrc code goes upstream.

 
> It should not be difficult to make a generic class driver out of this
> that can be used for HSET testing on HOST side(ehci/ohci).

OHCI can't do HSET ... it's not high speed.  ;)


> I will start working on that and soon submit a patch.  

- Dave


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

Reply via email to