Dapper: Logout dialog offers 'Sleep' even when it was disabled.

Jani Monoses jani.monoses at gmail.com
Fri Mar 10 05:39:48 GMT 2006


Karl Hegbloom wrote:
> I've got the 'sleep' variable commented off
> in /etc/default/acpi-support, since it does not work right with my
> laptop.  But the log-out dialog and the gnome-power-manager still offer
> 'Sleep' as an option.  Further, pressing the sleep button on the logout
> dialog does put it into S3, when it should not.  The button shouldn't
> even appear.
> 
>  pmi capabilities
> 
> ... prints only 'hibernate'.
> 
> I will report this in Malone if someone will tell me what application to
> file it on.

I saw this too. From what I saw last time, HAL (which is used for this) 
does not use pmi currently to detect such capabilities, but looks if you 
have 'mem' in /sys/power/state. So all the laptop detection smartness
that's in the acpi-support package is not taken advantage of.
Although there's a changelog entry containing

' Add support for using /usr/sbin/pmi to verify capabilities for suspend
     versus hibernate.'
the code does not seem to be there.

I'd file the bug on HAL.

Jani




More information about the ubuntu-devel mailing list