Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-03-2014, 12:51 AM   #1
Registered: Mar 2005
Distribution: Gentoo, Kubuntu
Posts: 582

Rep: Reputation: 28
How do I restore keyboard service

I have a Logitech G510s Gaming keyboard, and use gnome15 to access its extra keys and macro facilities. This works fine with KDE.

I start the desktop with startx. When I log out of it the driver, which needs dbus, is terminated and I get no response from the keyboard. lsusb shows the keyboard is connected. In order to continue using it I need to unplug and plug it in again, at which time it appears as a normal keyboard.

Is it possible to automatically start a keyboard driver when startx exits?
I'm using Arch.

Old 05-06-2014, 09:22 AM   #2
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 4,124
Blog Entries: 1

Rep: Reputation: 870Reputation: 870Reputation: 870Reputation: 870Reputation: 870Reputation: 870Reputation: 870
I had an issue like that in avlinux for ps2 keyboard and mouse. I copied some udev and X stuff over from debian wheezy (avlinux was based on squeeze at the time). And it started working. Seems like /lib/udev/keymaps and something from a subdirectory of /etc/X11/X???*. It was a while ago, but a place to start looking. Try a few other distros and see if they have the same issue.

The symptoms for me at the time was that the ps2 keyboard and mouse were not recognized at all, and USB keyboard and mouse only worked if plugged in AFTER X was started. The cross polination from another distro and maybe some other stuff made it work as expected. The keyboard always worked fine in console mode without X. My fiddling eventually got it to work without hotplugging, although I'm not sure which change made it work.

Various programs like xinput and lsinput from packages xinput and input-utils can help diagnose more specifically your hardware. Debian specific package names, but a place to start looking at least.
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
whether Linux as Restore option to Restore Previous Day Setting as Windows sanjay87 Linux - Newbie 2 11-12-2012 05:48 AM
iptables-restore ubuntu server does not restore at boot R03L Ubuntu 4 02-09-2010 09:14 PM
Restore MySQL Dump File But I want it to restore with different names? helptonewbie Linux - Newbie 5 07-08-2009 06:09 AM
How to restore keyboard layout preference file linuxlainen Linux - Newbie 4 03-22-2008 10:55 AM
How do I restore USB service in FC3 csanghavi Linux - Newbie 1 12-24-2004 07:50 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:49 AM.

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