Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 May 2005 13:35:46 +0200
From:      Holger Kipp <hk@alogis.com>
To:        Vladimir Terziev <vladimir.terziev@sun-fish.com>
Cc:        stable@freebsd.org
Subject:   Re: snd_via8233 problems on 5.4-STABLE WAS: Re: CMI9761 soundchip
Message-ID:  <20050522113546.GA69185@intserv.int1.b.intern>
In-Reply-To: <20050522133948.2d203057.vlady@sun-fish.com>
References:  <20050522125320.3e165d33.vlady@sun-fish.com> <20050522103350.GA68148@intserv.int1.b.intern> <20050522133948.2d203057.vlady@sun-fish.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050522113546.GA69185>