summaryrefslogtreecommitdiffstats
path: root/initramfs
diff options
context:
space:
mode:
authorDirk von Suchodoletz2007-12-03 15:37:46 +0100
committerDirk von Suchodoletz2007-12-03 15:37:46 +0100
commit1e205dcd98180c59dba7108fd1863e5a76631aa9 (patch)
treed590ca589d41e7c48dc88561badf59882d9d57c7 /initramfs
parent* added the patch that had erraneously been removed (diff)
downloadcore-1e205dcd98180c59dba7108fd1863e5a76631aa9.tar.gz
core-1e205dcd98180c59dba7108fd1863e5a76631aa9.tar.xz
core-1e205dcd98180c59dba7108fd1863e5a76631aa9.zip
Modern xorg versions do not need much information on displays any more
... Tested successfully with a range of machines. The configuration of some i8,9XX based systems is still a problem (independently of these changes - i915resolution has to be used to patch the video BIOS (but you have to know the display resolution first ...)) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1417 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs')
-rwxr-xr-xinitramfs/initrd-stuff/bin/hwautocfg15
1 files changed, 5 insertions, 10 deletions
diff --git a/initramfs/initrd-stuff/bin/hwautocfg b/initramfs/initrd-stuff/bin/hwautocfg
index 2ba8b676..8b2612b9 100755
--- a/initramfs/initrd-stuff/bin/hwautocfg
+++ b/initramfs/initrd-stuff/bin/hwautocfg
@@ -18,10 +18,6 @@
displaysetup () {
# (temporary) configuration file
local xfc=$1
-# define some defaults
-local HSYNCRANGE="31.5-63.5"
-local VSYNCRANGE="60-90"
-local DEFAULTMODES='"1024x768" "800x600" "640x480"'
# set variables representing the xorg.conf sections (version 6.9.x)
# variables might be overwritten via displayvars function
local Module='\tLoad\t\t"dbe"\n
@@ -66,8 +62,6 @@ local InputMouseSyn='\tIdentifier "Mouse1"\n
local Monitor='\tIdentifier "Default"\n
\tModelName\t"MODEL"\n
\tOption\t\t"CalcAlgorithm"\t"CheckDesktopGeometry"\n
-\tHorizSync\tHS\n
-\tVertRefresh\tVS\n
\tOption\t\t"DPMS"\t\t"true"'
local Device='\tIdentifier\t"StdGraphics"\n
\tVendorName\t"XDESC"\n
@@ -107,6 +101,7 @@ if [ -n "${hw_graphic}" ] ; then
fi
fi
+# deprecated stuff, needed primarily for CRT displays
if [ -n "${hw_monitor}" ] ; then
# just cut all starting from k(Hz) ...
HS=${hw_monitor%k*}
@@ -202,10 +197,10 @@ for section in Files ServerFlags Module InputDevice Monitor \
;;
Screen)
echo -e ${Screen} >>$xfc
- for BPP in 15 16 24
- do echo -e '\tSubSection "Display"\n\t\tDepth\t'\
- $BPP'\n\t\tModes\t'$SCR_MODES'\n\tEndSubSection' >>$xfc
- done
+ #for BPP in 15 16 24
+ # do echo -e '\tSubSection "Display"\n\t\tDepth\t'\
+ # $BPP'\n\t\tModes\t'$SCR_MODES'\n\tEndSubSection' >>$xfc
+ #done
;;
ServerLayout)
echo -e ${ServerLayout} >>$xfc