Re: get no sound with xmms/xine
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?
>
> Did you run "alsaconf" already? (It is easy to miss things with all this
> top-posting. It would be better if you put your answers and reactions
> below the questions that prompt them; this results in a chronological
> "story" and makes it easier for other people to join the discussion.)
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.
>
> Then maybe we should check if your sound devices are created at all in
> /dev and if they have the right permissions. You can run this command
> and compare the output:
>
> $ find /dev -group audio 2>/dev/null | xargs ls -l
> crw-rw---- 1 root audio 14, 4 2006-06-16 12:25 /dev/audio
> crw-rw---- 1 root audio 14, 3 2006-06-16 12:25 /dev/dsp
> crw-rw---- 1 root audio 14, 0 2006-06-16 12:25 /dev/mixer
> crw-rw---- 1 root audio 10, 135 2006-06-16 12:25 /dev/rtc
> crw-rw---- 1 root audio 14, 1 2006-06-16 12:25 /dev/sequencer
> crw-rw---- 1 root audio 14, 8 2006-06-16 12:25 /dev/sequencer2
> crw-rw---- 1 root audio 116, 0 2006-06-16 12:25 /dev/snd/controlC0
> crw-rw---- 1 root audio 116, 24 2006-06-16 12:25 /dev/snd/pcmC0D0c
> crw-rw---- 1 root audio 116, 16 2006-06-16 12:25 /dev/snd/pcmC0D0p
> crw-rw---- 1 root audio 116, 1 2006-06-16 12:25 /dev/snd/seq
> crw-rw---- 1 root audio 116, 33 2006-06-16 12:25 /dev/snd/timer
>
> (I have a different sound card, therefore your output does not have to
> be 100% identical.)
>
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
> If your card is recognized it should also show up in /proc/asound/cards:
>
> $ cat /proc/asound/cards
> 0 [rev50 ]: VIA686A - VIA 82C686A/B rev50
> VIA 82C686A/B rev50 with ICE1232 at 0xdc00, irq 5
>
# cat /proc/asound/cards
0 [I82801DBICH4 ]: ICH4 - Intel 82801DB-ICH4
Intel 82801DB-ICH4 with ALC202 at 0xe0100c00, irq 177
also:
amixer: Mixer attach default error: No such device
> > Finally, are the modules with 'oss' in the name alsa modules?
>
> The names of the alsa modules all start with "snd_"; if the name ends
> with "_oss" then it is an alsa module that provides a compatibility
> layer for applications which still use the old OSS interface to access
> the audio hardware.
thanks for your help in this,
Tom
Reply to: