From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 4 15:16:03 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EFFF037B401 for ; Wed, 4 Jun 2003 15:16:03 -0700 (PDT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2BEA943FA3 for ; Wed, 4 Jun 2003 15:16:03 -0700 (PDT) (envelope-from vahe@khachikyan.de) Received: from [212.227.126.206] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 19NgY5-0003MB-00; Thu, 05 Jun 2003 00:16:01 +0200 Received: from [217.235.133.42] (helo=workstation) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 19NgY5-0005lO-00; Thu, 05 Jun 2003 00:16:01 +0200 Message-ID: <000801c32ae6$e1c8be20$0700010a@workstation> From: "khachikyan.de" To: , References: <38776.217.231.208.201.1054762973.squirrel@webmail.impaled.org> Date: Thu, 5 Jun 2003 00:16:00 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Re: Multimedia Keyboard (extra keys) on console X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jun 2003 22:16:04 -0000 It depends on what the linux utility delivers. RAW scancodes or XLATE scancodes. What you need is the translated scancode and you need a press codes not the release ones. There is qualified article about FreeBSD syscons in the net but it is in russian. The author provides also some utilities for playing alittle bit with syscons driver. see http://www.tsu.ru/~pascal/unix/syscons/scancode.c the utility which can show scancodes RAW ones as well as intern ones. There are a pair of other utilities on the same site, but the text is only in russian :-) -- Vahe --- ----- Original Message ----- From: To: Sent: Wednesday, June 04, 2003 11:42 PM Subject: Multimedia Keyboard (extra keys) on console > i want to map some of the 12 "multimedia keys" i have on my keyboard to > whatever > on the console, not in X, like making one of them execute "ssh " or > something > > i tried to find out the scancodes on freebsd, but failed terribly, there > is no > utility available to find them it seems, so i plugged it into a linux machine > and got the scancode for one of the keys via "showkey -s", in hex its 0x90 > in dec its 144. > then i dumped my keyboard map via "kbdcontrol -d >keys", added a line at the > bottom for the scancode 144, and reloaded it via "kbdcontrol -l keys".. > > 144 'A' nul nul nul nul nul nul nul O > > it didnt do anything tho, anyone got any hints whats going wrong? > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"