From owner-freebsd-hackers Thu Apr 20 17:40:47 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from midget.dons.net.au (daniel.lnk.telstra.net [139.130.137.70]) by hub.freebsd.org (Postfix) with ESMTP id 3B11637B98B; Thu, 20 Apr 2000 17:40:38 -0700 (PDT) (envelope-from darius@guppy.dons.net.au) Received: from guppy.dons.net.au (guppy.dons.net.au [203.31.81.9]) by midget.dons.net.au (8.9.3/8.9.1) with ESMTP id KAA26373; Fri, 21 Apr 2000 10:10:26 +0930 (CST) (envelope-from darius@guppy.dons.net.au) Received: (from darius@localhost) by guppy.dons.net.au (8.9.3/8.9.3) id KAA00450; Fri, 21 Apr 2000 10:10:13 +0930 (CST) (envelope-from darius) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Fri, 21 Apr 2000 10:10:13 +0930 (CST) From: "Daniel O'Connor" To: Brian Fundakowski Feldman Subject: Re: PC Keyboard Scancodes Cc: Mike Pritchard , Warner Losh , Anatoly Vorobey , hackers@FreeBSD.org, "Daniel O'Connor" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 20-Apr-00 Brian Fundakowski Feldman wrote: > Sure: Gracias. > With the new output format, I can tell that the released scancode is the > pressed scancode + 128 (| 0x80). Cool :) Yes, the kbd driver handles this automatically. >> I've altered atkbd.c to grok the new keys, I also added 'power' and 'halt' >> to kbdcontrol/syscons - so now the power button works 8-) > Heh, cool :) This goes well with my small diffs to make the ATX power > button a true 'panic', don't you think? Damn straight :) > Yeah, but along with stuff like this (usbd et al), we should have something > in the kernel (thread?) to do most of it. A unified event daemon would > probably be half in the kernel and half out of it, and it would provide a > pretty clean interface for this kind of thing (when it's not vaporware). Hmm OK.. I was thinking about something like apmd (and usbd) which spends most of its time blocked waiting for events, but a unified daemon would be nice :) --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message