DSDT patch in kernel for Compaq 8510p
On OpenSUSE 11.2 M8 i have to patch the kernel....these steps i've taken:
iasl -tc DSTL.dls generates a DSTL.hex
make oldconfig
cp .config .config_old
make clean
make mrproper
make menuconfig
with menuconfig i've patched the kernel to use /etc/acpi/DSTL.hex
CONFIG_ACPI_CUSTOM_DSDT_FILE="/etc/acpi/DSDT.hex"
CONFIG_ACPI_CUSTOM_DSDT=y
see http://www.lesswatts.org/projects/acpi/overridingDSDT.php
make -j3
make modules
make modules_install
make bzImage
cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.31-10-desktop
cp System.map /boot/System.map-2.6.31-10-desktop
vi /boot/grub/menu.lst
and adding the proper entry copying from the others
mkinitrd -i /boot/initrd-2.6.31-10-desktop -k /boot/vmlinuz-2.6.31-10-desktop
result:
[ 0.000000] ACPI: Override [DSDT- 8510x], this is unsafe: tainting kernel
[ 0.000000] ACPI: DSDT @ 0x000000007ffc84c0 Table override, replaced with:
[ 0.000000] ACPI: DSDT ffffffff818933b0 11AC9 (v01 HP 8510x 00010000 INTL 20090320)
iasl -tc DSTL.dls generates a DSTL.hex
make oldconfig
cp .config .config_old
make clean
make mrproper
make menuconfig
with menuconfig i've patched the kernel to use /etc/acpi/DSTL.hex
CONFIG_ACPI_CUSTOM_DSDT_FILE="/etc/acpi/DSDT.hex"
CONFIG_ACPI_CUSTOM_DSDT=y
see http://www.lesswatts.org/projects/acpi/overridingDSDT.php
make -j3
make modules
make modules_install
make bzImage
cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.31-10-desktop
cp System.map /boot/System.map-2.6.31-10-desktop
vi /boot/grub/menu.lst
and adding the proper entry copying from the others
mkinitrd -i /boot/initrd-2.6.31-10-desktop -k /boot/vmlinuz-2.6.31-10-desktop
result:
[ 0.000000] ACPI: Override [DSDT- 8510x], this is unsafe: tainting kernel
[ 0.000000] ACPI: DSDT @ 0x000000007ffc84c0 Table override, replaced with:
[ 0.000000] ACPI: DSDT ffffffff818933b0 11AC9 (v01 HP 8510x 00010000 INTL 20090320)
Comments
Post a Comment