From owner-freebsd-current Mon Feb 19 15:12:41 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA02141 for current-outgoing; Mon, 19 Feb 1996 15:12:41 -0800 (PST) Received: from up8.univ-paris8.fr (up8.univ-paris8.fr [193.54.155.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id PAA02108 for ; Mon, 19 Feb 1996 15:12:33 -0800 (PST) Received: from gna.gna.org (gna.mime.univ-paris8.fr [193.54.153.26]) by up8.univ-paris8.fr (8.6.11/8.6.9) with ESMTP id AAA28857; Tue, 20 Feb 1996 00:06:25 +0100 Received: (from uufreega@localhost) by gna.gna.org (8.6.10/8.6.12) with UUCP id AAA18697; Tue, 20 Feb 1996 00:01:23 +0100 Received: from freegate by freegate.gna.org (senmail 8.6.12/9.0). id XAA00527 for ; Mon, 19 Feb 1996 23:56:12 GMT Date: Mon, 19 Feb 1996 23:56:12 +0000 () From: Alain Brauner To: Joerg Wunsch cc: FreeBSD-current users Subject: Re: Keyboard lockout on 2.x.x In-Reply-To: <199602190811.JAA11333@uriah.heep.sax.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@FreeBSD.ORG Precedence: bulk Hi, Maybe i shall also redirect this mail to hackers. On Mon, 19 Feb 1996, J Wunsch wrote: > As Kent Hamilton wrote: > > > > > > When exactly does it lock up? > > > > Ohh, sorry, I've seen this mentioned here before so I guess I thought > > it was a well known problem. I'm using syscon and when flipping to a > > different vt you'll get locked out. > > Does this happen for all keyboards? Does disconnecting/reconnecting > the keyboard help? > I have this problem too, this before 2.0R and i still have it in 2.1R, with several different hardware. > Keyboard lockup during VT switch is most likely due to a collision on > the keyboard interface arising out of simultaneously sending a > character code, while the driver is sending a SET LEDS command to the > keyboard. When i search in the differents lists archives of FreeBSD, i found that it may have something to do with one or more of the following : - The Screen saver ? - Lot's of Paging when we "VT switch" ( with X11 ) We can reproduce this problem when trying to switch while starting X at the same time or when we are under heavy load in X. > The keyboard serial interface hasn't been designed to be two-way, but > later (for the PC/AT) been used for this. Since you can rlogin into > the machine, try compiling the kbdio(8) hacker's tool from > /usr/src/usr.sbin/pcvt/kbdio, and see if you could also issue a > keyboard reset. Sorry, no man page, only the usage help (try -h). > Good news. Some time ago we where able to switch between VTs with an early syscons command comming from FBSD 1.X . I remember issuing this syscons command on my good old serial terminal, to get my console keyboard VT switching resurected. I'm sure that this can be re-implemented in vidcontrol since i have the feeling that this is used in the install floppy. I have to mention another intermittent Vt switching problem since 2.0.5-SNAP-XXX ( using syscons ). When i switch from X11 to text, i have to press to CTRL or ALT keys to reset my keyboard to a sane state. I guess this came from X11 key-press/key-release discipline; key-release is catched ( and ignored ) while doing CTRL-ALT-Fn. I try to use SVR4 vt switching mode in my /etc/XF86config, but it hasn't fixed the problem. Anyway, *nothing* can make me change to another OS :-) bye. -*- FreeBSD: Alain Brauner: alainb@freegate.gna.org 93200 St DENIS France