On Saturday 05 June 2004 12:54, Matthijs van Aalten wrote:
> Hello,
>
> (apologies  for a long post, but I thought it would be best to
> include as much relevant information as I could)
>
> I'm  trying  to  install  Alsa on my system, but alsamixer returns
> the error message:
> alsamixer: function snd_ctl_open failed for default: No such device
>
> System:
> Via Epia M10000 mainboard with on-board audio (via-82xx)
> Debian 'testing' distribution
> Kernel 2.6.6, custom compiled with special Epia patches
> Only text-based, no X installed.
>
> The  program  'aumix'  is working correctly, also I can play MP3
> using mpg321. It just doesn't feel right that alsamixer doesn't work.
>
> I  have  found  a  lot  of  messages  from  other people with the
> same problem, some solutions but they didn't work for me.
>
> For  example,  running  the  script  snddevices  in  the  Alsa 
> source directory didn't help.
>
> Result from lsmod:
> Module                  Size  Used by
> 8250                   21184  0
> serial_core            23552  1 8250
> snd_seq_oss            36416  0
> snd_seq_midi_event      7680  1 snd_seq_oss
> snd_seq                54192  4 snd_seq_oss,snd_seq_midi_event
> snd_via82xx            21344  0
> snd_pcm_oss            54148  0
> snd_mixer_oss          19936  1 snd_pcm_oss
> snd_pcm                98212  2 snd_via82xx,snd_pcm_oss
> snd_timer              25508  2 snd_seq,snd_pcm
> snd_ac97_codec         65508  1 snd_via82xx
> snd_page_alloc         11492  2 snd_via82xx,snd_pcm
> snd_mpu401_uart         8128  1 snd_via82xx
> snd_rawmidi            24864  1 snd_mpu401_uart
> snd_seq_device          8424  3 snd_seq_oss,snd_seq,snd_rawmidi
> snd                    55076  12
> snd_seq_oss,snd_seq_midi_event,snd_seq,snd_via82xx,snd_pcm_oss,snd_mi
>xer_oss,snd_pcm,snd_timer,snd_ac97_codec,snd_mpu401_uart,snd_rawmidi,s
>nd_seq_device via686a                19784  0
> i2c_sensor              2880  1 via686a
> i2c_isa                 1984  0
> i2c_core               23556  3 via686a,i2c_sensor,i2c_isa
> via82cxxx_audio        27528  0
> ac97_codec             18956  1 via82cxxx_audio

The two modules above are OSS modules, you have to remove them.

> via_rhine              20040  0
> mii                     5024  1 via_rhine
> ide_cd                 42948  0
> cdrom                  40416  1 ide_cd
>
>
> Result from strace -eopen alsamixer:
> open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or
> directory) open("/etc/ld.so.cache", O_RDONLY)      = 3
> open("/lib/libncurses.so.5", O_RDONLY)  = 3
> open("/usr/lib/libasound.so.2", O_RDONLY) = 3
> open("/lib/tls/libm.so.6", O_RDONLY)    = 3
> open("/lib/tls/libdl.so.2", O_RDONLY)   = 3
> open("/lib/tls/libpthread.so.0", O_RDONLY) = 3
> open("/lib/tls/libc.so.6", O_RDONLY)    = 3
> open("/usr/share/alsa/alsa.conf", O_RDONLY) = 3
> open("/dev/snd/controlC0", O_RDONLY)    = -1 ENODEV (No such device)
> open("/dev/aloadC0", O_RDONLY)          = -1 ENODEV (No such device)
> open("/dev/snd/controlC0", O_RDWR)      = -1 ENODEV (No such device)
> open("/dev/snd/controlC0", O_RDONLY)    = -1 ENODEV (No such device)
> open("/dev/aloadC0", O_RDONLY)          = -1 ENODEV (No such device)
> open("/dev/snd/controlC0", O_RDWR)      = -1 ENODEV (No such device)
> alsamixer: function snd_ctl_open failed for default: No such device
>
>
> Result from ls /dev/snd/controlC0:
> crw-rw----    1 root  audio   116,  0  Jun  5 12:31
> /dev/snd/controlC0
>
>
> Included in my /etc/modules.conf:
> above snd-pcm snd-pcm-oss
>
> alias char-major-116 snd
> alias snd-card-0 snd_via82xx
> alias char-major-14 soundcore
> alias sound-slot-0 snd-card-0
> alias sound-service-0-0 snd_mixer_oss
> alias sound-service-0-1 snd_seq_oss
> alias sound-service-0-3 snd_pcm_oss
> alias sound-service-0-8 snd_seq_oss
> alias sound-service-0-12 snd_pcm_oss
>
> Any suggestions, anyone? Thanks in advance!

HTH,

    -Frans



-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to