From owner-freebsd-multimedia@FreeBSD.ORG Fri Apr 21 20:16:15 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A344F16A401 for ; Fri, 21 Apr 2006 20:16:15 +0000 (UTC) (envelope-from hartzell@alerce.com) Received: from merlin.alerce.com (w094.z064001164.sjc-ca.dsl.cnc.net [64.1.164.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1DF0A43D48 for ; Fri, 21 Apr 2006 20:16:15 +0000 (GMT) (envelope-from hartzell@alerce.com) Received: from merlin.alerce.com (localhost [127.0.0.1]) by merlin.alerce.com (Postfix) with ESMTP id 9A4535643A; Fri, 21 Apr 2006 13:17:20 -0700 (PDT) Received: from satchel.alerce.com (w092.z064001164.sjc-ca.dsl.cnc.net [64.1.164.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "satchel.alerce.com", Issuer "alerce.com" (verified OK)) by merlin.alerce.com (Postfix) with ESMTP id 3585E56436; Fri, 21 Apr 2006 13:17:20 -0700 (PDT) Received: from satchel.alerce.com (localhost [127.0.0.1]) by satchel.alerce.com (8.13.4/8.13.4) with ESMTP id k3LKGcNn046417 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 21 Apr 2006 13:16:38 -0700 (PDT) (envelope-from hartzell@satchel.alerce.com) Received: (from hartzell@localhost) by satchel.alerce.com (8.13.4/8.13.4/Submit) id k3LKGbWA046414; Fri, 21 Apr 2006 13:16:38 -0700 (PDT) (envelope-from hartzell) From: George Hartzell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17481.15781.917810.270272@satchel.alerce.com> Date: Fri, 21 Apr 2006 13:16:37 -0700 To: "Conrad J. Sabatier" In-Reply-To: <20060421151141.578417ed@localhost> References: <17477.44637.316536.583639@satchel.alerce.com> <20060420181021.313129e8@localhost> <17480.7369.436.46985@satchel.alerce.com> <20060421151141.578417ed@localhost> X-Mailer: VM 7.17 under 21.4 (patch 17) "Jumbo Shrimp" XEmacs Lucid X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-multimedia@freebsd.org Subject: Re: Odd code in sound/pcm/channel.c, help with PR? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hartzell@alerce.com List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Apr 2006 20:16:15 -0000 Conrad J. Sabatier writes: > On Thu, 20 Apr 2006 16:44:08 -0700 > George Hartzell wrote: > > > Conrad J. Sabatier writes: > > > On Tue, 18 Apr 2006 20:28:29 -0700 > > > George Hartzell wrote: > > > > > > > > > > > I'm trying to get some traction and get sound to work on my ASUS > > > > A8V-MX. I keep ending up with > > > > > > > > pcm0:play:0::dsp0.0: play interrupt timeout, channel dead > > > > > > > > on my console. > > > > > > I used to see this on my amd64 box with earlier versions of > > > FreeBSD. Back then, disabling ACPI would cure the problem. You > > > may want to give that a try. > > > > Thanks for the suggestion. > > > > I booted w/out acpi, by choosing 2 at the loader prompt, and I still > > don't get any sound when I cat /etc/termcap > /dev/dsp0.0 and it that > > still generates the timeout error message. > > Have you tried "cat foo > /dev/audio"? Same timeout message. > Try doing "sysctl hw.snd.verbose=2; cat /dev/sndstat" and see what it > shows. FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at io 0xd400 irq 22 kld snd_via8233 (5p/1r/0v channels duplex default) [pcm0:play:0:dsp0.0]: spd 8000/48000, fmt 0x00000001/0x10000010, flags 0x00000000, 0x00000010 interrupts 0, underruns 0, ready 0 [b:4096/2048/2|bs:131072/128/1024] {userland} -> feeder_root(0x00000001) -> feeder_ulawtos16le(0x00000001 -> 0x00000010) -> feeder_monotostereo16(0x00000010 -> 0x10000010) -> feeder_rate(8000 -> 48000) -> {hardware} [pcm0:play:1:dsp0.1]: spd 0, fmt 0x00000000/0x00000008, flags 0x00000000, 0x00000000 interrupts 0, underruns 0, ready 0 [b:4096/2048/2|bs:0/0/0] {userland} -> feeder_root(0x00000000) -> {hardware} [pcm0:play:2:dsp0.2]: spd 0, fmt 0x00000000/0x00000008, flags 0x00000000, 0x00000000 interrupts 0, underruns 0, ready 0 [b:4096/2048/2|bs:0/0/0] {userland} -> feeder_root(0x00000000) -> {hardware} [pcm0:play:3:dsp0.3]: spd 0, fmt 0x00000000/0x00000008, flags 0x00000000, 0x00000000 interrupts 0, underruns 0, ready 0 [b:4096/2048/2|bs:0/0/0] {userland} -> feeder_root(0x00000000) -> {hardware} [pcm0:play:4:dsp0.4]: spd 0, fmt 0x00000000/0x00000008, flags 0x00000000, 0x00000000 interrupts 0, underruns 0, ready 0 [b:4096/2048/2|bs:0/0/0] {userland} -> feeder_root(0x00000000) -> {hardware} [pcm0:record:0:dsp0.5]: spd 8000/48000, fmt 0x00000008/0x10000010, flags 0x00000000, 0x00000010 interrupts 0, overruns 0, hfree 4096, sfree 131072 [b:4096/2048/2|bs:131072/128/1024] {hardware} -> feeder_root(0x10000010) -> feeder_rate(48000 -> 8000) -> feeder_16leto8(0x10000010 -> 0x10000040) -> feeder_stereotomono8(0x10000040 -> 0x00000040) -> feeder_sign8(0x00000040 -> 0x00000008) -> {userland} I've set ariff up with an account on the machine, he thinks that if he can get his virtual fingers on the hardware he can beat some good behaviour into it. I'll summarize to the list when the smoke clears. g.