From owner-freebsd-usb@FreeBSD.ORG Tue Apr 26 14:57:46 2005 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9CCE316A4CE; Tue, 26 Apr 2005 14:57:46 +0000 (GMT) Received: from 21322530218.direct.eti.at (21322530218.direct.eti.at [213.225.30.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A1AD43D3F; Tue, 26 Apr 2005 14:57:45 +0000 (GMT) (envelope-from tilman@arved.at) Received: from jim.arved.de (localhost [127.0.0.1])j3QEvYwQ031745; Tue, 26 Apr 2005 16:57:34 +0200 (CEST) (envelope-from tilman@arved.at) Received: (from arved@localhost) by jim.arved.de (8.13.3/8.13.1/Submit) id j3QEvYco031744; Tue, 26 Apr 2005 16:57:34 +0200 (CEST) (envelope-from tilman@arved.at) X-Authentication-Warning: jim.arved.de: arved set sender to tilman@arved.at using -f Date: Tue, 26 Apr 2005 16:57:34 +0200 From: Tilman Linneweh To: Mathew Kanner Message-ID: <20050426145734.GC2894@arved.at> References: <20050425215452.GB2894@arved.at> <20050426140134.GA11709@cnd.mcgill.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050426140134.GA11709@cnd.mcgill.ca> User-Agent: Mutt/1.4.2.1i cc: freebsd-multimedia@freebsd.org cc: freebsd-usb@freebsd.org Subject: Re: Using uaudio(4) on systems withoug ISA bus X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2005 14:57:46 -0000 * Mathew Kanner [2005-04-26 16:02]: > > I have tried to use my USB Headphone on my Mac mini. > > > > Unfortunately the sound system seems to require an ISA Bus, because in > > channel.c sndbuf_dmasetdir and sndbuf_dmabounce are used, which are only > > compiled if there is an isa device. > > > > Without knowing what i am doing i commented out these lines and everything > > seems to compile and work, apart from mixer(8) saying Device not configured > > and the following LOR on the first sound output: > > I think you have two very interesting issues here. I'm busy > right now but I'll try to get time to look at them, don't give up if > you don't here from me :) I anticipate this hump will be over in a > couple of days but maybe through 'till the weekend > 1/ There is a dependency on ISA in the generic PCM code. This > is news to me and we need to get rid of it. Well, i was a bit surprised too, because i have not figured out yet, how yongari resolved this for the sparc64 cs4231 driver. (His original patch at http://lists.freebsd.org/pipermail/freebsd-sparc64/2004-July/001823.html works around the problem, see the first XXX, but he did not commit this part) Unfortunately i don't understand much of the soundsystem code yet. > 2/ There is a lock order reversal. We haven't seen one of > these in a while for the sound code. > > Just to clear things up for me, when you say Mac mini, this > means you aren't running the standard i386/amd64, right? > --Mat Exactly, this is FreeBSD/powerpc. Thanks for your quick reply regards tilman