Hi, On Thu, Jan 08, 2015 at 09:05:24AM -0800, Chris McClimans wrote: > I'm trying to get the g_hid module working with the Intel Edison. > > I tried just compiling intel's patch(1) to 3.10.17 with > CONFIG_USB_GADGETFS=m CONFIG_USB_G_HID=m but I get an error trying to > load the module: > > modprobe: ERROR: could not insert 'g_hid': No such device > > According to https://www.kernel.org/doc/Documentation/usb/gadget_hid.txt: > > > g_hid is a platform driver, so to use it you need to add > > struct platform_device(s) to your platform code defining the > > HID function descriptors you want to use this is telling you to register a platform_device with platform_device_register() and use platform_data to pass the descriptors you wish. -- balbi
Attachment:
signature.asc
Description: Digital signature