Skip to contentSkip to conversation

ALC275 COEF stuff?

DISCUSSION Kailang 2 participants 2 messages Nov 8, 2017 3 messages not in the archive Sound

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): 6FAB7C47BCF00940BB0999A99BE3547A183F920A@RTITMBSV02.realtek.com.tw

A message that is not in the archive (sent off-list or not yet received): [email protected]

Kailang

author
#3 lore raw

Hi Takashi,

Attach patch for test.
Thanks.

BR,
Kailang

Quoted 25 lines

-----Original Message-----
From: Takashi Iwai [mailto:[email protected]]
Sent: Wednesday, November 08, 2017 3:11 PM
To: Kailang
Subject: Re: ALC275 COEF stuff?

Quoted 8 lines · Kailang

Hi Takashi,

ALC275 had no EAPD control COEF register.
So, BIOS verb table default will write COEF Index 0x0e bit 0 to 1. This is enable class-D power up.
Windows restart will remove driver, it will write Index

0x0e bit 0 to

Quoted 3 lines

0. (Power down class-D power) Maybe this will resolve the pop noise.

So, I think add write COEF Index 0x0e bit 0 to 1 at EAPD

site will sovle this issue.

Quoted 1 line

I could make a patch for you.

Great, thanks!

Quoted 38 lines

BTW, there is another bug report about the missing right speaker output on Huawei MateBook X with ALC298:
https://bugzilla.kernel.org/show_bug.cgi?id=197801

Can it be some missing COEF, too?

Takashi

Quoted 27 lines

Thanks.

BR,
Kailang

Quoted 22 lines

-----Original Message-----
From: Takashi Iwai [mailto:[email protected]]
Sent: Tuesday, November 07, 2017 9:00 PM
To: Kailang
Subject: ALC275 COEF stuff?

Hi Kailang,

we got a bug report about the possibly missing COEF setup for ALC275 on Sony VAIO.
https://bugzilla.kernel.org/show_bug.cgi?id=197737

Could you check whether the suggested verbs are correct?

Thanks!

Takashi

------Please consider the environment before printing this e-mail.

From f841d928a520200f8df3cf7b9532ab9659424887 Mon Sep 17 00:00:00 2001
From: Kailang Yang <[email protected]>
Date: Wed, 8 Nov 2017 15:28:33 +0800
Subject: [PATCH] ALSA: hda/realtek - Fix ALC275 no sound issue

Sound works after a cold boot but not after a reboot from windows. This patch will solve this issue. This is relation with Class-D power control.

sound/pci/hda/patch_realtek.c +3 -0
index 9b77d43..02b192f 100644
@@ -341,6 +341,9 @@ static void alc_fill_eapd_coef(struct hda_codec *codec)
 	case 0x10ec0299:
 		alc_update_coef_idx(codec, 0x10, 1<<9, 0);
 		break;
+	case 0x10ec0275:
+		alc_update_coef_idx(codec, 0xe, 0, 1<<0);
+		break;
 	case 0x10ec0293:
 		alc_update_coef_idx(codec, 0xa, 1<<13, 0);
 		break;
#4 lore raw
Quoted 6 lines · Kailang

Hi Takashi,

Attach patch for test.
Thanks.

OK, let's ask testing on the bugzilla, then queue it. Thanks!

Takashi

Quoted 69 lines

BR,
Kailang

Quoted 25 lines

-----Original Message-----
From: Takashi Iwai [mailto:[email protected]]
Sent: Wednesday, November 08, 2017 3:11 PM
To: Kailang
Subject: Re: ALC275 COEF stuff?

Quoted 8 lines · Kailang

Hi Takashi,

ALC275 had no EAPD control COEF register.
So, BIOS verb table default will write COEF Index 0x0e bit 0 to 1. This is enable class-D power up.
Windows restart will remove driver, it will write Index

0x0e bit 0 to

Quoted 3 lines

0. (Power down class-D power) Maybe this will resolve the pop noise.

So, I think add write COEF Index 0x0e bit 0 to 1 at EAPD

site will sovle this issue.

Quoted 1 line

I could make a patch for you.

Great, thanks!

Quoted 38 lines

BTW, there is another bug report about the missing right speaker output on Huawei MateBook X with ALC298:
https://bugzilla.kernel.org/show_bug.cgi?id=197801

Can it be some missing COEF, too?

Takashi

Quoted 27 lines

Thanks.

BR,
Kailang

Quoted 22 lines

-----Original Message-----
From: Takashi Iwai [mailto:[email protected]]
Sent: Tuesday, November 07, 2017 9:00 PM
To: Kailang
Subject: ALC275 COEF stuff?

Hi Kailang,

we got a bug report about the possibly missing COEF setup for ALC275 on Sony VAIO.
https://bugzilla.kernel.org/show_bug.cgi?id=197737

Could you check whether the suggested verbs are correct?

Thanks!

Takashi

------Please consider the environment before printing this e-mail.

[2 0000-alc275-no-sound.patch <application/octet-stream (base64)>]