Edited by Talion12 at Fri Sep 18, 2015 07:50 |
I have a project with some other guys, where we want to create a mobile HID-touch device with the Banana PI.
At the moment we are struggeling with the USB-HID configuration, because the final solution should work as a HID-Keyboard, so if you plug the Banana into a PC with an USB cable, the PC should recognize it as an HID-Keyboard.
Touch, Display and Power Pack is working fine. We also have a solution for the HID-configuration. At the moment we are using an Arduino which is working as an GPIO-HID converter, and its working fine, but this solution needs a lot of space in our mobile case.
After some research, I stumbled over the USB HID Gadget: https://www.kernel.org/doc/Documentation/usb/gadget_hid.txt
After that i was looking through the bananian OS and i found the g_hid.ko which, if i`m correct, is able to act as an ubs-hid keyboard if you use the usb otg port.
I found a lot of guides, especially for android smartphones, where people were able to use their devices as a keyboard.
But for now, i'm not able to adapt their settings for the banana pi and i'm wondering if anyone of the banana pi community have tested this and could guide me through the settings?
TLDR: I would like to use the Banana as a HID-keyboard via USB OTG and need help to setup the USB HID gadget and looking for someone who could guide me through this.
Edit: I have a Banana PI and Banana PI pro.