From nobody@FreeBSD.org  Mon Mar 12 23:46:30 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 5938F16A404
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 12 Mar 2007 23:46:30 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id 4A3F513C468
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 12 Mar 2007 23:46:30 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l2CNkU68011099
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 12 Mar 2007 23:46:30 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l2CNkUVg011098;
	Mon, 12 Mar 2007 23:46:30 GMT
	(envelope-from nobody)
Message-Id: <200703122346.l2CNkUVg011098@www.freebsd.org>
Date: Mon, 12 Mar 2007 23:46:30 GMT
From: vecinabp<vecinabp@yahoo.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: sound broken on ASUS A6R laptop
X-Send-Pr-Version: www-3.0

>Number:         110244
>Category:       kern
>Synopsis:       [sound] sound broken on ASUS A6R laptop
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-multimedia
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 12 23:50:05 GMT 2007
>Closed-Date:    Fri Mar 16 13:57:19 GMT 2007
>Last-Modified:  Fri Mar 16 14:00:10 GMT 2007
>Originator:     vecinabp
>Release:        6.2
>Organization:
>Environment:
FreeBSD dhcppc0 6.2-RELEASE-p1 FreeBSD 6.2-RELEASE-p1 #0: Sun Feb 18 11:58:47 UTC 2007     richardpl@:/usr/obj/usr/src/sys/PKERNEL  i386

PKERNEL is generic kernel with SC_PIXEL_MODE option added
but it also happen on any previous generic version of FreeBSD
>Description:
part of output:
pciconf -lv:
pcm0@pci0:20:5: class=0x040100 card=0x11831043 chip=0x43701002 rev=0x80 hdr=0x00
    vendor   = 'ATI Technologies Inc'
    class    = multimedia

scanpci:
pci bus 0x0000 cardnum 0x14 function 0x05: vendor 0x1002 device 0x4370
 ATI Technologies Inc IXP SB400 AC'97 Audio Controller

Simple test:

cat /dev/urandom > /dev/dsp0.0 

Something is playing (really hard to hear), but not how it should be on
machine with sound working.

Changing volume with mixer small improvement can be arhived, but still useless.
Playing normal sound - nothing can be really hear (sometimes something can -
KDE sound test - but again really hard to hear and not everything is played)
>How-To-Repeat:
# kldload snd_atiixp

try to play any sound file, just for example:
# timidity demo.mid
>Fix:

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-multimedia 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Tue Mar 13 00:12:38 UTC 2007 
Responsible-Changed-Why:  
Over to maintainer(s). 

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

From: Ariff Abdullah <ariff@FreeBSD.org>
To: bug-followup@FreeBSD.org,vecinabp@yahoo.com
Cc:  
Subject: Re: kern/110244: [sound] sound broken on ASUS A6R laptop
Date: Tue, 13 Mar 2007 11:07:28 +0800

 Please show the output of dmesg | grep ^pcm, and try this:
 
 http://people.freebsd.org/~ariff/test/atiixp.c
 
 
 --
 Ariff Abdullah
 FreeBSD
 
 ... Recording in stereo is obviously too advanced
     and confusing for us idiot ***** users :P ........
State-Changed-From-To: open->patched 
State-Changed-By: ariff 
State-Changed-When: Tue Mar 13 15:21:51 UTC 2007 
State-Changed-Why:  
Fix committed. MFC in 3 days. 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/110244: commit references a PR
Date: Tue, 13 Mar 2007 15:20:46 +0000 (UTC)

 ariff       2007-03-13 15:20:33 UTC
 
   FreeBSD src repository
 
   Modified files:
     sys/dev/sound/pci    atiixp.c 
   Log:
   Add AC97 inverted external amplifier quirk for ASUS A6R laptop.
   
   PR:             kern/110244
   MFC after:      3 days
   
   Revision  Changes    Path
   1.10      +1 -0      src/sys/dev/sound/pci/atiixp.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: ariff 
State-Changed-When: Fri Mar 16 13:56:36 UTC 2007 
State-Changed-Why:  
Fix committed. 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/110244: commit references a PR
Date: Fri, 16 Mar 2007 13:55:48 +0000 (UTC)

 ariff       2007-03-16 13:55:35 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_6)
     sys/dev/sound/pci    atiixp.c 
   Log:
   MFC:
   
   Add AC97 inverted external amplifier quirk for ASUS A6R laptop.
   
   PR:     kern/110244
   
   Revision  Changes    Path
   1.2.2.6   +1 -0      src/sys/dev/sound/pci/atiixp.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"
 
>Unformatted:
