Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Feb 2004 23:24:34 -0800
From:      Michael Dunham <m.dunham@connectingteams.com>
To:        freebsd-questions@freebsd.org
Subject:   Sound failures after upgrade to KDE 3.2
Message-ID:  <200402112324.36081.m.dunham@connectingteams.com>

next in thread | raw e-mail | index | archive | help
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.

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: <SB16 DSP 4.16> 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

-- 
Regards, 
 
MIKE... 
Make your Information your KnowlEDGE 
Michael L. Dunham 
Principal Consultant 
Connecting Teams 
2333 La Lima Way 
Sacramento, CA 95833 
Phone: 916-641-1204
email: m.dunham@connectingteams.com 
webpage: http://www.connectingteams.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402112324.36081.m.dunham>