All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: ALC700 in the Intel chipset
       [not found]         ` <s5h4lsmvntp.wl-tiwai@suse.de>
@ 2017-09-01  8:55           ` Pshou
  2017-09-01  9:02             ` Takashi Iwai
  2017-09-01  9:03           ` ALC700 in the Intel chipset Pshou
  1 sibling, 1 reply; 7+ messages in thread
From: Pshou @ 2017-09-01  8:55 UTC (permalink / raw)
  To: Takashi Iwai, alsa-devel; +Cc: Kailang, Singh, Guneshwor O, CHLin

[-- Attachment #1: Type: text/plain, Size: 2504 bytes --]

Hi  alsa-devel ML:

Could  you merge this 000-alc700-intel.patch file to your ALSA driver?

I changed "Intel debug" to "Intel Reference board". 

Best regards
Pshou

-----Original Message-----
From: Takashi Iwai [mailto:tiwai@suse.de] 
Sent: Friday, September 01, 2017 4:13 PM
To: Pshou
Cc: CHLin; Kailang; Singh, Guneshwor O
Subject: Re: ALC700 in the Intel chipset

On Fri, 01 Sep 2017 10:06:13 +0200,
Pshou wrote:
> 
> Hi Takashi:
> 
> This is 0000-alc700-intel.patch file.

Thanks, it looks good now.
One thing to be changed is the name "Intel debug".
Maybe "Intel Reference board" or such would fit better.

In anyway, could you submit the patch to alsa-devel ML?
Once after it's submitted, I'll merge it.


thanks,

Takashi


> 
> Best regards
> pshou
> 
> -----Original Message-----
> From: Takashi Iwai [mailto:tiwai@suse.de]
> Sent: Tuesday, August 22, 2017 5:04 PM
> To: CHLin
> Cc: Pshou; Kailang; Singh, Guneshwor O
> Subject: Re: ALC700 in the Intel chipset
> 
> On Tue, 22 Aug 2017 10:05:18 +0200,
> CHLin wrote:
> > 
> > Hi Takashi
> > 
> > ALC 700 needs this patch for jack detection function.
> > Because ALC700's jack detect function defaults is disable.
> > So alc700 needs pathc to enable jack detection function.
> 
> OK, then could you update the patch description for giving more such information, prepare the proper patch in a form described in Documentation/SubmittingPatches with signed-off-by tags?
> This is mandatory for merging to upstream.
> 
> 
> thanks,
> 
> Takashi
> 
> > Thanks.
> > 
> > =======================
> > Realtek Semiconductor Corp.
> > 林家賢 CH_Lin
> > System Design Dept II PCBG
> > Tel: 886-3-578-0211 ext:13162
> > =======================
> > 
> > 
> > -----Original Message-----
> > From: Takashi Iwai [mailto:tiwai@suse.de]
> > Sent: Monday, August 21, 2017 6:23 PM
> > To: Pshou
> > Cc: Kailang; Singh, Guneshwor O; CHLin
> > Subject: Re: ALC700 in the Intel chipset
> > 
> > On Mon, 21 Aug 2017 10:05:25 +0200,
> > Pshou wrote:
> > > 
> > > Hi Tiwai:
> > > 
> > > Nice to meet you.
> > > 
> > > This is the case of intel.
> > > Fixing Jack detection on ALC700
> > 
> > Could you give more information about this patch?
> > For which platform and for what problem?  At best, please add more information in the patch changelog itself.
> > 
> > 
> > thanks,
> > 
> > Takashi
> > 
> > ------Please consider the environment before printing this e-mail.

[-- Attachment #2: 0000-alc700-intel.patch --]
[-- Type: application/octet-stream, Size: 2173 bytes --]

From ab9b9409f5d3ca7f0bb14b56c9a7f9d2ccaed814 Mon Sep 17 00:00:00 2001
From: PeiSen Hou <pshou@realtek.com>
Date: Fri, 1 Sep 2017 15:11:56 +0800
Subject: [PATCH] ALSA: hda/realtek - Enable jack detection function for Intel
 ALC700

Intel ALC 700 needs this patch for jack detection function.
Because ALC700's jack detect function defaults is disable.
So alc700 needs pathc to enable jack detection function.

Signed-off-by: PeiSen Hou <pshou@realtek.com>

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 217bb58..29cb79a 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -5263,6 +5263,7 @@ enum {
 	ALC233_FIXUP_EAPD_COEF_AND_MIC_NO_PRESENCE,
 	ALC233_FIXUP_LENOVO_MULTI_CODECS,
 	ALC294_FIXUP_LENOVO_MIC_LOCATION,
+	ALC700_FIXUP_INTEL_DEBUG,
 };
 
 static const struct hda_fixup alc269_fixups[] = {
@@ -6058,6 +6059,21 @@ static const struct hda_fixup alc269_fixups[] = {
 			{ }
 		},
 	},
+	[ALC700_FIXUP_INTEL_DEBUG] = {
+		.type = HDA_FIXUP_VERBS,
+		.v.verbs = (const struct hda_verb[]) {
+			/* Enables internal speaker */
+			{0x20, AC_VERB_SET_COEF_INDEX, 0x45},
+			{0x20, AC_VERB_SET_PROC_COEF, 0x5289},
+			{0x20, AC_VERB_SET_COEF_INDEX, 0x4A},
+			{0x20, AC_VERB_SET_PROC_COEF, 0x001b},
+			{0x58, AC_VERB_SET_COEF_INDEX, 0x00},
+			{0x58, AC_VERB_SET_PROC_COEF, 0x3888},
+			{0x20, AC_VERB_SET_COEF_INDEX, 0x6f},
+			{0x20, AC_VERB_SET_PROC_COEF, 0x2c0b},
+			{}
+		}
+	},
 };
 
 static const struct snd_pci_quirk alc269_fixup_tbl[] = {
@@ -6209,6 +6225,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
 	SND_PCI_QUIRK(0x10cf, 0x15dc, "Lifebook T731", ALC269_FIXUP_LIFEBOOK_HP_PIN),
 	SND_PCI_QUIRK(0x10cf, 0x1757, "Lifebook E752", ALC269_FIXUP_LIFEBOOK_HP_PIN),
 	SND_PCI_QUIRK(0x10cf, 0x1845, "Lifebook U904", ALC269_FIXUP_LIFEBOOK_EXTMIC),
+	SND_PCI_QUIRK(0x10ec, 0x10f2, "Intel debug", ALC700_FIXUP_INTEL_DEBUG),
 	SND_PCI_QUIRK(0x144d, 0xc109, "Samsung Ativ book 9 (NP900X3G)", ALC269_FIXUP_INV_DMIC),
 	SND_PCI_QUIRK(0x144d, 0xc740, "Samsung Ativ book 8 (NP870Z5G)", ALC269_FIXUP_ATIV_BOOK_8),
 	SND_PCI_QUIRK(0x1458, 0xfa53, "Gigabyte BXBT-2807", ALC283_FIXUP_HEADSET_MIC),

[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: ALC700 in the Intel chipset
  2017-09-01  8:55           ` ALC700 in the Intel chipset Pshou
@ 2017-09-01  9:02             ` Takashi Iwai
  2017-09-04  8:13               ` Pshou
  0 siblings, 1 reply; 7+ messages in thread
From: Takashi Iwai @ 2017-09-01  9:02 UTC (permalink / raw)
  To: Pshou; +Cc: alsa-devel, Kailang, Singh, Guneshwor O, CHLin

On Fri, 01 Sep 2017 10:55:17 +0200,
Pshou wrote:
> 
> Hi  alsa-devel ML:
> 
> Could  you merge this 000-alc700-intel.patch file to your ALSA driver?
> 
> I changed "Intel debug" to "Intel Reference board". 

The patch seems staying unchanged.  Please double-check.


Takashi

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: ALC700 in the Intel chipset
       [not found]         ` <s5h4lsmvntp.wl-tiwai@suse.de>
  2017-09-01  8:55           ` ALC700 in the Intel chipset Pshou
@ 2017-09-01  9:03           ` Pshou
  1 sibling, 0 replies; 7+ messages in thread
From: Pshou @ 2017-09-01  9:03 UTC (permalink / raw)
  To: Pshou, Takashi Iwai, alsa-devel; +Cc: Kailang, Singh, Guneshwor O, CHLin

[-- Attachment #1: Type: text/plain, Size: 2798 bytes --]

 Hi alsa-devel ML:

Sorry , this file is right.

Best regards
pshou

-----Original Message-----
From: Pshou 
Sent: Friday, September 01, 2017 4:55 PM
To: 'Takashi Iwai'; 'alsa-devel@alsa-project.org'
Cc: CHLin; Kailang; Singh, Guneshwor O
Subject: RE: ALC700 in the Intel chipset

Hi  alsa-devel ML:

Could  you merge this 000-alc700-intel.patch file to your ALSA driver?

I changed "Intel debug" to "Intel Reference board". 

Best regards
Pshou

-----Original Message-----
From: Takashi Iwai [mailto:tiwai@suse.de]
Sent: Friday, September 01, 2017 4:13 PM
To: Pshou
Cc: CHLin; Kailang; Singh, Guneshwor O
Subject: Re: ALC700 in the Intel chipset

On Fri, 01 Sep 2017 10:06:13 +0200,
Pshou wrote:
> 
> Hi Takashi:
> 
> This is 0000-alc700-intel.patch file.

Thanks, it looks good now.
One thing to be changed is the name "Intel debug".
Maybe "Intel Reference board" or such would fit better.

In anyway, could you submit the patch to alsa-devel ML?
Once after it's submitted, I'll merge it.


thanks,

Takashi


> 
> Best regards
> pshou
> 
> -----Original Message-----
> From: Takashi Iwai [mailto:tiwai@suse.de]
> Sent: Tuesday, August 22, 2017 5:04 PM
> To: CHLin
> Cc: Pshou; Kailang; Singh, Guneshwor O
> Subject: Re: ALC700 in the Intel chipset
> 
> On Tue, 22 Aug 2017 10:05:18 +0200,
> CHLin wrote:
> > 
> > Hi Takashi
> > 
> > ALC 700 needs this patch for jack detection function.
> > Because ALC700's jack detect function defaults is disable.
> > So alc700 needs pathc to enable jack detection function.
> 
> OK, then could you update the patch description for giving more such information, prepare the proper patch in a form described in Documentation/SubmittingPatches with signed-off-by tags?
> This is mandatory for merging to upstream.
> 
> 
> thanks,
> 
> Takashi
> 
> > Thanks.
> > 
> > =======================
> > Realtek Semiconductor Corp.
> > 林家賢 CH_Lin
> > System Design Dept II PCBG
> > Tel: 886-3-578-0211 ext:13162
> > =======================
> > 
> > 
> > -----Original Message-----
> > From: Takashi Iwai [mailto:tiwai@suse.de]
> > Sent: Monday, August 21, 2017 6:23 PM
> > To: Pshou
> > Cc: Kailang; Singh, Guneshwor O; CHLin
> > Subject: Re: ALC700 in the Intel chipset
> > 
> > On Mon, 21 Aug 2017 10:05:25 +0200,
> > Pshou wrote:
> > > 
> > > Hi Tiwai:
> > > 
> > > Nice to meet you.
> > > 
> > > This is the case of intel.
> > > Fixing Jack detection on ALC700
> > 
> > Could you give more information about this patch?
> > For which platform and for what problem?  At best, please add more information in the patch changelog itself.
> > 
> > 
> > thanks,
> > 
> > Takashi
> > 
> > ------Please consider the environment before printing this e-mail.

[-- Attachment #2: 0000-alc700-intel.patch --]
[-- Type: application/octet-stream, Size: 2195 bytes --]

From ab9b9409f5d3ca7f0bb14b56c9a7f9d2ccaed814 Mon Sep 17 00:00:00 2001
From: PeiSen Hou <pshou@realtek.com>
Date: Fri, 1 Sep 2017 15:11:56 +0800
Subject: [PATCH] ALSA: hda/realtek - Enable jack detection function for Intel
 ALC700

Intel ALC 700 needs this patch for jack detection function.
Because ALC700's jack detect function defaults is disable.
So alc700 needs pathc to enable jack detection function.

Signed-off-by: PeiSen Hou <pshou@realtek.com>

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 217bb58..29cb79a 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -5263,6 +5263,7 @@ enum {
 	ALC233_FIXUP_EAPD_COEF_AND_MIC_NO_PRESENCE,
 	ALC233_FIXUP_LENOVO_MULTI_CODECS,
 	ALC294_FIXUP_LENOVO_MIC_LOCATION,
+	ALC700_FIXUP_INTEL_REFERENCE,
 };
 
 static const struct hda_fixup alc269_fixups[] = {
@@ -6058,6 +6059,21 @@ static const struct hda_fixup alc269_fixups[] = {
 			{ }
 		},
 	},
+	[ALC700_FIXUP_INTEL_REFERENCE] = {
+		.type = HDA_FIXUP_VERBS,
+		.v.verbs = (const struct hda_verb[]) {
+			/* Enables internal speaker */
+			{0x20, AC_VERB_SET_COEF_INDEX, 0x45},
+			{0x20, AC_VERB_SET_PROC_COEF, 0x5289},
+			{0x20, AC_VERB_SET_COEF_INDEX, 0x4A},
+			{0x20, AC_VERB_SET_PROC_COEF, 0x001b},
+			{0x58, AC_VERB_SET_COEF_INDEX, 0x00},
+			{0x58, AC_VERB_SET_PROC_COEF, 0x3888},
+			{0x20, AC_VERB_SET_COEF_INDEX, 0x6f},
+			{0x20, AC_VERB_SET_PROC_COEF, 0x2c0b},
+			{}
+		}
+	},
 };
 
 static const struct snd_pci_quirk alc269_fixup_tbl[] = {
@@ -6209,6 +6225,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
 	SND_PCI_QUIRK(0x10cf, 0x15dc, "Lifebook T731", ALC269_FIXUP_LIFEBOOK_HP_PIN),
 	SND_PCI_QUIRK(0x10cf, 0x1757, "Lifebook E752", ALC269_FIXUP_LIFEBOOK_HP_PIN),
 	SND_PCI_QUIRK(0x10cf, 0x1845, "Lifebook U904", ALC269_FIXUP_LIFEBOOK_EXTMIC),
+	SND_PCI_QUIRK(0x10ec, 0x10f2, "Intel Reference board", ALC700_FIXUP_INTEL_REFERENCE),
 	SND_PCI_QUIRK(0x144d, 0xc109, "Samsung Ativ book 9 (NP900X3G)", ALC269_FIXUP_INV_DMIC),
 	SND_PCI_QUIRK(0x144d, 0xc740, "Samsung Ativ book 8 (NP870Z5G)", ALC269_FIXUP_ATIV_BOOK_8),
 	SND_PCI_QUIRK(0x1458, 0xfa53, "Gigabyte BXBT-2807", ALC283_FIXUP_HEADSET_MIC),

[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: ALC700 in the Intel chipset
  2017-09-01  9:02             ` Takashi Iwai
@ 2017-09-04  8:13               ` Pshou
  2017-09-04  9:56                 ` Takashi Iwai
  0 siblings, 1 reply; 7+ messages in thread
From: Pshou @ 2017-09-04  8:13 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel, Kailang, Singh, Guneshwor O, CHLin

[-- Attachment #1: Type: text/plain, Size: 693 bytes --]

 
Hi Takashi:

Sorry
I'll send it back again.
this file is right.

Best regards
Pshou

-----Original Message-----
From: Takashi Iwai [mailto:tiwai@suse.de] 
Sent: Friday, September 01, 2017 5:03 PM
To: Pshou
Cc: alsa-devel@alsa-project.org; CHLin; Kailang; Singh, Guneshwor O
Subject: Re: ALC700 in the Intel chipset

On Fri, 01 Sep 2017 10:55:17 +0200,
Pshou wrote:
> 
> Hi  alsa-devel ML:
> 
> Could  you merge this 000-alc700-intel.patch file to your ALSA driver?
> 
> I changed "Intel debug" to "Intel Reference board". 

The patch seems staying unchanged.  Please double-check.


Takashi

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

[-- Attachment #2: 0000-alc700-intel.patch --]
[-- Type: application/octet-stream, Size: 2195 bytes --]

From ab9b9409f5d3ca7f0bb14b56c9a7f9d2ccaed814 Mon Sep 17 00:00:00 2001
From: PeiSen Hou <pshou@realtek.com>
Date: Fri, 1 Sep 2017 15:11:56 +0800
Subject: [PATCH] ALSA: hda/realtek - Enable jack detection function for Intel
 ALC700

Intel ALC 700 needs this patch for jack detection function.
Because ALC700's jack detect function defaults is disable.
So alc700 needs pathc to enable jack detection function.

Signed-off-by: PeiSen Hou <pshou@realtek.com>

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 217bb58..29cb79a 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -5263,6 +5263,7 @@ enum {
 	ALC233_FIXUP_EAPD_COEF_AND_MIC_NO_PRESENCE,
 	ALC233_FIXUP_LENOVO_MULTI_CODECS,
 	ALC294_FIXUP_LENOVO_MIC_LOCATION,
+	ALC700_FIXUP_INTEL_REFERENCE,
 };
 
 static const struct hda_fixup alc269_fixups[] = {
@@ -6058,6 +6059,21 @@ static const struct hda_fixup alc269_fixups[] = {
 			{ }
 		},
 	},
+	[ALC700_FIXUP_INTEL_REFERENCE] = {
+		.type = HDA_FIXUP_VERBS,
+		.v.verbs = (const struct hda_verb[]) {
+			/* Enables internal speaker */
+			{0x20, AC_VERB_SET_COEF_INDEX, 0x45},
+			{0x20, AC_VERB_SET_PROC_COEF, 0x5289},
+			{0x20, AC_VERB_SET_COEF_INDEX, 0x4A},
+			{0x20, AC_VERB_SET_PROC_COEF, 0x001b},
+			{0x58, AC_VERB_SET_COEF_INDEX, 0x00},
+			{0x58, AC_VERB_SET_PROC_COEF, 0x3888},
+			{0x20, AC_VERB_SET_COEF_INDEX, 0x6f},
+			{0x20, AC_VERB_SET_PROC_COEF, 0x2c0b},
+			{}
+		}
+	},
 };
 
 static const struct snd_pci_quirk alc269_fixup_tbl[] = {
@@ -6209,6 +6225,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
 	SND_PCI_QUIRK(0x10cf, 0x15dc, "Lifebook T731", ALC269_FIXUP_LIFEBOOK_HP_PIN),
 	SND_PCI_QUIRK(0x10cf, 0x1757, "Lifebook E752", ALC269_FIXUP_LIFEBOOK_HP_PIN),
 	SND_PCI_QUIRK(0x10cf, 0x1845, "Lifebook U904", ALC269_FIXUP_LIFEBOOK_EXTMIC),
+	SND_PCI_QUIRK(0x10ec, 0x10f2, "Intel Reference board", ALC700_FIXUP_INTEL_REFERENCE),
 	SND_PCI_QUIRK(0x144d, 0xc109, "Samsung Ativ book 9 (NP900X3G)", ALC269_FIXUP_INV_DMIC),
 	SND_PCI_QUIRK(0x144d, 0xc740, "Samsung Ativ book 8 (NP870Z5G)", ALC269_FIXUP_ATIV_BOOK_8),
 	SND_PCI_QUIRK(0x1458, 0xfa53, "Gigabyte BXBT-2807", ALC283_FIXUP_HEADSET_MIC),

[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: ALC700 in the Intel chipset
  2017-09-04  8:13               ` Pshou
@ 2017-09-04  9:56                 ` Takashi Iwai
  2017-10-26  8:02                   ` ALC1200 in the Clevo-P51 Pshou
  0 siblings, 1 reply; 7+ messages in thread
From: Takashi Iwai @ 2017-09-04  9:56 UTC (permalink / raw)
  To: Pshou; +Cc: alsa-devel, Kailang, Singh, Guneshwor O, CHLin

On Mon, 04 Sep 2017 10:13:49 +0200,
Pshou wrote:
> 
>  
> Hi Takashi:
> 
> Sorry
> I'll send it back again.
> this file is right.

Applied now.  Thanks.


Takashi

^ permalink raw reply	[flat|nested] 7+ messages in thread

* ALC1200 in the Clevo-P51
  2017-09-04  9:56                 ` Takashi Iwai
@ 2017-10-26  8:02                   ` Pshou
  2017-10-26 12:52                     ` Takashi Iwai
  0 siblings, 1 reply; 7+ messages in thread
From: Pshou @ 2017-10-26  8:02 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel, Kailang

[-- Attachment #1: Type: text/plain, Size: 711 bytes --]

 Hi Takashi:

Nice to meet you.
 
This is the case of ALC1220 Clevo-P51.

Speaker uses I2S output.
We therefore want to make sure 0x14 (Headphones) and 0x1b (Speakers)
use to stereo DAC 0x02.

Best regards
Pshou

-----Original Message-----
From: Takashi Iwai [mailto:tiwai@suse.de] 
Sent: Monday, September 04, 2017 5:56 PM
To: Pshou
Cc: alsa-devel@alsa-project.org; CHLin; Kailang; Singh, Guneshwor O
Subject: Re: ALC700 in the Intel chipset

On Mon, 04 Sep 2017 10:13:49 +0200,
Pshou wrote:
> 
>  
> Hi Takashi:
> 
> Sorry
> I'll send it back again.
> this file is right.

Applied now.  Thanks.


Takashi

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

[-- Attachment #2: 0001-ALSA-hda-realtek-Add-support-for-ALC1220.patch --]
[-- Type: application/octet-stream, Size: 2410 bytes --]

From a4e8569499177182c43344b3da8dd09d99a53844 Mon Sep 17 00:00:00 2001
From: Peisen <pshou@realtek.com>
Date: Thu, 26 Oct 2017 10:35:36 +0800
Subject: [PATCH]  ALSA: hda/realtek - Add support for ALC1220

Add Clevo-P51 mode support for ALC1220.
ALC1220 Clevo-p51
Speaker uses I2S output.
We therefore want to make sure 0x14 (Headphones) and 0x1b (Speakers)
use to stereo DAC 0x02.

Signed-off-by: Peisen Hou <pshou@realtek.com>

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 02c79d6..dfefca0 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -1803,6 +1803,7 @@ enum {
 	ALC887_FIXUP_ASUS_BASS,
 	ALC887_FIXUP_BASS_CHMAP,
 	ALC1220_FIXUP_GB_DUAL_CODECS,
+	ALC1220_FIXUP_CLEVO_P950,
 };
 
 static void alc889_fixup_coef(struct hda_codec *codec,
@@ -2020,6 +2021,21 @@ static void alc1220_fixup_gb_dual_codecs(struct hda_codec *codec,
 	}
 }
 
+static void alc1220_fixup_clevo_p950(struct hda_codec *codec,
+				const struct hda_fixup *fix,
+				 int action)
+{
+	hda_nid_t conn1[1] = { 0x0c };
+		
+	if (action != HDA_FIXUP_ACT_PRE_PROBE) 
+		return;
+	alc_update_coef_idx(codec, 0x7, 0, 0x3c3);
+	/* We therefore want to make sure 0x14 (front headphone) and 0x1b (speakers) 
+		use the stereo DAC 0x02 */
+	snd_hda_override_conn_list(codec, 0x14, 1, conn1);
+	snd_hda_override_conn_list(codec, 0x1b, 1, conn1);
+
+}
 static const struct hda_fixup alc882_fixups[] = {
 	[ALC882_FIXUP_ABIT_AW9D_MAX] = {
 		.type = HDA_FIXUP_PINS,
@@ -2260,6 +2276,11 @@ static const struct hda_fixup alc882_fixups[] = {
 		.type = HDA_FIXUP_FUNC,
 		.v.func = alc1220_fixup_gb_dual_codecs,
 	},
+	[ALC1220_FIXUP_CLEVO_P950] = {
+		.type = HDA_FIXUP_FUNC,
+		.v.func = alc1220_fixup_clevo_p950,
+	},
+	
 };
 
 static const struct snd_pci_quirk alc882_fixup_tbl[] = {
@@ -2333,10 +2354,11 @@ static const struct snd_pci_quirk alc882_fixup_tbl[] = {
 	SND_PCI_QUIRK(0x1462, 0xda57, "MSI Z270-Gaming", ALC1220_FIXUP_GB_DUAL_CODECS),
 	SND_PCI_QUIRK_VENDOR(0x1462, "MSI", ALC882_FIXUP_GPIO3),
 	SND_PCI_QUIRK(0x147b, 0x107a, "Abit AW9D-MAX", ALC882_FIXUP_ABIT_AW9D_MAX),
+	SND_PCI_QUIRK(0x1558, 0x9501, "Clevo P950HR", ALC1220_FIXUP_CLEVO_P950),
 	SND_PCI_QUIRK_VENDOR(0x1558, "Clevo laptop", ALC882_FIXUP_EAPD),
 	SND_PCI_QUIRK(0x161f, 0x2054, "Medion laptop", ALC883_FIXUP_EAPD),
 	SND_PCI_QUIRK(0x17aa, 0x3a0d, "Lenovo Y530", ALC882_FIXUP_LENOVO_Y530),
 	{}
 };



[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: ALC1200 in the Clevo-P51
  2017-10-26  8:02                   ` ALC1200 in the Clevo-P51 Pshou
@ 2017-10-26 12:52                     ` Takashi Iwai
  0 siblings, 0 replies; 7+ messages in thread
From: Takashi Iwai @ 2017-10-26 12:52 UTC (permalink / raw)
  To: Pshou; +Cc: alsa-devel, Kailang

On Thu, 26 Oct 2017 10:02:58 +0200,
Pshou wrote:
> 
>  Hi Takashi:
> 
> Nice to meet you.
>  
> This is the case of ALC1220 Clevo-P51.
> 
> Speaker uses I2S output.
> We therefore want to make sure 0x14 (Headphones) and 0x1b (Speakers)
> use to stereo DAC 0x02.

Thanks, applied now.
There were a slight coding style issues, but I fixed them in my side.


Takashi


> 
> Best regards
> Pshou
> 
> -----Original Message-----
> From: Takashi Iwai [mailto:tiwai@suse.de] 
> Sent: Monday, September 04, 2017 5:56 PM
> To: Pshou
> Cc: alsa-devel@alsa-project.org; CHLin; Kailang; Singh, Guneshwor O
> Subject: Re: ALC700 in the Intel chipset
> 
> On Mon, 04 Sep 2017 10:13:49 +0200,
> Pshou wrote:
> > 
> >  
> > Hi Takashi:
> > 
> > Sorry
> > I'll send it back again.
> > this file is right.
> 
> Applied now.  Thanks.
> 
> 
> Takashi
> 
> ------Please consider the environment before printing this e-mail.
> [2 0001-ALSA-hda-realtek-Add-support-for-ALC1220.patch <application/octet-stream (base64)>]
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-10-26 12:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <126650E837C1704F92183C9FD34C1CCE183CFA38@RTITMBSV02.realtek.com.tw>
     [not found] ` <s5hwp5xb4oo.wl-tiwai@suse.de>
     [not found]   ` <3BAA9B489B84C8429C9984AC5274928001F61F58@RTITMBSV02.realtek.com.tw>
     [not found]     ` <s5hd17ot1ng.wl-tiwai@suse.de>
     [not found]       ` <126650E837C1704F92183C9FD34C1CCE183D0385@RTITMBSV02.realtek.com.tw>
     [not found]         ` <s5h4lsmvntp.wl-tiwai@suse.de>
2017-09-01  8:55           ` ALC700 in the Intel chipset Pshou
2017-09-01  9:02             ` Takashi Iwai
2017-09-04  8:13               ` Pshou
2017-09-04  9:56                 ` Takashi Iwai
2017-10-26  8:02                   ` ALC1200 in the Clevo-P51 Pshou
2017-10-26 12:52                     ` Takashi Iwai
2017-09-01  9:03           ` ALC700 in the Intel chipset Pshou

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.