On Wed, 11 Jan 2012, Sebastian Andrzej Siewior wrote: > * Alan Stern | 2012-01-11 12:11:57 [-0500]: > > >On Wed, 11 Jan 2012, Sebastian Andrzej Siewior wrote: > >> Well no. Even if you override it in kernel the user still could switch > >> it if he wants to. > > > >How? If usb-storage refuses to bind to devices that support UAS, the > >user has no way to force it to bind. > > I meant if UAS does not work _or_ he prefers BOT, he can still switch > back to BOT. How can the user switch back to BOT if usb-storage refuses to bind? > >> Felipe, what is Nokia and the other people that have the multi- > >> functional gadgets use to switch from one function to the other? > > > >Do those gadgets use separate _altsettings_ for BOT vs. UAS, or do they > >use separate _configs_? > > They have both. Both configs provide the same functions, if you look at > lsusb of the g_multi gadget: ... The listing shows two configs: one for CDC + RNDIS and mass storage BOT, the other for CDC ECM and mass storage BOT. There's nothing about UAS. > So you need a tool to switch between storage, CDC .... I don't understand. Why can't you use CDC and storage at the same time? Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html