diff options
Diffstat (limited to 'package/xorg-server/files')
-rw-r--r-- | package/xorg-server/files/xorg-server.postinst | 3 | ||||
-rw-r--r-- | package/xorg-server/files/xorg.conf.sharp-zaurus | 62 |
2 files changed, 62 insertions, 3 deletions
diff --git a/package/xorg-server/files/xorg-server.postinst b/package/xorg-server/files/xorg-server.postinst index e26e54f3f..09f00dd35 100644 --- a/package/xorg-server/files/xorg-server.postinst +++ b/package/xorg-server/files/xorg-server.postinst @@ -1,5 +1,2 @@ #!/bin/sh if [ -z $IPKG_INSTROOT ];then chmod u+s /usr/bin/Xorg;fi -. $IPKG_INSTROOT/etc/functions.sh -gid=$(get_next_gid) -add_group video $gid diff --git a/package/xorg-server/files/xorg.conf.sharp-zaurus b/package/xorg-server/files/xorg.conf.sharp-zaurus new file mode 100644 index 000000000..9f3022a22 --- /dev/null +++ b/package/xorg-server/files/xorg.conf.sharp-zaurus @@ -0,0 +1,62 @@ +Section "Device" + Identifier "Generic Video Card" + Driver "fbdev" + Option "UseFBDev" "true" + Option "Rotate" "CW" +EndSection + +Section "InputDevice" + Identifier "Touchscreen" + Driver "evdev" + Option "CorePointer" + Option "Device" "/dev/input/event2" +EndSection + +Section "InputClass" + Identifier "calibration" + MatchProduct "Touchscreen" + Option "Calibration" "210 3599 311 3796" +EndSection + +Section "Monitor" + Identifier "Generic Monitor" + Option "DPMS" + HorizSync 28-32 + VertRefresh 43-60 +EndSection + +Section "Screen" + Identifier "Default Screen" + Device "Generic Video Card" + Monitor "Generic Monitor" + DefaultDepth 16 + SubSection "Display" + Depth 1 + Modes "640x480" + EndSubSection + SubSection "Display" + Depth 4 + Modes "640x480" + EndSubSection + SubSection "Display" + Depth 8 + Modes "640x480" + EndSubSection + SubSection "Display" + Depth 15 + Modes "640x480" + EndSubSection + SubSection "Display" + Depth 16 + Modes "640x480" + EndSubSection + SubSection "Display" + Depth 24 + Modes "640x480" + EndSubSection +EndSection + +Section "ServerLayout" + Identifier "Default Layout" + Screen "Default Screen" +EndSection |