David:

What is the standard way for a user process to communicate with a gadget 
driver?  There's an ioctl() member of struct usb_gadget_ops, but it's not 
clear what it does, or how to use it, or whether it's meant to communicate 
with the gadget driver vs. the controller driver.  Would this involve 
registering a char device number?  How should I do it?

Or would I be better off using a sysfs attribute?  It would be a little
more awkward but it would work.

Alan Stern



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to