From: Ray Olszewski <ray@comarre.com>
To: linux-newbie@vger.kernel.org
Subject: Re: modprobe snd-cs4236 question
Date: Wed, 20 Oct 2004 08:38:27 -0700 [thread overview]
Message-ID: <5.1.0.14.1.20041020083240.01f57b98@celine> (raw)
In-Reply-To: <Pine.LNX.4.58.0410191758500.1287@debian-emach>
At 06:12 PM 10/19/2004 -0500, James Miller wrote:
>I'm evaluating a new Debian-derivative distro called Ubuntu and have a few
>questions related to getting it working right on my hardware. I'll start
>with a simple modprobe question and later pose some more complex questions
>about LVM/webmin and console resolution. So, the question about modprobe
>and a sound module.
>
>For whatever reason, Ubuntu seems not to have detected and set up the
>sound hardware on this system. It's an onboard Crystal Semiconductor 4236
>chipset, and a bit of research on the web revealed that there are, in
>fact, Linux modules for that chipset. So, I went into Ubuntu and from a
>console issued "sudo modprobe snd-cs4236": no error messages ensued.
>Attempting to play CD's subsequently succeeded, so the right module(s)
>were loaded. Running "lsmod" revealed that several sound modules got
>loaded along with snd-cs4236: I didn't see them there on previous lsmods.
>So, now my question is how to get this modprobing automated. I know it
>will vary somewhat by distro, and Ubunut may not do everything the
>canonical Debian way. But it does have an /etc/modules file with module
>entries very similar to those I see on my other Debian system, so it seems
>this is one way to do it. But isn't this file for loading discreet
>modules? In standard Debian, can one insert a modprobe line in there, or
>are only module names allowed? Suggestions for automating this modprobing
>at boot time? Or should I perhaps plan on entering the names of each
>module that modprobe loads in that file? I looked a bit through the
>Ubunut administrative tools (uses Gnome interface) but nothing jumped out
>at me for accomplishing this. I also installed webmin, so I looked there
>but also found nothing relevant on a cursory examination. Input
>appreciated.
In "standard Debian", the entries in /etc/modules get modprobe'd, not
insmod'ed, so dependencies will be handled properly (assuming the
dependencies file is up to date ... "standard Debian" runs depmod as part
of the init process). You do put ONLY the names of the modules, plus any
arguments, you want loaded in this file ... not either "insmod" or "modprobe".
I haven't looked at Ubuntu so cannot tell you if it follows this "standard"
procedure or not. But the "standard Debian" procedure just runs this
feature from an ordinary init script (/etc/init.d/modutils), so you might
check for a corresponding init script in Ubuntu.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
next prev parent reply other threads:[~2004-10-20 15:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-19 23:12 modprobe snd-cs4236 question James Miller
2004-10-20 15:38 ` Ray Olszewski [this message]
2004-10-20 17:31 ` James Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5.1.0.14.1.20041020083240.01f57b98@celine \
--to=ray@comarre.com \
--cc=linux-newbie@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox