Différences entre les versions de « Lenovo/xorg.conf »

Aller à la navigation Aller à la recherche
244 octets supprimés ,  19 novembre 2008 à 13:16
http://luke.no-ip.org/x60tablet/examples/xorg.conf
(http://ubuntuforums.org/showpost.php?p=5309411&postcount=2)
 
(http://luke.no-ip.org/x60tablet/examples/xorg.conf)
 
Ligne 1 : Ligne 1 :
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
#
Ligne 4 : Ligne 6 :
# values from the debconf database.
# values from the debconf database.
#
#
# Edit this file with caution, and see the xorg.conf(5) manual page.
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# This file is automatically updated on xserver-xorg package upgrades *only*
Ligne 13 : Ligne 15 :
# If you have edited this file but would like it to be automatically updated
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
#   sudo dpkg-reconfigure -phigh xserver-xorg


Section "Files"
Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/usr/share/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/usr/share/fonts/X11/misc"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
EndSection


Section "Module"
Section "Module"
Load "i2c"
Load "i2c"
Load "bitmap"
Load "bitmap"
Load "ddc"
Load "ddc"
Load "dri"
Load "dri"
Load "extmod"
# Disable "dri"
Load "freetype"
Load "extmod"
Load "glx"
Load "freetype"
Load "int10"
Load "glx"
Load "vbe"
Load "int10"
Load "wacom"
Load "type1"
Load "dbe"
Load "vbe"
EndSection
EndSection


Section "InputDevice"
Section "InputDevice"
Identifier "Generic Keyboard"
Identifier "Generic Keyboard"
Driver "kbd"
Driver "kbd"
Option "CoreKeyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
Option "XkbLayout" "us"
Option "XkbOptions" "lv3:ralt_switch"
EndSection
EndSection


Section "InputDevice"
Section "InputDevice"
Identifier "Configured Mouse"
Identifier "Configured Mouse"
Driver "mouse"
Driver "mouse"
Option "CorePointer"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "Protocol" "ExplorerPS/2"
# Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "ZAxisMapping" "4 5"
Option "HorizScrollDelta" "0"
Option "Emulate3Buttons" "true"
Option "Emulate3Buttons" "true"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "2"
EndSection
EndSection


Section "InputDevice"
Section "InputDevice"
Identifier "TrackPoint"
Driver       "wacom"
Driver "mouse"
Identifier   "stylus"
Option "CorePointer"
Option       "Device"       "/dev/ttyS0"         # Change to
Option "Device" "/dev/input/mice"
# /dev/input/event
Option "Protocol" "ExplorerPS/2"
# for USB
Option "ZAxisMapping" "4 5"
Option       "Type"         "stylus"
Option "HorizScrollDelta" "0"
Option       "ForceDevice"   "ISDV4"               # Tablet PC ONLY
Option "Emulate3Buttons" "true"
Option "KeepShape" "on"
Option "EmulateWheel" "true"
# Option "DebugLevel" "10"
Option "EmulateWheelButton" "2"
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/ttyS0"
# Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "PressCurve" "60,0,100,40" # Custom preference
Option "KeepShape" "on"
# Option "Threshold" "50" # Custom preference
# Option "Suppress" "3"
Option "Button1" "1"
Option "Button2" "3"
Option "Button3" "3"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
Option "TPCButton" "off"
Option "TPCButton" "off"
EndSection
EndSection


Section "InputDevice"
Section "InputDevice"
Driver "wacom"
Driver       "wacom"
Identifier "eraser"
Identifier   "eraser"
Option "Device" "/dev/ttyS0"
Option       "Device"       "/dev/ttyS0"         # Change to
# Option "Device" "/dev/input/wacom"
# /dev/input/event
Option "Type" "eraser"
# for USB
Option "KeepShape" "on"
Option       "Type"         "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
Option       "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection
Option "KeepShape" "on"
 
# Option "DebugLevel" "10"
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/ttyS0"
# Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "KeepShape" "on"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
# Option "Suppress" "5"
Option "Button1" "1"
Option "Button2" "3"
Option "Button3" "3"
# Option "Mode" "Absolute"
Option "TPCButton" "off"
EndSection
EndSection


# This section is for the TabletPC that supports touch
Section "InputDevice"
Section "InputDevice"
Driver        "wacom"
Driver        "wacom"
Identifier    "touch"
Identifier    "cursor"
Option        "Device"        "/dev/ttyS0"          # SERIAL ONLY
Option        "Device"        "/dev/ttyS0"          # Change to
#Option        "Device"        "/dev/input/wacom"  # USB ONLY
# /dev/input/event
Option        "Type"          "touch"
# for USB
Option        "Type"          "cursor"
Option        "ForceDevice"  "ISDV4"              # Tablet PC ONLY
Option        "ForceDevice"  "ISDV4"              # Tablet PC ONLY
#Option       "USB"           "on"                 # USB ONLY
Option "KeepShape" "on"
# Option "DebugLevel" "10"
EndSection
EndSection


Section "Device"
Section "Device"
Identifier "Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
Identifier     "Intel Controller 0"
Driver "intel"
#      Driver         "i810"
# Driver "i810"
Driver         "intel"
# BusID "PCI:0:2:0"
BusID           "PCI:0:2:0"
Screen 0
Option "MonitorLayout" "CRT,LFP"
EndSection
EndSection
# External VGA device
#Section "Device"
#      Identifier      "Intel Controller 1"
#      Driver          "intel"
#      BusID          "PCI:0:2:0"
#      Screen 1
#EndSection


Section "Monitor"
Section "Monitor"
Identifier "Generic Monitor"
Identifier     "LCD Monitor"
Option "DPMS"
Option         "DPMS"
HorizSync 28-51
DisplaySize    245 184
VertRefresh 43-60
HorizSync 30-67
VertRefresh 50-75
EndSection
EndSection
#Section "Monitor"
#      Identifier      "External Monitor"
#      Option          "DPMS"
#      HorizSync 28-75
#      VertRefresh 43-100
#EndSection
#Section "Screen"
#      Identifier      "External Screen"
#      Device          "Intel Controller 1"
#      Monitor        "External Monitor"
#      DefaultDepth    24
#      SubSection "Display"
#              Depth          24
#              Modes          "1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
#              Virtual 2432 1824
#      EndSubSection
#EndSection


Section "Screen"
Section "Screen"
Identifier "Default Screen"
Identifier     "LCD Screen"
Device "Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
Device         "Intel Controller 0"
Monitor "Generic Monitor"
Monitor         "LCD Monitor"
DefaultDepth 24
DefaultDepth   24
SubSection "Display"
SubSection "Display"
Depth 1
Depth           24
Modes "1024x768"
Modes           "1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
#              Virtual 2432 1824
SubSection "Display"
# This size would be nice, but it degrades performance :(
Depth 4
#              Virtual 2688 2080
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 16
Modes "300x200"
EndSubSection
EndSubSection
EndSection
EndSection


Section "ServerLayout"
Section "ServerLayout"
Identifier "Default Layout"
Identifier     "Default Layout"
Screen "Default Screen"
Screen     0  "LCD Screen" 0 0
InputDevice "Generic Keyboard"
 
InputDevice "TrackPoint"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice     "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice     "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice     "eraser" "SendCoreEvents"
InputDevice "touch"  "SendCoreEvents"
#InputDevice "Synaptics Touchpad"
EndSection
EndSection


Section "DRI"
Section "DRI"
Mode 0666
Mode 0666
EndSection
EndSection
5 714

modifications

Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation des cookies.

Menu de navigation