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

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

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
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.

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.

Hope this helps,
Holly
-- 
gentoo-user@gentoo.org mailing list

Reply via email to