Refresh ACPI APM and PMU devices on resume

David Zeuthen david at fubar.dk
Sun Apr 16 14:24:47 PDT 2006


On Sun, 2006-04-16 at 21:39 +0200, Danny Kukawka wrote:
> Btw. It looks as the patch not work: 
> https://bugs.freedesktop.org/show_bug.cgi?id=6542

Maybe that bug ought be moved to the kernel.org bugzilla. I'm not sure
we could fix that even if we wanted.

> Maybe workarounds delay fixing problems, but our users don't want to wait for 
> this. They want _now_ a working solution and not in several months or maybe 
> years. 

Yup, news at 11. But you must know by now that a lot of driver code
simply don't work very well. And as you know, ACPI S3 is difficult in
particular because of the display driver code normally live outside the
kernel.

On a related note, I wish that the various distributions would converge
on a set of power management scripts that just did the right thing. I
hear that the Ubuntu scripts are pretty good. I also think we should put
this in HAL since that is exactly what HAL device information files are
for. Then if I'm a laptop vendor I can simply drop in a few files
specifying what quirks it got and, bingo, the video will resume when the
machine wakes up from S3. I don't even need to care about what
distribution I'm on.

> What a pretty world would it be, if we could remove all workarounds and all 
> bugs get fixed immediately. ;-)

Things does get fixed. For example, after all the major distributions
started shipping hal a lot of bugs got fixed in the usb-storage driver.
 
I'm hopeful that most of the ACPI issues will get worked out over the
next few years, now that most distributions actually ship gizmos like
gnome-power-manager that makes it easy for the user to discover that
ACPI is not working on his machine :-). Btw, someone told me once that
ACPI support was equally bad on Windows the first few years it started
using ACPI.

    David




More information about the hal mailing list