Re: otg: sharing resources between host and gadget

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

 



Valentin Sitdikov wrote:
> How should user-space applications handle possibility of switching
> between host and gadget mode (for example libusb if controller is
> working as gadget ?)

When switching from host mode libusb simply sees that the other
device has disconnected, and libusb is not aware of any gadget
connection that takes it's place.

The libusb API is so far only for host applications. Feel free to
suggest API additions which would be helpful for you. As always you
speed things up if you also implement them.


//Peter
--
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


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

  Powered by Linux