quinta-feira, 21 de maio de 2009

Configurando X no Asus EeePC900

O Asus EeePC 900 possui uma série de peculiaridades na sua configuração de vídeo, para utilizar a resolução de 1024x600, coloque o seguinte conteúdo no arquivo /etc/X11/xorg.conf:

# generic XFree86 4.x configuration file

Section "Files"
FontPath "/usr/share/fonts/truetype/"
FontPath "/usr/share/fonts/uni/"
FontPath "/usr/share/fonts/misc/"
InputDevices "/dev/input/mice"
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail"
Option "BlankTime" "0"
EndSection

Section "Module"
Load "dbe"
Load "glx"
Load "dri"
Load "extmod"
Load "synaptics"
EndSection

Section "InputDevice"
Driver "kbd"
Identifier "Keyboard[0]"
Option "Protocol" "Standard"
Option "XkbRules" "xfree86"
Option "XkbKeycodes" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Driver "mouse"
Identifier "Mouse[1]"
Option "Protocol" "explorerps/2"
Option "Device" "/dev/input/mice"
EndSection

Section "Monitor"
Identifier "Monitor[0]"
VendorName "ASUS"
ModelName "Eee PC P900"
Modeline "1024x600" 48.96 1024 1064 1168 1312 600 \
601 604 622 -HSync +Vsync
EndSection

Section "Device"
Driver "intel"
VendorName "Intel Corporation"
BoardName "Mobile 915GM/GMS/910GML Express Graphics \
Controller"
BusID "PCI:0:2:0"
Identifier "Device[0]"
EndSection

# Screen Section for module X support
# -------------------------------------
Section "Screen"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1024x600" "800x600"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x600" "800x600"
EndSubSection
SubSection "Display"
Depth 32
Modes "1024x600" "800x600"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x600" "800x600"
EndSubSection
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
EndSection
Section "DRI"
Mode 0666
EndSection



Section "ServerLayout"
Identifier "Layout[all]"
InputDevice "Keyboard[0]" "CoreKeyboard"
InputDevice "Mouse[1]" "CorePointer"
Option "Xinerama" "off"
Screen "Screen[0]"
EndSection

As linhas que contem um \ devem ser juntadas para dar certo. Coloquei o \ porque essa porcaria de blog nao quebra linha. :-)

Nenhum comentário: