Subject: Re: How to load your custom ACPI DSDT with NetBSD
To: Hubert Feyrer <firstname.lastname@example.org>
From: Jared D. McNeill <email@example.com>
Date: 01/05/2006 22:47:56
On 5-Jan-06, at 10:15 PM, Hubert Feyrer wrote:
> On Thu, 5 Jan 2006, Rui Paulo wrote:
>> * 5. copy *.hex to src/sys/dev/acpi/acpica/Osd/dsdt.hex
>> If you don't know how to fix the tables yourself (or you just don't
>> want to spend time) go to http://acpi.sourceforge.net/dsdt/index.php,
>> find your laptop's manufacturer/model tuple and download one of the
>> custom DSDT's and do as above but skiping the first 3 steps.
> Would it be possible (in the long run) to make these files loadable
> at runtime, instead of compiling them into the kernel?
The DSDT would have to be loaded very early in the boot process,
probably before the kernel starts, since the ACPI subsystem is
started before most other device drivers. As an LKM preloaded by an
in-kernel linker (similar to how FreeBSD handles kernel modules), it
would certainly be possible in the long run.