On 2014-11-04 10:16, Tanu Kaskinen wrote: > On Mon, 2014-11-03 at 08:35 +0100, Sjoerd Simons wrote: >> On Sun, 2014-11-02 at 20:18 +0200, Tanu Kaskinen wrote: >>> On Fri, 2014-10-31 at 22:17 +0100, Sjoerd Simons wrote: >>>> On Tue, 2014-10-28 at 12:10 +0200, Tanu Kaskinen wrote: >>>>> On Tue, 2014-10-28 at 05:30 +0100, David Henningsson wrote: >>>>> The use case that this patch is made for seems such that there shouldn't >>>>> be any jack state conflict to worry about in the first place, though. To >>>>> me "dock headphone" and "built-in headphone" seem like obviously >>>>> separate paths, so I think we should reflect that in our configuration >>>>> by creating a new path file. >>>> >>>> Ah now I remembered why i didn't do that in the end (i started with two >>>> different path files). It's because with the default setup on the X220 >>>> you can't mute/disable the two paths seperately. >>> >>> What do you mean by "the default setup"? Is there some non-default setup >>> where they can be separately muted? >> >> By default setup i mean the setup of the card when booting a linux >> kernel without patches or any user pin configuration. Iotw the setup >> most people are running. >> >> You can make them seperately mute when e.g. reconfiguring the dock >> headphone jack as a line-out (see the patchset i sent this weekend for >> some fixes when that's done) or potentially by changing things around in >> kernel. E.g. either by auto-muting one of the hp's or exposing a control >> for it. > > If the hardware supports it, I think it's a kernel bug if the kernel > doesn't expose separate mute controls for both jacks. IIRC, there was no amplifier with mute capability on the pin node, and both pins came from the same dac/mixer node, where that capability existed. The kernel's default behaviour is to use mute amplifiers for mute, but potentially one could add extra mutes that modify the pin control instead (setting the pin to "off" instead of "out hp"), which is individually set per pin. -- David Henningsson, Canonical Ltd. https://launchpad.net/~diwic