[bug?] chvt in /etc/acpi/lid.sh

Paul Sladen ubuntu at paul.sladen.org
Thu Dec 2 16:15:21 CST 2004


On Thu, 2 Dec 2004, Dennis Kaarsemaker wrote:
> I noticed that /etc/acpi/lid.sh issues a chvt, I guess to save power by
> not having X in the foreground. But some laptops (including mine of
> course) do not receive a signal when the lid is re-opened so I manually
> have to switch to the X vt.
> 
> Is this to be considered a bug?

I believe one of the main reasons for switching away to the text-display is
to handle the fact that many of the X drivers do not cope with suspend.

Yes, file it;  It's a bug in the sense unsuspend is not being detected.
Presumebly what should happen is to detect the unsuspend has occured (even
if there's no ACPI event generated by the hardware) and generate it by hand.

	-Paul
-- 
Is there no safe way to travel?  London, GB





More information about the ubuntu-devel mailing list