For some reason, which must be related to the way the alsasound recognizes configured sound cards, /etc/init.d/alsasound will load all configured sound driver modules, except for the intel-8x0 driver, which is needed for my single sound card based laptop. It must be releated to this line in alsasound: DRIVERS="$(modprobe -c | grep -E "^[[:space:]]*alias[[:space:]]+snd-card-[[:digit:]]" | awk '{print $3}')" The operation to assign DRIVERS does not result in any output, so that DRIVERS is empty. Environment is kernel-2.6.6 with sound support enabled, but using separate alsa-driver package. Reproducible: Always Steps to Reproduce: 1. /etc/init.d/alsasound start 2. 3. Actual Results: DLD8-FBLK31J root # /etc/init.d/alsasound start * Loading ALSA drivers... * Using ALSA OSS emulation * Loading: snd-seq-oss * Loading: snd-mixer-oss * Loading: snd-pcm-oss * Running card-dependent scripts * Restoring Mixer Levels * No mixer config in /etc/asound.state, you have to unmute your card! [ !! ] Expected Results: * Loading ALSA drivers... * Using ALSA OSS emulation * Loading: snd-seq-oss * Loading: snd-mixer-oss * Loading: snd-pcm-oss * Loading: snd-intel8x0 * Running card-dependent scripts * Restoring Mixer Levels **** /etc/modules.d/alsa **** DLD8-FBLK31J root # cat /etc/modules.d/alsa # Alsa 0.9.X kernel modules' configuration file. # $Header: /home/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v 1.1 2003/08/05 21:07:55 johnm Exp $ # ALSA portion alias char-major-116 snd # OSS/Free portion alias char-major-14 soundcore ## ## IMPORTANT: ## You need to customise this section for your specific sound card(s) ## and then run `update-modules' command. ## Read alsa-driver's INSTALL file in /usr/share/doc for more info. ## ## ALSA portion alias snd-card-0 snd-intel8x0 ## alias snd-card-1 snd-ens1371 ## OSS/Free portion alias sound-slot-0 snd-card-0 ## alias sound-slot-1 snd-card-1 ## # OSS/Free portion - card #1 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 ## OSS/Free portion - card #2 ## alias sound-service-1-0 snd-mixer-oss ## alias sound-service-1-3 snd-pcm-oss ## alias sound-service-1-12 snd-pcm-oss alias /dev/mixer snd-mixer-oss alias /dev/dsp snd-pcm-oss alias /dev/midi snd-seq-oss # Set this to the correct number of cards. options snd cards_limit=1 **** emerge info **** DLD8-FBLK31J root # emerge info Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040420-r0, 2.6.6) ================================================================= System uname: 2.6.6 i686 Intel(R) Pentium(R) M processor 1600MHz Gentoo Base System version 1.4.15 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox userpriv" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi acpi4linux aim alsa antlr apache2 apm avi berkdb bluetooth bonobo cddb cdr chroot crypt cups devfs26 doc dvd encode esd ethereal evo fam foomaticdb gdbm gif gimp gimpprint glade gnome gpm gstreamer gtk gtk2 gtkhtml ieee1394 imagemagick imlib irda java jpeg ldap libg++ libwww mad mbox mikmod mmx motif mozilla mpeg mpeg4 msn ncurses nls odbc oggvorbis opengl pam pcmcia pda pdflib perl png postgres ppds python quicktime readline samba scanner sdl slang sox spell sse ssl svga tcltk tcpd truetype usb vanilla x86 xml2 xmms xv zlib"
taking ownership, since I'm experiencing this currently :)
Having the same problem here on 2 pc's: 1.) snd-intel8x0, alsa 1.0.3, gentoo-dev-sources-2.6.5-r1 2.) snd-via82xx, alsa 1.0.3, gentoo-dev-sources-2.6.5-r1 I read something in kernel (or alsa) changelog that they made changes to alsa's AC97 handling, so i think this is releated, since both use AC97.
i tried using 2.6.4 and got the same result :(
The modprobe installed by sys-apps/module-init-tools doesn't work anymore in the way the old modprobe used to. The solution of this problem is replacing "modprobe -c" with "cat /etc/modules.conf".
I boot my computer with a usb-midi keyboard device attached. that module somehow is auto-loaded before the driver for my 1010lt delta card (ice1712). the script then detects my usb-midi device as a *sound card* and says "Alsa Detected" forgoing any loading of the driver i need for my real sound device. there needs to be better logic to detect if all the devices configured in the config files are actually with loaded drivers or not.
Hi, have just discovered similar situation, but ... was wondering, why mixer state wasn't loaded at startup, so started to dig around. It is a newly installed system and sound worked (with no coniguration from me) and this was a trap, as 1. my soundcard was NOT configured, but detected by pci hotplug and the module was correctly loaded 2. after entering alias snd-card-0 snd-intel8x0 AND running update-modules "modprobe -c" worked as expected! Solution: either force proper configuration via alias OR depend on hotplug (what do do after alsasound restart?) Nikolaus
Is alsasound in your boot runlevel? Did youu run modules-update after editing /etc/modules.d/alsa?
the init script I just added to portage works with a larger range of configurations... please try it out.
Working.