You are not logged in.

#1 2009-06-19 18:02:34

robodonut
Member
Registered: 2008-07-17
Posts: 10

Keyboard sends duplicate events [solved]

I'm having a problem with my keyboard.  I'm not sure if this is a kernel/hardware issue or X11.  Whenever I press a key (the letter "a", for example) it sends "a" twice when I press down, then once when I release the key.  I haven't made any major changes to my system other than installing PulseAudio.  I think I may have enabled HAL for the first time ever while I was setting up PulseAudio, but it doesn't seem to make a difference whether HAL is running or not.

I'm pretty sure it's not anything in my xorg.conf, but I'll post the relevant section anyway:

Section "InputDevice"
    Identifier     "Keyboard1"
    Driver         "kbd"
    Option         "AutoRepeat" "500 30"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc104"
    Option         "XkbLayout" "us"
EndSection

Last edited by robodonut (2009-06-19 18:33:05)

Offline

#2 2009-06-19 18:10:06

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

Re: Keyboard sends duplicate events [solved]

HAL might auto-detect the "udev powered" version and use both udev and kbd keyboard at the same time. You can try just to...
- remove keyboard section from xorg.conf
or if that doesn't help
- remove the kbd driver

Last edited by whoops (2009-06-19 18:11:10)

Offline

#3 2009-06-19 18:20:07

robodonut
Member
Registered: 2008-07-17
Posts: 10

Re: Keyboard sends duplicate events [solved]

whoops wrote:

HAL might auto-detect the "udev powered" version and use both udev and kbd keyboard at the same time. You can try just to...
- remove keyboard section from xorg.conf
or if that doesn't help
- remove the kbd driver

Thanks for the quick response.
I tried your first suggestion, but it didn't help.  I'm unsure of what you mean by "remove the kbd driver".  I know that Gentoo has a package for an X11 kbd driver, but I cannot find anything that looks like a kbd driver in Pacman (perhaps it's part of a larger package, or I'm simply overlooking something?), I also did an "lsmod | grep kbd" which turned up nothing.

Edit:
Oh wow.  I'm a moron.  It's called xf86-input-keyboard.

Last edited by robodonut (2009-06-19 18:29:48)

Offline

#4 2009-06-19 18:32:55

robodonut
Member
Registered: 2008-07-17
Posts: 10

Re: Keyboard sends duplicate events [solved]

Awesome.  It works.
Thanks for the help.

Offline

#5 2009-06-19 18:38:37

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

Re: Keyboard sends duplicate events [solved]

robodonut wrote:

I'm unsure of what you mean by "remove the kbd driver".

Me too.

I think it's xf86-input-keyboard, but I don't know for sure.

Maybe try
pacman -Qs xf86
As far as I "imagine that stuff"... that evdev thing is enough for keyboard & mouse, but if you're afraid of experimenting you might be better of waiting until someone who actually knows stuff responds. wink

( I had HAL all activated along, but after I for some imaginary reason installed what looked like kbd & mouse drivers for xorg, I had double keyboard and super accelerated mouse with auto-double-click, so I removed the two xf86-something's again)

edit: oh, to late, np!

Last edited by whoops (2009-06-19 18:39:38)

Offline

Board footer

Powered by FluxBB