From owner-freebsd-questions@FreeBSD.ORG Thu Feb 12 00:02:57 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 82C0616A4CE for ; Thu, 12 Feb 2004 00:02:57 -0800 (PST) Received: from smtp.owt.com (smtp.owt.com [204.118.6.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 43F8343D2F for ; Thu, 12 Feb 2004 00:02:57 -0800 (PST) (envelope-from kstewart@owt.com) Received: from localhost.invalid (owt-207-41-94-233.owt.com [207.41.94.233]) by smtp.owt.com (8.12.8/8.12.8) with ESMTP id i1C82i9U028533; Thu, 12 Feb 2004 00:02:44 -0800 From: Kent Stewart To: freebsd-questions@freebsd.org, m.dunham@connectingteams.com Date: Thu, 12 Feb 2004 00:02:54 -0800 User-Agent: KMail/1.6 References: <200402112324.36081.m.dunham@connectingteams.com> In-Reply-To: <200402112324.36081.m.dunham@connectingteams.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200402120002.54960.kstewart@owt.com> Subject: Re: Sound failures after upgrade to KDE 3.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2004 08:02:57 -0000 On Wednesday 11 February 2004 11:24 pm, Michael Dunham wrote: > I am getting sound failures now after upgrading to KDE 3.2. I get > /dev/dsp warnings on load and XMMS fails to pick up streams now > saying the sound card is held by another application. > > I see this is a common error but as yet all I am finding is the debug > commands to try and no clear direction on what to change. Thanks for > any thoughts you can offer. Do you have the latest versions. There was an update to start a wrapper for arts to let it run realtime. Kent > > I can run KsCD and it runs fine. > > On startx > device /dev/dsp/ device busy > > # sysctl -a |grep snd > hw.snd.targetirqrate: 32 > hw.snd.report_soft_formats: 1 > hw.snd.verbose: 1 > hw.snd.unit: 0 > hw.snd.maxautovchans: 0 > hw.snd.pcm0.buffersize: 4096 > hw.snd.pcm0.vchans: 0 > > Trying to start artsd manually from the konsole as su: > # artsd -lO -F10 -S4096 > artsd version is 1.1.4 > gsl: using Unix98 pthreads directly for mutexes and conditions > autodetecting driver: > - toss: 4 > - null: -1 > - oss: 10 > ... which means we'll default to oss > Error while initializing the sound driver: > device /dev/dsp can't be opened (Device busy) > > I'm running 5.1 current. > My sound device shows as: > grep pcm /var/run/dmesg.boot > Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc06fd350. > pcm0: on sbc0 > > and > # ls /dev/au* > /dev/audio0.0 /dev/audio0.1 > # ls /dev/ds** > /dev/dsp0.0 /dev/dspW0.0 /dev/dspr0.0 > /dev/dsp0.1 /dev/dspW0.1 > # ls /dev/mixer* > /dev/mixer0 > > > Running from the Konsole command line works > # cdcontrol -f /dev/acd0c play 1 > > it was working on XMMS and KSCD before the upgrade. > > > On the first boot, I got this probably unrelated failure > KNotify failed > DBUG says: > (no debugging symbols found)...[Switching to Process 554, Thread 1] > 0x291d9883 in poll () from /usr/lib/libc.so.5 > #0 0x291d9883 in poll () from /usr/lib/libc.so.5 > #1 0x29067651 in _thread_kern_sched_state_unlock () from > /usr/lib/libc_r.so.5 #2 0x29067050 in _thread_kern_scheduler () from > /usr/lib/libc_r.so.5 -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html