Is g_multi with g_hid possible?

2015-01-13 Thread Chris McClimans
Is it possible to appear as a USB gadget hid (kb + mouse), mass_storage, and ethernet at the same time? 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

Re: Is g_multi with g_hid possible?

2015-01-13 Thread Felipe Balbi
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

Re: Is g_multi with g_hid possible?

2015-01-13 Thread Andrzej Pietrasiewicz
W dniu 13.01.2015 o 16:10, Felipe Balbi pisze: 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

Re: Is g_multi with g_hid possible?

2015-01-13 Thread Felipe Balbi
On Tue, Jan 13, 2015 at 05:26:34PM +0100, Andrzej Pietrasiewicz wrote: W dniu 13.01.2015 o 16:10, Felipe Balbi pisze: 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?