alsaconf appears to configure things correctly ... As you can see below all necessary modules are loaded ... maybe even too many. Anyway ... even the most basic alsaplayer app does not play sound. Instead there is the error at the bottom of this message. I searched the archives, but not sure if this has been solved or even if its a bug for sure. My sound card worked fine under Slackware using the same version Alsa-{drivers,headers,tools,utils} - so I know my card is good. Google:root@eieio /etc :-) $ lsmod Module Size Used by snd_pcm_oss 54560 0 snd_mixer_oss 20608 1 snd_pcm_oss snd_seq_dummy 4868 0 snd_seq_oss 38912 0 snd_seq_midi_event 8192 1 snd_seq_oss snd_seq 58064 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event snd_seq_device 10124 3 snd_seq_dummy,snd_seq_oss,snd_seq snd_intel8x0 36124 0 snd_ac97_codec 99360 1 snd_intel8x0 snd_ac97_bus 3328 1 snd_ac97_codec snd_pcm 96132 3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec snd_timer 27268 2 snd_seq,snd_pcm snd 61504 10 snd_pcm_oss,snd_mixer_oss,snd_seq_dummy,snd_seq_oss,snd_seq,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer snd_page_alloc 12168 2 snd_intel8x0,snd_pcm nvram 10504 0 usbhid 40608 0 ehci_hcd 37000 0 uhci_hcd 35728 0 ohci_hcd 23428 0 sl811_hcd 14720 0 rtc 15032 0 Google:root@eieio /etc :-) $ alsaplayer ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0' ALSA lib conf.c:3492:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings ALSA lib conf.c:3492:(_snd_config_evaluate) function snd_func_concat returned error: No such device ALSA lib confmisc.c:1072:(snd_func_refer) error evaluating name ALSA lib conf.c:3492:(_snd_config_evaluate) function snd_func_refer returned error: No such device ALSA lib conf.c:3961:(snd_config_expand) Evaluate error: No such device ALSA lib pcm.c:2099:(snd_pcm_open_noupdate) Unknown PCM default snd_pcm_open: No such device (default) Failed to initialize plugin! Failed to register plugin: /usr/lib/alsaplayer/output/libalsa_out.so Failed to load output plugin "alsa". Trying defaults. ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0' ALSA lib conf.c:3492:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings ALSA lib conf.c:3492:(_snd_config_evaluate) function snd_func_concat returned error: No such device ALSA lib confmisc.c:1072:(snd_func_refer) error evaluating name ALSA lib conf.c:3492:(_snd_config_evaluate) function snd_func_refer returned error: No such device ALSA lib conf.c:3961:(snd_config_expand) Evaluate error: No such device ALSA lib pcm.c:2099:(snd_pcm_open_noupdate) Unknown PCM default snd_pcm_open: No such device (default) Failed to initialize plugin! /usr/lib/alsaplayer/output/libalsa_out.so failed to load Jeff
Are you using in-kernel drivers or alsa ebuilds (and which version)? Also, emerge --info output missing.
I am not using in-kernel drivers because the instructions tell me not too. * media-sound/alsa-driver Latest version available: 1.0.11_rc2 Latest version installed: 1.0.10-r1 Size of downloaded files: 2,222 kB Homepage: http://www.alsa-project.org/ Description: Advanced Linux Sound Architecture kernel modules License: GPL-2 LGPL-2.1 $ emerge --info output missing Portage 2.1_pre1 (default-linux/x86/2005.1, gcc-3.3.5-20050130, glibc-2.3.5-r3,glibc-2.3.4.20041102-r1, 2.6.14-gentoo-r5 i686) ================================================================= System uname: 2.6.14-gentoo-r5 i686 Mobile Intel(R) Pentium(R) III CPU - M 1200MHz Gentoo Base System version 1.6.12 dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.11, 1.2.12, 1.2.17 sys-devel/autoconf: 2.13, 2.59-r6, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5, 1.9.6-r1 sys-devel/binutils: 2.15.92.0.2-r10, 2.16.1-r1 sys-devel/libtool: 1.5.18-r1, 1.5.22 virtual/os-headers: 2.6.11-r2, 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="no" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig buildpkg ccache cvs distcc distlocks noauto noclean sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apm audiofile avi bash-completion berkdb bitmap-fonts bzip2 crypt cups curl eds emboss encode exif expat fam flac foomaticdb fortran gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 guile idn imagemagick imlib ipv6 java jpeg kde lcms ldap libg++ libwww mad mikmod mng motif mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss pam pcre pdflib perl png python qt quicktime readline recode sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts udev vorbis xml2 xmms xv zlib elibc_glibc kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Are you in audio group?
(In reply to comment #3) > Are you in audio group? > Nope.
So that is, probably. Add yourself to audio group, logout, login, and try. If it still fails, reopen pasting the content of /proc/asound/cards and the output of `ls -l /dev/snd /dev/sound`.
$ cat /proc/asound/cards 0 [I82801CAICH3 ]: ICH - Intel 82801CA-ICH3 Intel 82801CA-ICH3 with CS4299 at 0x1c00, irq 5 $ ls -l /dev/snd /dev/sound ls: /dev/snd: No such file or directory ls: /dev/sound: No such file or directory (maybe the problem)
$ /usr/sbin/alsactl -F store /usr/sbin/alsactl: save_state:1163: No soundcards found... $ alsamixer alsamixer: function snd_ctl_open failed for default: No such device $ lsmod Module Size Used by snd_pcm_oss 54560 0 snd_mixer_oss 20608 1 snd_pcm_oss snd_seq_dummy 4868 0 snd_seq_oss 38912 0 snd_seq_midi_event 8192 1 snd_seq_oss snd_seq 58064 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event snd_seq_device 10124 3 snd_seq_dummy,snd_seq_oss,snd_seq snd_intel8x0 36124 0 snd_ac97_codec 99360 1 snd_intel8x0 snd_ac97_bus 3328 1 snd_ac97_codec snd_pcm 96132 3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec snd_timer 27268 2 snd_seq,snd_pcm snd 61504 10 snd_pcm_oss,snd_mixer_oss,snd_seq_dummy,snd_seq_oss,snd_seq,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer snd_page_alloc 12168 2 snd_intel8x0,snd_pcm nvram 10504 0 usbhid 40608 0 ehci_hcd 37000 0 uhci_hcd 35728 0 ohci_hcd 23428 0 sl811_hcd 14720 0 rtc 15032 0 I have a sound card ... modules loaded $ cat /proc/asound/cards 0 [I82801CAICH3 ]: ICH - Intel 82801CA-ICH3 Intel 82801CA-ICH3 with CS4299 at 0x1c00, irq 5
Are you using /etc/init.d/alsasound to start ALSA ? Are you using udev to handle /dev nodes ? Or static /dev ?
(In reply to comment #8) > Are you using /etc/init.d/alsasound to start ALSA ? > Are you using udev to handle /dev nodes ? Or static /dev ? > Yes I am using alsasound to start ALSA at 'boot' I am using a udev environment, at OS startup I see the message 'initializing udev environment. However, it does look like there are static entries in my /dev as well. And the other weird thing is ... I don't have the pcspkr module loaded or in my kernel. Yet, I get system beeps out of my speakers when I hit an error or end of line or something.
Ok...So I have been beating myself to death over this one and it seems to have paid off. Hopefully!? It seems that my udev is misconfigured or just completely borked. My /dev/sound /dev/snd /dev/mixer /dev/dsp simply is not being created. And when I manually create all of the folders, they do not return upon a reboot or alsasound restart. Anyone know of a fairly simple way of completely re-doing my udev config without crippling my system. Basically undoing and then redoing is what I aim to do. Unless someone knows how to force udev to create the necessary devices?
OMG ... my asound.state file was corrupted :/ In the End, all I did was type: alsactl store and it re-wrote the file :/ x 2