1
Laitealue / Re: 2*17"TFT ja 1*32"LCD toimimaan
« : 26.12.06 - klo:18.22 »
No, nyt täs joululomilla oli vähä reilummin aikaa kattella, niin sain kun sainkin toimimaan... tässä toimiva xorg.conf:
Että sellasta...
Koodia: [Valitse]
# 3 ruutua toimimaan !!
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/CID"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection
Section "Module"
# Load "GLcore"
Load "i2c"
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" "fi"
EndSection
Section "InputDevice"
Identifier "hiiri"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "Buttons" "10"
Option "ZAxisMapping" "4 5"
Option "ButtonMapping" "1 2 3 6 7"
EndSection
Section "Device"
Identifier "NVIDIA[0]"
Driver "nvidia"
Option "Rotate" "off"
BusID "2:8:0"
Option "NoLogo"
EndSection
Section "Device"
Identifier "NVIDIA[1]"
Driver "nvidia"
Option "Rotate" "off"
BusID "1:0:0"
Option "NoLogo"
EndSection
Section "Device"
Identifier "NVIDIA[2]"
Screen 1
Option "Rotate" "off"
Driver "nvidia"
BusID "1:0:0"
Option "NoLogo"
EndSection
Section "Monitor"
Option "CalcAlgorithm" "CheckDesktopGeometry"
DisplaySize 340 270
HorizSync 28-82
Identifier "Monitor[0]"
ModelName "1024X768@75HZ"
Option "DPMS"
VendorName "--> LCD"
VertRefresh 40-60
UseModes "Modes[0]"
EndSection
Section "Monitor"
Option "CalcAlgorithm" "CheckDesktopGeometry"
DisplaySize 340 270
HorizSync 28-82
Identifier "Monitor[1]"
ModelName "1280X1024@60HZ"
Option "DPMS"
VendorName "--> LCD"
VertRefresh 40-60
UseModes "Modes[1]"
EndSection
Section "Monitor"
Option "CalcAlgorithm" "CheckDesktopGeometry"
DisplaySize 340 270
HorizSync 28-82
Identifier "Monitor[2]"
ModelName "1280X1024@60HZ"
Option "DPMS"
VendorName "--> LCD"
VertRefresh 40-60
UseModes "Modes[2]"
EndSection
Section "Modes"
Identifier "Modes[0]"
EndSection
Section "Modes"
Identifier "Modes[1]"
Modeline "1280x1024" 108.00 1280 1328 1440 1688 1024 1025 1028 1066
EndSection
Section "Modes"
Identifier "Modes[2]"
Modeline "1280x1024" 108.00 1280 1328 1440 1688 1024 1025 1028 1066
EndSection
Section "Screen"
Identifier "Screen[0]"
Device "NVIDIA[0]"
Monitor "Monitor[0]"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen[1]"
Device "NVIDIA[1]"
Monitor "Monitor[1]"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen[2]"
Device "NVIDIA[2]"
Monitor "Monitor[2]"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Layout[all]"
InputDevice "Generic Keyboard"
InputDevice "hiiri"
# Option "Clone" "off"
Option "Xinerama" "off"
# Option "Xinerama" "on"
Screen "Screen[0]"
Screen "Screen[1]" LeftOf "Screen[0]"
Screen "Screen[2]" LeftOf "Screen[1]"
EndSection
Section "DRI"
Mode 0666
EndSection
Että sellasta...