Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 May 2005 14:00:43 +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:  <20050522120043.GA69692@intserv.int1.b.intern>
In-Reply-To: <20050522113546.GA69185@intserv.int1.b.intern>
References:  <20050522125320.3e165d33.vlady@sun-fish.com> <20050522103350.GA68148@intserv.int1.b.intern> <20050522133948.2d203057.vlady@sun-fish.com> <20050522113546.GA69185@intserv.int1.b.intern>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, May 22, 2005 at 01:35:46PM +0200, Holger Kipp wrote:
> 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 },

Yes, that helps with recognizing, but not with the anoying tone.

# kldload snd_via8233
pcm0: <VIA VT8237> port 0xd000-0xd0ff irq 22 at device 17.5 on pci0
pcm0: <C-Media Electronics CMI9761 AC97 Codec>

# kldunload snd_via8233
=> loud <x>Hz-tone.

> > > > 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
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"



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