Add sample xorg.conf file for zaurus.

This commit is contained in:
tsutsui 2011-05-20 08:40:04 +00:00
parent 3bf8818edb
commit 2d893f8c1e
2 changed files with 60 additions and 0 deletions

View File

@ -0,0 +1,3 @@
# $NetBSD: Makefile.inc,v 1.1 2011/05/20 08:40:04 tsutsui Exp $
XORGCONF_FILES= etc.${MACHINE}/xorg.conf

View File

@ -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
SubSectionSub "Display"
Depth 16
EndSubSection
EndSection