HP530-intel-945-tuplanaytto
OpenSUSEa suomeksi
Koska sax2 ei tue suoraan intelin 945 näytönohjaimen dualscreen -tilaa, pitää se määritellä käsin.
Sisällysluettelo |
1. Tallennetaan vanha xorg.conf hyvään talteen
# su Password: # cp /etc/X11/xorg.conf /etc/X11/xorg.conf.TALTEEN
2. Muokataan xorg.conf seuraavanlaiseksi
Käytä mieleistäsi tekstiedotoria:
# pico /etc/X11/xorg.conf
/etc/X11/xorg.conf sisältö: (lue ainakin tuplakommentoidut --> ##)
Section "Files"
##poistettu iso kasa fontteja
FontPath "/opt/kde3/share/fonts"
InputDevices "/dev/gpmdata"
InputDevices "/dev/input/mice"
EndSection
Section "ServerFlags"
Option "AIGLX" "on"
Option "AllowMouseOpenFail" "on"
Option "ZapWarning" "on"
EndSection
Section "Module"
Load "dri"
Load "dbe"
Load "freetype"
Load "extmod"
Load "glx"
EndSection
Section "InputDevice"
Driver "kbd"
Identifier "Keyboard[0]"
Option "Protocol" "Standard"
Option "XkbLayout" "fi"
Option "XkbModel" "microsoftpro"
Option "XkbRules" "xfree86"
EndSection
Section "InputDevice"
Driver "synaptics"
Identifier "Mouse[1]"
Option "Buttons" "5"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "on"
Option "HorizScrollDelta" "0"
Option "InputFashion" "Mouse"
Option "Name" "Synaptics;Touchpad"
Option "Protocol" "explorerps/2"
Option "SHMConfig" "on"
Option "Vendor" "Sysp"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Driver "mouse"
Identifier "Mouse[3]"
Option "Buttons" "5"
Option "Device" "/dev/input/mice"
Option "Name" "ImPS/2 Generic Wheel Mouse"
Option "Protocol" "explorerps/2"
Option "Vendor" "Sysp"
Option "ZAxisMapping" "4 5"
EndSection
Section "Device" ## Määritellään näytönohjaimeen 2 näyttöä (älkää kysykö mikä järki näissä)
Identifier "Intel Graphics Adapter"
Driver "intel"
Option "monitor-VGA" "CRT"
Option "monitor-LVDS" "LCD"
EndSection
Section "Monitor" ## Määritellään kannettavan oma näyttö toimimaan default -resoluutiolla
DisplaySize 330 210
Identifier "LCD"
Option "DPMS"
Option "PreferredMode" "1280x800"
HorizSync 30-62
VertRefresh 43-60
EndSection
Section "Monitor" ## Määritellään ulkoisen näytön asetukset (esim. perus 19" lcd)
Identifier "CRT"
Option "DPMS"
Option "PreferredMode" "1280x1024"
HorizSync 30-83
VertRefresh 56-76
EndSection
Section "Screen" ## Määritellään virtuaalinen näyttö, johon molempien näyttöjen pitää mahtua
Identifier "Default Screen"
Device "Intel Graphics Adapter"
SubSection "Display"
Virtual 2560 1024
## esim 1280+1280=2560 ja 1024+800=1824
## voit käyttää esim 2560 1024 näytöt vierekkäin
## tai 1280 1824 näytöt päällekkäin
## rauta tukee maksimissaan pikselimäärää 2048x2048
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
InputDevice "Keyboard[0]" "CoreKeyboard"
InputDevice "Mouse[1]" "CorePointer"
Screen "Default Screen"
EndSection
Section "DRI"
Group "video"
Mode 0666
EndSection
Section "Extensions"
Option "Composite" "on"
EndSection
3. käynnistetään X uusilla asetuksilla
Vaikkapa näppäinyhdistelmällä CTRL+ALT+Backspace
4. Annetaan näytöille oikeat osoitteet
xrandr --output LVDS --right-of VGA
Komento asettaa näytöt vierekkäin.
xrandr --output VGA --above LVDS
Komento asettaa näytöt päällekkäin.


