On 10/10/2013 01:18 PM, Takashi Iwai wrote:
> At Thu, 10 Oct 2013 12:19:24 +0200,
> David Henningsson wrote:
>>
>> The external mic showed up with a precense detect of "always present",
>> essentially disabling the internal mic. Therefore turn off presence
>> detection for this pin.
>>
>> Note: The external mic seems not yet working, but an internal mic is
>> certainly better than no mic at all.
>>
>> Cc: <email address hidden>
>> BugLink: https://bugs.launchpad.net/bugs/1227093
>> Signed-off-by: David Henningsson <email address hidden>
>> ---
>> sound/pci/hda/patch_realtek.c | 11 +++++++++++
>> 1 file changed, 11 insertions(+)
>>
>> Note: when doing stable backports, the two lines ".chained = true" and
>> ".chain_id = ALC269_FIXUP_HEADSET_MIC" can be dropped.
>
> Then better to split the patch to two, one just for disabling the dead
> ext mic pin, and another for adding the headset mic chain. The former
> can go to stable while the latter goes to next together with the
> previous ALC269_FIXUP_HEADSET_MIC patch.
The problem here is somewhat lack of testers. We have only one person
with a headset (with alias Yuv) and that person reports that it does not
work. However, the problem might be with that person's headset so I
probably don't want to completely disable it, just remove its jack
detection. Especially as this would go to stable too.
But ok, I can make three patches, one for headset mic model, one for
sony, and a third that adds the connection between them.
> If adding a new fixup entry for stable, put to somewhere in the middle
> so that git cherry-pick would work. Appending to the tail is
> problematic because of a few previous fixups aren't merged to stable,
> thus the new entry cannot be applied cleanly.
Hmm, but maybe middle will have same problem if we end up changing the
policy. Maybe random position will be better? Or put all stable first
and all non-stable last?
On 10/10/2013 01:18 PM, Takashi Iwai wrote: /bugs.launchpad .net/bugs/ 1227093 hda/patch_ realtek. c | 11 +++++++++++ FIXUP_HEADSET_ MIC" can be dropped. FIXUP_HEADSET_ MIC patch.
> At Thu, 10 Oct 2013 12:19:24 +0200,
> David Henningsson wrote:
>>
>> The external mic showed up with a precense detect of "always present",
>> essentially disabling the internal mic. Therefore turn off presence
>> detection for this pin.
>>
>> Note: The external mic seems not yet working, but an internal mic is
>> certainly better than no mic at all.
>>
>> Cc: <email address hidden>
>> BugLink: https:/
>> Signed-off-by: David Henningsson <email address hidden>
>> ---
>> sound/pci/
>> 1 file changed, 11 insertions(+)
>>
>> Note: when doing stable backports, the two lines ".chained = true" and
>> ".chain_id = ALC269_
>
> Then better to split the patch to two, one just for disabling the dead
> ext mic pin, and another for adding the headset mic chain. The former
> can go to stable while the latter goes to next together with the
> previous ALC269_
The problem here is somewhat lack of testers. We have only one person
with a headset (with alias Yuv) and that person reports that it does not
work. However, the problem might be with that person's headset so I
probably don't want to completely disable it, just remove its jack
detection. Especially as this would go to stable too.
But ok, I can make three patches, one for headset mic model, one for
sony, and a third that adds the connection between them.
> If adding a new fixup entry for stable, put to somewhere in the middle
> so that git cherry-pick would work. Appending to the tail is
> problematic because of a few previous fixups aren't merged to stable,
> thus the new entry cannot be applied cleanly.
Hmm, but maybe middle will have same problem if we end up changing the
policy. Maybe random position will be better? Or put all stable first
and all non-stable last?
> pci/hda/ patch_realtek. c b/sound/ pci/hda/ patch_realtek. c pci/hda/ patch_realtek. c pci/hda/ patch_realtek. c FIXUP_ASUS_ TX300, FIXUP_INT_ MIC, FIXUP_MONO_ SPEAKERS, FIXUP_SONY_ MIC_NO_ PRESENCE, FIXUP_DELL3_ MIC_NO_ PRESENCE, FIXUP_SONY_ MIC_NO_ PRESENCE] = { FIXUP_HEADSET_ MIC, QUIRK(0x1043, 0x8398, "ASUS P1005", ALC269_ FIXUP_STEREO_ DMIC), QUIRK(0x1043, 0x83ce, "ASUS P1005", ALC269_ FIXUP_STEREO_ DMIC), QUIRK(0x1043, 0x8516, "ASUS X101CH", ALC269_ FIXUP_ASUS_ X101), QUIRK(0x104d, 0x90b6, "Sony VAIO Pro 13", ALC286_ FIXUP_SONY_ MIC_NO_ PRESENCE) , QUIRK(0x104d, 0x9073, "Sony VAIO", ALC275_ FIXUP_SONY_ VAIO_GPIO2) , QUIRK(0x104d, 0x907b, "Sony VAIO", ALC275_ FIXUP_SONY_ HWEQ), QUIRK(0x104d, 0x9084, "Sony VAIO", ALC275_ FIXUP_SONY_ HWEQ),
>
> thanks,
>
> Takashi
>
>>
>> diff --git a/sound/
>> index 8cb3350..ec47681 100644
>> --- a/sound/
>> +++ b/sound/
>> @@ -3556,6 +3556,7 @@ enum {
>> ALC282_
>> ALC283_
>> ALC290_
>> + ALC286_
>> };
>>
>> static const struct hda_fixup alc269_fixups[] = {
>> @@ -3844,6 +3845,15 @@ static const struct hda_fixup alc269_fixups[] = {
>> .chained = true,
>> .chain_id = ALC269_
>> },
>> + [ALC286_
>> + .type = HDA_FIXUP_PINS,
>> + .v.pins = (const struct hda_pintbl[]) {
>> + { 0x18, 0x01a1913c }, /* use as headset mic, without its own jack detect */
>> + { }
>> + },
>> + .chained = true,
>> + .chain_id = ALC269_
>> + },
>> };
>>
>> static const struct snd_pci_quirk alc269_fixup_tbl[] = {
>> @@ -3908,6 +3918,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
>> SND_PCI_
>> SND_PCI_
>> SND_PCI_
>> + SND_PCI_
>> SND_PCI_
>> SND_PCI_
>> SND_PCI_
>> --
>> 1.7.9.5
>>
>
-- /launchpad. net/~diwic
David Henningsson, Canonical Ltd.
https:/