Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xorg keymap has gone stupid
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Napalm Llama
Guru
Guru


Joined: 04 Jun 2005
Posts: 533
Location: Cardiff, UK

PostPosted: Sat Jan 26, 2008 10:52 pm    Post subject: Xorg keymap has gone stupid Reply with quote

Hi there. I've just installed Gentoo on a new box and I'm trying to iron out some quirks. My keyboard layout has gone really weird. Fortunately the letter keys still work as expected, but a couple of other important things seem to have a mind of their own. I'm using xev to find out exactly what it is they're doing.

Arrow keys are as follows:
Left: keysym 0xfe03, ISO_Level3_Shift
Right: keysym 0xffec, Super_R
Down: keysym 0x0, NoSymbol
Up:
Code:
FocusOut event, serial 31, synthetic NO, window 0x2400001,
    mode NotifyGrab, detail NotifyAncestor

FocusIn event, serial 31, synthetic NO, window 0x2400001,
    mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 31, synthetic NO, window 0x0,
    keys:  2   0   0   0   0   0   0   0   0   0   0   0   0   4294967168 0   0
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0

KeyRelease event, serial 31, synthetic NO, window 0x2400001,
    root 0x49, subw 0x0, time 2512509, (163,717), root:(580,742),
    state 0x0, keycode 111 (keysym 0xff61, Print), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

I kid you not, that's what xev says whenever I press the Up button on my keyboard. I think it's performing a screengrab... The Insert block isn't behaving as expected either, along with some of the numpad, the PrintScreen keys and keys like AltGr and Super.

The relevant bit of my xorg.conf is as follows:
Code:
Section "InputDevice"
        Identifier      "Keyboard"
        Driver          "kbd"
        Option          "XkbModel" "pc104"
        Option         "XkbLayout" "gb"
EndSection


Everything works fine in the virtual terminal (Alt-F1 et al), so I know it's definately X.

Does anybody know what's going on? Because I sure don't...
_________________
Ryzen 5600x; Asus TUF Gaming B550-Plus; Geforce 1660 Super
Registered Linux User #381314
# killall humans
Back to top
View user's profile Send private message
mathfeel
l33t
l33t


Joined: 03 Aug 2004
Posts: 700

PostPosted: Sat Jan 26, 2008 10:57 pm    Post subject: Reply with quote

I got similar problem, here's what I get when I press Ctrl:

Code:
KeymapNotify event, serial 27, synthetic NO, window 0x0,
    keys:  34  0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

FocusOut event, serial 27, synthetic NO, window 0x4400001,
    mode NotifyGrab, detail NotifyAncestor

FocusIn event, serial 27, synthetic NO, window 0x4400001,
    mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 27, synthetic NO, window 0x0,
    keys:  2   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0


Needless to say, I am now without the use of CTRL!!

Relevant part of my xorg.conf:

Code:
Section "InputDevice"
  Identifier  "Default Keyboard"
  Driver      "evdev"
  #Driver      "kbd"
 
  Option      "evBits"  "+1"
  Option      "keyBits" "~1-255 ~352-511"
  Option      "Pass"    "3"
  Option      "AutoRepeat" "500 30"
  #Option      "RightAlt" "Meta"
  Option      "XkbModel" "evdev"
EndSection

_________________
-----------------------------------------------------------
"In heaven all the interesting people are missing"
-- Friedrich Nietzsche
Back to top
View user's profile Send private message
tadeboro
Tux's lil' helper
Tux's lil' helper


Joined: 21 Nov 2005
Posts: 93
Location: Ljubljana, Slovenia

PostPosted: Sun Jan 27, 2008 3:18 pm    Post subject: Reply with quote

Similar problem here.

But I also noticed that different WMs react differently to keypresses.
In gnome, my keyboard is stupid as hell: up key performs screen-grab, insert, home end etc. do nothing useful.
But in E17 or in Fvwm, the keyboard layout is set to default, but all keys perform as they should.
Back to top
View user's profile Send private message
dR0PS
Tux's lil' helper
Tux's lil' helper


Joined: 27 Feb 2005
Posts: 116
Location: DE/Hamburg

PostPosted: Sun Jan 27, 2008 3:19 pm    Post subject: Reply with quote

same problem on here
cursor up throws in ksnapshot, other cursors do nothing

any clue about that?

thanks, dR0PS
_________________

~x86 gentoo / zen-sources 2.6.36-zen1
Back to top
View user's profile Send private message
Tyrius
n00b
n00b


Joined: 27 Aug 2004
Posts: 46
Location: Southampton, UK

PostPosted: Sun Jan 27, 2008 3:22 pm    Post subject: Reply with quote

Have a look at this forum it will solve your issue.

https://forums.gentoo.org/viewtopic-t-651158-highlight-.html
Back to top
View user's profile Send private message
mathfeel
l33t
l33t


Joined: 03 Aug 2004
Posts: 700

PostPosted: Tue Jan 29, 2008 9:25 am    Post subject: Reply with quote

Tyrius wrote:
Have a look at this forum it will solve your issue.

https://forums.gentoo.org/viewtopic-t-651158-highlight-.html


Thank you, but this did not work for me...
_________________
-----------------------------------------------------------
"In heaven all the interesting people are missing"
-- Friedrich Nietzsche
Back to top
View user's profile Send private message
keenblade
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1087

PostPosted: Tue Jan 29, 2008 10:13 am    Post subject: Reply with quote

Take a look at here. Probably the same issue.
_________________
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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