Skip to contentSkip to conversation

Xorg for htcdream

PATCH In review David Lanzendörfer 3 participants 4 messages Nov 8, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Xorg for htcdream

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

greatings leviathan

commit d4dc63173726616d4ad5c1bf64f8a9002b6103d3

Author: David Lanzendörfer <[email protected]>
Date:   Sun Nov 8 13:43:15 2009 +0100

Added xorg.conf for htcdream in xserver-xorg

recipes/xorg-xserver/xserver-xorg-conf/htcdream/xorg.conf new file +81 -0
new file mode 100644
index 0000000..8d07550
@@ -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
#2 lore raw
In reply to David Lanzendörfer
Quoted 7 lines · David Lanzendörfer

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

greatings leviathan

Maybe you could:
*tell from who you took this xorg.conf(I always try not to forget to credit people for their work even if it's a small work) *polish it a bit,when I gave you the config I was in a hurry

I'll send you(leviathan) better xorg.conf
Denis

#3 lore raw
Quoted 3 lines

Maybe you could:
*tell from who you took this xorg.conf(I always try not to forget to credit people for their work even if it's a small work)

Sry, it was not my intention to steel credit or something like that, just wanted it to be there in the tree. But youre right: Its your xorg.conf. Thx a lot.

Quoted 1 line

*polish it a bit,when I gave you the config I was in a hurry

Yeah, I had to fix some things anyway. There was a incorrect screen configuration section.

greatings leviathan