461 |
export GRUB2GFXPAYLOAD="keep" |
export GRUB2GFXPAYLOAD="keep" |
462 |
fi |
fi |
463 |
|
|
464 |
|
# requires nomsi to prevent massive IRQ error spam |
465 |
|
# see: http://ubuntuforums.org/showthread.php?t=1234983 |
466 |
|
if [[ ! -z $(echo "${hwinfo}" | grep -i 'ASUS P5VD2-X') ]] || |
467 |
|
[[ ! -z $(echo "${hwinfo}" | grep -i 'VT8237') ]] || |
468 |
|
[[ ! -z $(echo "${hwinfo}" | grep -i 'VX700') ]] |
469 |
|
then |
470 |
|
export SPECIALDEVICE="P5VD2-X/VT8237/VX700" |
471 |
|
export KERNELOPTS="${KERNELOPTS} pci=nomsi,noaer" |
472 |
|
fi |
473 |
|
|
474 |
# check for special devices/clients: |
# check for special devices/clients: |
475 |
# check for laptops and activate cpufreq scaling |
# check for laptops and activate cpufreq scaling |
476 |
if [[ $(echo "${hwinfo}" | grep 'Formfactor:' | sed 's:.*Formfactor\:\ \"\(.*\)\":\1:') = laptop ]] |
if [[ $(echo "${hwinfo}" | grep 'Formfactor:' | sed 's:.*Formfactor\:\ \"\(.*\)\":\1:') = laptop ]] |