Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modprobe g_hid always fails #75

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

modprobe g_hid always fails #75

blackd opened this issue Nov 19, 2013 · 2 comments
Assignees

Comments

@blackd
Copy link

blackd commented Nov 19, 2013

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

@ghost ghost assigned RobertCNelson Jan 14, 2014
@RobertCNelson
Copy link
Member

What kernel/branch was this targetting?

@oliviermartin
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants