From owner-freebsd-multimedia@FreeBSD.ORG Sat Jul 9 18:39:46 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 57DA616A41C for ; Sat, 9 Jul 2005 18:39:46 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from mailout05.sul.t-online.com (mailout05.sul.t-online.com [194.25.134.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD84C43D45 for ; Sat, 9 Jul 2005 18:39:45 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from fwd32.aul.t-online.de by mailout05.sul.t-online.com with smtp id 1DrKEl-0005Dn-03; Sat, 09 Jul 2005 20:39:39 +0200 Received: from Andro-Beta.Leidinger.net (V8mA5EZrreisWakkvZ9gLUKdxRntgT1oa9pnXf+scHc2Df31c-ZZsd@[84.165.235.10]) by fwd32.sul.t-online.de with esmtp id 1DrKEh-1rpzMW0; Sat, 9 Jul 2005 20:39:35 +0200 Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id j69IdXn9091110; Sat, 9 Jul 2005 20:39:34 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Sat, 9 Jul 2005 20:39:33 +0200 From: Alexander Leidinger To: Ariff Abdullah Message-ID: <20050709203933.08666a45@Magellan.Leidinger.net> In-Reply-To: <20050707064603.6c295451.skywizard@MyBSD.org.my> References: <20050707064603.6c295451.skywizard@MyBSD.org.my> X-Mailer: Sylpheed-Claws 1.9.11 (GTK+ 2.6.8; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-ID: V8mA5EZrreisWakkvZ9gLUKdxRntgT1oa9pnXf+scHc2Df31c-ZZsd@t-dialin.net X-TOI-MSGID: ede65f8b-2fb4-47e9-9ada-cf030a3aa158 Cc: freebsd-multimedia@freebsd.org, mat@cnd.mcgill.ca Subject: Re: Massive sound changes / fix (24/32bit pcm support, new sampling rate converter, various fixes) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jul 2005 18:39:46 -0000 On Thu, 7 Jul 2005 06:46:03 +0800 Ariff Abdullah wrote: > 2. mixer.c / sound.c (high priority / grave severity) > * Fix super grave serious (call it whatever) panic/death during > driver unload on second attempt after failure on first (device > busy). Seems to work. Tested with kldunload an a busy mixer several times, no panic. After that I did a successful unload (without a panic) and reload. > Hardware spessific changes > ========================== > 3. es137x.c / es137x.h > * Register programming error during device initialization > especially for CT4730 / EV1938 chip, causing misconfigured mixer > (David Xu), crippled after power cycle (Kevin Oberman). Fixed. > * Incorporate locking/spdif patches from Jon Noack. Not all es137x > can really do spdif, clean it up a bit to only let few capable > chip. --- /var/log/dmesg.today Sat Jul 9 13:13:45 2005 +++ /var/run/dmesg.boot Sat Jul 9 20:04:47 2005 @@ -57,7 +57,6 @@ pci0: at device 7.5 (no driver attached) pcm0: port 0xb800-0xb83f irq 5 at device 9.0 on pci0 pcm0: -pcm0: [GIANT-LOCKED] xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xbc00-0xbc7f mem 0xe7000000-0xe700007f irq 11 at device 10.0 on pci0 miibus0: on xl0 xlphy0: <3c905C 10/100 internal PHY> on miibus0 And the music plays just fine, no bad behavior so far. > 5. via82c686.c > * Add locking / MPSAFE. I don't have this card, so other people had > to confirm it. Anyway, the logic is correct. pcm1: port 0xac00-0xacff,0xb000-0xb003,0xb400-0xb403 irq 11 at device 7.5 on pci0 pcm1: I didn't got any sound out of it... but I have to say I don't use it since it sounds horrible (maybe some hardware defect), so I don't know if it still worked without your patch. Bye, Alexander. -- The computer revolution is over. The computers won. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7