Date: Mon, 4 Aug 2008 17:15:56 GMT From: Ganael Laplanche <ganael.laplanche@martymac.com> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/126244: snd_hda: Fujitsu U1010 - Fix deactivation of speakers while plugging headphones Message-ID: <200808041715.m74HFu4T079622@www.freebsd.org> Resent-Message-ID: <200808041720.m74HK2JX021152@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 126244 >Category: kern >Synopsis: snd_hda: Fujitsu U1010 - Fix deactivation of speakers while plugging headphones >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: Mon Aug 04 17:20:02 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Ganael Laplanche >Release: 8.0-CURRENT >Organization: http://contribs.martymac.com >Environment: FreeBSD home.martymac.com 8.0-CURRENT FreeBSD 8.0-CURRENT #19: Tue Jul 15 09:28:43 CEST 2008 root@home.martymac.com:/usr/obj/usr/src/sys/MYKERNEL amd64 >Description: On Fujitsu U1010 sub-laptop (uses snd_hda), speakers do no switch OFF when plugging a headphone in the jack connector. The attached patch fixes this issue. >How-To-Repeat: >Fix: Patch attached with submission follows: --- ./sys/dev/sound/pci/hda/hdac.c.orig 2008-08-04 09:18:46.000000000 +0200 +++ ./sys/dev/sound/pci/hda/hdac.c 2008-08-04 09:38:23.000000000 +0200 @@ -279,6 +279,7 @@ /* Fujitsu Limited */ #define FL_VENDORID 0x10cf #define FL_S7020D_SUBVENDOR HDA_MODEL_CONSTRUCT(FL, 0x1326) +#define FL_U1010_SUBVENDOR HDA_MODEL_CONSTRUCT(FL, 0x142d) #define FL_ALL_SUBVENDOR HDA_MODEL_CONSTRUCT(FL, 0xffff) /* Toshiba */ @@ -721,6 +722,8 @@ 0, 0, -1, 20, { 21, -1 }, -1 }, { FL_S7020D_SUBVENDOR, HDA_CODEC_ALC260, HDAC_HP_SWITCH_CTL, 0, 0, -1, 20, { 16, -1 }, -1 }, + { FL_U1010_SUBVENDOR, HDA_CODEC_ALC262, HDAC_HP_SWITCH_CTL, + 0, 0, -1, 20, { 21, -1 }, -1 }, /* * All models that at least come from the same vendor with * simmilar codec. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808041715.m74HFu4T079622>