I've been holding off on asking this because I *know* it's gotta be something sooo obvious that I am not seeing it.
I'm using Gentoo with a Gentoo-patched 2.6.7 kernel.
I have an Intel HDA Azalia soundcard with the CMI9880L codec.. I wasn't sure exactly what it was, and if it would work, I read more and I think I understand now.
See alsa-cvslog:
Quote:
Update of /cvsroot/alsa/alsa-driver/pci/azx
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29210
Modified Files:
codec_enum.c
Log Message:
From C.L. Tien:
Fixed the inifinte loop in the probing of c-media 9880 codec.
|
The only thing I am thinking is that a c-media 9880 is very different from a c-media 9880L, but as you will see, I think that the driver must be the correct one..
lspci shows this for sound:
0000:00:1b.0 Class 0403: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 03)
Subsystem: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at d3800000 (64-bit, non-prefetchable)
Capabilities: [50] Power Management version 2
Capabilities: [60] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
Capabilities: [70] #10 [0091]
So.
Since the driver is not yet in a stable release, I got the development version. Of everything BTW, not just the driver, to prevent conflicts. The module is called snd_azx.
The modules load and appear used, see lsmod:
Module Size Used by
snd_mixer_oss 20864 1
snd_azx 32184 5
snd_pcm 92164 1 snd_azx
snd_timer 26372 1 snd_pcm
snd 54116 12 snd_mixer_oss,snd_azx,snd_pcm,snd_timer
snd_page_alloc 10376 1 snd_pcm
Here's the problem then.
It kind-of works. Alsamixer works about 5% of the time, usually right after a fresh boot. But when it does it only shows 2 channels. Turned up all the way. If you try and change the volume, it usually segfaults. The rest of the time, it just hangs. Hangs meaning you can't even Ctrl-C out of it. If you are on a tty you can't get rid of it at all! KMix hangs too, most of the time, and again when it does work it shows 2 channels.. according to the driver source code it should have way more than that.
My kernel is configured like this, according to a quick checking script:
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_MPU401_UART=m
CONFIG_SND_VIRMIDI=m
CONFIG_SND_MPU401=m
Modprobe is configured like this:
alias char-major-14-* soundcore
alias char-major-116-* snd
alias snd-card-0 snd-azx
alias sound-slot-0 snd-azx
alias sound-slot-1 snd-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
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
options snd cards_limit=1
Proc Asound -----------------------------------------------
Advanced Linux Sound Architecture Driver Version 1.0.6rc2.
Compiled on Aug 11 2004 for kernel 2.6.7-gentoo-r12 (SMP).
0 [HDA ]: Azalia - ICH6 HDA
ICH6 HDA at 0xd3800000 irq 16
0: [0- 0]: ctl
16: [0- 0]: digital audio playback
24: [0- 0]: digital audio capture
33: : timer
cat: /proc/asound/hwdep: No such file or directory
00-00: ICH6 HDA : ICH6 HDA : playback 1 : capture 1
What does that mean, that /proc/asound/hwdep is not found?
Maybe it is permissions, but then it doesn't work as root.. I've tried snddevices script and everything, nothing works. I can get it to play music but I can't hear it.
I'm thinking maybe it's the wrong driver, or it's still in a very unstable form and therefore doesn't work, but I was wondering of anything else could cause this problem. If noone here can help me I'll try emailing the people who wrote the drivers and see if they can help me.
Thanks in advance.