modprobe g_hid always fails #75

Open
blackd opened this Issue Nov 19, 2013 · 2 comments

Projects

None yet

3 participants

@blackd
blackd commented Nov 19, 2013

with error:
ERROR: could not insert 'g_hid': No such device

@RobertCNelson
Member

What kernel/branch was this targetting?

@oliviermartin

I have nothing to do with the beagleboard but I had the same issue with another board (I ended up on this page while looking for a solution).

The solution is written in the Linux kernel: http://lxr.free-electrons.com/source/Documentation/usb/gadget_hid.txt

Following your kernel version, you have either 1 or 2 solutions:

  • Prior to v3.19: you need to add a struct platform_device to your platform code
  • From 3.19, you can either add a struct platform_device to your platform code or set your USB Gadget HID configuration in ConfigFS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment