You are not logged in.
Pages: 1
Hi!
There is a mute key on my hp envy 14 2014. When sound is muted it glows red, otherwise it glows blue. However on my arch linux install it does the opposite(glows red when sound is on and glows blue when sound is off). The key itself works just fine btw. I have tried to change keybindings in gnome keyboard settings but it didn't work. It's not a big deal but it's stil quite annoying.
Any help is greatly appreciated!
Offline
Try using xbindkeys to change bindings. There's a wiki entry on additional keys.
I would also try to search for a programmed led control (something like /proc/event/bla-bla-bla/muteled would do. Try "find /proc | grep led" or "find /var | grep led")
Thou shalt not make a machine in the likeness of a human mind
Offline
Hi!
Thanks for your reply!
Here's output of find /proc | grep led:
/proc/sys/kernel/sched_autogroup_enabled
/proc/sys/kernel/ftrace_enabled
/proc/sys/kernel/stack_tracer_enabled
/proc/sys/kernel/modules_disabled
And here's is output of find /var | grep led
/var/lib/xkb/README.compiled
As you can see there isn't a "led" entry anywhere. Just to clarify the mute key itself works fine; it's the led notificator that doesn't. I have tried turning the led on and off with:
xset -led named 'mute'
but without success. I also can't get the keycode by using:
xev
Edit:
I just replaced alsa with oss and the led is now off all the time so I think the problem is with the sound drivers
Last edited by Firidan (2011-08-31 18:07:31)
Offline
Anyone?
Offline
Would simple "xset led on" do anything with that exact led?
Thou shalt not make a machine in the likeness of a human mind
Offline
I have already tried and have so far been unsuccessful. I wasn't able to get the keycode with xev and without keycode i can't use xset. ![]()
Offline
come guys!
Offline
Because I was curious, I went poking around the internet on this. What I found was a surprise.
Like most people, I thought that this is probably a xorg issue, but it appears that this may actually be an ALSA issue. It seems that it's the ALSA code that "plays" with the mute LED on some laptops. For example, these links:
http://forums.gentoo.org/viewtopic-t-84 … art-0.html
http://www.spinics.net/linux/fedora/als … 09489.html
http://mailman.alsa-project.org/piperma … 27352.html
So, I'm thinking that if you are using the "snd_hda_intel" module... and you're very lucky, perhaps an ALSA "quirk" may fix the issue... but I have my doubts. If you want to try it you need to find the codec for your sound card. One way to do this is to run:
cat /proc/asound/pcm
and look in the second column.
For example, when I do that on my box, I get this:
00-00: ALC662 rev1 Analog : ALC662 rev1 Analog : playback 1 : capture 1
00-01: ALC662 rev1 Digital : ALC662 rev1 Digital : playback 1
so my codec is "ALC662".
Then go here and find your codec in the list (if it's even listed):
http://www.mjmwired.net/kernel/Document … Models.txt
You can then try putting a "options snd_hda_intel model=XXXX" in a file in /etc/modprobe.d/ or manually using the "modprobe" command, and then see if it's fixed.
If not, I'm afraid you may need to modify the ALSA source code like those other poor souls did... or perhaps others have a better idea... or I'm totally wrong.
Offline
Hi!
Thanks a lot for your reply. When I run:
cat /proc/asound/pcm
I get:
00-00: STAC92xx Analog : STAC92xx Analog : playback 1 : capture 1
00-03: HDMI 0 : HDMI 0 : playback 1
00-07: HDMI 1 : HDMI 1 : playback 1
So what should i put "options snd_hda_intel model=XXXX" instead of XXXX?
When I first installed Arch Linux the led indicator on mute key worked fine. Then I tryed Fedora 15 but didn't like it and returned to Arch (the hard drive was formatted between each installation). So the mute key broke when I installed Arch Linux for the second time (btw I have already tried reinstalling Arch but it didn't help).
![]()
Offline
argh... try the output of "aplay -l" or "cat /proc/asound/card?/codec#? | grep Codec" (where you may need to fill in the question marks)... and see if that narrows it down.
But in the mean time, I think you may find one of these interesting...
STAC92HD83*
===========
ref Reference board
mic-ref Reference board with power management for ports
dell-s14 Dell laptop
hp HP laptops with (inverted) mute-LED
hp-dv7-4000 HP dv-7 4000
auto BIOS setup (default)
Maybe give that one a try.
Offline
Thanks a lot for your help!
I got this with the cat command:
IDT 92HD81B1X5
So, what should I do now?
Sorry, I am not that good with Linux yet
:
Offline
Come guys! We have almost solved this.
Offline
I'm working on the sound driver and may be able to help.
Can you please send me the output of the following commands:
lspci -nn
alsa-info --no-upload --output alsa.txt
dmidecode
Offline
@gdvieira I have sent you an email with the output of the commands. Hope it helps!
Offline
Pages: 1