6.x acpi powerbutton

Andriy Gapon avg at freebsd.org
Mon May 18 17:03:24 UTC 2009


on 18/05/2009 19:28 Andriy Gapon said the following:
> on 18/05/2009 19:04 Andriy Gapon said the following:
>> Following up on this - maybe we can just change ACPI_VPRINT to device_printf in
>> acpi_button_notify_sleep?
> 
> Oh, nonsense, this would work only for "control method" button case.
> So printf needs to be in acpi_event_power_button_sleep and
> acpi_event_sleep_button_sleep...
> 

BTW, from the code in acpi_button ("ACPI_FPB", "ACPI_FSB") it seems that the
original intention was to use that driver for both fixed and "control method"
buttons, but in fact the fixed case is handled directly in acpi.c code.

-- 
Andriy Gapon


More information about the freebsd-acpi mailing list