View previous topic :: View next topic |
Author |
Message |
Dragonlord Guru
Joined: 22 Aug 2004 Posts: 446 Location: Switzerland
|
Posted: Sat Dec 20, 2008 6:43 pm Post subject: XServer 1.5 ... keyboard keys reported 3 times |
|
|
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 |
|
|
steve9187 n00b
Joined: 13 Mar 2009 Posts: 16
|
Posted: Thu Mar 26, 2009 9:19 pm Post subject: |
|
|
i had this same issue. i just did
Code: |
#Option "AllowEmptyInput" "off"
|
to comment it out and it worked fine. |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Thu Mar 26, 2009 9:54 pm Post subject: |
|
|
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 |
|
|
poly_poly-man Advocate
Joined: 06 Dec 2006 Posts: 2477 Location: RIT, NY, US
|
|
Back to top |
|
|
|