On Mon, Sep 29, 2008 at 01:54:51PM +0200, Mario 'BitKoenig' Holbe wrote:
> Even though this is tagged wontfix it is really simple to fix and `man
> modprobe.conf' suggests how:
>                  If you use the string "$CMDLINE_OPTS" in the command,

There are only a few lines (left?) with no $CMDLINE_OPTS in the install
directives. Patch attached.


regards
   Mario
-- 
File names are infinite in length where infinity is set to 255 characters.
                                -- Peter Collinson, "The Unix File System"
--- /etc/modprobe.d/alsa-base.orig	2008-09-29 09:25:20.000000000 +0200
+++ /etc/modprobe.d/alsa-base	2008-09-29 15:20:01.000000000 +0200
@@ -16,13 +16,13 @@
 #install snd-mixer /sbin/modprobe --ignore-install snd-mixer && { /sbin/modprobe --quiet snd-mixer-oss ; : ; }
 #install snd-seq /sbin/modprobe --ignore-install snd-seq && { /sbin/modprobe --quiet snd-seq-midi ; /sbin/modprobe --quiet snd-seq-oss ; : ; }
 #
-install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi && { /sbin/modprobe --quiet snd-seq-midi ; : ; }
+install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet snd-seq-midi ; : ; }
 # Cause optional modules to be loaded above sound card driver modules
 install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /lib/alsa/modprobe-post-install snd-emu10k1 ; /sbin/modprobe --quiet snd-emu10k1-synth ; }
 install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /lib/alsa/modprobe-post-install snd-via82xx ; /sbin/modprobe --quiet snd-seq ; }
 # Cause a script to be run after *-synth module initialization
-install snd-emu8000-synth /sbin/modprobe --ignore-install snd-emu8000-synth && /lib/alsa/modprobe-post-install snd-emu8000-synth
-install snd-emu10k1-synth /sbin/modprobe --ignore-install snd-emu10k1-synth && /lib/alsa/modprobe-post-install snd-emu10k1-synth
+install snd-emu8000-synth /sbin/modprobe --ignore-install snd-emu8000-synth $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-emu8000-synth
+install snd-emu10k1-synth /sbin/modprobe --ignore-install snd-emu10k1-synth $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-emu10k1-synth
 # Cause a script to be run after card driver module initialization
 install snd-ad1816a /sbin/modprobe --ignore-install snd-ad1816a $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-ad1816a
 install snd-ad1848 /sbin/modprobe --ignore-install snd-ad1848 $CMDLINE_OPTS && /lib/alsa/modprobe-post-install snd-ad1848

Attachment: signature.asc
Description: Digital signature

Reply via email to