Holly Bostick <motub <at> planet.nl> writes:

> 
> James schreef:
> 
> > ## 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
> > ##
> 
> All these entries are commented out, and not replicated later in the file.
> 
> This can't be right.
> 
> Basically, you need

OK, I built a new 2.6.11-gentoo-r11 kernel with everything under 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      


> 
> alias snd-card-0 snd-via82xx
> alias sound-slot-0 snd-via82xx
> 

OK I addes these lines to a pristine /etc/modules.d/alsa file.

> to be listed, uncommented, in this file. (These settings are copied from
> an old backup-- my motherboard has VIA 8233 onboard sound as well, but I
> replaced it with a dedicated C-Media card and turned off the onboard sound).
> 
> You also need to make sure that the snd-via82xx modules are loaded,
> preferably in modules.autoload.d/kernel-2.6, rather than compiled into
> the kernel. In my experience, the alsasound script vastly prefers that
> all possible components (excepting snd and alsa itself) be loaded as
> modules either just prior to, or during the loading of the script.
> Alsasound also seems to prefer being loaded in the default runlevel,
> rather than the boot runlevel.
> 
> So how I had it set up was the following modules were loaded from
> modules.autoload.d:
> 
> snd_via82xx
> snd_pcm_oss
> snd_seq_oss
> snd-seq-midi-emul

OK, I added these to '/etc/modules.autoload.d/kernel-2.6'
and rebooted. I did not have anything 'oss' selected;


> gameport
> ns558
> joydev
> sidewinder
> 
> The last four are only relevant if you have the gameport enabled, want
> to use it, and have a Sidewinder connected to it (which I also don't,
> anymore). Other modules are loaded automatically by some of these
> modules-- snd-seq-oss loads some other sequencer module that I don't
> remember without looking in the kernel config, but I do remember that
> you don't have to load it explicitly for that reason.

Wells something's not right. Maybe I need to select some of the OSS
options? 'emerge -s alsa-driver' fails:


 * Checking for suitable kernel configuration options <OK>
These are red --> failed
 *   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.

> Anyway, the reason you don't have any sound cards is likely both because
> you don't have the modules loaded, and because you haven't told alsa
> that you have a card that needs modules loaded for it (alias
> snd-card-0). Fix that up, and it should work OK.

I'm not sure what's screwed up. 'rc-update show' reveals:
     alsa |
alsasound | boot

???
James


-- 
[email protected] mailing list

Reply via email to