Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Lost keyboard while in X
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
jserink
l33t
l33t


Joined: 30 Jan 2004
Posts: 606

PostPosted: Fri Feb 01, 2013 12:21 pm    Post subject: Lost keyboard while in X Reply with quote

Hi All:

Just before end of business today I lost my keyboard while in X windows. Its on a laptop and I lost both the external USB keyboard on the laptop as well. I had mouse control but no keyboard. I ssh'd in from my iPhone and killed my spice VM as I thought that was the problem but it was not, no keyboard.

Does anyone know of a way to get X to re-recognize the keyboard WITHOUT restarting X?

Cheers,
John
Back to top
View user's profile Send private message
WvR
Tux's lil' helper
Tux's lil' helper


Joined: 03 Mar 2011
Posts: 111
Location: Tsuruga, Japan

PostPosted: Sat Feb 02, 2013 2:27 am    Post subject: Reply with quote

Without information as to what happened, it is impossible to diagnose the problem and thus it is impossible to judge whether or not a restart of X is necessary.

From my experience, the common cause is that you have updated Xorg or something related to Xorg, and did not recompile the evdev driver. So, you can try

Code:

emerge xf86-input-evdev


but then you have to restart X to make everything work again.
Back to top
View user's profile Send private message
jserink
l33t
l33t


Joined: 30 Jan 2004
Posts: 606

PostPosted: Sat Feb 02, 2013 2:51 am    Post subject: Reply with quote

WvR wrote:
Without information as to what happened, it is impossible to diagnose the problem and thus it is impossible to judge whether or not a restart of X is necessary.

From my experience, the common cause is that you have updated Xorg or something related to Xorg, and did not recompile the evdev driver. So, you can try

Code:

emerge xf86-input-evdev


but then you have to restart X to make everything work again.

Thanx for the reply WVR.
I didn't update anything, I was scrolling through the columns in excel 2010 inside a windows 7 VM running under spice and qemu 1.22. The spreadsheet went crazy continually spooling and the keyboard was gone. I still had mouse control but no keyboard, both USB external and the laptop native. I removed the USB key board and readded it, no effect. I had two bash consoles open and neither would record any keystrokes. It was done.
I brought up task manager (xfce4.10) and killed the qemu vm and I still didn't get the keyboard back. I exited X using the mouse to logout and I had my keyboard back.

My purpose of the post is to see if there is anyway I could get the keyboard back with closing X.

I guess I should also change my login to start the VM before X so that is I have to lose X I don't lose the VM.

Cheers,
John
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum