Allow custom DSDT overrides in grub per default
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Won't Fix
|
Wishlist
|
Unassigned |
Bug Description
For some PC models it's necessary to use a custom ACPI DSDT Table for the correct working of Fans and other system stuff. To load such a table you could either compile a new kernel with this custom table in it, or provide it via grub.
It would be a huge benefit for Ubuntu to provide this functionality out of the box.
Current steps necessary:
=======
1.) Build a new DSDT and place it under /boot/dsdt.aml
2.) Place the following content under /etc/grub.
-------
#! /bin/sh -e
# Uncomment to load custom ACPI table
GRUB_CUSTOM_
# DON'T MODIFY ANYTHING BELOW THIS LINE!
prefix=/usr
exec_prefix=
libdir=
. ${libdir}
# Load custom ACPI table
if [ x${GRUB_
&& is_path_
echo "Found custom ACPI table: ${GRUB_
prepare_
cat << EOF
acpi (\$root)
EOF
fi
-------
3.) update-grub
Desired steps necessary:
=======
1.) Ship the above (or a similar) script fragment per default
2.) Place the GRUB_CUSTOM_ACPU in /etc/default/grub for centralised access
Additional information
==================
Ubuntu-release:
Description: Ubuntu 12.04.1 LTS
Release: 12.04
grub-packages:
grub2:
Installed: (none)
Candidate: 1.99-21ubuntu3.1
Version table:
1.
500 http://
1.99-21ubuntu3 0
500 http://
test@test01:
ii grub-common 1.99-21ubuntu3.1 GRand Unified Bootloader (common files)
ii grub-gfxpayload
ii grub-pc 1.99-21ubuntu3.1 GRand Unified Bootloader, version 2 (PC/BIOS version)
ii grub-pc-bin 1.99-21ubuntu3.1 GRand Unified Bootloader, version 2 (PC/BIOS binaries)
ii grub2-common 1.99-21ubuntu3.1 GRand Unified Bootloader (common files for version 2)
Changed in grub (Ubuntu): | |
status: | New → Invalid |
Changed in grub2 (Ubuntu): | |
importance: | Undecided → Wishlist |
no longer affects: | grub (Ubuntu) |
Looking at the current initramfs-tools package, you can put a DSDT.aml into /etc/initramfs- tools/ so that it gets used.