All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Lutomirski <luto@myrealbox.com>
To: Jerone Young <jerone.young@canonical.com>
Cc: Matthew Garrett <mjg59@srcf.ucam.org>, linux-acpi@vger.kernel.org
Subject: Re: [PATCH] Fix mute key on older Thinkpads by OSI blacklisting them
Date: Mon, 03 May 2010 07:45:04 -0400	[thread overview]
Message-ID: <4BDEB740.4090703@myrealbox.com> (raw)
In-Reply-To: <1272154774.1839.365.camel@laptop>

Jerone Young wrote:
> On Sat, 2010-04-24 at 22:16 +0100, Matthew Garrett wrote:
>> On Sat, Apr 24, 2010 at 03:49:38PM -0500, Jerone Young wrote:
>>
>>> The issue is the way Windows does it is through a userspace daemon.  By
>>> making it OSI=Linux (just as with the Thinkpads currently already in
>>> blacklist.c ..*61 line) the machines just send the OS a key press.
>> And how does that userspace daemon receive the event?
>>
>>> Since newer thinkpads as well as most other OEM machines take this
>>> model. It provides a much better user experience then what it is like
>>> today.
>> It's a model-specific quirk in generic code, so it's massively desirable 
>> to avoid this especially since it encourages other OEMs to do the same 
>> kind of thing.
> 
> Also to mention Matt that this is already done in the code for the *61
> line, T400, T500, R400. All of these are from the same production time
> period. Please see drivers/acpi/blacklist.c. 
> 
> These machines will not change and are not getting BIOS updates to
> change. They have finished there production run.
> 
> It may be just me. But I'm failing to see why this is a big deal. If the
> others where put in to fix them, newer Thinkpad models have stopped
> this behavior, and these Thinkpads will not be getting updated. Users
> with these models are going to have a bad experience when it comes to
> muting.
> 
> I personally use an X301. I would put that in as well, but there is a
> little light on it.. that none of the models in the patch have. That
> lets you know the hardware mute is on, I've seen some people really like
> that (had a proposed patch in last Ubuntu release and got bugs
> saying...What happened to my mute light!!).

[warning: I don't understand ALSA *at all*.]  How hard would it be for 
the kernel to report the extra Thinkpad mixer as *part* of the main 
sound card?  Something though a platform driver and a hook in hda_intel 
or its codecs, maybe?  The X301 mute light could work the same way (have 
the sound driver notify the ACPI driver that the master mixer is muted 
and then turn on the light, or use a tiny userspace daemon to do exactly 
the same thing).

It seems rather overcomplicated to implement either a second mixer or 
some special-purpose thinkpad_acpi driver and then hack userspace to 
understand that the kernel is unable to report sanely what the hardware 
actually does.

OTOH, OSI(Linux) already makes the hardware work sensibly, and the user 
experience on Windows is ugly enough that I don't see any good reason to 
emulate it.

--Andy

      reply	other threads:[~2010-05-03 11:45 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
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 [this message]

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=4BDEB740.4090703@myrealbox.com \
    --to=luto@myrealbox.com \
    --cc=jerone.young@canonical.com \
    --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 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.