Re: [PATCH] SMM BIOS on Dell i8100

From: Stephane Jourdois (stephane@tuxfinder.org)
Date: Tue Nov 06 2001 - 08:58:22 EST


On Mon, Nov 05, 2001 at 02:00:22PM -0500, Georg Nikodym wrote:
> On Mon, 2001-11-05 at 12:01, Stephane Jourdois wrote:
> > Hope this helps, and if anybody knows how to implement keysyms, I'm
> > interested... as long as I don't have to patch XFree86 !
>
> No need. Here's what I do with xmodmap:
>
> !
> ! Dell 8000
> ! I have sawfish map these to
> ! xmms -u, -s, -r and -f respectively
> !
> keycode 129 = XF86AudioPlay
> keycode 130 = XF86AudioStop
> keycode 131 = XF86AudioPrev
> keycode 132 = XF86AudioNext

And that works indeed !

Try :
        [ `ps -C xmms | wc -l` = 7 ] && xmms --pause || xmms --play
instead of xmms -u. Then you really have Play/Pause...

For those who use enlightenment... here are the keybindings for it
(in your .enlightenment/keybindings.cfg, that you copyied from
/usr/share/enlightenment/config/) :

  __NEXT_ACTION
    __MODIFIER_KEY __NONE
    __KEY XF86AudioPlay
    __EVENT __KEY_PRESS
    __ACTION __A_EXEC /home/kwisatz/bin/xmms_play
  __NEXT_ACTION
    __MODIFIER_KEY __NONE
    __KEY XF86AudioStop
    __EVENT __KEY_PRESS
    __ACTION __A_EXEC xmms --stop
  __NEXT_ACTION
    __MODIFIER_KEY __NONE
    __KEY XF86AudioPrev
    __EVENT __KEY_PRESS
    __ACTION __A_EXEC xmms --rew
  __NEXT_ACTION
    __MODIFIER_KEY __NONE
    __KEY XF86AudioNext
    __EVENT __KEY_PRESS
    __ACTION __A_EXEC xmms --fwd

/home/kwisatz/bin/xmms_play is a onle-liner (Cf. above)

PS : I know this is OT, but as the only mean of those i8k buttons
is multimedia, I think it's great to learn how to bind them :-)

Stephane

-- 
 ///  Stephane Jourdois        	/"\  ASCII RIBBON CAMPAIGN \\\
(((    Ingénieur développement 	\ /    AGAINST HTML MAIL    )))
 \\\   6, av. de la Belle Image	 X                         ///
  \\\  94440 Marolles en Brie  	/ \    +33 6 8643 3085    ///


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Nov 07 2001 - 21:00:30 EST