From owner-freebsd-multimedia@FreeBSD.ORG Tue Nov 15 09:42:17 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 375DF16A41F for ; Tue, 15 Nov 2005 09:42:17 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from tomoyo.MyBSD.org.my (tomoyo.mybsd.org.my [202.157.186.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6416143D49 for ; Tue, 15 Nov 2005 09:42:15 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from localhost (localhost [127.0.0.1]) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 0B2806CC24; Tue, 15 Nov 2005 17:45:00 +0800 (MYT) Received: from tomoyo.MyBSD.org.my ([127.0.0.1]) by localhost (TOMOYO.MYBSD.ORG.MY [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 60751-07; Tue, 15 Nov 2005 17:44:58 +0800 (MYT) Received: from kasumi.MyBSD.org.my (kasumi.MyBSD.org.my [IPv6:2001:328:2002:aa2::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 07FD96CC23; Tue, 15 Nov 2005 17:44:57 +0800 (MYT) Date: Tue, 15 Nov 2005 17:42:18 +0800 From: Ariff Abdullah To: Alexander Leidinger Message-Id: <20051115174218.6c7b7233.skywizard@MyBSD.org.my> In-Reply-To: <20051115093824.40bq3a8j28s4cg4o@netchild.homeip.net> References: <20051115.033104.343191587.kazuhito@ph.noda.tus.ac.jp> <20051114220333.223b7327@Magellan.Leidinger.net> <20051115.145037.343100681.kazuhito@ph.noda.tus.ac.jp> <20051115093824.40bq3a8j28s4cg4o@netchild.homeip.net> 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 X-Virus-Scanned: by Amavisd AntiVirus & AntiSpam Scanner running on FreeBSD mailserver at TOMOYO.MYBSD.ORG.MY Cc: freebsd-multimedia@freebsd.org Subject: Re: external sound card under FreeBSD 5.4 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: Tue, 15 Nov 2005 09:42:17 -0000 On Tue, 15 Nov 2005 09:38:24 +0100 Alexander Leidinger wrote: > Kazuhito HONDA wrote: > > > It must be true. The version of uaudio.c in RELENG_5_4 is > > 1.7.8.1. This differs by only one line from uadio.c of 1.7. > > 1.7 uaudio.c is 3 years old. > > On the other hand, the version of uaudio.c > > in RELENG_5 (stable branch) is 1.7.8.2, > > and this differs by over 2,000 lines from in RELENG_5_4. > > uaudio_pcm.c and uaudio.h are slimiar to that. > > Yes, there are a lot of your changes MFCed, but it's not up-to-date. > I searched through cvsweb for the fix which removed the allocation > of DMAable buffers and uses plain malloc()ed buffers. I haven't > found it at a first glance, but I don't think it's MFCed. And > without this change the uaudio device will not attach. > > Ariff's patchset contains a backport of the current sound code and > it is known to work. > Unfortunately I don't think I've ever touch uaudio code except the addition of feeder_volume part. It seems that there are a lot of uaudio differences between -current and releng_5, which even the patchset do not address. Since I do not have any usb audio hardware, I couldn't tell if blind fold backporting is worth a try for me. Anybody willing to do it? I guess I should give a try to re-sync everything. -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4)