From owner-freebsd-current Thu Aug 17 14:34:30 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id OAA09585 for current-outgoing; Thu, 17 Aug 1995 14:34:30 -0700 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.FreeBSD.org (8.6.11/8.6.6) with SMTP id OAA09571 for ; Thu, 17 Aug 1995 14:34:24 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de with SMTP (5.67b+/DEC-Ultrix/4.3) id AA04749; Thu, 17 Aug 1995 23:34:12 +0200 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id XAA06997 for freebsd-current@FreeBSD.org; Thu, 17 Aug 1995 23:34:11 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.6.11/8.6.9) id XAA11117 for freebsd-current@FreeBSD.org; Thu, 17 Aug 1995 23:19:14 +0200 From: J Wunsch Message-Id: <199508172119.XAA11117@uriah.heep.sax.de> Subject: Re: Syscons and IBM ThinkPads To: freebsd-current@FreeBSD.org Date: Thu, 17 Aug 1995 23:19:13 +0200 (MET DST) Reply-To: freebsd-current@FreeBSD.org In-Reply-To: <9508171612.AA12623@cs.weber.edu> from "Terry Lambert" at Aug 17, 95 10:12:46 am Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 1287 Sender: current-owner@FreeBSD.org Precedence: bulk As Terry Lambert wrote: > > Since we're in a quoting mood: > > ''The PS/2 offers yet a third alternative. Scan code set 3 ... What do you wanna tell by this? > Well, it's entirely possible to cook the scan code 2's into scan code > 1's for the benefit of X. Really, you want to cook everything into > single code key down, single code key up (up == down | 0x80) and then > cook back from there. This may be higher overhead, but then again, > keyboard input is hardly taxing on system resources. Most problems will happen with the `weird' keys (those, that happened to be key combinations on the XT), and believe me, not all keyboards do generate identical scan code sequences. You've perhaps noticed the program `kbdio' in pcvt -- it's a hacker's tool i've needed to analyze different keyboards around. If you'd like to learn about some weird sequences, i could dig out some ancient email conversation with Hellmuth... > It's unclear from the text whether one can rely on scan code set 3 > existing for every instance where scan code set 1 is not supported. I think it is. All modern MF-II keyboards appear to support scan set 3. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)