Re: usb-gadget: dynamic reconfiguration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Shantur Rathore <i@xxxxxxxxxxx> writes:
> Hi all,
>
> I am trying to figure out if it's possible to reconfigure a usb-gadget
> when it's live.
> The idea is to create a gadget with 1 function - lets say a serial gadget.
>
> Upon communication with the host, the host could specify (via Serial
> communication) which is the next gadget it needs for example a mass
> storage or ecm and the next gadget can be added to the configuration.
>
> For now this only works if the gadget is disconnected and reconnected
> to the UDC.
>
> I want to understand if it is technically possible to add more
> functions to a live config without affecting existing functions.

the only thing you can do is upon a certain command, logically
disconnect from the bus and connect again as a new device.

-- 
balbi



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux