Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jun 2003 00:16:00 +0200
From:      "khachikyan.de" <vahe@khachikyan.de>
To:        <ferrex@impaled.org>, <freebsd-hackers@freebsd.org>
Subject:   Re: Multimedia Keyboard (extra keys) on console
Message-ID:  <000801c32ae6$e1c8be20$0700010a@workstation>
References:  <38776.217.231.208.201.1054762973.squirrel@webmail.impaled.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <ferrex@impaled.org>
To: <freebsd-hackers@freebsd.org>
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 <host>" 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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000801c32ae6$e1c8be20$0700010a>