summaryrefslogtreecommitdiffstats
path: root/initrd/initrd-stuff/bin/hwautocfg
diff options
context:
space:
mode:
authorFelix Endres2006-03-30 00:18:05 +0200
committerFelix Endres2006-03-30 00:18:05 +0200
commit9cbb8946287014bbca1f51062914d2d8c68b39e6 (patch)
tree1d2ffb4c2ca14d8d1183fca95a6d89a233a740a0 /initrd/initrd-stuff/bin/hwautocfg
parentforgot to copy the new location of machine.setup and corresponding stuff (diff)
downloadcore-9cbb8946287014bbca1f51062914d2d8c68b39e6.tar.gz
core-9cbb8946287014bbca1f51062914d2d8c68b39e6.tar.xz
core-9cbb8946287014bbca1f51062914d2d8c68b39e6.zip
New functionality for retrieving the frequency ranges of the monitor from ddcprobe output
Yet inclusion into xorg.conf is not activated until it is tested. git-svn-id: http://svn.openslx.org/svn/openslx/ld4@131 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initrd/initrd-stuff/bin/hwautocfg')
-rwxr-xr-xinitrd/initrd-stuff/bin/hwautocfg16
1 files changed, 13 insertions, 3 deletions
diff --git a/initrd/initrd-stuff/bin/hwautocfg b/initrd/initrd-stuff/bin/hwautocfg
index cfd2c74a..c09157e2 100755
--- a/initrd/initrd-stuff/bin/hwautocfg
+++ b/initrd/initrd-stuff/bin/hwautocfg
@@ -133,6 +133,18 @@ else
complete\n or non existant. The $0 script tried for a fully automatic\n\
configuration of display"
fi
+
+#Auskommentiert, da noch nicht getestet
+#FIXMEE: Optimiere den dreifachen aufruf von Screenres
+#VERTSR=`screenres | sed -n '/Vertical Frequency Range/s/[^0-9]* \([0-9-]*\)/\1/p'`
+#HORISR=`screenres | sed -n '/Horizontal Frequency Range/s/[^0-9]* \([0-9-]*\)/\1/p'`
+#if [ -n "$HORISR" ]; then
+# HS=$HORISR
+#fi
+#if [ -n "$VERTSR" ]; then
+# VS=$VERTSR
+#fi
+
if [ -z "$HS" ] ; then error " $msg timings requested but could not \
establish\n horizontal frequency in kHz." nonfatal
HS=${HSYNCRANGE}
@@ -145,9 +157,7 @@ if [ -z "$MR" ] ; then error " $msg resolution requested but not \
established." nonfatal
MR=${MAXRES}
fi
-
-
-monmanual=yes
+monmanual=yes
## compute max resolution
#for res in 640x400 640x480 800x600 1024x768 1280x1024 1400x1050 1600x1200