[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: alsa: no device



Thaden <thaden@freenet.de> writes:

> Am Don, 2002-11-07 um 20.41 schrieb Jack O'Quin:
> > Thaden <thaden@freenet.de> writes:
> > 
> > I presume you have a sound card.  Which one?
> it's an onboard c-media chip cm 8738

Here's a URL for some useful ALSA help for your chip...

  http://alsa-project.org/alsa-doc/doc-php/template.php3?company=C-Media&card=CMI8738&chip=CMI8738&module=cmipci

> > What does /etc/modutils/alsa contain?
> 
> alias char-major-116 snd
> alias char-major-14 soundcore
> 
> options snd snd_major=116 snd_cards_limit=1 snd_device_mode=0660
> snd_device_gid=29 snd_device_uid=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
> 
> alias snd-card-0 snd-cmpci
> #alias snd-card-1 snd-serial
> #alias snd-card-2 snd-share
> #alias snd-card-3 snd-virmidi
> 
> alias sound-slot-0 snd-card-0
> alias sound-slot-1 snd-card-1
> alias sound-slot-2 snd-card-2
> alias sound-slot-3 snd-card-3

That looks OK as far as I can see.  One thing to watch our for: the
module option names were recently changed in ALSA 0.9rc5.  The "snd_"
was deleted from *all* ALSA module option names.  Don't confuse this
with the "snd-" prefix for ALSA module names!  :-)

You said earlier that you are running 2.4.18-k7 kernel with
precompiled alsa-modules (0.9).  Does that mean you installed
alsa-modules-2.4.18-k7 from unstable?  That version is based on ALSA
0.9rc1, so your option names (like snd_major) are currently correct.
You may need to watch out for this change in the future, though.

> snd-cmipci.o is in the appropiate /lib/modules directory

That would be /lib/modules/2.4.18-k7/alsa, right?

> > Does "lsmod" show that any snd* drivers are loaded?
> "lsmod | grep snd" shows the following:
> snd-seq-midi            3232   0 (unused)
> snd-rawmidi            12864   0 [snd-seq-midi]
> snd-seq-midi-event      3096   0 [snd-seq-midi]
> snd-seq                37484   0 [snd-seq-midi snd-seq-midi-event]
> snd-timer              10432   0 [snd-seq]
> snd-seq-device          3904   0 [snd-seq-midi snd-rawmidi snd-seq]
> snd                    25704   0 [snd-seq-midi snd-rawmidi
> snd-seq-midi-event snd-seq snd-timer snd-seq-device]
> soundcore               3684   2 [cmpci snd]

That looks OK as far as it goes, but your snd-cmipci driver is not
getting loaded, for some reason.  I believe that causes the error
you're seeing.

What happens if you run (as root) "modprobe snd-cmipci"?

I don't know anything specific about this driver.  The web page listed
above shows some options you could try.  "modinfo snd-cmipci" should
give you the same information.  But, I don't see anything there that
you obviously need for basic operation.

Regards,
-- 
  Jack O'Quin
  Austin, Texas, USA



Reply to: