From: Takashi Iwai <tiwai@suse.de>
To: Pierre Ossman <drzeus-list@drzeus.cx>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: [RFE] Power down AC'97 when muted
Date: Thu, 23 Dec 2004 16:10:20 +0100 [thread overview]
Message-ID: <s5hd5x1qcdf.wl@alsa2.suse.de> (raw)
In-Reply-To: <41C9CDE3.4020605@drzeus.cx>
At Wed, 22 Dec 2004 20:41:23 +0100,
Pierre Ossman wrote:
>
> I have a request for a new feature in the AC97 driver (my card is an
> intel ICH4). I'd like to see the driver power off the AC97 part when the
> master volume is muted. Currently the power control has a seperate
> volume control that can be used.
>
> The reason I want this is because my laptop has a LED indicating mute
> status. This is triggered by the power down function of the AC97 function.
>
> Since the power is exposed through a volume control this could be done
> in user space, but that would me that every program that mutes the sound
> card would need special logic to see if the card has an "External
> amplifier" (as the channel is called). Therefore it seems much better to
> do this in the driver.
>
> Another point is that Windows seems to have this behaviour (since the
> LED functions fine there in every application) so manufacturers rely on
> this (HP in my case).
>
> I tried doing this myself by adding an extra call inside
> ac97_put_double() checking for changes to the master channel but I
> couldn't get it to work. I just got a faint flicker out of the LED. If
> people give me enough pointers I might be able to put together a patch
> for this.
It's BUG #667, right?
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=667
I uploaded a test patch there. Please give it a try.
Takashi
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
next prev parent reply other threads:[~2004-12-23 15:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-22 19:41 [RFE] Power down AC'97 when muted Pierre Ossman
2004-12-23 15:10 ` Takashi Iwai [this message]
2004-12-23 18:56 ` Pierre Ossman
2004-12-27 14:05 ` Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s5hd5x1qcdf.wl@alsa2.suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@lists.sourceforge.net \
--cc=drzeus-list@drzeus.cx \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.