[oe] [PATCH] Xorg for htcdream

David Lanzendörfer david.lanzendoerfer at o2s.ch
Sun Nov 8 12:47:23 UTC 2009


Hi folks
I added a new xorg.conf in order to be able to start xorg on devices like 
htcdream.

greatings leviathan
-------------- next part --------------
commit d4dc63173726616d4ad5c1bf64f8a9002b6103d3
Author: David Lanzend?rfer <david.lanzendoerfer at o2s.ch>
Date:   Sun Nov 8 13:43:15 2009 +0100

    Added xorg.conf for htcdream in xserver-xorg

diff --git a/recipes/xorg-xserver/xserver-xorg-conf/htcdream/xorg.conf b/recipes/xorg-xserver/xserver-xorg-conf/htcdream/xorg.conf
new file mode 100644
index 0000000..8d07550
--- /dev/null
+++ b/recipes/xorg-xserver/xserver-xorg-conf/htcdream/xorg.conf
@@ -0,0 +1,81 @@
+Section "Monitor"
+	Identifier "Monitor0"
+	Mode "320x480"
+        	DotClock 0		
+		HTimings 320 320 320 320
+		VTimings 480 480 480 480
+		Flags    "-HSync" "-VSync"
+	EndMode
+EndSection    
+
+
+
+Section "Device"                                  
+        Identifier      "fbdev"
+        Driver  "fbdev"
+	Option "ShadowFB" "on" 
+	#Option "Rotate" "CW" 
+EndSection                                                
+
+
+Section "Screen"                                        
+        Identifier "Framebuffer"     
+        Device  "fbdev"            
+        Monitor "Monitor"               
+	DefaultFbBpp 16
+	SubSection "Display"
+		Depth 16
+        	Modes "320x480"
+	EndSubSection
+EndSection                                              
+
+Section "Screen"
+        Identifier "320x480x16"
+        Device  "fbdev"
+        Monitor "Monitor"
+        DefaultFbBpp 16
+        SubSection "Display"
+                Depth 16
+                Modes "320x480"
+        EndSubSection
+EndSection
+
+
+Section "ServerLayout"                                 
+        Identifier      "Builtin Default Layout"                                     
+        Screen  "Framebuffer"        
+	#InputDevice "Trackball" "CorePointer"
+	InputDevice "Touchscreen" "CorePointer"
+        InputDevice "Keyboard" "CoreKeyboard"
+EndSection        
+
+Section "InputDevice"
+    Identifier "Trackball"
+    Driver     "evdev"
+    Option     "Device"        "/dev/input/event2"
+    Option     "ScreenNumber"  "0"
+    Option     "ReportingMode" "Raw"    
+    #Option     "ReportingMode" "Scaled"
+    #Option     "ButtonNumber"  "1"
+    #Option     "SendCoreEvents"
+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"
+EndSection
+
+Section "InputDevice"
+        Identifier  "Keyboard"
+        Driver      "kbd"
+        Option      "XkbLayout" "en_US"
+EndSection
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20091108/91e670c3/attachment-0002.sig>


More information about the Openembedded-devel mailing list