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

Re: No sound with udev..

Hmmm... my udev/rules.d has compat-full compat and devfs andI have a psaux and alsa working... Strange...

Ploum Ploum wrote:
Matthew A. Nicholson wrote:

Try using devfs rules too.

Adding devfs rules delete /Dev/psaux !!! (so I cannot have a mouse anymore)

So, instead of devfs, I've added udev.rules and it works better.

For better, it's just means that now, alsa agree to start and I can run alsactl restore.

But I still have no sound :-(

In mplayer, I've :

alsa-init: got device=0, subdevice=0
alsa-init: 1 soundcard found, using: default
ALSA lib pcm_hw.c:1155:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Aucun fichier ou répertoire de ce type
ALSA lib pcm_dmix.c:868:(snd_pcm_dmix_open) unable to open slave
alsa-init: playback open error: Aucun fichier ou répertoire de ce type

Or, with OSS :

audio_setup: Can't open audio device /dev/dsp: Aucun fichier ou répertoire de ce type
Could not open/initialize audio device -> no sound.

I think this is because the mixer device is always a recursive links loop to itself :-(

alsamixer :
No mixer elems found

I've tried to add manually the line :

KERNEL="mixer",         NAME="snd/%k"

in udev.rules but, if it change the loop for a link to snd/mixer, it doesn't bring me sound or a mixer.

Strangely, I've a mixer in the Gnome Panel.

Thx you for your help (and thank you Luis M too)


Ploum Ploum wrote:


I'm testing here on Debian Sid, with full HAL, udev, and so one..

I've followed instructions here :


remove devfs=mount from grub/menu.lst and
cd /etc/udev/rules.d; rm -f compat.rules; ln -s ../compat-full.rules

now, I don't have sound anymore :-(

alsactl restore
alsactl: load_state:1134: No soundcards found...

altought, all modules are perfectly loaded (snd_intel8x0 on my nforce2 soundcard)

So I've putt devfs=mount again in grub, but it doesn't change anything.

Worst thing : there's somes infinites recursive loops in /dev/

lrwxrwxrwx 1 root root 7 2004-08-19 10:42 agpgart -> agpgart
lrwxrwxrwx 1 root root 5 2004-08-19 10:42 audio -> audio
lrwxrwxrwx 1 root root 3 2004-08-19 10:42 dsp -> dsp
lrwxrwxrwx 1 root root 5 2004-08-19 10:42 mixer -> mixer
lrwxrwxrwx 1 root root 3 2004-08-19 10:42 rtc -> rtc

As said previously on this list, like everybody I use ALSA and the OSS emulation.

Could you please help me to make this working again ?


Matthew A. Nicholson

Reply to: