From nobody@FreeBSD.org  Thu Jul  4 22:10:36 2002
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 6AC3237B400
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  4 Jul 2002 22:10:36 -0700 (PDT)
Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 2F80943E42
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  4 Jul 2002 22:10:36 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g655AUOT071083
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 4 Jul 2002 22:10:30 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.4/8.12.4/Submit) id g655AUV8071082;
	Thu, 4 Jul 2002 22:10:30 -0700 (PDT)
Message-Id: <200207050510.g655AUV8071082@www.freebsd.org>
Date: Thu, 4 Jul 2002 22:10:30 -0700 (PDT)
From: Javi Lavandeira <ag0ny@ag0ny.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: No sound on Compaq Presario 700
X-Send-Pr-Version: www-1.0

>Number:         40211
>Category:       misc
>Synopsis:       No sound on Compaq Presario 700
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sound
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          wish
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 04 22:20:01 PDT 2002
>Closed-Date:    Mon May 26 20:45:35 PDT 2003
>Last-Modified:  Mon May 26 20:45:35 PDT 2003
>Originator:     Javi Lavandeira
>Release:        4.4-RELEASE
>Organization:
>Environment:
FreeBSD cosmos.ag0ny.intranet 4.4-RELEASE FreeBSD 4.4-RELEASE #22: Fri Jul  5 13:18:52 JST 2002     root@cosmos.ag0ny.intranet:/usr/obj/usr/src/sys/COSMOS  i386

>Description:
Sound not working in Compaq Presario series 700. The pcm driver compiles correctly and sound card is recognized at boot. Sound applications can use the sound card, but no sound is output to the speakers. Sound is working, but volume is 0 (even though mixer values are ok). The pcm0 line from the kernel boot sequence is:
pcm0: <VIA VT82C686A> port 0x1850-0x1853,0x1854-0x1857,0x1000-0x10ff irq 5 at device 7.5 on pci0

>How-To-Repeat:
Just compile pcm on a Compaq Presario 70x.
>Fix:
Marvin Gardens (m125nn@hotmail.com) pointed me to a URL containing a fix for this problem in Linux kernel 2.4.18. The URL is http://students.fct.unl.pt/users/fdc10056/PresarioSound.txt, and there is a full description of the problem there. I modified dev/sound/pcm/ac97.c adding a few lines and the fix worked. The modified ac97.c can be downloaded from http://www.ag0ny.com/ac97.c (lines added by me are enclosed by '/* XXX ag0ny */' and '/* XXX /ag0ny */' lines). But I'm not a C programmer, let alone a kernel programmer, so a real developer should do the modifications.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: orion 
State-Changed-When: Mon May 26 20:44:10 PDT 2003 
State-Changed-Why:  
Problem was fixed in source tree in January 2003. 



Responsible-Changed-From-To: freebsd-bugs->sound 
Responsible-Changed-By: orion 
Responsible-Changed-When: Mon May 26 20:44:10 PDT 2003 
Responsible-Changed-Why:  
Sound problem. 


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