From 1e205dcd98180c59dba7108fd1863e5a76631aa9 Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Mon, 3 Dec 2007 14:37:46 +0000 Subject: 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 --- initramfs/initrd-stuff/bin/hwautocfg | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'initramfs') 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 -- cgit v1.2.3-55-g7522