my Name is Martin. I'm a teammate of Tailon12. At this time we're still in search of a solution to get g_hid working on Banana Pi with Bananian installed.
Checked our kernel. It's the 3.4.108+. So we should be able use g_hid.
Now our major problem is, to get g_hid acting like HID - Keyboard.
After "# modprobe g_hid", without conneting the otg to PC host, we get:
g_hid gadget: HID Gadget, version: 2010/03/16
g_hid gadget: g_hid ready
Banana still working, everthing is ok.
Now, if with connecting the otg to PC, we get:
g_hid gadget: full-speed config #1: HID Gadget
g_hid gagdet: full-speed config #1: HID Gadget
And now the Banana doesn't do anything further. PC is detecting a new USB - Device, but throws an error. Windows Device Manager tells us, that USB device didn't to request. Device Manager doesn't know witch device type nore it's manufacturer or the productId...
After some time Banana tells us about a stall. This behaviour is looping till restarting the Banana with power down.
I think we do not have the wished hid.c compiled. Has anyone the kind of an idea?