Bug 4321
Summary: | Sleeping if your console is locked via ioctl VT_LOCKSWITCH does not work. | ||
---|---|---|---|
Product: | ACPI | Reporter: | Tim Nordell (tim+kernelbugzilla) |
Component: | Power-Sleep-Wake | Assignee: | Venkatesh Pallipadi (venki) |
Status: | REJECTED WILL_NOT_FIX | ||
Severity: | low | CC: | acpi-bugzilla |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.11-rc5 | Subsystem: | |
Regression: | --- | Bisected commit-id: |
Description
Tim Nordell
2005-03-10 03:27:55 UTC
still an issue in 2.6.13? I will have to check. :) I haven't messed with doing it since I discovered I couldn't sleep while having the console locked. Looking through the code, I see that suspend-resume use the normal interfaces to switch the console and if VT LOCK is active console switch fails and hence the suspend also fails. As Tim mentioned, this can be worked around by using a different code path to switch to suspend-resume kernel. But, as this is not a critical issue, and can easily be handled by having a userlevel script that checks whether VT LOCK is active before suspend, releases it and then does suspend (and also does the reverse on resume), I kind of feel that we don't need to fix it in the kernel. Tim: If you don't insist for the kernel fix strongly enough, I am going to close this bug :-). Closing the bug. |