From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 05:58:03 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D593616A41A for ; Tue, 18 Dec 2007 05:58:03 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.freebsd.org (Postfix) with ESMTP id 5B6DC13C468 for ; Tue, 18 Dec 2007 05:58:03 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.8/8.13.1) with ESMTP id lBI5w21H086292; Mon, 17 Dec 2007 21:58:02 -0800 (PST) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.8/8.13.1/Submit) id lBI5w2au086291; Mon, 17 Dec 2007 21:58:02 -0800 (PST) (envelope-from kline) Date: Mon, 17 Dec 2007 21:58:02 -0800 From: Gary Kline To: Joshua Isom Message-ID: <20071218055802.GB86024@thought.org> References: <20071217210610.GA81881@thought.org> <20071217234134.GA93551@slackbox.xs4all.nl> <20071218010210.GA84424@thought.org> <5c5ffddc77b36ab1ce9603b513392085@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5c5ffddc77b36ab1ce9603b513392085@gmail.com> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 21 of service to the Unix community. Cc: Gary Kline , FreeBSD Mailing List Subject: Re: No audio whatever.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2007 05:58:03 -0000 On Mon, Dec 17, 2007 at 09:02:32PM -0600, Joshua Isom wrote: > On Dec 17, 2007, at 7:02 PM, Gary Kline wrote: > > >On Tue, Dec 18, 2007 at 12:41:34AM +0100, Roland Smith wrote: > >>On Mon, Dec 17, 2007 at 01:06:10PM -0800, Gary Kline wrote: > >>> > >>> I realize this may have no easy answer, but suddenly, > >>> after a portupgrade -aP. I have no sound. catting > >>> /deev/snstat does tell me that my sound card is there. > >>> my volme is set to 100%. Where else shoulf I be > >>> looking. > >> > >>See if the sound server is running. KDE uses aRts, gnome uses esd, > >>IIRC. > > > > > >Yes, the arts daemon is running and the esd isn't. Logged in as > >Gnomee,, no sound, tho. Is there something that will tell me > >why pcm0 is giving me these strange "overruns", "interrupts" > >and so forth? > > > >To the entire list: be very careful about upgrading right now. > >.... > > > >gary > > > > > > What about using cdcontrol to play a cd? If your cd-rom drive's hooked > up to the audio port on your motherboard, it should skip anything in > FreeBSD and go from hardware to speakers. It might help track down the > problem. o Nothing. I thought I'd get <<>> fromm the -v flag; nope. ,player, and eeverything else "thinks" in playing, but the error output from /dev/sndstat is a clue. What, tho, is the cluue to this:: FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at irq 18 kld snd_csa (1p/1r/2v channels duplex default) [pcm0:record:0:dsp0.0]: spd 44100, fmt 0x10000010, flags 0x00007030, 0x00000000, pid 64702 interrupts 2649, overruns 0, hfree 4096, sfree 63488 [b:4096/2048/2|bs:65536/4096/16] {hardware} -> feeder_root(0x10000010) -> {userland} [pcm0:play:0:dsp0.1]: spd 48000, fmt 0x10000010, flags 0x00103020, 0x00000000 interrupts 494374, underruns 0, ready 0 [b:4096/2048/2|bs:4096/2048/2] {userland} -> feeder_vchan_s16(0x10000010) -> {hardware} pcm0:play:0:dsp0.1[pcm0:virtual:0:dsp0.2]: spd 44100/48000, fmt 0x10000010, flags 0x10007030, 0x00000010, pid 64702 interrupts 0, underruns 0, ready 65536 [b:0/2048/0|bs:65536/4096/16] {userland} -> feeder_root(0x10000010) -> feeder_rate(44100 -> 48000) -> {hardware} pcm0:play:0:dsp0.1[pcm0:virtual:1:dsp0.3]: spd 44100/48000, fmt 0x10000010, flags 0x10000000, 0x00000010 interrupts 0, underruns 0, ready 0 [b:0/2048/0|bs:131072/4096/32] {userland} -> feeder_root(0x10000010) -> feeder_rate(44100 -> 48000) -> {hardware} p1 21:50 [2268] There stderr's are probably trace from the pcm/newpcm driver, but what cauuses them is the mystery. > > Also, did you upgrade OSS? OSS uses /usr/src so if you've also done a > csup of /usr/src that doesn't match what's installed it's possible you > got something screwy to happen. No, but I did a src upgrade tonight and did a make buuildworld. I am upgrade things that were "<" up-to-date. Should finish by late morning. Meanwhile, if anyboody know how I fouled things up, please yell at me. gary > > Oh, if you get BEL, you're better off than me for that. I get all of > my sound to work except for BEL! > -- Gary Kline kline@thought.org www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org