Hi Harvey,

I have a HP dv5 and had exactly the same issue, but with dwm.

I finally got it working with xbindkeys. It installs the file 
/etc/X11/Xsession.d/98xbindkeys, so xbindkeys is started with X.

You can use xbindkeys-config for a graphical configuration.

My .xbdinkeysrc for those keys is (using cmus as music player):

        # (un)mute
        "amixer -c0 set Master toggle"
                m:0x0 + c:121
                # XF86AudioMute 

        # volume up
        "amixer -c0 set Master 1+ unmute"
                Shift + m:0x0 + c:123
                # XF86AudioRaiseVolume 

        # volume down
        "amixer -c0 set Master 1-"
                Shift + m:0x0 + c:122
                # XF86AudioLowerVolume 

        # more volume up
        "amixer -c0 set Master 10+ unmute"
                m:0x0 + c:123
                # XF86AudioRaiseVolume 

        # more volume down
        "amixer -c0 set Master 10-"
                m:0x0 + c:122
                # XF86AudioLowerVolume 

        # play / pause
        "cmus-remote -u"
                m:0x0 + c:172
                # XF86AudioPlay 

        # stop
        "cmus-remote -s"
                m:0x0 + c:174
                # XF86AudioStop 

        # next
        "cmus-remote -n"
                m:0x0 + c:171
                # XF86AudioNext 

Facundo


On Mon, Feb 11, 2013 at 05:42:16PM +0000, Harvey Kelly wrote:
> Hi everyone,
> 
> Running Wheezy and the multimedia/volume keys don't work in
> Windowmaker (they work fine with Gnome and Xfce4), nor from the
> console.
> 
> Using xev, it seems they've been mapped correctly (from an Arch wiki
> page I ran this command):
> 
> xev | grep -A2 --line-buffered '^KeyRelease' | sed -n '/keycode
> /s/^.*keycode \([0-9]*\).* (.*, \(.*\)).*$/\1 \2/p'
> 
> Which gave me the output:
> 
> 123 XF86AudioRaiseVolume
> 122 XF86AudioLowerVolume
> 121 XF86AudioMute
> 
> The Debian wiki (http://wiki.debian.org/Keyboard/MultimediaKeys)
> suggests mapping them with xmodmap - but that seems a little
> redundant/wrong if xev is telling me they're already mapped (same with
> xloadkeys).
> 
> I've tried installing/purging everything to do with Gnome (to get rid
> of specifically pulseaudio), but that doesn't make any difference - l
> even uninstalled ALSA and reinstalled with no joy.
> 
> Other function keys like brightness/dimming work fine, it's just the
> volume up/down/mute that aren't working.
> 
> The card (according to alsamixer is a HDA Intel / Intel Cantiga HDMI).
> Any help would be really appreciated.
> 
> Harvey
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-laptop-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: 
> http://lists.debian.org/caerryqhdanna6psrk3wpg6u_bczu_21dmc+la+ajxjqyyxg...@mail.gmail.com


-- 
To UNSUBSCRIBE, email to debian-laptop-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130215165119.gg...@who.void

Reply via email to