kern/126244: snd_hda: Fujitsu U1010 - Fix deactivation of speakers
while plugging headphones
Ganael Laplanche
ganael.laplanche at martymac.com
Mon Aug 4 17:20:03 UTC 2008
>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 at 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:
More information about the freebsd-bugs
mailing list