Skip to contentSkip to conversation

ALSA: hda: Add Lenovo C50 All in one to the power_save blacklist

PATCH In review Hans de Goede 2 participants 7 messages May 8, 2018 – May 13, 2018 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ALSA: hda: Add Lenovo C50 All in one to the power_save blacklist

Power-saving is causing loud plops on the Lenovo C50 All in one, add it to the blacklist.

---
 sound/pci/hda/hda_intel.c | 2 ++
 1 file changed, 2 insertions(+)
sound/pci/hda/hda_intel.c +2 -0
index 0981c3c64d87..9a16af179503 100644
@@ -2214,6 +2214,8 @@ static struct snd_pci_quirk power_save_blacklist[] = {
 	SND_PCI_QUIRK(0x1043, 0x8733, "Asus Prime X370-Pro", 0),
 	/* https://bugzilla.kernel.org/show_bug.cgi?id=199607 */
 	SND_PCI_QUIRK(0x8086, 0x2057, "Intel NUC5i7RYB", 0),
+	/* https://bugzilla.redhat.com/show_bug.cgi?id=1572975 */
+	SND_PCI_QUIRK(0x17aa, 0x36a7, "Lenovo C50 All in one", 0),
 	/* https://bugzilla.kernel.org/show_bug.cgi?id=198611 */
 	SND_PCI_QUIRK(0x17aa, 0x2227, "Lenovo X1 Carbon 3rd Gen", 0),
 	{}
Signature · 1 line
2.17.0
#1 lore raw

Hi,

Quoted 5 lines · Hans de Goede

Power-saving is causing loud plops on the Lenovo C50 All in one, add it to the blacklist.

Note I just realized this will not apply cleanly, I've 3 patches in my local tree adding power_save quirks and I'm still waiting for feedback on the 2 others. I did not realize this one depended on the others.

I will send out the entire series when I've test results on the other 2 models.

Regards,

Hans

Quoted 18 lines
---
  sound/pci/hda/hda_intel.c | 2 ++
  1 file changed, 2 insertions(+)
sound/pci/hda/hda_intel.c +2 -0
index 0981c3c64d87..9a16af179503 100644
@@ -2214,6 +2214,8 @@ static struct snd_pci_quirk power_save_blacklist[] = {
  	SND_PCI_QUIRK(0x1043, 0x8733, "Asus Prime X370-Pro", 0),
  	/* https://bugzilla.kernel.org/show_bug.cgi?id=199607 */
  	SND_PCI_QUIRK(0x8086, 0x2057, "Intel NUC5i7RYB", 0),
+	/* https://bugzilla.redhat.com/show_bug.cgi?id=1572975 */
+	SND_PCI_QUIRK(0x17aa, 0x36a7, "Lenovo C50 All in one", 0),
  	/* https://bugzilla.kernel.org/show_bug.cgi?id=198611 */
  	SND_PCI_QUIRK(0x17aa, 0x2227, "Lenovo X1 Carbon 3rd Gen", 0),
  	{}
#2 lore raw
In reply to Hans de Goede
Quoted 6 lines · Hans de Goede

Power-saving is causing loud plops on the Lenovo C50 All in one, add it to the blacklist.

Before adding to blacklist, could you try some usual suspects? For Lenovo, you can try at first to pass
model=,tpt440
to snd-hda-intel module.

(the first comma is no typo but to pass the model name to the second
controller for Realtek.)

The above will add some bogus dock jacks, so it's no solution but to just to test whether it avoids the clicking noise.

thanks,

Takashi

#3 lore raw

Hi Takashi,

Quoted 14 lines · Takashi Iwai
Quoted 6 lines · Hans de Goede

Power-saving is causing loud plops on the Lenovo C50 All in one, add it to the blacklist.

Before adding to blacklist, could you try some usual suspects? For Lenovo, you can try at first to pass
model=,tpt440
to snd-hda-intel module.

Quoted 5 lines

(the first comma is no typo but to pass the model name to the second
controller for Realtek.)

The above will add some bogus dock jacks, so it's no solution but to just to test whether it avoids the clicking noise.

Sure, note I'm just forwarding these bugs from Fedora reporters, more often then not I don't have access to the hardware myself.

I always add a BugLink tag to the bug, so perhaps next time you can reach out to the reporter directly ? I've forwarded your request this time.

I also always ask for alsa-info.sh output, so following the BugLink will also give you access to that.

Regards,

Hans

#4 lore raw
Quoted 24 lines · Hans de Goede

Hi Takashi,

Quoted 14 lines · Takashi Iwai
Quoted 6 lines · Hans de Goede

Power-saving is causing loud plops on the Lenovo C50 All in one, add it to the blacklist.

Before adding to blacklist, could you try some usual suspects? For Lenovo, you can try at first to pass
model=,tpt440
to snd-hda-intel module.

Quoted 5 lines

(the first comma is no typo but to pass the model name to the second
controller for Realtek.)

The above will add some bogus dock jacks, so it's no solution but to just to test whether it avoids the clicking noise.

Quoted 6 lines

Sure, note I'm just forwarding these bugs from Fedora reporters, more often then not I don't have access to the hardware myself.

I always add a BugLink tag to the bug, so perhaps next time you can reach out to the reporter directly ? I've forwarded your request this time.

Heh, I'd need to create a fedora bugzilla account at first ;-) But will try at the next time.

At this time, I'm currently processing the pending stuff during my vacation in the last week, so in anyway, it'd be great if you can let people testing in your side.

Quoted 2 lines

I also always ask for alsa-info.sh output, so following the BugLink will also give you access to that.

Yes, alsa-info.sh output helps really a lot for debugging, thanks for asking it!

Takashi

#5 lore raw
In reply to Hans de Goede

Hi,

Quoted 26 lines · Hans de Goede

Hi Takashi,

Quoted 14 lines · Takashi Iwai
Quoted 6 lines · Hans de Goede

Power-saving is causing loud plops on the Lenovo C50 All in one, add it to the blacklist.

Before adding to blacklist, could you try some usual suspects? For Lenovo, you can try at first to pass model=,tpt440
to snd-hda-intel module.

Quoted 5 lines

(the first comma is no typo but to pass the model name to the second controller for Realtek.)

The above will add some bogus dock jacks, so it's no solution but to just to test whether it avoids the clicking noise.

Sure, note I'm just forwarding these bugs from Fedora reporters, more often then not I don't have access to the hardware myself.

Quoted 6 lines

I always add a BugLink tag to the bug, so perhaps next time you can reach out to the reporter directly ? I've forwarded your request this time.

I also always ask for alsa-info.sh output, so following the BugLink will also give you access to that.

So the user just replied:

"Still hear loud pops with 4.16.7-300.fc28.x86_64 using snd_hda_intel.model=,tpt440 (confirmed enabled in sysfs).

I think in some sense this is just 'poppy' hardware -- it's always emitted a pop (though not as loud as these) when the sound card is initialised, even under Windows."

Regards,

Hans
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#6 lore raw
Quoted 37 lines · Hans de Goede

Hi,

Quoted 26 lines · Hans de Goede

Hi Takashi,

Quoted 14 lines · Takashi Iwai
Quoted 6 lines · Hans de Goede

Power-saving is causing loud plops on the Lenovo C50 All in one, add it to the blacklist.

Before adding to blacklist, could you try some usual suspects? For Lenovo, you can try at first to pass model=,tpt440
to snd-hda-intel module.

Quoted 5 lines

(the first comma is no typo but to pass the model name to the second controller for Realtek.)

The above will add some bogus dock jacks, so it's no solution but to just to test whether it avoids the clicking noise.

Sure, note I'm just forwarding these bugs from Fedora reporters, more often then not I don't have access to the hardware myself.

Quoted 6 lines

I always add a BugLink tag to the bug, so perhaps next time you can reach out to the reporter directly ? I've forwarded your request this time.

I also always ask for alsa-info.sh output, so following the BugLink will also give you access to that.

Quoted 8 lines

So the user just replied:

"Still hear loud pops with 4.16.7-300.fc28.x86_64 using snd_hda_intel.model=,tpt440 (confirmed enabled in sysfs).

I think in some sense this is just 'poppy' hardware -- it's always emitted a pop (though not as loud as these) when the sound card is initialised, even under Windows."

OK, then let's add to the blacklist. Thanks for quick testing and information!

Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel