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

Holger Kipp hk at alogis.com
Sun May 22 05:00:45 PDT 2005


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


More information about the freebsd-stable mailing list