Bug 147637 - snd-emu10k1-synth and snd-trident-synth are never loaded
snd-emu10k1-synth and snd-trident-synth are never loaded
Product: Fedora
Classification: Fedora
Component: module-init-tools (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
David Lawrence
: 143314 (view as bug list)
Depends On:
Blocks: FC4Blocker
  Show dependency treegraph
Reported: 2005-02-09 18:21 EST by Nicholas Miell
Modified: 2014-03-16 22:52 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-04-25 12:42:41 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Nicholas Miell 2005-02-09 18:21:42 EST
The emu10k1 and trident sound drivers are split into two modules -- snd-emu10k1
+ snd-emu10k1-synth and snd-trident + snd-trident-synth.

The synth-free modules drive PCM output, the synth modules deal with wave table

If the synth modules are not loaded, synth output isn't possible. Unfortunately,
nothing in Fedora ever configures them to be loaded when their cooresponding
synth-free modules are loaded.
Comment 1 Bastien Nocera 2005-04-02 12:22:43 EST
Either kudzu or the initscripts should set that up.
Comment 2 Bill Nottingham 2005-04-05 13:59:42 EDT
See modprobe.conf.dist:

install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 &&
/sbin/modprobe snd-emu10k1-synth

Does that not work for you?
Comment 3 Nicholas Miell 2005-04-05 15:59:58 EDT
lsmod | grep snd
snd_emu10k1            99301  2
snd_rawmidi            29153  1 snd_emu10k1
snd_seq_device         11345  2 snd_emu10k1,snd_rawmidi
snd_ac97_codec         85473  1 snd_emu10k1
snd_pcm_oss            59381  0
snd_mixer_oss          21185  2 snd_pcm_oss
snd_pcm               109769  3 snd_emu10k1,snd_ac97_codec,snd_pcm_oss
snd_timer              28617  1 snd_pcm
snd_page_alloc         12873  2 snd_emu10k1,snd_pcm
snd_util_mem            6721  1 snd_emu10k1
snd_hwdep              11977  1 snd_emu10k1
snd                    62729  11
soundcore              12385  2 snd

Apparently not.
Comment 4 Nicholas Miell 2005-04-05 16:06:55 EDT
Actually, if I had to guess, I'd say that modprobe will only allow one install
directive per module, and the last one wins -- which is the 

install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 &&
/usr/sbin/alsactl restore >/dev/null 2>&1 || :

found in /etc/modprobe.conf and not the stanza from /etc/modprobe.conf.dist
Comment 5 Bill Nottingham 2005-04-19 23:36:25 EDT
*** Bug 143314 has been marked as a duplicate of this bug. ***
Comment 6 Bill Nottingham 2005-04-22 14:30:33 EDT
If you remove the 'install' line from /etc/modprobe.conf:

a) does it solve the loading issue?
b) do mixer savings still get restored correctly?
Comment 7 Nicholas Miell 2005-04-22 22:34:57 EDT
(In reply to comment #6)
> If you remove the 'install' line from /etc/modprobe.conf:
> a) does it solve the loading issue?

> b) do mixer savings still get restored correctly?
yes, although I haven't the slighest idea what loads them...

Hmm. apparently /etc/dev.d/sound/alsa.dev is loading them and /etc/init.d/halt
is saving them, so the kudzu-provided install/remove lines in /etc/modprobe.conf
are both unnecessary and detrimental.
Comment 8 Nicholas Miell 2005-04-22 22:54:05 EDT
However, snd-seq-oss doesn't get loaded.

/etc/modprobe.conf.dist has 

install snd-pcm-device /sbin/modprobe --ignore_install snd-seq-device &&
/sbin/modprobe snd-seq-oss

but (afaict) snd-pcm-device doesn't actually exist.

Replacing that with

install snd-seq /sbin/modprobe --ignore-install snd-seq && /sbin/modprobe

fixes the problem. (Although, it may be that snd-pcm-device was a typo for
snd-seq-device; I have no idea how the maze of ALSA modules is supposed to fit
together and I only tested with snd-seq, not snd-seq-device).

Should I file a new bug on module-init-tools, or is this adequate?
Comment 9 Bill Nottingham 2005-04-25 12:42:41 EDT
The remove line is ok. Nothing actually removes it in a default config, though.

As to the seq-oss line:

a) that's a typo
b) it's still wrong, as you really want that to be loaded by default.

It probably should just piggyback on the snd-pcm line, so it gets loaded for any
sound device.

kudzu-1.1.113-1 doesn't write install lines any more, which should solve this.

module-init-tools-3.1-3 will change the snd-seq line.

Note You need to log in before you can comment on or make changes to this bug.