lid is present detection

Michael Biebl mbiebl at
Thu Jan 21 02:28:08 PST 2010

2010/1/21 Richard Hughes <hughsient at>:
> 2010/1/20 Michael Biebl <mbiebl at>:
>> That's a pretty weird issue within g-p-m and afaik only happens when
>> you have uswsusp installed.
> Ahh, that last part is interesting, and could be why I could never
> reproduce the issue with Fedora. There's an experimental fix in
> gnome-power-manager git master which lots of debian users report fixes
> the problem. I'll drag it into stable and do a release at the end of
> the week.
is an interesting read. If the bug is due to vt switching, this might
explain the weird behaviour when uswsusp is installed.
If uswusp is installed, s2ram is used for suspend-to-ram in pm-utils.
s2ram does handle the vt switching itself, and
/usr/lib/pm-utils/sleep.d/99video is disabled when
/usr/lib/pm-utils/module.d/uswsusp is used.

So the timing of the vt switches is different depending on whether
uswsusp is installed or not.

Hope that helps to narrow down the bug.

Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

More information about the devkit-devel mailing list