[linux-l] acpi problem
Michael Meyer
mime at gmx.de
Mo Sep 13 18:20:34 CEST 2004
*** Nico Golde <nion at gmx.net> wrote:
> * list at nolog.org <list at nolog.org> [2004-09-13 11:28]:
> > Nico Golde wrote:
> > >kann mir jemand helfen?
> >
> > Asus vielleicht.
>
> Ich hab mittlerweile recht viel über die dsdt Tabellen gelesen,
> allerdings habe ich das Problem, dass in den Beschreibungen, wie man die
> ändert sich immer auf SUSE bezogen wird. Unter Suse kann man wohl eine
> neue Tabelle einlesen, indem man unter /etc/sysconfig/kernel Den Pfad
> zur Tabelle in eine ACPI Variable einträgt.
beides aus einer SuSE 9.1
,----[ /etc/sysconfig/kernel ]
| # This table is appended to the initial ram disk (initrd) that
| # the mkinitrd script creates. If the kernel finds that its initrd
| # contains a DSDT, this table replaces the DSDT of the bios.
| # Example path /etc/acpi/dsdt
| ACPI_DSDT=""
`----|
,---[ /sbin/mkinitrd ]
| if ! grep -q "DSDT" "$acpi_dsdt" ; then
| oops 2 "File $acpi_dsdt is not a valid ACPI DSDT. Ignoring."
| elif grep -qE 'DefinitionBlock|char|dsl|aml' "$acpi_dsdt" ; then
| oops 2 "ACPI DSDT $acpi_dsdt does not seem to be in binary
| form. Will not attach this to $initrd_image."
| else
| { echo -ne "INITRDDSDT123DSDT123\0"
| cat "$acpi_dsdt"
| echo -ne "INITRDDSDT321DSDT321\0"
| } }
| >> $initrd_image
| echo -e "ACPI DSDT:\t$acpi_dsdt"
`----|
$acpi_dsdt ist der pfad zur adsd-table der aus /etc/sysconfig/kernel
gelesen wird.
HTH
micha
--
Mehr Informationen über die Mailingliste linux-l