aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/xorg-xserver/xserver-xorg-conf/htcdream/xorg.conf
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-graphics/xorg-xserver/xserver-xorg-conf/htcdream/xorg.conf')
-rw-r--r--meta-oe/recipes-graphics/xorg-xserver/xserver-xorg-conf/htcdream/xorg.conf69
1 files changed, 69 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/xorg-xserver/xserver-xorg-conf/htcdream/xorg.conf b/meta-oe/recipes-graphics/xorg-xserver/xserver-xorg-conf/htcdream/xorg.conf
new file mode 100644
index 0000000000..be3c6ec545
--- /dev/null
+++ b/meta-oe/recipes-graphics/xorg-xserver/xserver-xorg-conf/htcdream/xorg.conf
@@ -0,0 +1,69 @@
+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" # comment for disabling rotation
+EndSection
+
+Section "Screen"
+ Identifier "Framebuffer"
+ Device "fbdev"
+ Monitor "Monitor0"
+ DefaultFbBpp 16
+ SubSection "Display"
+ Depth 16
+ Modes "320x480"
+ EndSubSection
+EndSection
+
+
+Section "ServerLayout"
+ Identifier "Builtin Default Layout"
+ Screen "Framebuffer"
+ InputDevice "Trackball"
+ InputDevice "Touchscreen"
+ InputDevice "Keyboard"
+EndSection
+
+Section "InputDevice"
+ Identifier "Trackball"
+ Driver "evdev"
+ Option "Device" "/dev/input/event2"
+ Option "ScreenNumber" "0"
+ Option "ReportingMode" "Raw"
+ Option "SwapAxes" "True" # comment for disabling rotation
+ Option "InvertY" "True" # comment for disabling rotation
+EndSection
+
+
+Section "InputDevice"
+ Identifier "Touchscreen"
+ Driver "evdev"
+ Option "Device" "/dev/input/event1"
+ Option "SwapAxes" "True" # comment for disabling rotation
+ Option "InvertY" "True" # comment for disabling rotation
+ Option "ReportingMode" "Raw"
+EndSection
+
+Section "InputDevice"
+ Identifier "Keyboard"
+ Driver "kbd"
+ Option "XkbLayout" "us"
+ Option "XkbModel" "htcdream"
+EndSection
+
+
+Section "ServerFlags"
+ Option "AutoAddDevices" "false"
+EndSection
+