kern/94056: [PATCH] Turn on inverted external amplifier sense flags for Sony vaio type T

Yoshihiko Sarumaru mistral at imasy.or.jp
Fri Mar 3 19:50:04 PST 2006


>Number:         94056
>Category:       kern
>Synopsis:       [PATCH] Turn on inverted external amplifier sense flags for Sony vaio type T
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 04 03:50:03 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Yoshihiko Sarumaru
>Release:        FreeBSD 6.1-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD shimako.yamayuri.org 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #1: Fri Feb 24 00:52:39 JST 2006 sarumaru at shimako.yamayuri.org:/usr/obj/usr/src/sys/VGN-T72 i386


	
>Description:
	It is already known that some machines that uses ich(4) sound driver
	must turn on inverted external amplifier sense flag, individually.
	See: Rev.1.57 and Rev.1.58

	My notebook also turned out to have to set the quirk.

	I'm afraid of some other unreported machines need this.
	Should it be configurable and noted to the NOTES or ich(4)?

[pciconf -lv]
pcm0 at pci0:31:5: class=0x040100 card=0x81c0104d 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

>How-To-Repeat:
	echo ^G or play something having an audio track.

>Fix:
--- /usr/src/sys/dev/sound/pci/ich.c.orig	Sat Mar  4 11:31:33 2006
+++ /usr/src/sys/dev/sound/pci/ich.c	Sat Mar  4 11:29:40 2006
@@ -839,6 +839,7 @@
 	case 0x202f161f:	/* Gateway 7326GZ */
 	case 0x203a161f:	/* Gateway 4028GZ */
 	case 0x8144104d:	/* Sony VAIO PCG-TR* */
+	case 0x81c0104d:	/* Sony VAIO type T */
 	case 0x8197104d:	/* Sony S1XP */
 		ac97_setflags(sc->codec, ac97_getflags(sc->codec) | AC97_F_EAPD_INV);
 		break;
>Release-Note:
>Audit-Trail:
>Unformatted:
 >SEVERITY:	non-critical


More information about the freebsd-bugs mailing list