You are not logged in.
After doing an upgrade (pacman -Syu), I can no longer use the following keys on my keyboard without unappreciated consequences:
- PgUp
- PgDown
- now, apparently, the Left arrow
When I use xev, I get two separate events for every one real keyboard event, with two keycodes.
For example, this is what happens when I press PgUp:
KeyPress event, serial 24, synthetic NO, window 0x1800001,
root 0xae, subw 0x0, time 1850204, (679,556), root:(680,571),
state 0x0, keycode 112 (keysym 0xffaf, KP_Divide), same_screen YES,
XLookupString gives 1 bytes: (2f) "/"
XmbLookupString gives 1 bytes: (2f) "/"
XFilterEvent returns: False
KeyPress event, serial 24, synthetic NO, window 0x1800001,
root 0xae, subw 0x0, time 1850204, (679,556), root:(680,571),
state 0x0, keycode 99 (keysym 0xff55, Prior), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
MappingNotify event, serial 27, synthetic NO, window 0x0,
request MappingKeyboard, first_keycode 8, count 248
KeyRelease event, serial 27, synthetic NO, window 0x1800001,
root 0xae, subw 0x0, time 1850306, (679,556), root:(680,571),
state 0x0, keycode 112 (keysym 0xffaf, KP_Divide), same_screen YES,
XLookupString gives 1 bytes: (2f) "/"
XFilterEvent returns: False
MappingNotify event, serial 27, synthetic NO, window 0x0,
request MappingKeyboard, first_keycode 8, count 248
KeyRelease event, serial 27, synthetic NO, window 0x1800001,
root 0xae, subw 0x0, time 1850306, (679,556), root:(680,571),
state 0x0, keycode 99 (keysym 0xff55, Prior), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
I've checked xmodmap -pke, but I have no idea what it means:
keycode 99 = Prior NoSymbol Prior
keycode 112 = KP_Divide XF86_Ungrab KP_Divide XF86_Ungrab
Any help would be appreciated. Needless to say, this is pretty annoying when I'm trying to edit code and it searches my document instead of scrolling up, or capitalizes words (some vim feature I had previously never known about, and will most likely never use).
Last edited by secretrobotron (2010-06-24 15:09:05)
Offline
What's the point in cross-posting? http://bbs.archlinux.org/viewtopic.php? … 42#p780042
That's a no no. See Forum Etiquettes
Last edited by Inxsible (2010-06-23 15:28:09)
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Because I realized it was in the wrong spot. Really, I should just delete the other one.
Offline
Because I realized it was in the wrong spot. Really, I should just delete the other one.
You can't, but I guess a mod will come in and delete it.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Haha Excellent. Any insight with respect to my problem?
Offline
Not an outright solution, but some pointers to what you can check on:
Are you using the latest xorg? Do you still have a xorg.conf file which loads keyboard drivers or do you hot-plug?
Do you by any chance have keybindings for those keys in your WM/DE which you may have forgotten?
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
I'm pretty sure I'm using the latest xorg. I installed a fresh version of arch a couple months ago.
My xorg.conf has about six lines concerning keyboards, most of which are
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbLayout" "us"
EndSection
and the other being
InputDevice "Keyboard0"
in the ServerLayout section.
Is there a newer way to do this? Perhaps omitting it altogether?
I'm using xmonad, and I checked my keybindings in xmonad.hs to see if I had anything hilarious. Alas, I found nothing.
Offline
I'm pretty sure I'm using the latest xorg. I installed a fresh version of arch a couple months ago..
A couple of months is way too much in the past !!
xorg 1.8 came out late Sunday last week. If you upgrade, you might find a 100 odd Megs to download probably, if you haven't upgraded at all in 2 months.
And, yes the new xorg automatically loads the keyboard drivers. I mean, you can still use a xorg.conf but why bother?
Last edited by Inxsible (2010-06-23 16:26:09)
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Hahaha my lazy practice aside (I do honestly upgrade more often than that), I'll try leaving the keyboard config out of xorg.conf, and see if that does anything at all.
Offline
Well, I cleared keyboard references from my xorg.conf, and nothing changed.
Any more ideas? Anyone?
Offline
So, using xev & xmodmap, I can find out exactly which two events get fired for certain keypresses, and eliminate their entries, which I've done.
Seems like a pretty hacky solution though, considering the fact that there are still two events with separate keycodes being fired for certain keys.
Offline
Lots of searching eventually led me here:
http://bbs.archlinux.org/viewtopic.php?pid=756568
The xorg update includes a section in xorg.conf.d/10-evdev.conf that is a catch-all for keyboards.
Commenting it out fixes the problem.
Offline