From nobody@FreeBSD.org  Mon Aug  4 17:15:57 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 1AEA3106567A
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <ganael.laplanche@martymac.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: snd_hda: Fujitsu U1010 - Fix deactivation of speakers while plugging headphones
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         126244
>Category:       kern
>Synopsis:       [snd_hda] [patch] Fujitsu U1010 - Fix deactivation of speakers while plugging headphones
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-multimedia
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 04 17:20:02 UTC 2008
>Closed-Date:    Sun Sep 14 05:29:24 UTC 2008
>Last-Modified:  Sun Sep 14 05:29:24 UTC 2008
>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:
Responsible-Changed-From-To: freebsd-bugs->freebsd-multimedia 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Aug 4 19:59:23 UTC 2008 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=126244 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/126244: commit references a PR
Date: Sun,  7 Sep 2008 20:25:34 +0000 (UTC)

 joel        2008-09-07 20:25:19 UTC
 
   FreeBSD src repository
 
   Modified files:
     sys/dev/sound/pci/hda hdac.c 
   Log:
   SVN rev 182854 on 2008-09-07 20:25:19Z by joel
   
   Fix deactivation of speakers while plugging in headphones on Fujitsu
   U1010, Lenovo 3k N200 and Acer Aspire 4715Z.
   
   Reviewed by:    attilio
   PR:             126216, 126244, 127034
   Submitted by:   Anton E. Kartashev <amokk@mirahost.ru>,
                   Ganael Laplanche <ganael.laplanche@martymac.com>,
                   Dennis Generaloff <giantlock@gmail.com>
   
   Revision  Changes    Path
   1.56      +9 -0      src/sys/dev/sound/pci/hda/hdac.c
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->patched 
State-Changed-By: joel 
State-Changed-When: Sun Sep 7 20:30:33 UTC 2008 
State-Changed-Why:  
Committed to head. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=126244 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/126244: commit references a PR
Date: Fri, 12 Sep 2008 18:38:21 +0000 (UTC)

 remko       2008-09-12 18:37:52 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_7)
     sys/dev/sound/pci/hda hdac.c 
   Log:
   SVN rev 182969 on 2008-09-12 18:37:52Z by remko
   
   MFC r182854
   
     Fix deactivation of speakers while plugging in headphones on Fujitsu
     U1010, Lenovo 3k N200 and Acer Aspire 4715Z.
   
     Reviewed by:    attilio
     PR:             126216, 126244, 127034
     Submitted by:   Anton E. Kartashev <amokk@mirahost.ru>,
                     Ganael Laplanche <ganael.laplanche@martymac.com>,
                     Dennis Generaloff <giantlock@gmail.com>
   
   Requested by:   joel
   Approved by:    re (kib, via joel), imp (mentor, implicit)
   Obtained from:  joel
   
   Revision  Changes    Path
   1.44.2.7  +9 -0      src/sys/dev/sound/pci/hda/hdac.c
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: patched->closed 
State-Changed-By: joel 
State-Changed-When: Sun Sep 14 05:28:55 UTC 2008 
State-Changed-Why:  
Patch committed to RELENG_7. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=126244 
>Unformatted:
