Hi
I am trying to set my board to a USB device to replicate a keyboard, when I build g_hid and try to modprobe it I get the following error
modprobe: can't load module g_hid (kernel/drivers/usb/gadget/g_hid.ko): No such device
I came across this forum post which indicates a similar issue, but as you can see it does not elaborate on the solution I was hoping that someone here might understand where I must make the neccesary edits to the source for g_hid driver to work.
I have tried pasting the example from the kernel documentation for USB HID gadgets into arch/arm/mach-mx5/devices/usb.c but it had no affect.
Thanks
W