When I emerge alsa-driver-0.9.8 with the environment variable "ALSA_CARDS=au8830", the driver does not load. I get 3 error messages on boot regarding unresolved dependencies: snd_mpu401_uart_new_R454a8c97, snd_mpu401_uart_interrupt_Rff6d4aa3, and snd_ac97_mixer_R52d031e0. When emerged without the ALSA_CARDS variable the driver loads and works (but I just made a hundred useless drivers). I am using a Turtle Beach Montego II sound card, Gentoo Reproducible: Always Steps to Reproduce: 1. run: 'ALSA_CARDS=au8830 emerge alsa-driver' 2. Edit line in '/etc/modules.d/alsa': alias snd-card-0 snd-au8830 3. run 'modules-update' Actual Results: 'depmod' complained of 'unresolved dependencies' for 'snd-ac97' and 'snd-mpu401_uart'. The modules were not found under '/lib/modules' Expected Results: Emerge would install the required modules. (As is the case when 'ALSA_CARDS=au8830' is not defined.) Sound card: Turtle Beach Montego II A3D Portage 2.0.49-r21 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.22-gentoo-r4) ================================================================= System uname: 2.4.22-gentoo-r4 i686 Pentium II (Deschutes) Gentoo Base System version 1.4.3.10 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium2 -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -march=pentium2 -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://212.219.247.13/sites/www.ibiblio.org/gentoo/ ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/ http://mirrors.tds.net/gentoo http://gentoo.noved.org/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aavm alsa apm arts avi berkdb crypt cups encode esd evms2 fam foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde ldap libg++ libwww mad mikmod motif mozcalendar mozilla mozxmlterm mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline samba sdl slang spell ssl svga tcltk tcpd tiff truetype unicode usb wmf x86 xml xml2 xmms xv zlib"
Can you please provide us with the output of running 'lsmod' when the driver is properly loaded? Thanks.
Created attachment 24845 [details] Output from lsmod with Turtle Beach Montego II functioning properly Here's the lsmod output with the driver working properly.
Can you please try $ ALSA_CARDS="au8830 mpu401" emerge alsa-driver Hopefully that pulls in the right drivers. If not, can you run: $ qpkg -l alsa-driver qpkg is in gentoolkit if you don't have it already
Created attachment 24887 [details] Output from `qpkg -l alsa-driver` with ALSA_CARDS="au8830 mpu401"
Tried `ALSA_CARDS="au8830 mpu401" emerge alsa-drivers`. The mpu401 drivers were pulled in, but I still get an error when the alsa-driver tries to load: "...snd-au8830.o: unresolved symbol snd_ac97_mixer_R52d031e0". Then snd-au8830.o fails to load. It appears that the missing module is /lib/modules/2.4.22-gentoo-r5/kernel/sound/pci/ac97/snd-ac97-codec.o.
Ok. Was this working in other versions of alsa (where you just set ALSA_CARDS=au8830), or is this the only broken version?
Symptoms: 1) ALSA_CARDS undefined: au8830.o loads 2) ALSA_CARDS=au8830: au8830.0 does not load due to unresolved dependencies for mpu401 and ac97 3) ALSA_CARDS="au8830 mpu401": au8830.o does not load due to unresolved dependencies for ac97
Right, but are other versions of alsa affected by this problem?
I don't know about other versions. I'm new to Gentoo, and this is my first version of alsa-driver.
ok thanks. I'll look into it further...
A fix has been committed to portage and should be on your rsync mirrors shortly. To verify that you have the fix after you 'emerge sync', please make sure you have this file /usr/portage/media-sound/alsa-driver/files/alsa-driver-0.9.8-au-fix.patch If that file is there, please emerge alsa-driver with ALSA_CARDS=au8830 Thanks.
Ran `ALSA_CARDS=au8830 emerge alsa-driver` on patched version. The drivers loaded on reboot, and all is well. Thanks!