Hi, On Tue, Jun 14, 2011 at 10:07:36AM +0200, Michal Nazarewicz wrote: > >heh, it's just that you still have the possibility of a user turn on the > >device with the USB cable already attached, right ? Then this whole idea > >falls appart ;-) > > You can do a pull-up or something. Also, if you do rmmod g_foo followed how do you know user has finished loading all the functions s/he wants ? :-) > by modprobe g_bar you are switching gadgets so users can already change > gadget while USB cable is attached. we do soft-disconnect in that case, true. -- balbi
Attachment:
signature.asc
Description: Digital signature