From: Jerone Young <jerone.young@canonical.com>
To: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: Henrique de Moraes Holschuh <hmh@hmh.eng.br>, linux-acpi@vger.kernel.org
Subject: Re: [PATCH] Fix mute key on older Thinkpads by OSI blacklisting them
Date: Sun, 25 Apr 2010 14:19:28 -0500 [thread overview]
Message-ID: <1272223168.1640.60.camel@laptop> (raw)
In-Reply-To: <20100425185957.GA29300@srcf.ucam.org>
On Sun, 2010-04-25 at 19:59 +0100, Matthew Garrett wrote:
> On Sun, Apr 25, 2010 at 01:57:52PM -0500, Jerone Young wrote:
> > On Sun, 2010-04-25 at 19:44 +0100, Matthew Garrett wrote:
> > > This really isn't a problem. We have a mixer device for the Thinkpad's
> > > own mixer, and we can send ALSA events to indicate that its state has
> > > changed.
> >
> > I think it is. Since pulse audio only pay attention to the Master mixer
> > of the primary card. The Thinkpad EC shows up basically as a second
> > audio card.
>
> Good thing we have the source code to pulse, then.
hehe ... yes thinking about it you can come up with some scheme to have
pulse audio sync the master & the Thinkpad EC mixers. Though would get
tricky.
Also the EC mixer doesn't seem to be working on my X301
currently...though not running the latest tip thinkpad-acpi.
But I think the issue now is for these older Thinkpads the mute does not
send an event (without OSI(Linux)) .. meaning
1) something would have to poll the EC to see if the hardware mute is
enabled for the speakers
2) Then send a softkey event to the OS so the sound server (pulse
audio) can learn about it ..
3) Pulse will mute the Alsa Mixer, so the headphone jack will then mute
as well..
4) Then the users gets the nice on screen notification.
Or if you specify OSI(Linux) .. you basically just skip step one and go
to step 2 on. Also (not trying to beat a dead horse) this is what the
X201 is doing right now.
Jerone
Thanks,
Jerone
>
next prev parent reply other threads:[~2010-04-25 19:19 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-23 22:48 [PATCH] Fix mute key on older Thinkpads by OSI blacklisting them Jerone Young
2010-04-24 2:01 ` Henrique de Moraes Holschuh
2010-04-24 2:14 ` Jerone Young
2010-04-24 2:19 ` Jerone Young
2010-04-24 3:10 ` Henrique de Moraes Holschuh
2010-04-24 4:15 ` Jerone Young
2010-04-24 16:01 ` Matthew Garrett
2010-04-24 20:49 ` Jerone Young
2010-04-24 21:16 ` Matthew Garrett
2010-04-25 0:08 ` Jerone Young
2010-04-25 2:28 ` Henrique de Moraes Holschuh
2010-04-25 18:28 ` Jerone Young
2010-04-25 18:44 ` Matthew Garrett
2010-04-25 18:57 ` Jerone Young
2010-04-25 18:59 ` Matthew Garrett
2010-04-25 19:19 ` Jerone Young [this message]
2010-04-26 10:11 ` Henrique de Moraes Holschuh
2010-04-27 5:50 ` Jerone Young
2010-04-25 19:02 ` Jerone Young
2010-04-26 10:38 ` Henrique de Moraes Holschuh
2010-04-27 5:44 ` Jerone Young
2010-04-25 0:19 ` Jerone Young
2010-05-03 11:45 ` Andy Lutomirski
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=1272223168.1640.60.camel@laptop \
--to=jerone.young@canonical.com \
--cc=hmh@hmh.eng.br \
--cc=linux-acpi@vger.kernel.org \
--cc=mjg59@srcf.ucam.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).