From patchwork Tue Dec 7 14:32:52 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [3/4] xserver-xorg-conf: add iphone3g support Date: Tue, 07 Dec 2010 14:32:52 -0000 From: Denis Carikli X-Patchwork-Id: 6 Message-Id: <1291732373-17953-4-git-send-email-GNUtoo@no-log.org> To: openembedded-devel@lists.openembedded.org Signed-off-by: Chris 'Lopi' Spehn Signed-off-by: Denis 'GNUtoo' Carikli --- .../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"