LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-04-2009, 12:34 PM   #1
Cata1yst
LQ Newbie
 
Registered: Aug 2009
Posts: 27

Rep: Reputation: 16
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?
 
Old 09-04-2009, 12:45 PM   #2
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 635

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

-Y1
 
Old 09-04-2009, 12:59 PM   #3
Cata1yst
LQ Newbie
 
Registered: Aug 2009
Posts: 27

Original Poster
Rep: Reputation: 16
afaik that only applies to the 2.6.22 not 2.6.29.
Feel free to correct me if i misinterpereted this ^_^
 
Old 09-12-2009, 07:52 PM   #4
Cata1yst
LQ Newbie
 
Registered: Aug 2009
Posts: 27

Original Poster
Rep: Reputation: 16
my one and only bump
 
Old 09-13-2009, 05:51 AM   #5
GazL
Senior Member
 
Registered: May 2008
Posts: 3,392

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
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?
 
Old 09-13-2009, 01:39 PM   #6
Cata1yst
LQ Newbie
 
Registered: Aug 2009
Posts: 27

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by GazL View Post
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

Last edited by Cata1yst; 09-13-2009 at 02:08 PM.
 
Old 09-14-2009, 10:58 AM   #7
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,439

Rep: Reputation: 851Reputation: 851Reputation: 851Reputation: 851Reputation: 851Reputation: 851Reputation: 851
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
 
Old 09-14-2009, 01:38 PM   #8
botnet
Member
 
Registered: May 2009
Posts: 158

Rep: Reputation: 40
xmodmap works great for remapping keys

I followed this (http://www.gentoo-wiki.info/HOWTO_Use_Multimedia_Keys) to get my keys working
 
Old 09-16-2009, 10:54 PM   #9
Cata1yst
LQ Newbie
 
Registered: Aug 2009
Posts: 27

Original Poster
Rep: Reputation: 16
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?
 
Old 09-17-2009, 03:03 AM   #10
marrowsuck
Member
 
Registered: Sep 2006
Posts: 84

Rep: Reputation: 25
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
 
Old 09-17-2009, 04:40 PM   #11
Cata1yst
LQ Newbie
 
Registered: Aug 2009
Posts: 27

Original Poster
Rep: Reputation: 16
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!
 
Old 10-03-2009, 01:32 PM   #12
botnet
Member
 
Registered: May 2009
Posts: 158

Rep: Reputation: 40
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
 
  


Reply

Tags
media, microsoft, volume


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
brightness controls don't work on HP laptop leibnizster Linux - Laptop and Netbook 4 09-12-2012 12:54 PM
Audacity volume controls don't work in Lenny - did in Etch Zelator Debian 4 07-15-2009 12:26 AM
When i try to play gmod or half life, it runs great, but the controls wont work..help t-bone09 Linux - Games 11 12-23-2008 02:05 AM
Multimedia players wont work giraf Debian 2 04-06-2006 05:27 AM
Multimedia applications does not work/Sound is there mwj Linux - Hardware 0 09-26-2003 05:51 AM


All times are GMT -5. The time now is 03:48 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration