xorg.conf: added eee701 support
authorDenis 'Gnutoo' Carikli <GNUtoo@no-log.org>
Fri, 22 Jan 2010 11:25:33 +0000 (12:25 +0100)
committerDenis 'Gnutoo' Carikli <GNUtoo@no-log.org>
Sat, 23 Jan 2010 18:43:21 +0000 (19:43 +0100)
The eeepc 701 has a synaptics touchpad,so we use the synaptics
  driver which gives us more features and is more convenient
  to use,specially with the TapButton1 option,which permit
  to emulate the fact of holding the mouse button while moving

Even if evdev was in the kernel,evdev didn't seem to work for:
  *internal keyboard
  *external keyboard
  *external mouse
So it uses the mouse and kbd driver

recipes/xorg-xserver/xserver-xorg-conf/eee701/xorg.conf [new file with mode: 0644]

diff --git a/recipes/xorg-xserver/xserver-xorg-conf/eee701/xorg.conf b/recipes/xorg-xserver/xserver-xorg-conf/eee701/xorg.conf
new file mode 100644 (file)
index 0000000..8eb78bc
--- /dev/null
@@ -0,0 +1,96 @@
+Section "ServerLayout"
+       Identifier     "X.org Configured"
+       Screen      0  "Screen0" 0 0
+       InputDevice    "Touchpad" 
+       InputDevice    "Keyboard"
+       InputDevice    "Mouse"
+EndSection
+
+Section "Files"
+       ModulePath   "/usr/lib/xorg/modules"
+       FontPath     "/usr/share/fonts/X11/misc"
+EndSection
+
+Section "Module"
+       Load  "dbe"
+       Load  "extmod"
+EndSection
+
+Section "InputDevice"
+       Identifier  "Keyboard"
+       Driver      "kbd"
+       Option      "CoreKeyboard"
+EndSection
+
+Section "InputDevice"
+       Identifier  "Touchpad"
+       Driver      "synaptics"
+       Option      "TapButton1" "1"
+       Option      "CorePointer"
+EndSection
+
+Section "InputDevice"
+        Identifier  "Mouse"
+        Driver      "mouse"
+       Option      "Protocol"          "Auto"
+EndSection
+
+
+Section "Monitor"
+       Identifier   "Monitor0"
+       VendorName   "Monitor Vendor"
+       ModelName    "Monitor Model"
+EndSection
+
+Section "Device"
+        ### Available Driver options are:-
+        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
+        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
+        ### [arg]: arg optional
+        #Option     "NoAccel"                  # [<bool>]
+        #Option     "SWcursor"                 # [<bool>]
+        #Option     "ColorKey"                 # <i>
+        #Option     "CacheLines"               # <i>
+        #Option     "Dac6Bit"                  # [<bool>]
+        #Option     "DRI"                      # [<bool>]
+        #Option     "NoDDC"                    # [<bool>]
+        #Option     "ShowCache"                # [<bool>]
+        #Option     "XvMCSurfaces"             # <i>
+        #Option     "PageFlip"                 # [<bool>]
+       Identifier  "Card0"
+       Driver      "intel"
+       VendorName  "Unknown Vendor"
+       BoardName   "Unknown Board"
+       BusID       "PCI:0:2:0"
+EndSection
+
+Section "Screen"
+       Identifier "Screen0"
+       Device     "Card0"
+       Monitor    "Monitor0"
+       SubSection "Display"
+               Viewport   0 0
+               Depth     1
+       EndSubSection
+       SubSection "Display"
+               Viewport   0 0
+               Depth     4
+       EndSubSection
+       SubSection "Display"
+               Viewport   0 0
+               Depth     8
+       EndSubSection
+       SubSection "Display"
+               Viewport   0 0
+               Depth     15
+       EndSubSection
+       SubSection "Display"
+               Viewport   0 0
+               Depth     16
+       EndSubSection
+       SubSection "Display"
+               Viewport   0 0
+               Depth     24
+       EndSubSection
+EndSection
+