In the first version of the IDE that was released there were examples called USB-Keyboard, and USB-Mouse. I tried to get these examples to work, but they would not even compile.
These examples (along with others that were not working) have been removed from the IDE in the latest version.
I tried to get them to compile with the latest release of the IDE, and they still did not compile. I do not recall what the error was.
I do not think anyone has ever gotten this to work on Galileo.
If you want to see what the examples look like you can look here:
In theory, the linked example should work on Galileo, but I have not tried it.
The document is listing the USB capabilities the Galileo can provide but without the software libraries it would be difficult to use those capabilities. The mouse and keyboard libraries are not working in the current IDE release. If you want to use it you would have to develop libraries utilizing the USB capabilities at the device level, or you could wait until the provided mouse and keyboard library get fixed in future IDE releases.
Yes, it should be possible via Linux. There might be some Linux drivers that are required. When building the kernel there is an option to enable keyboard and mouse, you might need to enable it. For this you’ll need to modify the Linux image, because it might not work on the standard SD image provided in the download center.
I have a USB-mouse working using Linux.
Just use /dev/input/event* or /dev/input/mouse*
The keyboard should also work. Since evdev.ko and mousedev.ko are by default in the kernel build you might not need to do anything to it. The intel supplied image should work
check cat /proc/bus/devices/* for info about which events are being assigned to what.
I'm wanted to bump this and see if anyone has had any luck. I found the right module, g_hid (usb gadget hid).
Kernel config options:
But there is still some further steps that I'm not quite sure of, I have an discussion open on this here:
Let's get keyboard support working!