[oe] [PATCH 3/4] xserver-xorg-conf: add iphone3g support

Denis 'GNUtoo' Carikli GNUtoo at no-log.org
Tue Dec 7 14:32:52 UTC 2010


Signed-off-by: Chris 'Lopi' Spehn <chris.spehn at gmail.com>
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at no-log.org>
---
 .../xserver-xorg-conf/iphone3g/xorg.conf           |   31 ++++++++++++++++++++
 recipes/xorg-xserver/xserver-xorg-conf_0.1.bb      |    2 +-
 2 files changed, 32 insertions(+), 1 deletions(-)
 create mode 100644 recipes/xorg-xserver/xserver-xorg-conf/iphone3g/xorg.conf

diff --git a/recipes/xorg-xserver/xserver-xorg-conf/iphone3g/xorg.conf b/recipes/xorg-xserver/xserver-xorg-conf/iphone3g/xorg.conf
new file mode 100644
index 0000000..19f02e9
--- /dev/null
+++ b/recipes/xorg-xserver/xserver-xorg-conf/iphone3g/xorg.conf
@@ -0,0 +1,31 @@
+Section "Device"
+	Identifier "Builtin Default fbdev Device 0"
+	Driver  "fbdev"
+	Option "ShadowFB" "on"
+	#Option "Rotate" "CW" # comment for disabling rotation
+EndSection
+
+Section "Screen"
+	Identifier "Builtin Default fbdev Screen 0"
+	Device "Builtin Default fbdev Device 0"
+EndSection
+
+
+Section "InputDevice"
+	Identifier "touchscreen"
+	Driver "evdev"
+	Option "Device" "/dev/input/event2"
+	Option "Calibration" "0 4602 0 7306"
+	Option "ReportingMode" "Raw"
+	Option "SendCoreEvents" "On"
+	Option "GrabDevices" "True"
+	Option "InvertY" "0"
+	Option "SwapAxes" "0"
+EndSection
+
+
+Section "ServerLayout"
+	Identifier      "Builtin Default Layout"
+	Screen  "Builtin Default fbdev Screen 0"
+	InputDevice "touchscreen" "CorePointer" "AlwaysCore"
+EndSection
diff --git a/recipes/xorg-xserver/xserver-xorg-conf_0.1.bb b/recipes/xorg-xserver/xserver-xorg-conf_0.1.bb
index 25a3867..71d3be3 100644
--- a/recipes/xorg-xserver/xserver-xorg-conf_0.1.bb
+++ b/recipes/xorg-xserver/xserver-xorg-conf_0.1.bb
@@ -1,5 +1,5 @@
 DESCRIPTION = "Machine specific xorg.conf files"
-PR = "r37"
+PR = "r38"
 
 SRC_URI = "file://xorg.conf"
 
-- 
1.7.0.4





More information about the Openembedded-devel mailing list