Denzil
30-11-2006, 09:37
Após alguns dias a brincar com isto, lá percebi como tenho de configurar o meu portátil para ter a funcionar o sistema dual-head, ecrãs totalmente resolution independente (ou seja posso ter no portatil uma resolução e no outro ecrã outra) e refresh-rates automaticamente detectados na saída.
Fica aqui o ficheiro de configuração que tenho, para poderem adaptar ao vosso sistema:
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "Files"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
FontPath "/usr/share/fonts/X11/misc"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "bitmap"
Load "ddc"
#Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "pt"
Option "XkbOptions" "lv3:ralt_switch"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
EndSection
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
Section "Device"
Identifier "GMA950"
Driver "i810"
BusID "PCI:0:2:0"
Option "UseFBDev" "true"
Option "DDCMode" "True"
Option "MonitorLayout" "CRT,LFP"
#Option "DRI" "true"
Option "XAANoOffscreenPixmaps" "true"
Option "VBERestore" "true"
Option "AGPMode" "1"
Screen 0
#NONE -- Not connected
#CRT -- Analog CRT monitor
#TMDS -- Desktop flat panel
#LVDS -- Laptop flat panel
EndSection
Section "Device"
Identifier "GMA9502"
Driver "i810"
BusID "PCI:0:2:0"
Option "DDCMode" "True"
Option "UseFBDev" "true"
Option "XAANoOffscreenPixmaps" "true"
Option "AGPMode" "1"
#Option "DRI" "true"
Screen 1
EndSection
Section "Monitor"
Identifier "ACER"
Option "DPMS"
HorizSync 28-96
VertRefresh 43-100
EndSection
Section "Monitor"
Identifier "ACER2"
Option "DPMS"
HorizSync 28-96
VertRefresh 43-100
EndSection
Section "Screen"
Identifier "Default Screen"
Device "GMA950"
Monitor "ACER"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Screen"
Identifier "Second Screen"
Device "GMA9502"
Monitor "ACER2"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024" "1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
#Option "Xinerama" "true"
#Option "Clone" "true"
Screen 0 "Default Screen"
Screen 1 "Second Screen" Above "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
EndSection
#Section "DRI"
# Mode 0666
#EndSection
Section "Extensions"
Option "AIGLX" "true"
Option "Composite" "true"
Option "RenderAccel" "true"
Option "GLX" "true"
EndSection
Fica aqui o ficheiro de configuração que tenho, para poderem adaptar ao vosso sistema:
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "Files"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
FontPath "/usr/share/fonts/X11/misc"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "bitmap"
Load "ddc"
#Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "pt"
Option "XkbOptions" "lv3:ralt_switch"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
EndSection
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
Section "Device"
Identifier "GMA950"
Driver "i810"
BusID "PCI:0:2:0"
Option "UseFBDev" "true"
Option "DDCMode" "True"
Option "MonitorLayout" "CRT,LFP"
#Option "DRI" "true"
Option "XAANoOffscreenPixmaps" "true"
Option "VBERestore" "true"
Option "AGPMode" "1"
Screen 0
#NONE -- Not connected
#CRT -- Analog CRT monitor
#TMDS -- Desktop flat panel
#LVDS -- Laptop flat panel
EndSection
Section "Device"
Identifier "GMA9502"
Driver "i810"
BusID "PCI:0:2:0"
Option "DDCMode" "True"
Option "UseFBDev" "true"
Option "XAANoOffscreenPixmaps" "true"
Option "AGPMode" "1"
#Option "DRI" "true"
Screen 1
EndSection
Section "Monitor"
Identifier "ACER"
Option "DPMS"
HorizSync 28-96
VertRefresh 43-100
EndSection
Section "Monitor"
Identifier "ACER2"
Option "DPMS"
HorizSync 28-96
VertRefresh 43-100
EndSection
Section "Screen"
Identifier "Default Screen"
Device "GMA950"
Monitor "ACER"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Screen"
Identifier "Second Screen"
Device "GMA9502"
Monitor "ACER2"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024" "1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
#Option "Xinerama" "true"
#Option "Clone" "true"
Screen 0 "Default Screen"
Screen 1 "Second Screen" Above "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
EndSection
#Section "DRI"
# Mode 0666
#EndSection
Section "Extensions"
Option "AIGLX" "true"
Option "Composite" "true"
Option "RenderAccel" "true"
Option "GLX" "true"
EndSection