On Monday 13 February 2006 18:08, Dan Nicholson wrote:
> On 2/13/06, John Gay <[EMAIL PROTECTED]> wrote:
> > On Monday 13 February 2006 10:51, Shane Shields wrote:
> > > First of all you can check your /dev to see if there is an actual dsp
> > > device.
> >
> > No, there isn't, but that doesn't keep KDE from making sound, or mplayer
> > from working when I stop the artsserver with artsshell suspend. I know
> > what's not there, I just don't know what is, and why everything else
> > seems to work fine.
>
> I think you need to configure your kernel to create the dsp related
> interfaces since they're deprecated.  I thinks it's one of these guys,
> but I don't have the kernel config menu or docs handy.
>
> CONFIG_SND_OSSEMUL=y
> CONFIG_SND_MIXER_OSS=y
>
And I have:
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m


> My udev rules have this:
>
> $ grep dsp /etc/udev/rules.d/*
> 25-lfs.rules:KERNEL=="adsp*",                         GROUP="audio"
> 25-lfs.rules:KERNEL=="dsp*",                          GROUP="audio"
>
but mine are:
[EMAIL PROTECTED]:~$ grep dsp /etc/udev/*
/etc/udev/udev.permissions:adsp*:root:audio:0666
/etc/udev/udev.permissions:dsp*:root:audio:0666
[EMAIL PROTECTED]:~$

> > and the sound devices seem to be here?
> >
> > [EMAIL PROTECTED]:~$ file /dev/snd/*
> > /dev/snd/controlC0: character special (116/0)
> > /dev/snd/controlC1: character special (116/32)
> > /dev/snd/pcmC0D0c:  character special (116/24)
> > /dev/snd/pcmC0D0p:  character special (116/16)
> > /dev/snd/pcmC0D1c:  character special (116/25)
> > /dev/snd/pcmC1D0c:  character special (116/56)
> > /dev/snd/pcmC1D1c:  character special (116/57)
> > /dev/snd/timer:     character special (116/33)
>
> These are the devices created for standard ALSA.  Unfortunately, some
> software still searches for the deprecated /dev/dsp as the sound
> device.  Look in the kernel config sound section.  It's described in
> there somewhere.
>
Here is what quake4 says:

dlopen(libasound.so.2)
dlsym("snd_asoundlib_version") failed: /usr/lib/./libasound.so.2: undefined 
symbol: snd_asoundlib_version
WARNING: please consider upgrading alsa to a more recent version.
Alsa is available
------ Alsa Sound Initialization -----
ALSA lib pcm_hw.c:1057:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device 
or resource busy
snd_pcm_open SND_PCM_STREAM_PLAYBACK 'default' failed: Device or resource busy
dlclose
WARNING: sound subsystem disabled

And here's what I have:
[EMAIL PROTECTED]:~$ ls /usr/lib/libasound.*
/usr/lib/libasound.a   /usr/lib/libasound.so    /usr/lib/libasound.so.2.0.0
/usr/lib/libasound.la  /usr/lib/libasound.so.2
[EMAIL PROTECTED]:~$

Guess it won't work with the version of alsa I have?

Thanks for the tips, anyway. I'm re-building this box in pure-64 soon, so I'll 
see if I can get it to work then.

Cheers,

        John Gay
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to