From owner-freebsd-bugs@FreeBSD.ORG Mon Aug 4 17:20:02 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2D93106567E for ; Mon, 4 Aug 2008 17:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C3EBD8FC1B for ; Mon, 4 Aug 2008 17:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m74HK2sS021154 for ; Mon, 4 Aug 2008 17:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m74HK2JX021152; Mon, 4 Aug 2008 17:20:02 GMT (envelope-from gnats) Resent-Date: Mon, 4 Aug 2008 17:20:02 GMT Resent-Message-Id: <200808041720.m74HK2JX021152@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ganael Laplanche Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1AEA3106567A for ; Mon, 4 Aug 2008 17:15:57 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 0D7128FC1F for ; Mon, 4 Aug 2008 17:15:57 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m74HFurX079623 for ; Mon, 4 Aug 2008 17:15:56 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m74HFu4T079622; Mon, 4 Aug 2008 17:15:56 GMT (envelope-from nobody) Message-Id: <200808041715.m74HFu4T079622@www.freebsd.org> Date: Mon, 4 Aug 2008 17:15:56 GMT From: Ganael Laplanche To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/126244: snd_hda: Fujitsu U1010 - Fix deactivation of speakers while plugging headphones X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Aug 2008 17:20:03 -0000 >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: