xserver-xorg-conf: add new htcdream's xorg.conf
authorDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Tue, 13 Jul 2010 10:24:41 +0000 (12:24 +0200)
committerDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Fri, 16 Jul 2010 14:24:20 +0000 (16:24 +0200)
The new xorg.conf is needed because of the switch from
  tslib to evdev

recipes/xorg-xserver/xserver-xorg-conf/htcdream/xorg.conf
recipes/xorg-xserver/xserver-xorg-conf_0.1.bb

index 8d07550..27a4cfd 100644 (file)
@@ -8,29 +8,15 @@ Section "Monitor"
        EndMode
 EndSection    
 
-
-
 Section "Device"                                  
         Identifier      "fbdev"
         Driver  "fbdev"
        Option "ShadowFB" "on" 
-       #Option "Rotate" "CW" 
+       Option "Rotate" "CW" # comment for disabling rotation
 EndSection                                                
 
-
-Section "Screen"                                        
-        Identifier "Framebuffer"     
-        Device  "fbdev"            
-        Monitor "Monitor"               
-       DefaultFbBpp 16
-       SubSection "Display"
-               Depth 16
-               Modes "320x480"
-       EndSubSection
-EndSection                                              
-
 Section "Screen"
-        Identifier "320x480x16"
+        Identifier "Framebuffer"
         Device  "fbdev"
         Monitor "Monitor"
         DefaultFbBpp 16
@@ -44,9 +30,9 @@ EndSection
 Section "ServerLayout"                                 
         Identifier      "Builtin Default Layout"                                     
         Screen  "Framebuffer"        
-       #InputDevice "Trackball" "CorePointer"
-       InputDevice "Touchscreen" "CorePointer"
-        InputDevice "Keyboard" "CoreKeyboard"
+       InputDevice "Trackball"
+       InputDevice "Touchscreen"
+        InputDevice "Keyboard"
 EndSection        
 
 Section "InputDevice"
@@ -54,24 +40,23 @@ Section "InputDevice"
     Driver     "evdev"
     Option     "Device"        "/dev/input/event2"
     Option     "ScreenNumber"  "0"
-    Option     "ReportingMode" "Raw"    
+    Option     "ReportingMode" "Raw"
     #Option     "ReportingMode" "Scaled"
     #Option     "ButtonNumber"  "1"
     #Option     "SendCoreEvents"
+    Option     "SwapAxes" "True"
+    Option     "InvertY" "True"
 EndSection
 
+
 Section "InputDevice"
        Identifier      "Touchscreen"
-       Driver          "tslib"
-       Option          "Device"        "/dev/input/event1"
-       Option          "ScreenNumber"  "0"
-       Option          "CorePointer"           "true"
-       Option          "SendCoreEvents"        "true"
-       Option          "Protocol"              "Auto"
-       Option          "Width"                 "320"
-       Option          "Height"                "480"
-       Option          "EmulateRightButton"    "1"
-       Option          "CorePointer"           "true"
+       Driver          "evdev"
+       Option          "Device"                "/dev/input/event1"
+       Option          "SwapAxes"              "True"                  # comment for disabling rotation
+       Option          "InvertY"               "True"                  # comment for disabling rotation
+       Option          "ReportingMode"         "Raw"
+       Option          "Calibration"           "63 5371 110 3473"      #comment for disabling rotation
 EndSection
 
 Section "InputDevice"
@@ -79,3 +64,9 @@ Section "InputDevice"
         Driver      "kbd"
         Option      "XkbLayout" "en_US"
 EndSection
+
+
+Section "ServerFlags"
+       Option "AutoAddDevices" "false"
+EndSection
+
index 4194b57..f8ce48c 100644 (file)
@@ -1,5 +1,5 @@
 DESCRIPTION = "Machine specific xorg.conf files"
-PR = "r27"
+PR = "r28"
 
 SRC_URI = "file://xorg.conf"