You are not logged in.
Pages: 1
Before, I had slackware 9.1 and kde 3.1 (i think) with kernel 2.4.xx. Under that setup the volume buttons on me Compaq Armada E500 laptop worked fine. Now with arch .6 and kde 3.2 with kernel 2.6.xx, it's not working anymore. The sound works and stuff, I just can't control the volume with the volume buttons. This is somewhat important becase I use it to play music while I'm at work and when i'm talking to someone, it's a lot easier to hit the volume down button a few times than trying to adjust it in the mixer window. Any suggestions?
Offline
switch to the 2.4.x kernel and try if then it works
search the internet on your model of laptop ... there should be some tool to do this for alsa-sound (kernel 2.6.=alsa-sound kernel 2.4=oss-sound)
The impossible missions are the only ones which succeed.
Offline
Actually I just got around to testing this some more, turns out it does work, but the jump that it does with each press isn't as big as before. Also I can't actually figure where along the line it gets adjusted. I don't see it change anywhere. Oh well, at least it does work though.
Offline
I have a "multimedia" keyboard for my desktop, and even though there are no linux drivers for it, I got the volume and other special keys with acme (gnome multimedia keys manager). I didn't know this app, and somehow it got started when I was running the gnome panel. Maybe you could try it.
And where were all the sportsmen who always pulled you though?
They're all resting down in Cornwall
writing up their memoirs for a paper-back edition
of the Boy Scout Manual.
Offline
I'm running arch .7 on my E500. I have been trying to get the volume buttons to work, but I seem to be missing something somewhere....how did you get yours working?
im running kernel 2.6.13.4 with xfce4
Arch .7.1, 2.6.15, 1024 MB PC2700, Athlon XP 2600+, Soyo KT400 Dragon Ultra Platinum, NVIDIA GeForceFX 5700 256MB
Compaq Armada E500--Arch .7.1, 2.6.14, 256MB PC100, 900MHz PIII, Netgear WG511T
Offline
Wow... this is a really old thread, but grats for searching!
The volume buttons may not be mapped by default. What you need to do is run "xev" and pres each key, making sure to take note or the keycode xev spits out.
From there, you add those to a ~/.xmodmap file and run "xmodmap ~/.xmodmap" when your WM starts up.
mine looks like this:
$ cat .xmodmap
keycode 160 = XF86AudioMute
keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume
From there, some WMs will recognize "XF86AudioLowerVolume" and do the right thing (lower the volume). With others, you will have to map it youself to amixer commands, or something similar (or map them in your DE/WM's settings)
Offline
When you say WM you mean window managers right? if so, would KDE recognize this command?
~HP ZV6000 Series CTO~
-AMD Athlon 64 3200+ 2.0GHz
-1.5GB RAM
-128MB ATI Mobility Radeon X200m
-80GB 5400RPM HD
[img]http://imagegen.last.fm/scarface/recenttracks/mtrivs.gif[/img]
Offline
Yes, KDE should recognize the "XF86AudioMute/LowerVolume/RaiseVolume" keys, you just need to make sure that your keyboard knows what keys they actually are (as there's no standard for it) - that's what the xmodmap stuff does - it says "hey, this key number 160 is XF86AudioMute"
Offline
I have this working in KDE by setting the keyboard layout. Open Contol Panel and go to Regional & Accessibility/Keyboard Layout. I have a laptop, but i just set my keyboard to "MS Natural Keyboard / Internet Keyboard".
But once done, I've found that many applications aren't looking for the XF86Audio* shortcuts, so you often have to configure the shortcuts within your apps.
Offline
I know this is an old thread, but it would make more sence to post here than to start a new thread.
I have the following in my .xmodmap:
keycode 160 = XF86AudioMute
keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume
and when i press the volume up/volume down keys on my laptop it doesnt do anything. I have tried to use xev to find out my keys an i belive the keys are right, but the command doesnt work. could it be because of the xorg7 update? What should i try?
Also, is there a way i can suppress the "splash screen" that flashes when i mute/un-mute my audio?
Thanks!
~HP ZV6000 Series CTO~
-AMD Athlon 64 3200+ 2.0GHz
-1.5GB RAM
-128MB ATI Mobility Radeon X200m
-80GB 5400RPM HD
[img]http://imagegen.last.fm/scarface/recenttracks/mtrivs.gif[/img]
Offline
To make the volume buttons of my laptop (and the multimedia buttons too) work, I use keytouch. It's in AUR.
Offline
I tried that tool, but it seems like anything i try (i have tried a handful of apps in the last few days) doesnt like the volume up/down keys. I have the mute working perfectly, but the other 2 dont work. I even booted into windows to make sure that the buttons were still working. Does anyone have any other suggestions, or could someone post their config file for any keybinding app? i know that my multimedia keys have the keycodes 176,160, and 174.
Thanks!
~HP ZV6000 Series CTO~
-AMD Athlon 64 3200+ 2.0GHz
-1.5GB RAM
-128MB ATI Mobility Radeon X200m
-80GB 5400RPM HD
[img]http://imagegen.last.fm/scarface/recenttracks/mtrivs.gif[/img]
Offline
xmodmap xbindkeys ....
.Xmodmap
pointer = 1 2 3 6 7 4 5 8 9 10 11
keycode 235=F17
keycode 236=F18
keycode 230=F19
keycode 178=F20
keycode 229=F21
keycode 231=F22
keycode 237=F23
keycode 161=F24
keycode 160=F25
keycode 153=F26
keycode 144=F27
keycode 162=F28
keycode 164=F29
keycode 174=F30
keycode 176=F31
keycode 223=F32
keycode 232=F33
a more elegant way try looking at
http://gentoo-wiki.com/HOWTO_Use_Multimedia_Keys
HTH
Mr Green I like Landuke!
Offline
Thanks for the reply Mr Green, but i dont really know what your binding there. :? I have tried both the xmodmap and xbindkeys and so far this is what i have come up with:
.xmodmap:
keycode 160 = XF86AudioMute
keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume
.xbindkeysrc:
#Mute Volume
"amixer sset PCM toggle"
c:160
#Decrease Volume
"amixer sset PCM 2-"
c:174
#Increase Volume
"amixer sset PCM 2+"
c:176
To me those configs look like they should work, however they dont. I was also reading in another forum, which is dedicated to my laptop model, that the keyboard only sends keypress or key release (can't remeber which) events, so someone said that they used something called nodeadkeys, but i have no idea what that is or how to use it. You can check out the thread here: http://www.notebookanalysis.com/modules … 8191#18191
I have just now noticed that when i try and use the buttons, the volume up button will work a little, and then i hit the volume down and it keeps going down after i released the button. I am thinking it doesnt have/recognize the key-release so it continues to run the volume down command. Any suggestions?
Thanks for all the help guys!
~HP ZV6000 Series CTO~
-AMD Athlon 64 3200+ 2.0GHz
-1.5GB RAM
-128MB ATI Mobility Radeon X200m
-80GB 5400RPM HD
[img]http://imagegen.last.fm/scarface/recenttracks/mtrivs.gif[/img]
Offline
can someone give me some information please?
Thanks in advance!
~HP ZV6000 Series CTO~
-AMD Athlon 64 3200+ 2.0GHz
-1.5GB RAM
-128MB ATI Mobility Radeon X200m
-80GB 5400RPM HD
[img]http://imagegen.last.fm/scarface/recenttracks/mtrivs.gif[/img]
Offline
when i cat the /proc/acpi/event and then press a button it does not show me any of the events. what should i do? is there another way i can find out the acpi event?
~HP ZV6000 Series CTO~
-AMD Athlon 64 3200+ 2.0GHz
-1.5GB RAM
-128MB ATI Mobility Radeon X200m
-80GB 5400RPM HD
[img]http://imagegen.last.fm/scarface/recenttracks/mtrivs.gif[/img]
Offline
when i cat the /proc/acpi/event and then press a button it does not show me any of the events. what should i do? is there another way i can find out the acpi event?
Yes
acpi_listen
Volume buttons on my HP nx6125 are not recognized by acpi.
To set up this, I used xev to find the key code and key-binding in gnome.
Offline
Pages: 1