From nobody@FreeBSD.org  Wed Feb 27 20:31:45 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 EBE5B1065689
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 27 Feb 2008 20:31:45 +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 E1B858FC28
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 27 Feb 2008 20:31:45 +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 m1RKSw5b059020
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 27 Feb 2008 20:28:58 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m1RKSwRh059019;
	Wed, 27 Feb 2008 20:28:58 GMT
	(envelope-from nobody)
Message-Id: <200802272028.m1RKSwRh059019@www.freebsd.org>
Date: Wed, 27 Feb 2008 20:28:58 GMT
From: Bring Joy <clarity256@yahoo.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] Turn on inverted external amplifier sense flags for Gateway GZ3520/M210
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         121156
>Category:       kern
>Synopsis:       [sound] [patch] Turn on inverted external amplifier sense flags for Gateway GZ3520/M210
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-multimedia
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 27 20:40:01 UTC 2008
>Closed-Date:    Fri Mar 15 23:34:47 UTC 2013
>Last-Modified:  Fri Mar 15 23:34:47 UTC 2013
>Originator:     Bring Joy
>Release:        FreeBSD 7.0-RELEASE i386
>Organization:
private
>Environment:
FreeBSD * 7.0-RELEASE FreeBSD 7.0-RELEASE #3: Tue Feb 26 16:49:13 CST 2008     *:/usr/obj/usr/src/sys/kern  i386
>Description:
Machine using ich(4) sound driver must turn on inverted external amplifier sense flag individually (see kern/106104).

[machine]
Gateway 3520GZ/M210

[pciconf -vl]
pcm0@pci0:0:31:5:       class=0x040100 card=0x203e161f chip=0x24c58086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller'
    class      = multimedia
    subclass   = audio

See patch below for /usr/src/sys/dev/sound/pci/ich.c

>How-To-Repeat:
Build world, install world.
>Fix:
***/usr/src/sys/dev/sound/pci/ich.c.orig,v 1.78.2.1 2007/12/15 04:06:52
--- /usr/src/sys/dev/sound/pci/ich.c                2008/02/27 10:41:07
***************
*** 1004,1010 ****
--- 1004,1011 ----
        /*
         * Turn on inverted external amplifier sense flags for few
         * 'special' boards.
         */
        switch (subdev) {
        case 0x202f161f:        /* Gateway 7326GZ */
        case 0x203a161f:        /* Gateway 4028GZ */
+       case 0x203e161f:        /* Gateway 3520GZ/M210 */

Patch attached with submission follows:

***/usr/src/sys/dev/sound/pci/ich.c.orig,v 1.78.2.1 2007/12/15 04:06:52
--- /usr/src/sys/dev/sound/pci/ich.c                2008/02/27 10:41:07
***************
*** 1004,1010 ****
--- 1004,1011 ----
        /*
         * Turn on inverted external amplifier sense flags for few
         * 'special' boards.
         */
        switch (subdev) {
        case 0x202f161f:        /* Gateway 7326GZ */
        case 0x203a161f:        /* Gateway 4028GZ */
+       case 0x203e161f:        /* Gateway 3520GZ/M210 */


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-multimedia 
Responsible-Changed-By: remko 
Responsible-Changed-When: Wed Feb 27 20:43:57 UTC 2008 
Responsible-Changed-Why:  
reassign to multimedia team. 

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

From: Mel <mel@rachie.is-a-geek.net>
To: bug-followup@freebsd.org,
 clarity256@yahoo.com
Cc: freebsd-multimedia@freebsd.org
Subject: RE: kern/121156: [sound] [patch] Turn on inverted external amplifier sense flags for Gateway GZ3520/M210
Date: Thu, 7 May 2009 19:50:16 +0200

 Ping!
 
 I've just been bitten by the same issue and this patch (manually applied) 
 still fixes it.
 Any chance this can be committed?
 audio/oss suffers from the same problem and as such PC-BSD 7.1
 -- 
 Mel
State-Changed-From-To: open->patched 
State-Changed-By: mav 
State-Changed-When: Fri May 8 03:20:58 UTC 2009 
State-Changed-Why:  
Patch committed to the 8-CURRENT. 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/121156: commit references a PR
Date: Fri,  8 May 2009 03:20:11 +0000 (UTC)

 Author: mav
 Date: Fri May  8 03:19:57 2009
 New Revision: 191911
 URL: http://svn.freebsd.org/changeset/base/191911
 
 Log:
   Add one more board ID with inverted external amplifier control.
   
   PR:		kern/121156
 
 Modified:
   head/sys/dev/sound/pci/ich.c
 
 Modified: head/sys/dev/sound/pci/ich.c
 ==============================================================================
 --- head/sys/dev/sound/pci/ich.c	Fri May  8 02:18:46 2009	(r191910)
 +++ head/sys/dev/sound/pci/ich.c	Fri May  8 03:19:57 2009	(r191911)
 @@ -1009,6 +1009,7 @@ ich_pci_attach(device_t dev)
  	switch (subdev) {
  	case 0x202f161f:	/* Gateway 7326GZ */
  	case 0x203a161f:	/* Gateway 4028GZ */
 +	case 0x203e161f:	/* Gateway 3520GZ/M210 */
  	case 0x204c161f:	/* Kvazar-Micro Senator 3592XT */
  	case 0x8144104d:	/* Sony VAIO PCG-TR* */
  	case 0x8197104d:	/* Sony S1XP */
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: patched->closed 
State-Changed-By: eadler 
State-Changed-When: Fri Mar 15 23:34:47 UTC 2013 
State-Changed-Why:  
MFCed/fixed by now or it will never be MFCed 

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