You are not logged in.

#1 2008-12-03 18:20:08

hack.augusto
Member
From: Brazil
Registered: 2008-08-28
Posts: 124

[solved]key repetition problem after X upgrade

After I upgraded to the new X package, my left arrow repetition doesn't work anymore, and it is evdev fault neutral [it works on the console and on X without evdev] any ideas how could I fix it [question mark] (lol, I'm kdb rigth now, and my keyboard isn't configured)

Last edited by hack.augusto (2008-12-05 00:59:24)

Offline

#2 2008-12-04 16:24:28

hudu
Member
Registered: 2008-12-04
Posts: 2

Re: [solved]key repetition problem after X upgrade

I updated my system recently and X got totally jacked.  As a relative noob, it took me two days to figure out how to fix the problem, but here is what I had to do.  The new improved X is now looking in a different place for how to define the keyboard and mouse.  Therefore:

1) Exit X (Alt+Ctrl+Backspace) or restart

2) Reconfigure X
~# X -configure
~# rm /etc/X11/xorg.conf
~# cp /root/xorg.conf.new /etc/X11/xorg.conf

3) Make sure hal is in Daemons in /etc/rc.conf

4) Restart my system
~# reboot

Note: This should cover keyboards and mice that use standard definitions.  My big problem that took me 2 days to figure out was that hal is absolutely necessary for the new X.  It MUST be in daemons and I didn't have hal in my daemons before this.

Offline

#3 2008-12-04 16:31:44

hudu
Member
Registered: 2008-12-04
Posts: 2

Re: [solved]key repetition problem after X upgrade

hack.augusto wrote:

After I upgraded to the new X package, my left arrow repetition doesn't work anymore, and it is evdev fault neutral [it works on the console and on X without evdev] any ideas how could I fix it [question mark] (lol, I'm kdb rigth now, and my keyboard isn't configured)

The old X got it's keyboard and mouse definitions from xorg.conf. now it gets it's definitions from hal
~# cd /usr/share/hal/fdi/policy/10osvendor/
~# cp 10-keymap.fdi /etc/hal/fdi/policy/10-keymap.fdi
~# cp 10-x11-input.fdi /etc/hal/fdi/policy/10-x11-input.fdi
THEN configure the keyboard there.

Offline

#4 2008-12-04 16:58:45

hack.augusto
Member
From: Brazil
Registered: 2008-08-28
Posts: 124

Re: [solved]key repetition problem after X upgrade

Thanks for the reply.
I did follow the wiki steps and changed the .fdi file, all keys are working fine the problem is only witht the left key repetition

Offline

#5 2008-12-04 20:24:48

hack.augusto
Member
From: Brazil
Registered: 2008-08-28
Posts: 124

Re: [solved]key repetition problem after X upgrade

I just found my problem, I have no idea why but my left keysym was inside the mod1 modifier:

$ xmodmap

xmodmap:  up to 3 keys per modifier, (keycodes in parentheses):

shift       Shift_L (0x32),  Shift_R (0x3e)
lock        Caps_Lock (0x42)
control     Control_L (0x25),  Linefeed (0x6d)
mod1        Alt_L (0x40),  Left (0x71),  XF86Launch1 (0x9c)
mod2      
mod3      
mod4        Pause (0x7f),  BadKey (0x80)
mod5        Zenkaku_Hankaku (0x5d),  XF86PowerOff (0x7c)

removing it fixed the problem:

xmodmap -e 'remove mod1 = Left'

Offline

#6 2009-05-31 22:35:40

whoops
Member
Registered: 2009-03-19
Posts: 891

Re: [solved]key repetition problem after X upgrade

Hi!


Had the same problem - thanks, your solution did it!)
edit:

I don't suppose that behaviour is meant to just appear (I never edited any of those hal-files or anything).


Oh, no, that didn't fix it, I just mixed the left & right keys up when I tested it (I think they should be labelled "L" and "R" for people who use their keyboards turned by 90 to 180° sometimes wink).

So, still got my left-arrow key not repeating at all. Can find stuff on "left-arrow-key repetition slower than others", but nothing else on "not working at all".

Any Idea / did you do anything else to fix it?

edit2: I think I better start another topic, as yours is solved...
edit2.5: Ok, I think mine might possibly be unrelated: http://bbs.archlinux.org/viewtopic.php? … 46#p562146

Last edited by whoops (2009-06-01 00:12:04)

Offline

Board footer

Powered by FluxBB