Re: [Alsa-user] Alsamixer: snd_ctl_open failed

2004-06-06 Thread Matthijs van Aalten
On Sat, 05 Jun 2004 04:47:34 -0700, Frans Ketelaars wrote:
 On Saturday 05 June 2004 12:54, Matthijs van Aalten wrote:
 via82cxxx_audio27528  0
 ac97_codec 18956  1 via82cxxx_audio
 
 The two modules above are OSS modules, you have to remove them.

Thanks you very much - this was exactly the solution!

Regards,
-- 
Matthijs van Aalten
[EMAIL PROTECTED]




---
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


Re: [Alsa-user] Alsamixer: snd_ctl_open failed

2004-06-05 Thread Frans Ketelaars
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 M1 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_core23552  1 8250
 snd_seq_oss36416  0
 snd_seq_midi_event  7680  1 snd_seq_oss
 snd_seq54192  4 snd_seq_oss,snd_seq_midi_event
 snd_via82xx21344  0
 snd_pcm_oss54148  0
 snd_mixer_oss  19936  1 snd_pcm_oss
 snd_pcm98212  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_rawmidi24864  1 snd_mpu401_uart
 snd_seq_device  8424  3 snd_seq_oss,snd_seq,snd_rawmidi
 snd55076  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 via686a19784  0
 i2c_sensor  2880  1 via686a
 i2c_isa 1984  0
 i2c_core   23556  3 via686a,i2c_sensor,i2c_isa
 via82cxxx_audio27528  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-rw1 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


Re: [Alsa-user] Alsamixer: snd_ctl_open failed

2004-06-05 Thread Greg Lee
Matthijs van Aalten wrote:
Result from ls /dev/snd/controlC0:
crw-rw1 root  audio   116,  0  Jun  5 12:31 /dev/snd/controlC0
Maybe you should make that crw-rw-rw-, if you want to use it as
non-root: chmod o+rw /dev/snd/controlC0
Greg
---
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