From: Martin.Jansa Date: Fri, 30 Oct 2009 10:33:55 +0000 (+0100) Subject: om-gta02: xorg.conf with evdev drivers for input X-Git-Tag: Release-2010-05/1~1201 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45c7e99108c9acdd7cad793f4af7a46e6d02ec43;p=openembedded.git om-gta02: xorg.conf with evdev drivers for input --- diff --git a/recipes/xorg-xserver/xserver-xorg-conf/om-gta02/xorg.conf b/recipes/xorg-xserver/xserver-xorg-conf/om-gta02/xorg.conf index 3fc8d83b22..7d7589fd6c 100644 --- a/recipes/xorg-xserver/xserver-xorg-conf/om-gta02/xorg.conf +++ b/recipes/xorg-xserver/xserver-xorg-conf/om-gta02/xorg.conf @@ -1,20 +1,52 @@ +Section "Module" + Load "glx" + Load "dri2" +EndSection + + Section "Monitor" - Identifier "Builtin Default Monitor" + Identifier "LCD Panel" EndSection + Section "Device" - Identifier "Builtin Default glamo Device 0" - Driver "glamo" -EndSection + Identifier "Glamo Graphics Chip" + Driver "glamo" +EndSection + Section "Screen" - Identifier "Builtin Default glamo Screen 0" - Device "Builtin Default glamo Device 0" - Monitor "Builtin Default Monitor" + Identifier "Default Screen" + Device "Glamo Graphics Chip" + Monitor "LCD Panel" EndSection -Section "ServerLayout" - Identifier "Builtin Default Layout" - Screen "Builtin Default glamo Screen 0" + +Section "InputDevice" + Identifier "Power Button" + Driver "evdev" + Option "Device" "/dev/input/event0" EndSection + +Section "InputDevice" + Identifier "AUX Button" + Driver "evdev" + Option "Device" "/dev/input/event4" +EndSection + + +Section "InputDevice" + Identifier "Touchscreen" + Driver "evdev" + Option "Device" "/dev/input/event1" +EndSection + + +Section "ServerLayout" + Identifier "Default Layout" + Screen "Default Screen" + InputDevice "Power Button" + InputDevice "AUX Button" + InputDevice "Touchscreen" +EndSection