Suggestion for a new power management quirk: hibernate with shutdown instead of platform
Danny Kukawka
danny.kukawka at web.de
Wed Jan 2 05:01:46 PST 2008
On Sonntag, 30. Dezember 2007, Till Maas wrote:
> Hiyas,
>
> sometimes it is neccessary to run
> echo shutdown > /sys/power/disk; echo disk > /sys/power/state
> instead of
> echo platform > /sys/power/disk; echo disk > /sys/power/state
> to hibernate a notebook, e.g. for the on from the user that reported this
> bug report:
> https://bugzilla.redhat.com/show_bug.cgi?id=375701
>
> I cannot see, that there is a quirk flag that shows whether or not this is
> needed, therefore it should be added, e.g.
>
> power_management.quirk.hibernate_shutdown
After some discussion with the SUSE kernel/ACPI/suspend guys I would vote
against this new quirk.
Cases where you need shutdown instead of platform are normaly bugs in the
kernel (e.g. the ACPI code) as far as we know and should get fixed there.
This can change from kernel version to kernel version. The best is: report
such problems there instead of workaround them in general via a quirk.
Finding the source of the problem is always better than a workaround and
would help more ppl.
And for the sound problem in the Ubuntu bug: sounds to me like a bug in the
alsa driver and should also get reported and fixed there.
Danny
More information about the hal
mailing list