Skip to content

modprobe g_hid always fails #75

Description

@blackd

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

Activity

  1. RobertCNelson commented on Jan 14, 2014

    @RobertCNelson
    Member

    What kernel/branch was this targetting?

  2. oliviermartin commented on Feb 12, 2016

    @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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions