From owner-freebsd-stable@FreeBSD.ORG Sun May 22 11:35:49 2005 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 645C116A41C for ; Sun, 22 May 2005 11:35:49 +0000 (GMT) (envelope-from hk@alogis.com) Received: from alogis.com (firewall2.alogis.com [62.8.223.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id B92FF43D53 for ; Sun, 22 May 2005 11:35:48 +0000 (GMT) (envelope-from hk@alogis.com) Received: from alogis.com (localhost [127.0.0.1]) by alogis.com (8.13.1/8.13.1) with ESMTP id j4MBZkPT069342; Sun, 22 May 2005 13:35:46 +0200 (CEST) (envelope-from hk@alogis.com) Received: (from hk@localhost) by alogis.com (8.13.1/8.13.1/Submit) id j4MBZkqM069341; Sun, 22 May 2005 13:35:46 +0200 (CEST) (envelope-from hk) Date: Sun, 22 May 2005 13:35:46 +0200 From: Holger Kipp To: Vladimir Terziev Message-ID: <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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050522133948.2d203057.vlady@sun-fish.com> User-Agent: Mutt/1.4.2.1i Cc: stable@freebsd.org Subject: Re: snd_via8233 problems on 5.4-STABLE WAS: Re: CMI9761 soundchip X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 May 2005 11:35:49 -0000 On Sun, May 22, 2005 at 01:39:48PM +0300, Vladimir Terziev wrote: > > Currently i have the same situation. pcm driver says: > pcm0: > 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 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: port 0xd000-0xd0ff irq 22 at device 17.5 on pci0 > > pcm0: > > > > (this is ASRock K7UPGRADE-880/A/ASR-Board) > > > > Patches eg to snd_via8233 are welcome :-) > > > > Regards, > > Holger