Hoje resolvi entrar no arquivo xorg.conf (o mesmo que sempre da erro comigo quando atualizo o ubuntu) e para minha surpresa havia várias linhas de configuração de mouse e teclado comentadas e com aviso, porém eu não entendi nada...
Este é meu arquivo XORG.CONF atual:
# Xorg.conf universal
#
#
Section "ServerFlags"
# Essa opção deixa o xorg abrir mesmo que se tenha um erro no
# mouse.
Option "AllowMouseOpenFail" "true"
EndSection
Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "ddc"
Load "dbe"
Load "extmod"
Load "bitmap"
Load "type1"
Load "speedo"
Load "freetype"
Load "record"
Load "dri"
Load "glx"
EndSection
#
# Nessa parte temos dois tipos de teclado, o ABNT2 e o Americano
# Internacional, deixamos o ABNT2 por padrão, caso você use o
# Americano Internacional descomente as linhas dele
# (é só remover o # no início de cada linha)
# e remover as linhas do ABNT2.
#
###### Teclado ABNT2 ######
# commented out by update-manager, HAL is now used and auto-detects devices
# Keyboard settings are now read from /etc/default/console-setup
#Section "InputDevice"
# Identifier "Generic Keyboard"
# Driver "kbd"
# Option "CoreKeyboard"
# Option "XkbRules" "xorg"
# Option "XkbModel" "abnt2"
# Option "XkbLayout" "br"
# Option "XkbVariant" "abnt2"
#EndSection
###### Fim do Teclado ABNT2 ######
###### Teclado americano internacional ######
#Section "InputDevice"
# Identifier "Generic Keyboard"
# Driver "kbd"
# Option "CoreKeyboard"
# Option "XkbRules" "xorg"
# Option "XkbModel" "pc105"
# Option "XkbLayout" "us_intl"
#EndSection
####### Fim do americano internacional ######
#
# Aqui estão os mouses, você não precisa remover nenhum deles
# pois o Xorg irá aceitar qualquer um já que temos a diretiva
# "AllowMouseOpenFail" setada como "true" acima.
#
# Mouse PS/2
# commented out by update-manager, HAL is now used and auto-detects devices
# Keyboard settings are now read from /etc/default/console-setup
#Section "InputDevice"
# Identifier "Mouse0"
# Driver "mouse"
# Option "CorePointer"
# Option "Device" "/dev/psaux"
# Option "Protocol" "Auto"
# Option "Emulate3Buttons" "true"
#EndSection
# Mouse USB
# commented out by update-manager, HAL is now used and auto-detects devices
# Keyboard settings are now read from /etc/default/console-setup
#Section "InputDevice"
# Identifier "Mouse1"
# Driver "mouse"
# Option "Protocol" "IMPS/2"
# Option "Device" "/dev/input/mice"
# Option "ZAxisMapping" "4 5"
# Option "Buttons" "5"
# Option "Resolution" "650"
#EndSection
# Mouse Serial em ttys0
# commented out by update-manager, HAL is now used and auto-detects devices
# Keyboard settings are now read from /etc/default/console-setup
#Section "InputDevice"
# Identifier "Mouse2"
# Driver "mouse"
# Option "Protocol" "Microsoft"
# Option "Device" "/dev/ttys0"
# Option "ZAxisMapping" "4 5"
# Option "Buttons" "5"
# Option "Resolution" "650"
#EndSection
# Mouse Serial em ttys1
# commented out by update-manager, HAL is now used and auto-detects devices
# Keyboard settings are now read from /etc/default/console-setup
#Section "InputDevice"
# Identifier "Mouse3"
# Driver "mouse"
# Option "Protocol" "Microsoft"
# Option "Device" "/dev/ttys1"
# Option "ZAxisMapping" "4 5"
# Option "Buttons" "5"
# Option "Resolution" "650"
#EndSection
Section "Device"
Identifier "ATI Technologies, Inc. M9+ 5C63 [Radeon Mobility 9000 (AGP)]"
Driver "radeon"
#ChipID "R350"
BusID "PCI:1:0:0"
Option "XAANoOffscreenPixmaps" "true"
Option "ScalerWidth" "1280"
Option "EnablePageFlip" "True"
Option "MigrationHeuristic" "greedy"
Option "AccelMethod" "EXA"
Option "AccelDFS" "true"
Option "RenderAccel" "on"
Option "AGPMode" "8"
Option "FBTexPercent" "0"
EndSection
Section "Monitor"
Identifier "Monitor Genérico"
Vendorname "LG Electronics Inc."
Modelname "LG T930B"
Option "DPMS"
HorizSync 30-98
VertRefresh 50-160
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Placa de Vídeo Genérica"
Monitor "Monitor Genérico"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1600x1200" "1280x1024" "1024x768" "800x600"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
# commented out by update-manager, HAL is now used and auto-detects devices
# Keyboard settings are now read from /etc/default/console-setup
# InputDevice "Generic Keyboard"
# commented out by update-manager, HAL is now used and auto-detects devices
# Keyboard settings are now read from /etc/default/console-setup
# InputDevice "Mouse0"
# commented out by update-manager, HAL is now used and auto-detects devices
# Keyboard settings are now read from /etc/default/console-setup
# InputDevice "Mouse1"
# commented out by update-manager, HAL is now used and auto-detects devices
# Keyboard settings are now read from /etc/default/console-setup
# InputDevice "Mouse2"
# commented out by update-manager, HAL is now used and auto-detects devices
# Keyboard settings are now read from /etc/default/console-setup
# InputDevice "Mouse3"
EndSection
Section "DRI"
Mode 0666
EndSection
Vejam que a parte do mouse e teclado está toda comentada e com a seguinte frase:
# commented out by update-manager, HAL is now used and auto-detects devices
# Keyboard settings are now read from /etc/default/console-setup
E no final ainda acrescentaram as seguintes linhas:
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
# commented out by update-manager, HAL is now used and auto-detects devices
# Keyboard settings are now read from /etc/default/console-setup
# InputDevice "Generic Keyboard"
# commented out by update-manager, HAL is now used and auto-detects devices
# Keyboard settings are now read from /etc/default/console-setup
# InputDevice "Mouse0"
# commented out by update-manager, HAL is now used and auto-detects devices
# Keyboard settings are now read from /etc/default/console-setup
# InputDevice "Mouse1"
# commented out by update-manager, HAL is now used and auto-detects devices
# Keyboard settings are now read from /etc/default/console-setup
# InputDevice "Mouse2"
# commented out by update-manager, HAL is now used and auto-detects devices
# Keyboard settings are now read from /etc/default/console-setup
# InputDevice "Mouse3"
EndSection
Tentei descomentar e também colocar o XORG.CONF antigo (antes da atualização) e mesmo assim não funcionou....
Com essas informações alguém pode me ajudar agora?? Esse é o xorg.conf que funcionava na antiga versão do ubuntu (9.10)
# Xorg.conf universal
#
#
Section "ServerFlags"
# Essa opção deixa o xorg abrir mesmo que se tenha um erro no
# mouse.
Option "AllowMouseOpenFail" "true"
EndSection
Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "ddc"
Load "dbe"
Load "extmod"
Load "bitmap"
Load "type1"
Load "speedo"
Load "freetype"
Load "record"
Load "dri"
Load "glx"
EndSection
#
# Nessa parte temos dois tipos de teclado, o ABNT2 e o Americano
# Internacional, deixamos o ABNT2 por padrão, caso você use o
# Americano Internacional descomente as linhas dele
# (é só remover o # no início de cada linha)
# e remover as linhas do ABNT2.
#
###### Teclado ABNT2 ######
# commented out by update-manager, HAL is now used and auto-detects devices
# Keyboard settings are now read from /etc/default/console-setup
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "abnt2"
Option "XkbLayout" "br"
Option "XkbVariant" "abnt2"
EndSection
###### Fim do Teclado ABNT2 ######
###### Teclado americano internacional ######
#Section "InputDevice"
# Identifier "Generic Keyboard"
# Driver "kbd"
# Option "CoreKeyboard"
# Option "XkbRules" "xorg"
# Option "XkbModel" "pc105"
# Option "XkbLayout" "us_intl"
#EndSection
####### Fim do americano internacional ######
#
# Aqui estão os mouses, você não precisa remover nenhum deles
# pois o Xorg irá aceitar qualquer um já que temos a diretiva
# "AllowMouseOpenFail" setada como "true" acima.
#
# Mouse PS/2
# commented out by update-manager, HAL is now used and auto-detects devices
# Keyboard settings are now read from /etc/default/console-setup
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "Auto"
Option "Emulate3Buttons" "true"
EndSection
# Mouse USB
# commented out by update-manager, HAL is now used and auto-detects devices
# Keyboard settings are now read from /etc/default/console-setup
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
Option "Resolution" "650"
EndSection
# Mouse Serial em ttys0
# commented out by update-manager, HAL is now used and auto-detects devices
# Keyboard settings are now read from /etc/default/console-setup
Section "InputDevice"
Identifier "Mouse2"
Driver "mouse"
Option "Protocol" "Microsoft"
Option "Device" "/dev/ttys0"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
Option "Resolution" "650"
EndSection
# Mouse Serial em ttys1
# commented out by update-manager, HAL is now used and auto-detects devices
# Keyboard settings are now read from /etc/default/console-setup
Section "InputDevice"
Identifier "Mouse3"
Driver "mouse"
Option "Protocol" "Microsoft"
Option "Device" "/dev/ttys1"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
Option "Resolution" "650"
EndSection
Section "Device"
Identifier "ATI Technologies, Inc. M9+ 5C63 [Radeon Mobility 9000 (AGP)]"
Driver "radeon"
#ChipID "R350"
BusID "PCI:1:0:0"
Option "XAANoOffscreenPixmaps" "true"
Option "ScalerWidth" "1280"
Option "EnablePageFlip" "True"
Option "MigrationHeuristic" "greedy"
Option "AccelMethod" "EXA"
Option "AccelDFS" "true"
Option "RenderAccel" "on"
Option "AGPMode" "8"
Option "FBTexPercent" "0"
EndSection
Section "Monitor"
Identifier "Monitor Genérico"
Vendorname "LG Electronics Inc."
Modelname "LG T930B"
Option "DPMS"
HorizSync 30-98
VertRefresh 50-160
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Placa de Vídeo Genérica"
Monitor "Monitor Genérico"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1600x1200" "1280x1024" "1024x768" "800x600"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Mouse0"
InputDevice "Mouse1"
InputDevice "Mouse2"
InputDevice "Mouse3"
EndSection
Section "DRI"
Mode 0666
EndSection