Re: composite gadget support
"Ramirez-Ortiz, Jorge" <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Message-ID | <35786B99AB3FDC45A821572461791973015AFE29@gbrwgceumf01.eu.xerox.net> |
Hi Alan Yes we are saying the same thing despite my errors ..apologies. Rats...why do you think the specification doesn't cover for gadget auto configuration? I can see many gadgets with user interfaces that would like to provide different functionalities to different users depending on a password for instance... Thanks for your time jorge ______________________________ -----Original Message----- From: Alan Stern [mailto:[email protected]] Sent: 31 October 2007 19:21 To: Ramirez-Ortiz, Jorge Cc: David Brownell; [email protected] Subject: Re: [linux-usb-devel] composite gadget support On Wed, 31 Oct 2007, Ramirez-Ortiz, Jorge wrote: > Um...the devices you are referring to when using /sys/bus/sub are the > host controllers, am I right? You are wrong. The device under /sys/bus/usb/ is the USB device (or gadget) whose configuration you want to change. (However the /sys/bus/usb/ directory itself is located on the host, not the gadget, if that's what you mean.) > So if I am understanding all of this correctly, the host controller > would be telling the gadget what interface/function it needs.... More accurately, the host tells the gadget which configuration to install, by sending it a Set-Configuration request. > Somehow I was expecting the gadget (in this case a printer with a nice > GUI) to be able to present different interfaces to the hosts depending > on a user selection from within Within what? >(so the gadget would be chosing what > functionality to present at a given moment in time)....it seemed > reasonable... The USB specification states that these choices are made by the host, not by the peripheral. > Please could you confirm that I am in the 'right' track? It's kind of hard to say, but I suspect you aren't. Alan Stern ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel