LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   USB keyboard communication (https://www.linuxquestions.org/questions/linux-hardware-18/usb-keyboard-communication-4175610484/)

Ananas777 07-24-2017 05:44 AM

USB keyboard communication
 
Hello, I would like to know how I can use driver for keyboard on linux. Or at least where can I find keyboard serial codes to write one by myself. Let's say I have programmable "gaming" keyboard. How is it working that it communicates with microcontroller inside keyboard to change keys bindings while serial port (if keyboards are serial) is busy sending presses? I'm also dying to know how usb on linux works down to i/o level. If there is anyone who can explain it I would be thankful.

BW-userx 07-24-2017 08:30 AM

[[removed]]

AwesomeMachine 07-24-2017 06:24 PM

I think this is what you are looking for: http://www.linux-usb.org/USB-guide/book1.html

DavidMcCann 07-25-2017 11:14 AM

Quote:

Originally Posted by Ananas777 (Post 5739188)
Hello, I would like to know how I can use driver for keyboard on linux.

Welcome to the forum!

You don't need a driver for a keyboard. Unlike Windows, things like keyboards and mice just work: the support is not provided by a manufacturer's driver, but by Linux itself. In fact, if you plugged in a Mac keyboard that would work, too.


All times are GMT -5. The time now is 01:21 AM.