well, I guess it's just a question on the kernel config. However, can you help me get the point - why would you want to connect via USB keyboard to a headless device?
As mhahn already stated, to support a Keyboard (USB or otherwise) it would also have to support a display.
However, if you needed a keyboard for some other reason, say as a input device for something else like a security system or whatever, then there is no reason why you cannot access the USB Keyboard from your own linux code (not necessarily Arduino code).
All USB keyboards are simple USB HID class devices, and I'm pretty sure you could access them directly from within your own code as input devices.
well, right - but needs to be configured. Not sure about Makki's kernel config. Just checked mine I'm currently working on which explicitly wouldn't support USB keyboards
# CONFIG_INPUT_KEYBOARD is not set
mhahn and SpiderKenny, i was thinking of using Galileo for sensing inputs then controlling an already existing application in a PC (which are expecting keyboard commands). So I'm not trying to access a keyboard connected to Galileo, I'm trying to make it act like one.
Makey-makey comes to mind to what i want to do.
Bluetooth A/V remote control should work. Not sure about USB
Ahh I see :-)
Well the Galileo has a USB Client port, which is what you'd need to connect to the PC, however it's configured by default as CDC Communications class device, you would need to figure out how to reconfigure the port as a USB HID device.
Or as @mhahn says you could use a bluetooth adapter and send keyboard commands that way, if your PC supports bluetooth.
Other alternatives would include some kind of serial connection to the PC through the USB Client port or 3.5mm Jack, or pins 0 and 1 of the arduino header, and then some software on the PC to accept serial bytes as keyboard input.
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!