Re: Logitech iTouch Multimediakeys

From: Berend Veldkamp (berend.veldkamp_at_aris.nl)
Date: 12/21/04


Date: Tue, 21 Dec 2004 10:09:56 +0100

Dances With Crows wrote:

> On Mon, 20 Dec 2004 18:46:15 +0100, Berend Veldkamp staggered into the
> Black Sun and said:
>
>>MyMommaToldMe wrote:
>>
>>>I have an HP keyboard with "multimedia keys" and not all of them were
>>>recognized by X or at the console. I had to use showkey(1) and
>>>setkeycodes(8) to get anything to recognize the last few. Reading the
>>>man pages for those commands should get you going. Also, I believe X
>>>needs to be restarted after using setkeycodes to add a new key code
>>>(that xev and X will recognize) for a keyboard scan code.
>>
>>Thanks, I had already given up, but this was the answer! Now, is
>>there a "best place" to put setkeycodes, rc.local? (on Fedora Core 3).
>>And is there some kind of standard as to which keycode to choose?
>
>
> You might as well run this at boot time. /etc/rc.d/rc.local is a
> perfectly good place to put the setkeycodes commands if you're running a
> Redhat-derived distro. There's really no standard that I know of for
> choosing keycodes, though you will want to pick keycodes that aren't in
> use by any other keys. You can use xbindkeys (or your window manager's
> key-binding utility--xbindkeys is more general) to make your multimedia
> keys execute any action you can think of once these keys are generating
> keycodes. HTH,
>

Thanks, I already got that last part working using IceWM's keybindings,
but I'll have a look at xbindkeys anyway, since it's more general.

Berend



Relevant Pages

  • Re: Logitech iTouch Multimediakeys
    ... >> needs to be restarted after using setkeycodes to add a new key code ... > And is there some kind of standard as to which keycode to choose? ... choosing keycodes, though you will want to pick keycodes that aren't in ... use by any other keys. ...
    (comp.os.linux.x)
  • Re: Demystify behaviour of IR-Remote Control
    ... Which LIRC module are you using to drive this remote? ... I get readings from all keys. ... showkey dumps keycodes by default. ... Which keymap are you using? ...
    (comp.os.linux.hardware)
  • Re: [PATCH] Input: document the proper usage of EV_KEY and KEY_UNKNOWN
    ... I think we should aim at the most common case - when there are no multiple ... mapping user chose and automatically reload keymap upon next reboot. ... a slightly larger set of keycodes representing user-definable keys. ... I had this exact PoV, too, until Dmitry reminded me that keycodes are ...
    (Linux-Kernel)
  • Re: keyboards and scancodes
    ... that those keys do not generate ... These all generate both unique scancodes, but also unique keycodes. ... writing interrupt handler for DOS or similar seems to ...
    (comp.os.linux.development.system)
  • Re: [PATCH] Input: document the proper usage of EV_KEY and KEY_UNKNOWN
    ... a slightly larger set of keycodes representing user-definable keys. ... keyboards with a significantly larger set of unlabelled keys. ... I had this exact PoV, too, until Dmitry reminded me that keycodes are ... function) in different input devices would end up mapped to KEY_PROGx by ...
    (Linux-Kernel)