[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Multimedia Keyboard (extra keys) on console
- Subject: Multimedia Keyboard (extra keys) on console
- From: vahe at khachikyan.de (khachikyan.de)
- Date: Wed Jun 4 15:16:07 2003
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_(_at_)_impaled_(_dot_)_org>
To: <freebsd-hackers_(_at_)_freebsd_(_dot_)_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_(_at_)_freebsd_(_dot_)_org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe_(_at_)_freebsd_(_dot_)_org"
Visit your host, monkey.org