Skip to contentSkip to conversation

Add support of alc667 and more codec rename

PATCH Kailang 2 participants 2 messages Jun 6, 2014 Sound

lore
Share & tools
lore

Kailang

author
#0 lore raw

Hi Takashi,

Attach has 3 patches. Many Thanks.

BR,
Kailang

Quoted 1 line

From a5de17ee450e1df6e5c67051dde712b685d487c0 Mon Sep 17 00:00:00 2001

From: Kailang Yang <[email protected]>
Date: Fri, 6 Jun 2014 17:05:33 +0800
Subject: [PATCH] ALSA: hda/realtek - New vendor ID for ALC233

This is compatible with ALC255.
It is use for Lenovo.

sound/pci/hda/patch_realtek.c +1 -0
index 2d698c0..e097e80 100644
@@ -6225,6 +6225,7 @@ static const struct hda_codec_preset snd_hda_preset_realtek[] = {
 	{ .id = 0x10ec0221, .name = "ALC221", .patch = patch_alc269 },
 	{ .id = 0x10ec0231, .name = "ALC231", .patch = patch_alc269 },
 	{ .id = 0x10ec0233, .name = "ALC233", .patch = patch_alc269 },
+	{ .id = 0x10ec0235, .name = "ALC233", .patch = patch_alc269 },
 	{ .id = 0x10ec0255, .name = "ALC255", .patch = patch_alc269 },
 	{ .id = 0x10ec0260, .name = "ALC260", .patch = patch_alc260 },
 	{ .id = 0x10ec0262, .name = "ALC262", .patch = patch_alc262 },
Quoted 1 line

From 3372fe0d56b2ee4841f7a113b11f2d3dedda1e75 Mon Sep 17 00:00:00 2001

From: Kailang Yang <[email protected]>
Date: Fri, 6 Jun 2014 16:46:43 +0800
Subject: [PATCH] ALSA: hda/realtek - Add more codec rename

Some vendor has special bonding options.

sound/pci/hda/patch_realtek.c +15 -0
index 2d698c0..8a00bc4 100644
@@ -929,6 +929,7 @@ struct alc_codec_rename_pci_table {
 };
 
 static struct alc_codec_rename_table rename_tbl[] = {
+	{ 0x10ec0221, 0xf00f, 0x1003, "ALC231" },
 	{ 0x10ec0269, 0xfff0, 0x3010, "ALC277" },
 	{ 0x10ec0269, 0xf0f0, 0x2010, "ALC259" },
 	{ 0x10ec0269, 0xf0f0, 0x3010, "ALC258" },
@@ -937,6 +938,7 @@ static struct alc_codec_rename_table rename_tbl[] = {
 	{ 0x10ec0269, 0xffff, 0x6023, "ALC281X" },
 	{ 0x10ec0269, 0x00f0, 0x0020, "ALC269VC" },
 	{ 0x10ec0269, 0x00f0, 0x0030, "ALC269VD" },
+	{ 0x10ec0662, 0xffff, 0x4020, "ALC656" },
 	{ 0x10ec0887, 0x00f0, 0x0030, "ALC887-VD" },
 	{ 0x10ec0888, 0x00f0, 0x0030, "ALC888-VD" },
 	{ 0x10ec0888, 0xf0f0, 0x3020, "ALC886" },
@@ -956,6 +958,19 @@ static struct alc_codec_rename_pci_table rename_pci_tbl[] = {
 	{ 0x10ec0293, 0x1028, 0, "ALC3235" },
 	{ 0x10ec0255, 0x1028, 0, "ALC3234" },
 	{ 0x10ec0668, 0x1028, 0, "ALC3661" },
+	{ 0x10ec0275, 0x1028, 0, "ALC3260" },
+	{ 0x10ec0899, 0x1028, 0, "ALC3861" },
+	{ 0x10ec0670, 0x1025, 0, "ALC669X" },
+	{ 0x10ec0676, 0x1025, 0, "ALC679X" },
+	{ 0x10ec0282, 0x1043, 0, "ALC3229" },
+	{ 0x10ec0233, 0x1043, 0, "ALC3236" },
+	{ 0x10ec0280, 0x103c, 0, "ALC3228" },
+	{ 0x10ec0282, 0x103c, 0, "ALC3227" },
+	{ 0x10ec0286, 0x103c, 0, "ALC3242" },
+	{ 0x10ec0290, 0x103c, 0, "ALC3241" },
+	{ 0x10ec0668, 0x103c, 0, "ALC3662" },
+	{ 0x10ec0283, 0x17aa, 0, "ALC3239" },
+	{ 0x10ec0292, 0x17aa, 0, "ALC3232" },
 	{ } /* terminator */
 };
 
Quoted 1 line

From eab0c002e92cf3d6999c1bcb4f49013a32bee615 Mon Sep 17 00:00:00 2001

From: Kailang Yang <[email protected]>
Date: Fri, 6 Jun 2014 16:51:18 +0800
Subject: [PATCH] ALSA: hda/realtek - Add support of ALC667 codec

New codec suooprt of ALC667.

sound/pci/hda/patch_realtek.c +1 -0
index 2d698c0..c3f10c5 100644
@@ -6258,6 +6258,7 @@ static const struct hda_codec_preset snd_hda_preset_realtek[] = {
 	  .patch = patch_alc662 },
 	{ .id = 0x10ec0663, .name = "ALC663", .patch = patch_alc662 },
 	{ .id = 0x10ec0665, .name = "ALC665", .patch = patch_alc662 },
+	{ .id = 0x10ec0667, .name = "ALC667", .patch = patch_alc662 },
 	{ .id = 0x10ec0668, .name = "ALC668", .patch = patch_alc662 },
 	{ .id = 0x10ec0670, .name = "ALC670", .patch = patch_alc662 },
 	{ .id = 0x10ec0671, .name = "ALC671", .patch = patch_alc662 },
#1 lore raw

At Fri, 6 Jun 2014 17:15:42 +0800,

Quoted 5 lines · Kailang

Hi Takashi,

Attach has 3 patches.
Many Thanks.

All applied, thanks.

Takashi

Quoted 9 lines

BR,
Kailang
[2 0000-new-vendor-id-for-alc233.patch <application/octet-stream (quoted-printable)>]

[3 0000-add-more-codec-rename.patch <application/octet-stream (quoted-printable)>]

[4 0000-add-support-of-alc667.patch <application/octet-stream (quoted-printable)>]