mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Thomas Hood <jdthood@mail.com>
To: linux-kernel@vger.kernel.org
Subject: SysRq to abort APM wait?
Date: 09 Dec 2001 18:18:44 -0500	[thread overview]
Message-ID: <1007939925.1038.4.camel@thanatos> (raw)

Today I have a problem with my machine failing
to suspend.  I'll talk about tracking down that
problem in another thread.  In this thread I would
like to ask whether anyone else thinks it would be
useful to have a SysRq key combo that would cause
the apm driver to cease waiting for processes to
reply to standby|suspend events.

What happened to me today (and this is far from the
first time) is the following.  I request a suspend;
apm (the driver) notifies everyone; X processes the
event and blanks the screeen; but some bonehead of
a process fails to respond to the event and apm just
hangs around waiting forever.  That leaves me sitting
in front of a laptop with a blinking "suspending ..."
light and a blanked screen, and X not accepting 
keypresses.

I think it would be useful if under these circumstances
I could SysRq-a to force apm to stop waiting for
responses to the suspend event and to go ahead and
do the suspend.  Event queues would be cleared and anyone
who hadn't responded to the event would have his write
privilege revoked.

Good idea, or dumb idea?



                 reply	other threads:[~2001-12-09 23:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1007939925.1038.4.camel@thanatos \
    --to=jdthood@mail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®