dvorak
Xorg 1.5 & Device Detection
Posted by HokieTux on January 22, 2009 in Hacks
Apparently the Xorg developers have added some sort of device autodetection in one of the recent releases of Xorg server v1.5+
Unfortunately, this seems to be breaking a lot of system configurations – mine included. I have been using HAL and evdev to detect and configure my system input devices, and as soon as I updated xorg to the new release things started breaking. If you are experiencing any of the following:
- Wrong keyboard layout / keymap
- Xorg freezing on startup
- Black screen
- Mouse won’t respond
- Keyboard doesn’t respond
- Mouse actions seem to be really, really sped up (this is a strange one, and seems to only happen in composite window managers)
… then this might be your problem! Here’s the fix:
Head to /etc/X11/xorg.conf, and find the “Server Flags” section. If for whatever reason you don’t have a “Server Flags” section, add it just under the “Module” Section. Now, add the “AutoAddDevices” “false” option (ignore the “Xinerama” option – that was put there by nvidia-xconfig):
Section "ServerFlags"
Option "Xinerama" "0"
Option "AutoAddDevices" "false"
EndSection
Hold onto your helmet and restart X11 – hopefully, things work.
If you are still having problems, feel free to post here and I’ll help if I can!
Cheers!