From owner-freebsd-bugs Wed Jul 3 9:50:11 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 03DFF37B401 for ; Wed, 3 Jul 2002 09:50:05 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D463243E42 for ; Wed, 3 Jul 2002 09:50:03 -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 g63Go3JU017095 for ; Wed, 3 Jul 2002 09:50:03 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g63Go30U017094; Wed, 3 Jul 2002 09:50:03 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D7D6B37B400 for ; Wed, 3 Jul 2002 09:45:36 -0700 (PDT) Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9891343E3B for ; Wed, 3 Jul 2002 09:45: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 g63GjaOT062798 for ; Wed, 3 Jul 2002 09:45:36 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.4/8.12.4/Submit) id g63Gjabl062797; Wed, 3 Jul 2002 09:45:36 -0700 (PDT) Message-Id: <200207031645.g63Gjabl062797@www.freebsd.org> Date: Wed, 3 Jul 2002 09:45:36 -0700 (PDT) From: Jesse Riddle To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/40155: No sound on Presario 700 laptop's ac97 codec. (VIA82C686) 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: 40155 >Category: kern >Synopsis: No sound on Presario 700 laptop's ac97 codec. (VIA82C686) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jul 03 09:50:03 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Jesse Riddle >Release: FreeBSD 4.6-RELEASE >Organization: UPS >Environment: FreeBSD caleb.metropolis 4.6-RELEASE FreeBSD 4.6-RELEASE #11: Wed Jul 3 10:27:10 EST 2002 jesse@caleb.metropolis:/usr/obj/usr/src/sys/CALEB i386 >Description: I am using a Compaq Presario 700US laptop that sports the VIA82C686 driver-supported ac97 codec. All sound hardware appears to be configured correctly. 'cat /dev/sndstat' returns "pcm0: at io 0x1000 irq5 (1p/1r/0v channels duplex)". However, when I test audio output by playing an mp3 file with mpg123 -vv, there is no audible output. It looks like the mp3 file is being played just fine, but it can't be heard at all. Mixer settings are default, everything is 75:75. The only exceptions are mic, rec, phin, and phout; which are set to 0:0. I will be open to receive email. I can help a developer test possible workarounds / patches. However, the Linux patch was fairly simple and straightforward. I am just not equipped with the know-how to do this myself. Believe me, I have tried, and I'm still going to try, at getting this to work. >How-To-Repeat: Set up sound devices with "device pcm" in the kernel with FreeBSD 4.6-RELEASE while using a Compaq Presario 700-series laptop. 'cat /dev/sndstat/' should work correctly. /dev/dsp can be opened, but there is no audio produced. >Fix: There is a patch written by Santiago Nullo that fixes this problem in the linux-2.4.18 kernel. The "JACK_SENSE" register (0x72) needs to be initalized to 0x0010. I think the fix also works on other Compaq Presario 700-series laptops, such as the 715xx. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message