Subject: auvia0: ICEnsemble unknown (0x49434552) codec
To: None <port-i386@netbsd.org>
From: Lista de NetBSD i386 <list14@sepc.edu.mx>
List: port-i386
Date: 06/30/2003 12:19:36
Hello
Is the chipset VIA VT1616 supported in current?
I am running -current and the audio device doesnt works properly.
The motherboard is VIA P4MA PRO.
The manual says:
-----------------
Chipset
* VIA P4M266/VT8235 chipset
- Supports Intel Pentium4 and Celeron with 400 MHz (100MHz QDR) CPU
- Front side bus
- Integrated ProSavage8 AGP Graphics (KDE 3.1.2 works fine)
- External 4X AGP Bus
- High Bandwidth V-Link Client Controller
- Integrated Hardware Sound Blaster/Direct Sound 6 channel AC'97 audio
- Ultra DMA 66/100/133 master mode PCI EIDE Controller
- ACPI 1.0B and APM 1.2 Compilant
[...]
Onboard Audio
* VIA VT1616 6 channel AC'97 Codec
------------------
My box is P4-2.4 GHz, 512 MB RAM, EIDE 40 GB.
And a part of dmesg is here
NetBSD almeria 1.6T NetBSD 1.6T (GENERIC) #0: Fri Jun 13 18:55:05 CDT 2003 gallegos@almeria:/usr/src/sys/arch/i386/compile/GENERIC i386
[...]
auvia0 at pci0 dev 17 function 5: VIA VT8235 AC'97 Audio (rev 0x50)
auvia0: interrupting at irq 5
auvia0: ICEnsemble unknown (0x49434552) codec; headphone, 18 bit DAC, 18 bit ADC, KS Waves 3D
auvia0: variable rate audio, S/PDIF, center DAC, surround DAC, LFE DAC
audio0 at auvia0: full duplex, mmap, independent
[...]
auvia0: codec invalid (this message is when I startkde)
A lot of these messages.
When I start KDE, I can hear the sounds (only when it starts), but no more sounds after.
sometimes appears a artsd.core in my homedir and sometimes my box
seems very slow... In this case, I can see artsd is eating lots of CPU (I use top to see it)
The file /usr/src/sys/dev/ic/ac97.c says the following:
/*
* IC Ensemble (VIA)
* http://www.viatech.com/en/datasheet/DS1616.pdf
*/
{ AC97_CODEC_ID('I', 'C', 'E', 0x01),
0xffffffff, "ICEnsemble ICE1230/VT1611", },
{ AC97_CODEC_ID('I', 'C', 'E', 0x11),
0xffffffff, "ICEnsemble ICE1232/VT1611A", },
{ AC97_CODEC_ID('I', 'C', 'E', 0x14),
0xffffffff, "ICEnsemble ICE1232A", },
{ AC97_CODEC_ID('I', 'C', 'E', 0x51),
0xffffffff, "VIA Technologies VT1616", ac97_vt1616_init },
{ AC97_CODEC_ID('I', 'C', 'E', 0),
AC97_VENDOR_ID_MASK, "ICEnsemble unknown", },
Looking for a solution, I changed 0x51 to 0x52 to match with 0x49434552 of the last dmesg.
(Please note I dont know what am I doing here) and recompiled my kernel
The dmesg of these new kernel is here:
auvia0 at pci0 dev 17 function 5: VIA VT8235 AC'97 Audio (rev 0x50)
auvia0: interrupting at irq 5
auvia0: VIA Technologies VT1616 codec; headphone, 18 bit DAC, 18 bit ADC, KS Waves 3D
auvia0: variable rate audio, S/PDIF, center DAC, surround DAC, LFE DAC
audio0 at auvia0: full duplex, mmap, independent
[...]
auvia0: codec invalid (same result when I startkde)
Again, a lot of these messages.
I couldnt see difference with these kernel.
Does somebody can help me?
Thanks in advance
Heron Gallegos
Saltillo, Coahuila, Mexico