LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-24-2017, 05:44 AM   #1
Ananas777
LQ Newbie
 
Registered: Jul 2017
Posts: 1

Rep: Reputation: Disabled
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.
 
Old 07-24-2017, 08:30 AM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
[[removed]]

Last edited by BW-userx; 07-24-2017 at 08:36 AM.
 
Old 07-24-2017, 06:24 PM   #3
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
I think this is what you are looking for: http://www.linux-usb.org/USB-guide/book1.html
 
Old 07-25-2017, 11:14 AM   #4
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,137

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
Quote:
Originally Posted by Ananas777 View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
simple communication via USB grizzman Linux - Newbie 1 04-05-2012 05:44 PM
Multiprocess communication over USB debarchan Linux - General 3 12-07-2009 09:42 PM
Usb Communication ashthet Linux - Newbie 1 09-05-2008 08:20 AM
communication by USB nicolastiss Programming 2 07-17-2006 11:22 AM
USB communication problem dasw127 Linux - Hardware 0 08-23-2005 03:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration