2.5.x console keyboard problem.

Zephaniah E\. Hull (warp@mercury.d2dc.net)
Mon, 23 Dec 2002 10:19:24 -0500


--/04w6evG8XlLl3ft
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.

--=20
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.

--/04w6evG8XlLl3ft
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+Byl8RFMAi+ZaeAERAmq0AJ49NSG5rVC7PJOUy09Hnmz3SzNkCACeOCeX
HulV3rsZgveOXvH7LabSNPw=
=eQjN
-----END PGP SIGNATURE-----

--/04w6evG8XlLl3ft--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/