Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Keyboard doesn't work in X.org
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
ultraincognito
Guru
Guru


Joined: 03 Jun 2011
Posts: 346
Location: Ukraine

PostPosted: Mon Jan 30, 2012 8:42 pm    Post subject: [Solved] Keyboard doesn't work in X.org Reply with quote

My keyboard doesn't work in X.org server after recent update of a system. Earlier (one year ago) I cured similar with reinstall xf86-intput-keyboard. But now it didn't help.
Also I reinstalled xorg-server and xf86-input-evdev and it didn't help too.
I note that I can change (with Ctrl+Shift) layout of keyboard that is set by setxkbmap. Setxkbmap is run with autostart in Xfce.
I verified, a problem isn't in the Xfce because the keyboard doesn't work in the TWM too.
How can I cure it?


Last edited by ultraincognito on Tue Jan 31, 2012 6:41 pm; edited 1 time in total
Back to top
View user's profile Send private message
RazielFMX
l33t
l33t


Joined: 23 Apr 2005
Posts: 835
Location: NY, USA

PostPosted: Mon Jan 30, 2012 9:36 pm    Post subject: Reply with quote

What is your INPUT_DEVICES set to in /etc/make.conf?

Also, have you run a revdep-rebuild to make sure you don't have any broken links? Finally, re-emerging the evdev driver usually fixes this issue for me.
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3435
Location: Gainesville, Florida

PostPosted: Tue Jan 31, 2012 1:51 pm    Post subject: Reply with quote

I created a /root/.bashrc file, and put this alias in it (among a few other Gentoo root commands).

Very convenient. Wish I had done this years ago. :oops:

After an xorg-server update just run ex11d, and you're covered for all the x11 drivers that probably need rebuilding.
Code:
alias ex11d="emerge -av1 $(qlist -IC x11-drivers/)"


Here's some other Gentoo related typing savers for /root/.bashrc:

alias ems="emerge --sync"
alias epd="emerge -upDv @world"
alias ufd="emerge -ufD @world"
alias eukg="emerge -uD @world --keep-going"
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.8.2 USE=experimental python3_11
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10587
Location: Somewhere over Atlanta, Georgia

PostPosted: Tue Jan 31, 2012 2:49 pm    Post subject: Reply with quote

Your ex11d alias is kind of built into Portage 2.2 now:
Code:
emerge -1v @x11-module-rebuild
:wink:

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
ultraincognito
Guru
Guru


Joined: 03 Jun 2011
Posts: 346
Location: Ukraine

PostPosted: Tue Jan 31, 2012 6:40 pm    Post subject: Reply with quote

RazielFMX wrote:
What is your INPUT_DEVICES set to in /etc/make.conf?

evdev mouse keyboard
RazielFMX wrote:
Also, have you run a revdep-rebuild to make sure you don't have any broken links?

revdep-rebuild found broken links but not for this matter. Earlier I didn't use the revdep-rebuild.
RazielFMX wrote:
Finally, re-emerging the evdev driver usually fixes this issue for me.

It didn't help.

wrc1944 and John R. Graham, I don't use the emerge, I use the paludis. I like this package manager.

I solved my problem by update the xkbcomp. I had the 1.2.1 version but I need the 1.2.3.
Also do want say that while I had this problem the X-server was writing:
Code:
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Multiple interpretations of
"NoSymbol+AnyOfOrNone(all)"
>                   Using last definition for duplicate fields
Errors from xkbcomp are not fatal to the X server


Thank you for the answers.
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