--- trunk/magellan-initscripts/etc/rc.d/init.d/hwdetect 2005/07/03 21:31:27 148 +++ trunk/magellan-initscripts/etc/rc.d/init.d/hwdetect 2005/08/31 21:46:24 221 @@ -1,5 +1,5 @@ #!/bin/bash -# $Header: /home/cvsd/magellan-cvs/magellan-src/magellan-initscripts/etc/rc.d/init.d/hwdetect,v 1.4 2005-07-03 21:31:27 niro Exp $ +# $Header: /home/cvsd/magellan-cvs/magellan-src/magellan-initscripts/etc/rc.d/init.d/hwdetect,v 1.5 2005-08-31 21:46:24 niro Exp $ # note: must be startet before /etc/rc.d/init.d/modules !!! @@ -273,7 +273,13 @@ then # vmware module has some probs with fb consoles # very dirty glyphes appear, so we use vesa instead - [ "${XMODULE}" = "vmware" ] && XMODULE="vesa" + [[ ${XMODULE} = vmware ]] && XMODULE="vesa" + + # i810 needs the intel-agp kernel module to run probably + [[ ${XMODULE} = i810 ]] && \ + [ -f /lib/modules/$(uname -r)/kernel/drivers/char/agp/intel-agp.ko ] && \ + echo "intel-agp" >> /etc/modules.autoload.d/kernel-$(kernel_major_version) + echo -e ${COLOREDSTAR}"Video: ${XDESC}" echo -e ${COLOREDSTAR}"Video module: ${XMODULE}" echo " Driver \"${XMODULE}\"" >> ${xfconfig} @@ -385,7 +391,7 @@ if [ -e /lib/modules/$(uname -r)/kernel/drivers/char/lp.o ] then echo "lp" >> /etc/modules.autoload.d/kernel-$(kernel_major_version) - fi + fi # get what hwsetup has found if [ -f /etc/sysconfig/hwsetup/knoppix ]