Rafael Dantas de Castro <rafael.castro <at> gmail.com> writes:
> I have that same mobo at home and have no problem at all with alsa. > compiled everything as modules, so upon initialization I get : I rebuilt a 2.6.11-gentoo-r11 kernel with all sound as <m> modules: device drivers-->sound <M> Sound card support --> ALSA <M> Advanced Linux Sound Architecture <M> Sequencer support < > Sequencer dummy client <M> OSS Mixer API <M> OSS PCM (digital audio) API -->PCI devices <M> VIA 82C686A/B, 8233/8235 AC97 Controller <M> VIA 82C686A/B, 8233 based Modems > Advanced Linux Sound Architecture Driver Version > No soundcards found. I get nothing from 'dmesg' now about ALSA or sound.... > But then I am able to load the modules correctly: > demian etc # lsmod > Module Size Used by > fglrx 239356 17 > lirc_serial 12128 0 > lirc_dev 11916 1 lirc_serial > snd_via82xx 23072 2 > snd_ac97_codec 74232 1 snd_via82xx > snd_mpu401_uart 6528 1 snd_via82xx > snd_rawmidi 20768 1 snd_mpu401_uart > via_agp 7680 1 > visor 17676 0 > usbserial 26600 1 visor > via_rhine 20484 0 Likewise lsmod now reveals: Module Size Used by snd_seq 52048 0 snd_pcm_oss 48928 0 snd_mixer_oss 18240 1 snd_pcm_oss snd_via82xx 23392 0 snd_ac97_codec 74616 1 snd_via82xx snd_pcm 83396 3 snd_pcm_oss,snd_via82xx,snd_ac97_codec snd_timer 22020 2 snd_seq,snd_pcm snd_page_alloc 8068 2 snd_via82xx,snd_pcm snd_mpu401_uart 6848 1 snd_via82xx snd_rawmidi 21024 1 snd_mpu401_uart snd_seq_device 7500 2 snd_seq,snd_rawmidi snd 49636 10 snd_seq,snd_pcm_oss,snd_mixer_oss,snd_via82xx,snd_ac97_codec,snd_pcm, snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device soundcore 8288 1 snd > Here´s my /etc/modules.d/alsa: > > # Alsa 0.9.X kernel modules' configuration file. > # $Header: > > # 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-interwave > ## 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 > > In my kernel config I have > > CONFIG_SND_VIA82XX=m > # CONFIG_SND_VIA82XX_MODEM is not set Here's the relevant portions of my current /etc/modules.d/alsa: # ALSA portion alias char-major-116 snd # OSS/Free portion alias char-major-14 soundcore # 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 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 # James added these lines: alias snd-card-0 snd-via82xx alias sound-slot-0 snd-via82xx > I don´t remember any special steps I had to go through besides the > ALSA Guide (from gentoo.org).... if there´s any other setting you´d > like to know about, let me know... I followed the alsa guide. All is fine except alsa-drivers won't emerge. Something's still not right with the kernel. Not that I have selected everything ALSA as a module, nothing shows up in 'dmesg' (which may be ok) but when I try to emerge alsa-driver I get an error that the system thinks that the sound stuff is still statically compiled into the kernel....? emerge -s alsa-driver reveals: <snip> * ALSA is already compiled into the kernel. * Your kernel is configured to use the deprecated OSS drivers. Please disablethem and re-emerge alsa-driver. * Please check to make sure these options are set correctly. * Once you have satisfied these options, please try merging * this package again. !!! ERROR: media-sound/alsa-driver-1.0.8 failed. !!! Function check_extra_config, Line 430, Exitcode 0 !!! Incorrect kernel configuration options !!! If you need support, post the topmost build error <snip> from 'make menuconfig here's what I used: <M> Advanced Linux Sound Architecture <M> Sequencer support < > Sequencer dummy client <M> OSS Mixer API M> OSS PCM (digital audio) API from PCI devices here's what I selected: <M> VIA 82C686A/B, 8233/8235 AC97 Controller <M> VIA 82C686A/B, 8233 based Modems rebuild kernel. Then I run 'modules-update' and reboot. Now I get sound out of the middle jack....(yea) I'm using kmix and KsCD to play a CD for testing! It's playing music! Thanks everyone for the help! Note anyideas on why 'emerge alsa-driver' fails? How does sound work (stereo for now) without alsa-driver? James -- gentoo-user@gentoo.org mailing list