Subject: load module on boot?

From: Tony Baldwin <[email-masked]>
Date: Fri, 16 Sep 2016 09:59:10 -0400

Greetings, friends,
so something went wrong with my old Debian installation and it won't 
boot (dumps to emergency mode every time).
Consequently, I installed Jessie on the other hdd (that had win7), and 
I'm having a couple of minor troubles:
First, I need the snd-mixer-oss module to load on boot. I can load it 
manually once I'm already booted with
sudo modprobe snd-mixer-oss
, but I want it to be automatic so I don't have to do this.
googling got me two solutions, neither of which is working.
The first was to create an /etc/modules-load.d/modules.conf and  add a 
line like this:
alias sound-service-0-0 snd-mixer-oss

The other was to create alsa.conf in the same dir with:
# ALSA portion
        alias char-major-116 snd
        alias snd-card-0 snd-ali5451
        # module options should go here

        # OSS/Free portion
        alias char-major-14 soundcore
        alias sound-slot-0 snd-card-0

        # card #1
        alias sound-service-0-0 snd-mixer-oss
        alias sound-service-0-1 snd-seq-oss
        alias sound-service-0-3 snd-pcm-oss
        alias sound-service-0-8 snd-seq-oss
        alias sound-service-0-12 snd-pcm-oss

Neither of these solutions seems to have made any difference.
I also looked for this module in rcconf, but it's not in there.
I'll ask about the other problem in another msg to keep two distinct 
threads.

Any and all assistance appreciated in advance.

LLAP,
Tony

-- 
http://tonybaldwin.me
all tony, all the time

---

From: David Wright <[email-masked]>
Date: Fri, 16 Sep 2016 20:44:01 -0500

> The first was to create an /etc/modules-load.d/modules.conf and  add a

I think you might be confusing /etc/modules-load.d/ (names of modules
to load statically) with /etc/modprobe.d/ (and the old /etc/modutils/*)
which has options, and aliases for autoloading modules.

I find /etc/modules is the easiest place to put the names (just the
name, one per line) of any modules you want loading permanently. This
location should work for wheezy too.

Cheers,
David.

---

From: Ric Moore <[email-masked]>
Date: Fri, 16 Sep 2016 17:01:20 -0400

> The first was to create an /etc/modules-load.d/modules.conf and  add a

Just use "padsp" before your program, ie "padsp kino" on a command line 
or edit an alias. I think you will need the libpulsedsp package 
installed. No need to make something hard. Ric

-- 
My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.
http://linuxcounter.net/user/44256.html