Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #172299 > unrolled thread

load module on boot?

Started byTony Baldwin <tonybaldwin@gmx.com>
First post2016-09-16 16:00 +0200
Last post2016-09-17 03:50 +0200
Articles 3 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  load module on boot? Tony Baldwin <tonybaldwin@gmx.com> - 2016-09-16 16:00 +0200
    Re: load module on boot? Ric Moore <wayward4now@gmail.com> - 2016-09-16 23:10 +0200
    Re: load module on boot? David Wright <deblis@lionunicorn.co.uk> - 2016-09-17 03:50 +0200

#172299 — load module on boot?

FromTony Baldwin <tonybaldwin@gmx.com>
Date2016-09-16 16:00 +0200
Subjectload module on boot?
Message-ID<si1Qm-5pB-17@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#172319

FromRic Moore <wayward4now@gmail.com>
Date2016-09-16 23:10 +0200
Message-ID<si8yt-1HA-7@gated-at.bofh.it>
In reply to#172299
On 09/16/2016 09:59 AM, Tony Baldwin wrote:
> 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:

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

[toc] | [prev] | [next] | [standalone]


#172328

FromDavid Wright <deblis@lionunicorn.co.uk>
Date2016-09-17 03:50 +0200
Message-ID<sicVr-4md-3@gated-at.bofh.it>
In reply to#172299
On 09/16/2016 09:59 AM, Tony Baldwin wrote:
> 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:

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.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web