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 > -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html