Re: get no sound with xmms/xine
On Sun, Jun 18, 2006 at 13:36:41 -0700, tom arnall wrote:
> On Sunday 18 June 2006 12:14 pm, Florian Kulzer wrote:
> > On Sun, Jun 18, 2006 at 11:37:19 -0700, tom arnall wrote:
> > > when I try to run alsamixer (as root, of course) I get:
> > >
> > > alsamixer: function snd_ctl_open failed for default: No such device
> > >
> > > Could this be part of the problem? How do I get alsamixer to run?
[...]
> yes, have run alsaconf several times and it produces what seem to be the usual
> confirmations and the 'have fun' message at end. also, on top-posting, i
> agree. inline posting i like even better.
>
>
> > > Also, running demsg shows nothing about sound or alsa.
[...]
> my output:
>
> # find /dev -group audio 2>/dev/null | xargs ls -l
> crw-rw---- 1 root audio 14, 4 2005-02-25 22:39 /dev/audio
> crw-rw---- 1 root audio 14, 20 2005-02-25 22:39 /dev/audio1
> crw-rw---- 1 root audio 14, 36 2005-02-25 22:39 /dev/audio2
> crw-rw---- 1 root audio 14, 52 2005-02-25 22:39 /dev/audio3
> crw-rw---- 1 root audio 14, 7 2005-02-25 22:39 /dev/audioctl
> crwxrwxrwx 1 root audio 14, 3 2005-02-25 22:39 /dev/dsp
> crw-rw---- 1 root audio 14, 19 2005-02-25 22:39 /dev/dsp1
> crw-rw---- 1 root audio 14, 35 2005-02-25 22:39 /dev/dsp2
> crw-rw---- 1 root audio 14, 51 2005-02-25 22:39 /dev/dsp3
> crw-rw---- 1 root audio 35, 0 2005-02-25 22:39 /dev/midi0
> crw-rw---- 1 root audio 14, 2 2005-02-25 22:39 /dev/midi00
> crw-rw---- 1 root audio 14, 18 2005-02-25 22:39 /dev/midi01
> crw-rw---- 1 root audio 14, 34 2005-02-25 22:39 /dev/midi02
> crw-rw---- 1 root audio 14, 50 2005-02-25 22:39 /dev/midi03
> crw-rw---- 1 root audio 35, 1 2005-02-25 22:39 /dev/midi1
> crw-rw---- 1 root audio 35, 2 2005-02-25 22:39 /dev/midi2
> crw-rw---- 1 root audio 35, 3 2005-02-25 22:39 /dev/midi3
> crwxrwxrwx 1 root audio 14, 0 2005-02-25 22:39 /dev/mixer
> crw-rw---- 1 root audio 14, 16 2005-02-25 22:39 /dev/mixer1
> crw-rw---- 1 root audio 14, 32 2005-02-25 22:39 /dev/mixer2
> crw-rw---- 1 root audio 14, 48 2005-02-25 22:39 /dev/mixer3
> crw-rw---- 1 root audio 31, 0 2005-02-25 22:39 /dev/mpu401data
> crw-rw---- 1 root audio 31, 1 2005-02-25 22:39 /dev/mpu401stat
> crw-rw---- 1 root audio 35, 64 2005-02-25 22:39 /dev/rmidi0
> crw-rw---- 1 root audio 35, 65 2005-02-25 22:39 /dev/rmidi1
> crw-rw---- 1 root audio 35, 66 2005-02-25 22:39 /dev/rmidi2
> crw-rw---- 1 root audio 35, 67 2005-02-25 22:39 /dev/rmidi3
> crw-rw---- 1 root audio 14, 1 2005-02-25 22:39 /dev/sequencer
> crw-rw---- 1 root audio 35, 128 2005-02-25 22:39 /dev/smpte0
> crw-rw---- 1 root audio 35, 129 2005-02-25 22:39 /dev/smpte1
> crw-rw---- 1 root audio 35, 130 2005-02-25 22:39 /dev/smpte2
> crw-rw---- 1 root audio 35, 131 2005-02-25 22:39 /dev/smpte3
> crw-rw---- 1 root audio 14, 6 2005-02-25 22:39 /dev/sndstat
> crw-rw---- 1 root audio 180, 66 2005-02-25 22:43 /dev/usb/cpad0
> crw-rw---- 1 root audio 180, 64 2005-02-25 22:43 /dev/usb/rio500
Lots of devices, but the /dev/snd/ directory seems to be missing. This
might be causing your problem.
> # cat /proc/asound/cards
> 0 [I82801DBICH4 ]: ICH4 - Intel 82801DB-ICH4
> Intel 82801DB-ICH4 with ALC202 at 0xe0100c00, irq 177
That looks OK; the card is there as device 0.
I had a quick look at
http://alsa.opensrc.org/index.php?page=TroubleShooting
and it seems that a missing /dev/snd can indeed cause your error message
(point 5 on that page). They propose to run the "snddevices" script. On
Debian this is part of alsa-base and located at
/usr/share/alsa-base/snddevices
I have never had to use it myself, therefore I cannot say anything about
it. It might be worth a try.
I noticed one other thing in your lsmod output: You have both the
snd_intel8x0 and the snd_intel8x0m module loaded. The latter one is a
modem driver, and I seem to remember that it can sometimes interfere
with the sound system. You could try to blacklist it by editing the file
/etc/modprobe.d/alsa-base-blacklist. There should already be a
commented-out entry for this module:
# blacklist snd-intel8x0m
Change this line to
blacklist snd-intel8x0m
and reboot. Maybe that will help. (This should prevent the snd-intel8x0m
from being loaded at boot.)
--
Regards,
Florian
Reply to: