Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jul 2002 22:10:30 -0700 (PDT)
From:      Javi Lavandeira <ag0ny@ag0ny.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/40211: No sound on Compaq Presario 700
Message-ID:  <200207050510.g655AUV8071082@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         40211
>Category:       misc
>Synopsis:       No sound on Compaq Presario 700
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          wish
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 04 22:20:01 PDT 2002
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207050510.g655AUV8071082>