Date: Wed, 27 Feb 2008 20:28:58 GMT From: Bring Joy <clarity256@yahoo.com> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/121156: [PATCH] Turn on inverted external amplifier sense flags for Gateway GZ3520/M210 Message-ID: <200802272028.m1RKSwRh059019@www.freebsd.org> Resent-Message-ID: <200802272040.m1RKe118052105@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 121156
>Category: kern
>Synopsis: [PATCH] Turn on inverted external amplifier sense flags for Gateway GZ3520/M210
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Feb 27 20:40:01 UTC 2008
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802272028.m1RKSwRh059019>
