Module Name: src
Committed By: tsutsui
Date: Fri May 20 08:40:05 UTC 2011
Added Files:
src/external/mit/xorg/etc/etc.zaurus: Makefile.inc xorg.conf
Log Message:
Add sample xorg.conf file for zaurus.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/external/mit/xorg/etc/etc.zaurus/Makefile.inc \
src/external/mit/xorg/etc/etc.zaurus/xorg.conf
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: src/external/mit/xorg/etc/etc.zaurus/Makefile.inc
diff -u /dev/null src/external/mit/xorg/etc/etc.zaurus/Makefile.inc:1.1
--- /dev/null Fri May 20 08:40:05 2011
+++ src/external/mit/xorg/etc/etc.zaurus/Makefile.inc Fri May 20 08:40:04 2011
@@ -0,0 +1,3 @@
+# $NetBSD: Makefile.inc,v 1.1 2011/05/20 08:40:04 tsutsui Exp $
+
+XORGCONF_FILES= etc.${MACHINE}/xorg.conf
Index: src/external/mit/xorg/etc/etc.zaurus/xorg.conf
diff -u /dev/null src/external/mit/xorg/etc/etc.zaurus/xorg.conf:1.1
--- /dev/null Fri May 20 08:40:05 2011
+++ src/external/mit/xorg/etc/etc.zaurus/xorg.conf Fri May 20 08:40:04 2011
@@ -0,0 +1,57 @@
+# $NetBSD: xorg.conf,v 1.1 2011/05/20 08:40:04 tsutsui Exp $
+
+Section "ServerLayout"
+ Identifier "wsfb"
+ Screen 0 "Screen0" 0 0
+ InputDevice "TouchScreen0" "CorePointer"
+ InputDevice "Keyboard0" "CoreKeyboard"
+EndSection
+
+Section "Files"
+# FontPath "/usr/pkg/lib/X11/fonts/TTF/"
+EndSection
+
+Section "InputDevice"
+ Identifier "Keyboard0"
+ Driver "kbd"
+ Option "XkbModel" "sl-c3x00"
+EndSection
+
+Section "InputDevice"
+ Identifier "TouchScreen0"
+ Driver "ws"
+
+ Option "device" "/dev/wsmouse"
+ Option "ZAxisMapping" "4 5"
+
+ Option "MinX" "0"
+ Option "MaxX" "479"
+ Option "MinY" "0"
+ Option "MaxY" "639"
+
+ Option "Rotate" "CW"
+EndSection
+
+Section "Device"
+ Identifier "Wsdisplay0"
+ Driver "wsfb"
+
+ Option "Rotate" "CW"
+EndSection
+
+Section "Monitor"
+ Identifier "Monitor"
+ VendorName "Sharp"
+ ModelName "Zaurus"
+EndSection
+
+Section "Screen"
+ Identifier "Screen0"
+ Device "Wsdisplay0"
+ Monitor "Monitor"
+ DefaultDepth 16
+
+ SubSection "Display"
+ Depth 16
+ EndSubSection
+EndSection