Date: Tue, 2 Sep 2008 04:21:05 GMT From: Dennis Generaloff <giantlock@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/127037: [snd_hda] Lenovo 3k N200, speakers not deactivated after headphones connecting Message-ID: <200809020421.m824L5FD080485@www.freebsd.org> Resent-Message-ID: <200809020430.m824U17E066092@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 127037
>Category: kern
>Synopsis: [snd_hda] Lenovo 3k N200, speakers not deactivated after headphones connecting
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Sep 02 04:30:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Dennis Generaloff
>Release: 7.1-PRERELEASE
>Organization:
>Environment:
FreeBSD 7.1-PRERELEASE #1: Tue Sep 2 04:53:34 MSD 2008 user@host:/usr/src/sys/GENERIC i386
>Description:
On Lenovo 3k N200 laptop (uses snd_hda), speakers do no switch OFF when plugging a headphone in the jack connector.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
--- sys/dev/sound/pci/hda/hdac.c.orig 2008-07-22 23:52:23.000000000 +0400
+++ sys/dev/sound/pci/hda/hdac.c 2008-09-02 04:43:06.000000000 +0400
@@ -241,6 +241,7 @@
/* Lenovo */
#define LENOVO_VENDORID 0x17aa
#define LENOVO_3KN100_SUBVENDOR HDA_MODEL_CONSTRUCT(LENOVO, 0x2066)
+#define LENOVO_3KN200_SUBVENDOR HDA_MODEL_CONSTRUCT(LENOVO, 0x384e)
#define LENOVO_TCA55_SUBVENDOR HDA_MODEL_CONSTRUCT(LENOVO, 0x1015)
#define LENOVO_ALL_SUBVENDOR HDA_MODEL_CONSTRUCT(LENOVO, 0xffff)
@@ -699,6 +700,8 @@
0, 0, -1, 10, { 13, -1 }, -1 },
{ LENOVO_3KN100_SUBVENDOR, HDA_CODEC_AD1986A, HDAC_HP_SWITCH_CTL,
1, 0, -1, 26, { 27, -1 }, -1 },
+ { LENOVO_3KN200_SUBVENDOR, HDA_CODEC_ALC861VD, HDAC_HP_SWITCH_CTL,
+ 0, 0, -1, 27, { 20, -1 }, -1 },
/* { LENOVO_TCA55_SUBVENDOR, HDA_CODEC_AD1986A, HDAC_HP_SWITCH_CTL,
0, 0, -1, 26, { 27, 28, 29, 30, -1 }, -1 }, */
{ LG_LW20_SUBVENDOR, HDA_CODEC_ALC880, HDAC_HP_SWITCH_CTL,
>Release-Note:
>Audit-Trail:
>Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809020421.m824L5FD080485>
