LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Getting multimedia controls to work?? (http://www.linuxquestions.org/questions/slackware-14/getting-multimedia-controls-to-work-752703/)

Cata1yst 09-04-2009 12:34 PM

Getting multimedia controls to work??
 
Hey all,

Ive got a Microsoft Egronomic 4000 and i want to get its volume, mute, play puase buttons working (and if possible id like to remap my back and foward button to previous track and next track). I tried Lineak but im getting make errors and lineak development hasnt been up since 2006 so i give up on that.


Any suggestions for ways to get my buttons working?

Yalla-One 09-04-2009 12:45 PM

Did you try the suggestions from here?
http://www.linuxquestions.org/linux/...Slackware_12_0

-Y1

Cata1yst 09-04-2009 12:59 PM

afaik that only applies to the 2.6.22 not 2.6.29.
Feel free to correct me if i misinterpereted this ^_^

Cata1yst 09-12-2009 07:52 PM

my one and only bump

GazL 09-13-2009 05:51 AM

Normally, it's just a matter of setting the correct XkbModel name in you /etc/X11/xorg.conf (or the hal 10-keymap.fdi file if you're using 13.0) to get the multimedia keys working. Is there not an appropriate model listed for your keyboard when you run through xorgsetup?

Cata1yst 09-13-2009 01:39 PM

Quote:

Originally Posted by GazL (Post 3680822)
Normally, it's just a matter of setting the correct XkbModel name in you /etc/X11/xorg.conf (or the hal 10-keymap.fdi file if you're using 13.0) to get the multimedia keys working. Is there not an appropriate model listed for your keyboard when you run through xorgsetup?

theres a wireless version of my keyboard i setup through xfce's control panel....
it turns out i dont have a 10-keymap.fdi file? i looked under /etc/hal/fdi/policy

allend 09-14-2009 10:58 AM

Copy the 10-keymap.fdi file from /usr/share/hal/fdi/policy/10osvendor/ to /etc/hal/fdi/policy/.
Change
Code:

<merge key="input.xkb.model" type="string">evdev</merge>
to
Code:

<merge key="input.xkb.model" type="string">microsoft7000</merge>
Remember to restart HAL with '/etc/rc.d/rc.hald restart' (as root).
According to this it should work.
http://ubuntuforums.org/showthread.php?t=229559&page=17 #164

botnet 09-14-2009 01:38 PM

xmodmap works great for remapping keys

I followed this (http://www.gentoo-wiki.info/HOWTO_Use_Multimedia_Keys) to get my keys working

Cata1yst 09-16-2009 10:54 PM

Ok i got allend's suggestion to work.... now i can bind shortcuts in XFCE's keyboard control panel to the vol up keys and vol down keys....

but what is the "command" to lower/raise/mute volume? im trying to bind it with the keyboard control panel.

Ps. im using a x-fi if thats any help?

marrowsuck 09-17-2009 03:03 AM

I'm using amixer for volumecontrols.
increase vol:
Code:

amixer sset Master 3+
decrease vol:
Code:

amixer sset Master 3-
toggle mute:
Code:

amixer sset Master toggle

Cata1yst 09-17-2009 04:40 PM

I got volume controls to work by

Quote:

amixer sset Master 5% +

replace + with - for vol down


the toggle command didnt seem to work.... and i need to figure out a way to do next track and previous track

thanks again to all that helped!

botnet 10-03-2009 01:32 PM

next:
Code:

XF86AudioNext
previous:
Code:

XF86AudioPrev
You can also try this for mute:
Code:

XF86AudioMute

That's what I'm using in xmodmap and it works at least


All times are GMT -5. The time now is 01:33 PM.