[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: alsa dsp devfs



On Sat, Mar 09, 2002 at 10:14:51AM -0600, Lance Hoffmeyer wrote:
> 
> I can't seem to be able to get sound from my dsp using alsa.  I can load the
> modules and play *.wav files using aplay.  What is the trick to getting the 
> dsp to work?
> 
> I ran snddevices.
> 
> 
> Also, when starting alsa:
> Starting ALSA sound driver (version 0.9.0beta10): no sound cards defined.
>
	This is weird as I am running the same version of ALSA for
the intel8x0 audio card on my Toshiba laptop... One question I woudl ask
is if your alsa-{source,base}.conf files are correct and list the proper
card... in alsa-source.conf I have ALSA_CARDS="intel8x0" now as to my
devfs setup check below...
 
> 
> In /etc/devdfs.conf
> LOOKUP snd MODLOAD ACTION snd
> REGISTER sound/.* PERMISSIONS root.audio 660
> REGISTER snd/.* PERMISSIONS root.audio 660
>  
	The only devfsd configuration info I have relating to ALSA is
as follows:

In /etc/devfs/perms:
REGISTER ^sndstat PERMISSIONS root.audio 0660
REGISTER ^sound/.* PERMISSIONS root.audio 0660

In /etc/devfs/compat_symlinks:
REGISTER ^sound/.* MKOLDCOMPAT
UNREGISTER ^sound/.* RMOLDCOMPAT

> In /etc/alsa/modutils:
> 

In /etc/modutils if I run 'egrep "s(ou)?nd" *' it returns:

1devfsd:alias     /dev/sound            sound-slot-0
1devfsd:alias     /dev/audio            /dev/sound
1devfsd:alias     /dev/mixer            /dev/sound
1devfsd:alias     /dev/dsp              /dev/sound
1devfsd:alias     /dev/dspW             /dev/sound
1devfsd:alias     /dev/midi             /dev/sound
alsa:alias char-major-116 snd
alsa:alias snd-card-0 snd-card-intel8x0
alsa:alias char-major-14 soundcore
alsa:alias sound-slot-0 snd-card-0
alsa:alias sound-service-0-0 snd-mixer-oss
alsa:alias sound-service-0-1 snd-seq-oss
alsa:alias sound-service-0-3 snd-pcm-oss
alsa:alias sound-service-0-8 snd-seq-oss
alsa:alias sound-service-0-12 snd-pcm-oss
alsa:options snd snd_major=116 snd_cards_limit=1 snd_device_mode=0660 
	snd_device_gid=29 snd_device_uid=0 alsa:options snd-card-intel8x0
	snd_index=0 snd_id=CARD_0

	This setup works perfectly on my system... If you have any
other specific questions feel free to contact me directly...

	Jeremy



Reply to: