Re: Linux as a USB hub?

2015-12-02 Thread Chris McClimans
On Wed, Dec 2, 2015 at 7:29 AM, Rogan Dawes wrote: > On Tue, Dec 01, 2015 at 06:17:54PM -0800, Greg KH wrote: >> On Wed, Dec 02, 2015 at 01:02:28AM +, Rogan Dawes wrote: >> > Thanks Greg. >> > >> > At a high level, what is needed to implement a new type of USB device >> > gadget, >> > such as

Re: uac2 configfs function seems to load incorrectly if loaded other particular functions

2015-11-08 Thread Chris McClimans
It looks like the ordering may be important. Configuring uac2 as your first function seems to resolve the issue. Must be a requirement documented somewhere, or an interesting bug. :) -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.k

Re: uac2 configfs function seems to load incorrectly if loaded other particular functions

2015-11-08 Thread Chris McClimans
Thought it might be useful to include the kernel versions: usb-host-arch$ uname -a Linux viii 4.2.3-1-ARCH #1 SMP PREEMPT Sat Oct 3 18:52:50 CEST 2015 x86_64 GNU/Linux usb-gadget-debian(beaglebone black)$ # uname -a Linux beaglebone 4.1.12-ti-r26 #1 SMP PREEMPT Fri Oct 30 21:28:17 UTC 2015 armv7l

uac2 configfs function seems to load incorrectly if loaded other particular functions

2015-11-07 Thread Chris McClimans
I'm trying to create a configfs based multi function gadget using the most minimal configs for uac2 and other devices, but I'm finding very few combinations that work. Was looking for some suggestions on how to debug, or what information to gather to make it work. I've included some of the combinat

Re: f_hid, f_mass_storage, and f_rdnis via configfs on platform/intel-mid

2015-02-04 Thread Chris McClimans
Hi Andrzej, Thank you for your time. I'd like to take a stab at FunctionFS before I start looking at backporting hid and uvc from 3.19+ I found a lot of information (mainly from you [1] [2]) on gadget ConfigFS and hid, but I'm having less luck finding information on FunctionFS and the required d

Re: f_hid, f_mass_storage, and f_rdnis via configfs on platform/intel-mid

2015-01-22 Thread Chris McClimans
The devices in embedded space accept kernel updates at various speeds. The raspberry pi is at 3.18, and the Intel Edison is bit lagging at 3.10. I thought it would probably be useful to the embedded community if I at least took a stab at back porting the hid gadgetfs function to 3.18 for use on the

f_hid, f_mass_storage, and f_rdnis via configfs on platform/intel-mid

2015-01-13 Thread Chris McClimans
Thanks for all the direction and feedback thus far, configfs is the way to go but I would need f_hid, f_mass_storage, and f_rdnis which aren't available in v3.10. Configfs f_hid is relatively recent, f_rndis + f_mass_storage where merged into v3.11, but similar functions actual entered the kernel i

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 storag

Re: USB HID Gadget Support for Intel Edison

2015-01-12 Thread Chris McClimans
The upstream sources for platform/intel-mid aren't in any public git repos and are distributed as a tarball. I have been unable to find any platform/intel-mid specific mailing lists, so I created my own repos and tickets to track my progress. I haven't done much work in the kernel, but I'm trying

USB HID Gadget Support for Intel Edison

2015-01-08 Thread Chris McClimans
orm code I should be adding, but I assume it's something under: https://github.com/instantinfrastructure/linux-yocto-3.10/tree/edison/arch/x86/platform/intel-mid I have a thread open(2) on the intel community forums, but I figured going straight to the source would be a good appr