HOWTO: X Error: BadDevice, invalid or uninitialized input device
Postat: 25 jun 2007, 22:32
Verka som att många användare får Error problem när dem kör program via terminalen i kubuntu:
För att fixa detta, leta upp raderna som står skrivet här under och kommentera ut dem från din /etc/X11/xorg.conf fil:
En bit ner i filen, så måste du kommentera ut raderna som ser ut som dessa:
**VARNING** om du missar att kommentera raderna som jag har kommenterat ut, då kommer *INTE* X att starta när du startar om X servern.
När du har kommenterat ut dem raderna, då behövs X att bli omstartad. När X är uppstartad igen, då borde du inte se dem Error du såg tidigare.
Kod: Markera allt
X Error: BadDevice, invalid or uninitialized input device 168
Major opcode: 148
Minor opcode: 3
Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 168
Major opcode: 148
Minor opcode: 3
Resource id: 0x0
Failed to open device
Kod: Markera allt
# Section "InputDevice"
# Driver "wacom"
# Identifier "stylus"
# Option "Device" "/dev/wacom" # Change to
# # /dev/input/event
# # for USB
# Option "Type" "stylus"
# Option "ForceDevice" "ISDV4" # Tablet PC ONLY
#EndSection
#Section "InputDevice"
# Driver "wacom"
# Identifier "eraser"
# Option "Device" "/dev/wacom" # Change to
# # /dev/input/event
# # for USB
# Option "Type" "eraser"
# Option "ForceDevice" "ISDV4" # Tablet PC ONLY
#EndSection
#Section "InputDevice"
# Driver "wacom"
# Identifier "cursor"
# Option "Device" "/dev/wacom" # Change to
# # /dev/input/event
# # for USB
# Option "Type" "cursor"
# Option "ForceDevice" "ISDV4" # Tablet PC ONLY
#EndSection
Kod: Markera allt
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
# InputDevice "stylus" "SendCoreEvents"
# InputDevice "cursor" "SendCoreEvents"
# InputDevice "eraser" "SendCoreEvents"
EndSection
När du har kommenterat ut dem raderna, då behövs X att bli omstartad. När X är uppstartad igen, då borde du inte se dem Error du såg tidigare.