On Fri, Feb 14, 2003 at 10:46:08PM -0500, Chris Mitchell wrote:
> On Fri, Feb 14, 2003 at 10:09:39PM -0500, Chris Mitchell wrote:
> > On Fri, Feb 14, 2003 at 10:43:25AM -0600, Larry Holish wrote:
> 
> > > I think you should be using 'snd-emu10k1', rather than
> > > 'snd-card-emu10k1' here. See the note at the top of
> > > /usr/share/doc/alsa-base/README.Debian.
> > 
> > Hmm...  My version of that document doesn't mention that, but it does
> > sound familiar.  Anyway, I tried it. Stopped alsa, edited
> > /etc/alsa/modutils/0.9, replaced both occurrences (one alias and one in 
> > options), ran update-modules, checked the change had in fact taken effect
> > in modules.conf, started alsa... no change.  I wouldn't need to run that
> > snddevices script again or anything before it'll take effect, would I?
> 
> Okay, now this is odd.  After your changes, lsmod showed that all of the
> alsa sound-related modules were *gone*.  So I changed it back, updated
> everything, and got a "no alsa driver installed" error.  So I ran
> alsaconf *again*.  And got a new error from it:

Umm, oops.
Isolated the new error I had (one of my options lines in modules.conf
wrapped, thus causing modprobe to fail and breaking my networking, too).

Okay, so I changed my 
/etc/alsa/modutils/0.9 *again* to reflect the snd- prefix, *not* the
snd-card- prefix.  I seem to be pretty much back where I started. Amixer
still gives the same error.  Tried alsactl just for fun (saw it
suggested on some web-page somewhere) and it said "no soundcard found".
Now, after a reboot, lsmod's sound-related results look like this:
snd-card-emu10k1        1952   0 
snd-emu10k1            47200   0  [snd-card-emu10k1]
snd-pcm                46176   0  [snd-emu10k1]
snd-timer               9056   0  [snd-pcm]
snd-rawmidi            11456   0  [snd-emu10k1]
snd-hwdep               3456   0  [snd-emu10k1]
snd-util-mem            1184   0  [snd-emu10k1]
snd-ac97-codec         22848   0  [snd-emu10k1]
snd-seq-device          3744   0  [snd-card-emu10k1 snd-rawmidi]
snd                    23336   0  [snd-card-emu10k1 snd-emu10k1 snd-pcm
snd-timer snd-rawmidi snd-hwdep snd-util-mem snd-ac97-codec
snd-seq-device]
soundcore               3556   2  [snd]

But when I look at /etc/modules.conf, there's *nothing* in there that
says snd-card-emu10k1... To be exact, it currently says this:
### update-modules: start processing /etc/modutils/alsa

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 0.4.3b ---
alias char-major-116 snd
alias snd-card-0 snd-emu10k1
options snd snd_major=116 snd_cards_limit=1 snd_device_mode=0660
snd_device_gid=29 snd_device_uid=0
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
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
# --- END: Generated by ALSACONF, do not edit. ---

### update-modules: end processing /etc/modutils/alsa

So where is that first module (snd-card-emu10k1) coming from? Why are there
references to it after several of the other modules? Is it supposed to be
there? Is it part of the non-ALSA sound drivers (OSS?)? Or is it a dummy
for backwards-compatibility?
I've definitely read that the OSS drivers must *not* be loaded, and that
ALSA won't work if they are.
I did catch alsaconf writing to /etc/alsa/modultils/0.5, and putting
references in there to snd-card-emu10k1, even though
/etc/modutils/alsa is linked to 0.9... but then I  tried (just in case)
copying 0.9 (with the settings as shown) on top of 0.5 and update-modules
and reboot again...
No joy.
Still I have the same modules as listed above, including snd-card-emu10k1
still I get the same error from amixer (and no sound).

So my immediate question now is this:  Can anyone tell me whether that
first module is supposed to be there?  and if not, how do I make
it go away?
("my *two* immediate questions...")
And if it ain't that... where do I turn next?
("my *three* immediate questions...")
("Nobody expects the Spanish inquisition!")
(...For any Monty Python fans in the crowd.)

I'm starting to feel like my learning curve is approaching a vertical
asymptote.  The more I pound on this thing, the more it has no effect, and
I seem to be getting *more* puzzled, not less.

At what point do I give up on the packaged version of this stuff, purge it,
and start from source, anyway? Keep in mind that my experience with doing
*anything* from source is limited to writing a few C programs for a
first-year class in "C programming for engineers".

I think I've already given up on 'alsaconf'.  It doesn't detect my card,
and instead writes what appear to be *obsolete* settings to a file that
nothing links to.  Duh.  Anybody know if there's an alsaconf 0.9 out there?
That might actually be some use.

Sorry for my lengthy bitching, and thanks again for your help and advice.
        -Chris

Attachment: msg30950/pgp00000.pgp
Description: PGP signature

Reply via email to