public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Zephaniah E\. Hull" <warp@babylon.d2dc.net>
To: Vojtech Pavlik <vojtech@suse.cz>
Cc: linux-kernel@vger.kernel.org
Subject: 2.5.x console keyboard problem.
Date: Mon, 23 Dec 2002 10:19:24 -0500	[thread overview]
Message-ID: <20021223151924.GA5970@babylon.d2dc.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 1586 bytes --]

It took me a while to track this down, with a few false paths.

I have verified this is kernel side, so..

The basic problem goes like this, start X, switch away from X with
ctrl-alt-Fn, then switch back to X, this is where the fun starts.

Sometimes (this seems to be a race condition, but I have no idea what it
depends on) things go, interestingly wrong, X gets the message that it
has the VC, it takes control of the screen, and the kernel grabs the
ctrl-alt-Fn used to switch away from X, and does not tell X that it no
longer actually HAS the console.

Resulting in keyboard input going to the VC you switched out from X to,
and the kernel believing that it can print to the screen, but with X also
still trying to control the screen.

If you switch back to the VC X is on then things work from there,
however this is quite obviously quite broken.

Verification that this was kernel side was not too hard, removing the
console binds for ctrl-alt-Fn makes the problem go away.

This happens for 2.5.x, but not 2.4.20, I don't know where in 2.5.x it
started.

Thanks.

Zephaniah E. Hull.

-- 
	1024D/E65A7801 Zephaniah E. Hull <warp@babylon.d2dc.net>
	   92ED 94E4 B1E6 3624 226D  5727 4453 008B E65A 7801
	    CCs of replies from mailing lists are requested.

[1] Yes, we ARE rather dull people.  We appreciate being dull people.
Exciting is only good when it happens to someone else ... as in "an
exciting wreck", "an exciting plane crash", "an exciting install of
Windows XP", et al.
  -- Ralph Wade Phillips in the Scary Devil Monastery.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2002-12-23 15:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-23 15:19 Zephaniah E. Hull [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-12-23 15:50 2.5.x console keyboard problem Zephaniah E. Hull
2002-12-25 17:58 ` Pavel Machek

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=20021223151924.GA5970@babylon.d2dc.net \
    --to=warp@babylon.d2dc.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vojtech@suse.cz \
    /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