All of lore.kernel.org
 help / color / mirror / Atom feed
* HD Audio with 'mute light'
@ 2012-09-22 18:54 Arnout Engelen
  2012-09-24  8:09 ` Takashi Iwai
  2012-09-24  8:12 ` David Henningsson
  0 siblings, 2 replies; 4+ messages in thread
From: Arnout Engelen @ 2012-09-22 18:54 UTC (permalink / raw)
  To: alsa-devel

[-- Attachment #1: Type: text/plain, Size: 869 bytes --]

Hi,

I've got a laptop with a HD Audio onboard sound card: the CX20590.

It seems like this card has a sort of 'hardware mute state': the 'mute button'
has a light, and when this light is on, no sound is heard, regardless of
whether or not the channel is muted in the ALSA mixer.

The hardware mute button switches the 'hardware mute state', and also sends a
keyboard event which I can use to also update the ALSA mixer mute.

This doesn't, however, work the other way around: I haven't found any way yet
to manipulate the 'hardware mute state' from software.

Looking with hda_analyzer, I notice this card has a 'Vendor Defined Widget'.
Might this be something that could be used to manipulate the hardware mute
state? I can use hda-verb but I wouldn't know how to discover which verb to
use. Anything else to try?

Attached is the codec info.


Kind regards,

Arnout

[-- Attachment #2: codecdescription.txt --]
[-- Type: text/plain, Size: 0 bytes --]



[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: HD Audio with 'mute light'
  2012-09-22 18:54 HD Audio with 'mute light' Arnout Engelen
@ 2012-09-24  8:09 ` Takashi Iwai
  2012-09-24  8:12 ` David Henningsson
  1 sibling, 0 replies; 4+ messages in thread
From: Takashi Iwai @ 2012-09-24  8:09 UTC (permalink / raw)
  To: Arnout Engelen; +Cc: alsa-devel

At Sat, 22 Sep 2012 20:54:11 +0200,
Arnout Engelen wrote:
> 
> Hi,
> 
> I've got a laptop with a HD Audio onboard sound card: the CX20590.
> 
> It seems like this card has a sort of 'hardware mute state': the 'mute button'
> has a light, and when this light is on, no sound is heard, regardless of
> whether or not the channel is muted in the ALSA mixer.

Such a hardware mute isn't always related with the codec itself.
For example, Lenovo laptops have controls of the sound in the ACPI
over the sound chip.  OTOH, some machines (like HP laptops) use EAPD
for controlling the mute LED.  This is bound with the Master switch in
the recent driver.

So, without knowing the hardware detail, it's hard to tell more.


Takashi

> 
> The hardware mute button switches the 'hardware mute state', and also sends a
> keyboard event which I can use to also update the ALSA mixer mute.
> 
> This doesn't, however, work the other way around: I haven't found any way yet
> to manipulate the 'hardware mute state' from software.
> 
> Looking with hda_analyzer, I notice this card has a 'Vendor Defined Widget'.
> Might this be something that could be used to manipulate the hardware mute
> state? I can use hda-verb but I wouldn't know how to discover which verb to
> use. Anything else to try?
> 
> Attached is the codec info.
> 
> 
> Kind regards,
> 
> Arnout

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: HD Audio with 'mute light'
  2012-09-22 18:54 HD Audio with 'mute light' Arnout Engelen
  2012-09-24  8:09 ` Takashi Iwai
@ 2012-09-24  8:12 ` David Henningsson
  2012-09-24 10:06   ` Arnout Engelen
  1 sibling, 1 reply; 4+ messages in thread
From: David Henningsson @ 2012-09-24  8:12 UTC (permalink / raw)
  To: Arnout Engelen; +Cc: alsa-devel

On 09/22/2012 08:54 PM, Arnout Engelen wrote:
> Hi,
>
> I've got a laptop with a HD Audio onboard sound card: the CX20590.
>
> It seems like this card has a sort of 'hardware mute state': the 'mute button'
> has a light, and when this light is on, no sound is heard, regardless of
> whether or not the channel is muted in the ALSA mixer.
>
> The hardware mute button switches the 'hardware mute state', and also sends a
> keyboard event which I can use to also update the ALSA mixer mute.
>
> This doesn't, however, work the other way around: I haven't found any way yet
> to manipulate the 'hardware mute state' from software.
>
> Looking with hda_analyzer, I notice this card has a 'Vendor Defined Widget'.
> Might this be something that could be used to manipulate the hardware mute
> state? I can use hda-verb but I wouldn't know how to discover which verb to
> use. Anything else to try?
>
> Attached is the codec info.

We generally recommend people to submit the entire alsa-info, rather 
than just the codec info (which, btw, was an empty attachment). In 
particular; if you're having a thinkpad, the mute LED is controlled 
through thinkpad-acpi, and if you're having an HP, it's usually 
connected to the codec in a way hinted by BIOS. Given that you have a 
conexant codec, I'm guessing it's a thinkpad.


-- 
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: HD Audio with 'mute light'
  2012-09-24  8:12 ` David Henningsson
@ 2012-09-24 10:06   ` Arnout Engelen
  0 siblings, 0 replies; 4+ messages in thread
From: Arnout Engelen @ 2012-09-24 10:06 UTC (permalink / raw)
  To: David Henningsson; +Cc: alsa-devel

On Mon, Sep 24, 2012 at 10:12:19AM +0200, David Henningsson wrote:
> >Attached is the codec info.
> 
> We generally recommend people to submit the entire alsa-info, rather
> than just the codec info (which, btw, was an empty attachment).

woops :)

> In particular; if you're having a thinkpad, the mute LED is controlled
> through thinkpad-acpi, and if you're having an HP, it's usually
> connected to the codec in a way hinted by BIOS. Given that you have
> a conexant codec, I'm guessing it's a thinkpad.

Thanks (also to Takashi) for this explanation. Indeed this is a ThinkPad
(W520). I'll look into thinkpad-acpi :)


Kind regards,

Arnout

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-09-24 10:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-22 18:54 HD Audio with 'mute light' Arnout Engelen
2012-09-24  8:09 ` Takashi Iwai
2012-09-24  8:12 ` David Henningsson
2012-09-24 10:06   ` Arnout Engelen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.