public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Crutcher Dunnavant <crutcher@datastacks.com>
To: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Stateful Magic Sysrq Key
Date: Tue, 2 Oct 2001 10:18:45 -0400	[thread overview]
Message-ID: <20011002101845.A1630@mueller.datastacks.com> (raw)
In-Reply-To: <20011002084807.3579.qmail@web20505.mail.yahoo.com>
In-Reply-To: <20011002084807.3579.qmail@web20505.mail.yahoo.com>; from wtarreau@yahoo.fr on Tue, Oct 02, 2001 at 10:48:06AM +0200

++ 02/10/01 10:48 +0200 - willy tarreau:
> > I'd suggest either making this behaviour optional,
> or making it
> > so that hitting alt-sysrq twice, without any other
> keys being
> > pressed makes the next key stick.
> 
> I agree with you that there's a risk. Mike Harris had
> written a
> patch for 2.2 which did something similar, but
> slightly better 
> IMO since it avoids risks of mis-press, handles
> correctly
> broken keyboards and keeps compatible with the
> existing 
> method. Basically, it allows the user to press Alt,
> then SysRQ,
> release SysRQ then press the desired key, and later
> release
> Alt. In fact, it only resets the "magic-key-mode" flag
> after Alt
> has been released, and doesn't bother when SysRq is
> released.

But this would require that alt be pressed. This is not acceptable on
exactly the sort of boards which require this patch.

I will look at adding a 'sysrq-sticky' entry to proc, which will do the
obvious thing. I think that this should address everyone's concerns.

-- 
Crutcher        <crutcher@datastacks.com>
GCS d--- s+:>+:- a-- C++++$ UL++++$ L+++$>++++ !E PS+++ PE Y+ PGP+>++++
    R-(+++) !tv(+++) b+(++++) G+ e>++++ h+>++ r* y+>*$

  reply	other threads:[~2001-10-02 14:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-02  8:48 [PATCH] Stateful Magic Sysrq Key willy tarreau
2001-10-02 14:18 ` Crutcher Dunnavant [this message]
2001-10-03 14:05   ` [PATCH] Stateful Magic Sysrq Key + Sticky Tag Crutcher Dunnavant
     [not found] <20011002185016.90E271F9BA@zion.rivenstone.net>
2001-10-03  4:23 ` [PATCH] Stateful Magic Sysrq Key Ian Stirling
  -- strict thread matches above, loose matches on Subject: below --
2001-10-02  3:44 Crutcher Dunnavant
2001-10-02  4:14 ` Simon Kirby
2001-10-02  7:02 ` Ian Stirling

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=20011002101845.A1630@mueller.datastacks.com \
    --to=crutcher@datastacks.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