From owner-freebsd-current@FreeBSD.ORG Sat Oct 16 16:57:30 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 498CD16A4CE; Sat, 16 Oct 2004 16:57:30 +0000 (GMT) Received: from tomoyo.MyBSD.org.my (duke.void.net.my [202.157.186.223]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0109F43D2F; Sat, 16 Oct 2004 16:57:27 +0000 (GMT) (envelope-from skywizard@time.net.my) Received: from kasumi.MyBSD.org.my (unknown [219.94.117.80]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id DA1736CC1F; Sun, 17 Oct 2004 01:00:48 +0800 (MYT) Date: Sun, 17 Oct 2004 00:57:35 +0800 From: Ariff Abdullah To: David Xu Message-Id: <20041017005735.3fdf12fb.skywizard@time.net.my> In-Reply-To: <41713068.2030504@freebsd.org> References: <4171244E.1080106@freebsd.org> <20041016220650.56e95112.skywizard@time.net.my> <41713068.2030504@freebsd.org> Organization: MyBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: Any chance to get my sound card to work ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Oct 2004 16:57:30 -0000 On Sat, 16 Oct 2004 22:30:00 +0800 David Xu wrote: > Ariff Abdullah wrote: > > >On Sat, 16 Oct 2004 21:38:22 +0800 > >David Xu wrote: > > > > > >>I have the sound card as the following mail said: > >>http://docs.freebsd.org/cgi/getmsg.cgi?fetch=181707+0+/usr/local/ > >www/db/text/2003/freebsd-stable/20031214.freebsd-stable> > >>But I didn't find that it works, I have loaded snd_es137x.ko: > >> > >>tiger# kldload snd_es137x.ko > >>pcm0: port > >0xe400-0xe41f,0xe000-0xe03f>irq 17 at device 12.0 on pci0 > >>pcm0: > >> > >>The driver seems identified the device, but no sound at all when I > >>try to use it. > >> > >> > >> > > > >You may try this patch: > >http://staff.mybsd.org.my/skywizard/FreeBSD/es137x.c.diff > > > >It's pathetic, ugly, but does it job to properly initialize mixer > >on ev1938 chip. Perhaps somebody can really clean it up. > > > > > > > > > > > Cool! it works for me, any chance to commit it ? > > Glad to hear that. Now the problem is, the chipset seems *broken* during mixer initialization through ac97 interface programming, perhaps because how the driver was written, hence require some sort of wacky monkey circus hack. I don't think it's worth commiting this ugly workaround, unless we can come up with cleaner approach (complete rewrite, or some sort of *patching* interface). > I have checked mixer settings, it does not work no matter you > turn it or not. it seems the driver is wrongly programing the > device, the device is not an emulated but a real hardware. Agree. -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4)