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

Re: AMD64 / Debian / Sound




Hi Ozz,

Just a brief suggestion -- you do of course need to load the module first.
Adding it to /etc/modules just tells the OS to load it on boot -- it won't
load it while you're up and running just by listing it there.

modconf is one way to load modules, and the fact that you don't see it
in modconf suggests the module hasn't been built (or you haven't run
depmod -a).

To insert the module, use

   modprobe snd-intel8x0

If you get an error, try walking into /lib/modules and find the module -- it
should be under kernel/sound.  Issue

   insmod snd-intel8x0.ko

and check with lsmod that it inserted.

Dave

Austin (Ozz) Denyer wrote:

On Wed, 9 Mar 2005 11:04:34 -0500, lsorense@csclub.uwaterloo.ca (Lennart
Sorensen) wrote:
On Wed, Mar 09, 2005 at 10:53:20AM -0500, Austin Denyer wrote:
OK, I added snd-intel8x0 to /etc/modules:

<Snip>

Make sure /dev/adsp* and friends exist.  If they don't the snddevices
script in alsa-base /usr/share/alsa-base/snddevices will create all
the alsa device nodes if you run it.

Athlon64:/dev# ls adsp*
adsp  adsp0  adsp1  adsp2  adsp3
Athlon64:/dev#

Check /proc/asound/cards and see if it actually has recognized any
hardware.

Athlon64:/proc/asound# cat cards
--- no soundcards ---
Athlon64:/proc/asound#
Aha!  I'm betting that's the problem ;-D

Run lspci -n |grep 0401 and we can see what PCI ID the sound has and
maybe look that up in the driver sources to make sure this really is
the driver you should be using.  On my nforce2 I see:

0000:00:05.0 0401: 10de:006b (rev a2)
0000:00:06.0 0401: 10de:006a (rev a1)

Which is the AC97 and the MCP devices (I believe the MCP is the DSP
the nforce and nforce2 have).

Athlon64:/proc/asound# lspci -n | grep 0401
0000:00:04.0 0401: 10de:0059 (rev a2)
Athlon64:/proc/asound#

I can check the driver in this case doing this:
modinfo snd-intel8x0|grep -i 10de|grep -i 006[ab]
which shows:
alias:          pci:v000010DEd0000006Asv*sd*bc*sc*i*

So the snd-intel8x0 knows about pci vendor 000010DE device 0000006A
which matches 10de:006a.  Most kernel drivers seem to have such
aliases to help out userspace module loading utilities and such.

Athlon64:/proc/asound# modinfo snd-intel8x0|grep -i 10de alias: pci:v000010DEd000000EAsv*sd*bc*sc*i*
alias:          pci:v000010DEd000000DAsv*sd*bc*sc*i*
alias:          pci:v000010DEd0000006Asv*sd*bc*sc*i*
alias:          pci:v000010DEd000001B1sv*sd*bc*sc*i*
Athlon64:/proc/asound#
So, it looks like the problem is that my sound card is not being
detected.

How would I get Debian to detect the sound card?

Regards,
Ozz.

(Spoiled by sndconfig)





Reply to: