On Tue, Jun 14, 2011 at 10:07:54PM +0200, Javier Vazquez wrote: > Hello again, > Sending toshiba acpi patch as Paul has suggested.
Cool! [--snip--] > Index: dev/acpi/acpi.c > =================================================================== > RCS file: /cvs/src/sys/dev/acpi/acpi.c,v > retrieving revision 1.224 > diff -u -p -r1.224 acpi.c > --- dev/acpi/acpi.c 27 Apr 2011 20:55:42 -0000 1.224 > +++ dev/acpi/acpi.c 14 Jun 2011 20:02:44 -0000 > @@ -93,6 +93,7 @@ void acpi_pbtn_task(void *, int); > #ifndef SMALL_KERNEL > > int acpi_thinkpad_enabled; > +int acpi_toshiba_enabled; > int acpi_saved_spl; > int acpi_enabled; > > @@ -781,8 +782,8 @@ acpi_attach(struct device *parent, struc > /* check if we're running on a sony */ > aml_find_node(&aml_root, "GBRT", acpi_foundsony, sc); > > - /* attach video only if this is not a stinkpad */ > - if (!acpi_thinkpad_enabled) > + /* attach video only if this is not a stinkpad or toshiba */ > + if (!acpi_thinkpad_enabled || !acpi_toshiba_enabled) > aml_find_node(&aml_root, "_DOS", acpi_foundvideo, sc); You forgot to fix this into: + if (!acpi_thinkpad_enabled && !acpi_toshiba_enabled)
