snd_via8233 problems on 5.4-STABLE WAS: Re: CMI9761 soundchip

Holger Kipp hk at alogis.com
Sun May 22 04:35:49 PDT 2005


On Sun, May 22, 2005 at 01:39:48PM +0300, Vladimir Terziev wrote:
> 
> 	Currently i have the same situation. pcm driver says:
> 	pcm0: <Unknown AC97 Codec (id = 0x434d4983)>
> 	The id 0x434d4983 is CMI9761, but it seems the kernel doesn't know nothing about it :(

This could be changed simply by 

--- ac97.c.orig Sun May 22 13:18:03 2005
+++ ac97.c      Sun May 22 13:19:59 2005
@@ -156,6 +156,7 @@
        { 0x43525940, 0x07, 0, "CS4201",        0 },
        { 0x43525958, 0x07, 0, "CS4205",        0 },
        { 0x43525960, 0x07, 0, "CS4291A",       0 },
+       { 0x434d4983, 0x00, 0, "CMI9761",       0 },
        { 0x434d4961, 0x00, 0, "CMI9739",       0 },
        { 0x434d4941, 0x00, 0, "CMI9738",       0 },
        { 0x43585421, 0x00, 0, "HSD11246",      0 },

but I doubt that this will really help, because the CMI9761
also supports 5.1-Sound, at least according to alsa-changes:

http://alsa.mirror.fr/kernel-patches/mm/3118.patch

so some additional handling of specific bits is presumably needed.

Regards,
Holger Kipp

> On Sun, 22 May 2005 12:33:50 +0200
> Holger Kipp <hk at alogis.com> wrote:
> 
> > On Sun, May 22, 2005 at 12:53:20PM +0300, Vladimir Terziev wrote:
> > >
> > > i have ASRock motherboard with CMI9761 sound chip, same as you.
> > > Also i have the same problem with FreeBSD 5.4-R as you :(
> > > 
> > > Did you find some solution?
> > 
> > No. If I load snd_via8233 via loader.conf, it will not set all
> > volumes to 75:75 (maybe it bails out at ogain which it can't
> > find), so speaker is left at 0:0 wich results in this terrible
> > beep.
> > 
> > Loading snd_via8233 afterwards by hand works, though.
> > 
> > The only thing I then get in /var/log/messages is:
> > 
> > pcm0: <VIA VT8237> port 0xd000-0xd0ff irq 22 at device 17.5 on pci0
> > pcm0: <Unknown AC97 Codec (id = 0x434d4983)>
> > 
> > (this is ASRock K7UPGRADE-880/A/ASR-Board)
> > 
> > Patches eg to snd_via8233 are welcome :-)
> > 
> > Regards,
> > Holger


More information about the freebsd-stable mailing list