From owner-freebsd-bugs Thu Jul 4 22:20: 7 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7437A37B400 for ; Thu, 4 Jul 2002 22:20:02 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFF3543E42 for ; Thu, 4 Jul 2002 22:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g655K1JU032831 for ; Thu, 4 Jul 2002 22:20:01 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g655K1p2032830; Thu, 4 Jul 2002 22:20:01 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6AC3237B400 for ; 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 ; 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 ; 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/40211: No sound on Compaq Presario 700 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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: 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