Re: How to talk to USB HCD Drivers?

David Brownell <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Monday 21 May 2007, Felipe Balbi wrote:
> 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 :-)

One way:  just use usbfs and talk to it like any other hub,
using control messages.

You should be able set USB_PORT_FEAT_TEST for example ... or
suspend a port afte verifying its device is HNP-enabled, etc.

- 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/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.