PDA

View Full Version : Hardware volume buttons no longer work (odd one)


writingsama
July 16th, 2007, 02:34 PM
here's my story. I ditched Windows in favor of Ubuntu. However, as we all know, there is no good voice recognition for linux. So, having frustration with VMWare, I turned to VirtualBox.

I have a Dell Inspiron 6400 w/ Core 2 Duo 1.83GHz,1 gig of RAM, 160gb HD, Ubuntu 7.04 feisty with 2.16.20-lowlatency kernel installed.

to get Ubuntu to install properly, I used the install scripts from http://mylittleubuntuguide.com. Ever since I installed it, the volume buttons have worked perfectly.then I made threechanges and they stopped working:

one. I downgraded VirtualBox to 1.3.8 to get Dragon NaturallySpeaking working
2. I added multimedia source control and volume control to the system -- preferences menu, and used them to select and set up microphone capture
three. I installed the aforementioned 2.16.20-lowlatency package, and have been booting off it.

I went to all this trouble because I have severe tendinitis and I need some way of inputting text -- speech is just about the only way to do it. It is now all working properly, finally. But! My volume control buttons on my laptop no longer work. This is more than a minor inconvenience: the aforementioned tendinitis makes any extra mouse work difficult.

I've checked, and the keyboard shortcuts are still set correctly.when I first boot, the volume up and down buttons pull up the on-screen volume indicator, but don't have any actual effect on the volume.if I turn the volume all the way down, the onscreen indicator indicates that it is muted. I then can only use the volume down or mute buttons to pull the onscreen indicator up: the volume up button does nothing!

Is there any way that I can get the volume buttons working again?

I thank you very much for your replies!

joe.turion64x2
July 16th, 2007, 03:09 PM
Open a terminal and run alsamixer, does it start?

markclewis1
July 17th, 2007, 12:00 AM
I too am having the same problem with the hardware sound buttons on my Dell Inspiron 1505. I have re-loaded Ubuntu Feisty a few times over the last few weeks for various trial and error reasons, and the volume buttons have always worked perfectly until this last time. I ran alsamixer in terminal and it did come up. Does not change the fact that Feisty is not recognizing this part of my hardware. Help would be appreciated....

Mark

neptho
July 17th, 2007, 01:41 AM
It could be several things, but here's a quick and easy hack job to get it all working:

%sudo apt-get install xmodmap
Edit ~/.xmodmaprc
keycode 160 = XF86AudioMute
keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume
keycode 162 = XF86AudioPlay
keycode 164 = XF86AudioStop
keycode 144 = XF86AudioPrev
keycode 153 = XF86AudioNext
keycode 168 = XF86AudioMedia

Create a new startup item, and run 'xmodmap /home/yourlogin/.xmodmaprc'.

writingsama
July 17th, 2007, 05:55 AM
thanks, but this still does not fix my problem :-(
I think its something in Gnome...

neptho
July 17th, 2007, 07:22 PM
thanks, but this still does not fix my problem :-(
I think its something in Gnome...

Ok, so it's not firing off the programs assigned to your keys. If you want to cheat even further, you can install 'keytouch', and have it define your keys and what programs to run for each key. A standard dell media keyboard will work, but if you install the keytouch-editor, you can create a custom setup for your keyboard.

strabes
July 18th, 2007, 10:54 AM
I also recommend keytouch for gnome. In KDE (kubuntu) most of these types of buttons work out of the box.

writingsama
July 21st, 2007, 09:13 AM
So, I dig a bit of digging..

For some reason the volume keys (assigned in System->Preferences->Keyboard Shortcuts) are changing my MICROPHONE VOLUME.

??? How can I change this?

joe.turion64x2
July 21st, 2007, 04:36 PM
So, I dig a bit of digging..

For some reason the volume keys (assigned in System->Preferences->Keyboard Shortcuts) are changing my MICROPHONE VOLUME.

??? How can I change this?
Right click the speaker in the notification bar (next to the clock), click Preferences and select the Device and Track to control.

Joe.

AtrejuT
August 10th, 2007, 11:39 AM
I have the same problem, but assigning the correct device does not help. The hardware buttons still change microphone...
(HDA Intel, alsa 1.0.14)

ethos101
August 11th, 2007, 12:26 AM
I'm having a similar problem on my desktop. I have a labtec keyboard with volume buttons on it. It worked great out of the box. Now it just moves the slider up and down but the volume doesn't change unless I manually move the alsamixer master slider. I don't know what I did for it to quit working. It may have something to do with me trying to get sound recorder to record from the mic, which was unsuccessful.

Fixed.... system ->preferences ->sounds then adjusted mixer tracks or something. It's really unclear what I did but it works now.

AtrejuT
August 11th, 2007, 09:59 AM
really funny: setting the 'prefered track' via the little icon in the notification area didn't help at all. but doing it as you suggested via system-preferences-sound did the job... thanks!

AndyQ
August 19th, 2007, 03:49 AM
really funny: setting the 'prefered track' via the little icon in the notification area didn't help at all. but doing it as you suggested via system-preferences-sound did the job... thanks!

Same here - thanks! it was driving me mad!

malachias
November 21st, 2007, 02:59 AM
thanks so much! i too had the mysterious volume controls controlling the wrong sliders... and your solution worked, finally!

terklotron
November 24th, 2007, 08:17 PM
Fixed.... system ->preferences ->sounds then adjusted mixer tracks or something. It's really unclear what I did but it works now.

GREAT!!! Thanx.
Had the same problem on my Inspiron 6000. Had no idea what to do, but then.... wuhuuu.
I just sat the "default mixer typer" (device= alsa mixer) to MASTER, and voila.

Peace=D>

StefAndrew
February 5th, 2008, 11:02 AM
I had a similar problem. I just didn't realize I had cause it myself. I had selected all the options to use with the volume controls and could figure out why all of them were moving at the same time when I only wanted to control the master volume. This post made me realize exactly what I had done by selecting them all.

Thanks for the help everyone.