Re: Is g_multi with g_hid possible?

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

 



Hi,

On Tue, Jan 13, 2015 at 07:05:37AM -0800, Chris McClimans wrote:
> Is it possible to appear as a USB gadget hid (kb + mouse),
> mass_storage, and ethernet at the same time?

yes, that's called a composite device.

> My goal is to try and create a device that when attached during boot
> to a PC would be able to send keys as a hid keyboard to select booting
> from a USB mass storage.
> 
> Booting from the mass storage would then load ipxe and perform dhcp
> over the USB RDNIS device. The nic would probably be bridged to wifi,
> or at least connected to some type of boot control process.
> 
> It has been necessary to unload g_multi in order to load g_hid on the
> Edison on 3.10.17 so far and wanted to make sure the end goal was
> possible at all.

Have a look at libusbg, you need to cook up your own gadget. g_multi
won't help you here.

-- 
balbi

Attachment: signature.asc
Description: Digital signature


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

  Powered by Linux