aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/xorg-xserver
diff options
context:
space:
mode:
authorDenis Carikli <GNUtoo@no-log.org>2010-12-07 22:32:52 +0000
committerDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>2010-12-13 22:20:08 +0100
commitcf79ea4395d2e0c4717b34d20d93b99fa0a3d1dc (patch)
treee51010aa4e7f794ce6ee1f71e892bfbe80c6e5fd /recipes/xorg-xserver
parentfbc3a2e8adb363b8c33610a9606dbf6f6cc2e01e (diff)
downloadopenembedded-cf79ea4395d2e0c4717b34d20d93b99fa0a3d1dc.tar.gz
xserver-xorg-conf and xinput-calibrator : add iphone3g support
Without the calibration data the touchscreen is uncalibrated and unusable. Signed-off-by: Chris 'Lopi' Spehn <chris.spehn@gmail.com> Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Diffstat (limited to 'recipes/xorg-xserver')
-rw-r--r--recipes/xorg-xserver/xserver-xorg-conf/iphone3g/xorg.conf29
-rw-r--r--recipes/xorg-xserver/xserver-xorg-conf_0.1.bb2
2 files changed, 30 insertions, 1 deletions
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 0000000000..83ac9c1486
--- /dev/null
+++ b/recipes/xorg-xserver/xserver-xorg-conf/iphone3g/xorg.conf
@@ -0,0 +1,29 @@
+Section "Device"
+ Identifier "Builtin Default fbdev Device 0"
+ Driver "fbdev"
+ Option "ShadowFB" "on"
+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 "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 25a38674d2..71d3be3805 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"