You are not logged in.

#1 2011-08-30 10:01:46

Firidan
Member
Registered: 2011-08-30
Posts: 9

Mute key on the keyboard broken

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

#2 2011-08-30 12:28:09

cra
Member
From: Sweden
Registered: 2009-09-25
Posts: 70

Re: Mute key on the keyboard broken

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

#3 2011-08-31 15:59:24

Firidan
Member
Registered: 2011-08-30
Posts: 9

Re: Mute key on the keyboard broken

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

#4 2011-09-02 11:55:14

Firidan
Member
Registered: 2011-08-30
Posts: 9

Re: Mute key on the keyboard broken

Anyone?

Offline

#5 2011-09-02 12:44:03

cra
Member
From: Sweden
Registered: 2009-09-25
Posts: 70

Re: Mute key on the keyboard broken

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

#6 2011-09-03 18:06:58

Firidan
Member
Registered: 2011-08-30
Posts: 9

Re: Mute key on the keyboard broken

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. sad

Offline

#7 2011-09-06 18:49:55

Firidan
Member
Registered: 2011-08-30
Posts: 9

Re: Mute key on the keyboard broken

come guys!

Offline

#8 2011-09-07 18:22:43

pigiron
Member
From: USA
Registered: 2009-07-14
Posts: 150

Re: Mute key on the keyboard broken

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

#9 2011-09-08 13:35:35

Firidan
Member
Registered: 2011-08-30
Posts: 9

Re: Mute key on the keyboard broken

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).

smile

Offline

#10 2011-09-08 15:45:50

pigiron
Member
From: USA
Registered: 2009-07-14
Posts: 150

Re: Mute key on the keyboard broken

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

#11 2011-09-08 19:02:26

Firidan
Member
Registered: 2011-08-30
Posts: 9

Re: Mute key on the keyboard broken

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 sad:

Offline

#12 2011-09-22 17:31:29

Firidan
Member
Registered: 2011-08-30
Posts: 9

Re: Mute key on the keyboard broken

Come guys! We have almost solved this.

Offline

#13 2011-12-14 12:59:41

gdvieira
Member
Registered: 2011-12-14
Posts: 1

Re: Mute key on the keyboard broken

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

#14 2011-12-15 12:33:09

Firidan
Member
Registered: 2011-08-30
Posts: 9

Re: Mute key on the keyboard broken

@gdvieira I have sent you an email with the output of the commands. Hope it helps!

Offline

Board footer

Powered by FluxBB