Raffaele BELARDI <raffaele.belardi <at> st.com> writes:

> It is motherboard-specific, I can only tell you how I do it on my Asus
> K8V: at power-up hit the DEL key to enter the BIOS setup, then go to the
> "Onboard devices Configuration" and set "AC97 audio" to enabled.
> 
OK, I check and both are selected for 'AUTO'.


> Anyway, here's my relevant configuration:
> 
> # relevant dmesg
> Jun 12 20:53:36 kernel: Advanced Linux Sound Architecture Driver Version
> 1.0.8 (Thu Jan 13 09:39:32 2005
> UTC).
> Jun 12 20:53:36 kernel: ALSA device list:
> Jun 12 20:53:36 kernel:   #0: VIA 8237 with AD1980 at 0xcc00, irq 22
> 

Well, I went and build a new 2.6.11-gentoo-r11 kernel, selecting
everything for sound as a module:

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      


> # lspci
> 
> 0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc.
> VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
> 

likewise:
0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc. 
VT8233/A/8235/8237 AC97 Audio Controller (rev 50)

> # relevant /usr/src/linx/.config
> 
> CONFIG_SND=y
> CONFIG_SND_TIMER=y
> CONFIG_SND_PCM=y
> CONFIG_SND_HWDEP=y
> CONFIG_SND_RAWMIDI=y
> # CONFIG_SND_SEQUENCER is not set
> # CONFIG_SND_MIXER_OSS is not set
> # CONFIG_SND_PCM_OSS is not set
> CONFIG_SND_BIT32_EMUL=y
> CONFIG_SND_RTCTIMER=y
> # CONFIG_SND_VERBOSE_PRINTK is not set
> # CONFIG_SND_DEBUG is not set
> 
> CONFIG_SND_AC97_CODEC=y
> CONFIG_SND_VIA82XX=y
> # CONFIG_SND_VIA82XX_MODEM is not set
> 


mine looks like this:

CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
# CONFIG_SND_SEQ_DUMMY is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
# CONFIG_SND_SEQUENCER_OSS is not set
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set

> # cat make.conf | grep ALSA
> # (not sure what this is needed for, since I use the kernel's ALSA)
> ALSA_CARDS="via82xx"
> 
> # grub.conf
> kernel /boot/kernel-2.6.11-gentoo-r8 devfs=mount snd-via82xx.dxs_support=2
> 
> The "dxs_support" kernel boot option is required only if you want to get
> 5.1 sound out of the 8237. There are some resources on the web that
> explain why it is so, I should be able to dig them out if you need. For
> now I think you have higher priorities (i.e. make the sound work 

For now I'd just like to get the basic sound working. (I.E. ignore
5.1 audio for now.) I have 2 identical systems. I'm trying to get
ALSA working on the one without the LML framegrabber board now.

What puzzles me now is when I try to run (from the web page
http://www.gentoo.org/doc/en/alsa-guide.xml#alsa-utilities)
'emerge alsa-driver' I get this error message:
<snip>
* Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.11-gentoo-r11
 * Checking for suitable kernel configuration options
 *   ALSA is already compiled into the kernel.
 * 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, NOT this status message.


Now remember form above, everything under sound is a <m> module.


James

-- 
gentoo-user@gentoo.org mailing list

Reply via email to