Re: [gentoo-user] ALSA drivers don't load - was Re: [gentoo-user] Soundcard not detected
greOn Mon, 2005-05-23 at 00:52 -0400, Colin wrote: Nick Rout wrote: On Mon, 23 May 2005 00:23:06 -0400 Colin wrote: I compiled ALSA as a module instead. That got rid of the above error, but /etc/init.d/alsasound still spits out the same error, but loads a few more modules: * Loading ALSA modules... [ ok ] * Loading: snd-card-0...[ ok ] * Loading: snd-seq-oss [ ok ] * Loading: snd-pcm-oss [ ok ] * Loading: snd-seq [ ok ] * ERROR: Failed to load necessary drivers * Restoring Mixer Levels... [ ok ] * No mixer config in /etc/asound.state, you have to unmute your card! [ ok ] What does lsmod say after all that? I'll compare it to a working config and see what you might be missing ! Module Size Used by snd_mixer_oss 17856 0 snd_seq_midi_event 6336 0 snd_mpu401_uart6400 0 snd_seq_device 6892 0 bluetooth45124 0 nvidia 3461628 12 Like I said, like your original message said, you do not appear to have the snd module. try the following sommand, the result of mine follows: $ grep -i snd /usr/src/linux/.config|egrep -v ^# CONFIG_SND=m CONFIG_SND_TIMER=m CONFIG_SND_PCM=m CONFIG_SND_RAWMIDI=m CONFIG_SND_SEQUENCER=m CONFIG_SND_SEQ_DUMMY=m CONFIG_SND_OSSEMUL=y CONFIG_SND_MIXER_OSS=m CONFIG_SND_PCM_OSS=m CONFIG_SND_SEQUENCER_OSS=y CONFIG_SND_MPU401_UART=m CONFIG_SND_AC97_CODEC=m CONFIG_SND_VIA82XX=m Allow for the fact that my sound card is an ac97/via card, and tell us what the difference is. oh and here is my lsmod|grep snd maybe don't worry about the midi stuff yet. You still seem to be missing some. [EMAIL PROTECTED] linux $ lsmod|grep snd snd_pcm_oss53280 0 snd_mixer_oss 20096 2 snd_pcm_oss snd_seq_oss35456 0 snd_seq_midi_event 8320 1 snd_seq_oss snd_seq55312 4 snd_seq_oss,snd_seq_midi_event snd_via82xx28064 4 snd_ac97_codec 77432 1 snd_via82xx snd_pcm95496 3 snd_pcm_oss,snd_via82xx,snd_ac97_codec snd_timer 26372 2 snd_seq,snd_pcm snd_page_alloc 10116 2 snd_via82xx,snd_pcm snd_mpu401_uart 8320 1 snd_via82xx snd_rawmidi25888 1 snd_mpu401_uart snd_seq_device 8972 3 snd_seq_oss,snd_seq,snd_rawmidi snd58212 17 snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device -- Colin -- Nick Rout [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
[gentoo-user] ALSA drivers don't load - was Re: [gentoo-user] Soundcard not detected
I recompiled my kernel with ALSA enabled and my card (Dell OEM Aureal Vortex, driver snd-au8820) compiled as a module, which I added to /etc/modprobe.conf/kernel-2.6. I tried to emerge alsa-drivers, but it said it was unnecessary. I emerged alsa-utils successfully. When I went to run alsaconf, it said three times before the menu came up, modinfo: could not find module snd alsaconf seemed to work perfectly, and then it exited with a cheerful message. Starting the alsasound service goes like this: * Loading ALSA modules... [ ok ] * Loading snd-card-0...[ ok ] * ERROR: Failed to load necessary drivers * Restoring Mixer Levels... * No mixer config in /etc/asound.state, you have to unmute your card! [ ok ] I've attempted to modprobe snd-au8820 and its dependencies, snd-mpu401-uart and snd-ac97-codec before (re)starting alsasound, but that doesn't work, either. I followed the Gentoo ALSA guide to the letter. Once again, I must have misconfigured my kernel. (And yes, lspci now finds my soundcard. Didn't change anything, though.) I did all this from xterm within GNOME (logged in as myself but su'ed to root in the terminal), but that's probably not a problem since I've rebooted but still get the same errors when alsasound loads at runlevel 2 (boot). -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ALSA drivers don't load - was Re: [gentoo-user] Soundcard not detected
When I went to run alsaconf, it said three times before the menu came up, modinfo: could not find module snd alsaconf seemed to work perfectly, and then it exited with a cheerful message. what's in your /etc/modules.d/alsa after running alsaconf? Best regards ce -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ALSA drivers don't load - was Re: [gentoo-user] Soundcard not detected
When you enabled your card in the ALSA kernel config, did you select it as a module? Can you find the module files in the following directory? /lib/modules/2.6.11-gentoo-r9/kernel/sound (I has happened to me that add support for my card(s) as kernel built-ins, and suddenly ALSA does not work) On 5/22/05, Colin [EMAIL PROTECTED] wrote: I recompiled my kernel with ALSA enabled and my card (Dell OEM Aureal Vortex, driver snd-au8820) compiled as a module, which I added to /etc/modprobe.conf/kernel-2.6. I tried to emerge alsa-drivers, but it said it was unnecessary. I emerged alsa-utils successfully. When I went to run alsaconf, it said three times before the menu came up, modinfo: could not find module snd alsaconf seemed to work perfectly, and then it exited with a cheerful message. Starting the alsasound service goes like this: * Loading ALSA modules... [ ok ] * Loading snd-card-0...[ ok ] * ERROR: Failed to load necessary drivers * Restoring Mixer Levels... * No mixer config in /etc/asound.state, you have to unmute your card! [ ok ] I've attempted to modprobe snd-au8820 and its dependencies, snd-mpu401-uart and snd-ac97-codec before (re)starting alsasound, but that doesn't work, either. I followed the Gentoo ALSA guide to the letter. Once again, I must have misconfigured my kernel. (And yes, lspci now finds my soundcard. Didn't change anything, though.) I did all this from xterm within GNOME (logged in as myself but su'ed to root in the terminal), but that's probably not a problem since I've rebooted but still get the same errors when alsasound loads at runlevel 2 (boot). -- Colin -- gentoo-user@gentoo.org mailing list -- If the truth can't set you free, a lie will save you. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ALSA drivers don't load - was Re: [gentoo-user] Soundcard not detected
Christoph Eckert wrote: When I went to run alsaconf, it said three times before the menu came up, modinfo: could not find module snd alsaconf seemed to work perfectly, and then it exited with a cheerful message. what's in your /etc/modules.d/alsa after running alsaconf? Everything looks to be correct. # Alsa 0.9.X kernel modules' configuration file. # $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v 1.4 2004/11/16 01:31:22 eradicator Exp $ alias /dev/mixer snd-mixer-oss alias /dev/dsp snd-pcm-oss alias /dev/midi snd-seq-oss # --- BEGIN: Generated by ALSACONF, do not edit. --- # --- ALSACONF verion 1.0.8 --- alias char-major-116 snd alias char-major-14 soundcore 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 alias snd-card-0 snd-au8820 alias sound-slot-0 snd-au8820 # --- END: Generated by ALSACONF, do not edit. --- -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ALSA drivers don't load - was Re: [gentoo-user] Soundcard not detected
On Sun, 22 May 2005 13:48:44 -0400 Colin wrote: A. R. wrote: When you enabled your card in the ALSA kernel config, did you select it as a module? Can you find the module files in the following directory? /lib/modules/2.6.11-gentoo-r9/kernel/sound I tried compiling in Aureal Vortex support, but when that also didn't work, I compiled it as a module. I'd prefer to have it compiled into the kernel, though. Here's a little directory tree. /lib/modules/2.6.11-gentoo-r9/kernel/sound/ core/ ...seq/ ..snd-seq-midi.ko ..snd-rawmidi.ko drivers/ ...mpu401/ ..snd-mpu401-uart.ko ..snd-mpu401.ko pci/ ...ac97/ .. snd-ac97-codec.ko ...au88x0/ .. snd-au8820.ko (I has happened to me that add support for my card(s) as kernel built-ins, and suddenly ALSA does not work) All right, then I'll keep it as a module. go back to your original message Colin! quote When I went to run alsaconf, it said three times before the menu came up, modinfo: could not find module snd alsaconf seemed to work perfectly, and then it exited with a cheerful message./quote looks like you are missing snd.ko. I am not sure where in the kernel this is activated - perhaps you have it as a builtin instead of a module. -- Colin -- gentoo-user@gentoo.org mailing list -- Nick Rout -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ALSA drivers don't load - was Re: [gentoo-user] Soundcard not detected
Nick Rout wrote: go back to your original message Colin! quote When I went to run alsaconf, it said three times before the menu came up, modinfo: could not find module snd alsaconf seemed to work perfectly, and then it exited with a cheerful message./quote looks like you are missing snd.ko. I am not sure where in the kernel this is activated - perhaps you have it as a builtin instead of a module. I compiled ALSA as a module instead. That got rid of the above error, but /etc/init.d/alsasound still spits out the same error, but loads a few more modules: * Loading ALSA modules... [ ok ] * Loading: snd-card-0...[ ok ] * Loading: snd-seq-oss [ ok ] * Loading: snd-pcm-oss [ ok ] * Loading: snd-seq [ ok ] * ERROR: Failed to load necessary drivers * Restoring Mixer Levels... [ ok ] * No mixer config in /etc/asound.state, you have to unmute your card! [ ok ] -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ALSA drivers don't load - was Re: [gentoo-user] Soundcard not detected
On Mon, 23 May 2005 00:23:06 -0400 Colin wrote: Nick Rout wrote: go back to your original message Colin! quote When I went to run alsaconf, it said three times before the menu came up, modinfo: could not find module snd alsaconf seemed to work perfectly, and then it exited with a cheerful message./quote looks like you are missing snd.ko. I am not sure where in the kernel this is activated - perhaps you have it as a builtin instead of a module. I compiled ALSA as a module instead. That got rid of the above error, but /etc/init.d/alsasound still spits out the same error, but loads a few more modules: * Loading ALSA modules... [ ok ] * Loading: snd-card-0...[ ok ] * Loading: snd-seq-oss [ ok ] * Loading: snd-pcm-oss [ ok ] * Loading: snd-seq [ ok ] * ERROR: Failed to load necessary drivers * Restoring Mixer Levels... [ ok ] * No mixer config in /etc/asound.state, you have to unmute your card! [ ok ] What does lsmod say after all that? I'll compare it to a working config and see what you might be missing ! -- Colin -- gentoo-user@gentoo.org mailing list -- Nick Rout -- gentoo-user@gentoo.org mailing list