Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
XServer 1.5 ... keyboard keys reported 3 times
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
Dragonlord
Guru
Guru


Joined: 22 Aug 2004
Posts: 446
Location: Switzerland

PostPosted: Sat Dec 20, 2008 6:43 pm    Post subject: XServer 1.5 ... keyboard keys reported 3 times Reply with quote

Had to upgrade to 1.5 ( masked ) due to ATI drivers. Now there's a problem. XServer 1.5 seems to draw devices from HAL. This by itself would be an interesting thing but it fails in two ways for me ( so I had to block HAL from being used by X ).

1) Layout is always "us" instead of "ch". There seems to be a hal-setup-keymap but the creator of this tool fails since it just gives out a cryptic error and no info on how to use it ( is it so hard to output a one-line syntax if called with NO arguments? U.=.U ).

2) This one is a bigger problem. The USB keyboard of mine reports every keystroke 3 times instead of once if used through HAL ( it works perfectly find it used without ).

Any ideas on why HAL fails so hard at the keyboard front? Any way to configurate the keyboard/mouse at HAL level? ( I need a specific mapping of buttons to get the wheel to work properly ).

This xorg.conf works ( snippet ):
Code:
Section "ServerLayout"
        Identifier     "Main Layout"
        Screen      0  "Screen fglrx" 0 0
        #Screen      0  "Screen FOSS" 0 0
        #Screen      0  "Screen Vesa" 0 0
        InputDevice    "Mouse1" "CorePointer"
        InputDevice    "Keyboard1" "CoreKeyboard"
EndSection

Section "ServerFlags"
        Option "AllowEmptyInput" "off"
        Option "AutoAddDevices" "off"
EndSection

Section "InputDevice"
        Identifier  "Keyboard1"
        Driver      "keyboard"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "ch"
        #Option     "AutoRepeat" "500 10"
EndSection

Section "InputDevice"
        Identifier  "Mouse1"
        Driver      "mouse"
        Option      "Protocol" "ExplorerPS/2"
        Option      "Device" "/dev/input/mice"
        Option      "Buttons" "7"
        Option      "ZAxisMapping" "4 5"
EndSection

_________________
DragonDreams: Leader and Head Programmer
Back to top
View user's profile Send private message
steve9187
n00b
n00b


Joined: 13 Mar 2009
Posts: 16

PostPosted: Thu Mar 26, 2009 9:19 pm    Post subject: Reply with quote

i had this same issue. i just did
Code:

#Option "AllowEmptyInput" "off"

to comment it out and it worked fine. :)
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Thu Mar 26, 2009 9:54 pm    Post subject: Reply with quote

Once again, the sticky.
And once again, those ServerFlags were meant for different purpose,
using them the way you people do is bound to have side effects.

Also, as I mentioned in the sticky, the purpose of hal-setup-keymap is
actually quite different.
Back to top
View user's profile Send private message
poly_poly-man
Advocate
Advocate


Joined: 06 Dec 2006
Posts: 2477
Location: RIT, NY, US

PostPosted: Thu Mar 26, 2009 10:00 pm    Post subject: Reply with quote

http://bbs.archlinux.org/viewtopic.php?id=43873

sure it's for arch, but it definitely will help.
_________________
iVBORw0KGgoAAAANSUhEUgAAA

avatar: new version of logo - see topic 838248. Potentially still a WiP.
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