From owner-freebsd-arm@FreeBSD.ORG Mon May 5 15:38:58 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E2119690 for ; Mon, 5 May 2014 15:38:58 +0000 (UTC) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9C11D1A7D for ; Mon, 5 May 2014 15:38:58 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id EFEFA1FE029; Mon, 5 May 2014 17:38:56 +0200 (CEST) Message-ID: <5367B0C9.8090407@selasky.org> Date: Mon, 05 May 2014 17:39:53 +0200 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: ticso@cicely.de Subject: Re: USB audio device on Raspberry Pi - link_elf: symbol isa_dmastatus undefined References: <535A8AEA.1000100@selasky.org> <20140425204134.GA458@cicely7.cicely.de> <20140430091411.GA45015@utility-01.thismonkey.com> <5360C0A7.9010407@selasky.org> <1398867266.22079.51.camel@revolution.hippie.lan> <5362638B.1080104@selasky.org> <5363C133.2000304@selasky.org> <5367973F.20300@xenet.de> <5367A154.8010508@selasky.org> <20140505144704.GA78493@cicely7.cicely.de> In-Reply-To: <20140505144704.GA78493@cicely7.cicely.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org, Matthias Meyser X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 May 2014 15:38:59 -0000 On 05/05/14 16:47, Bernd Walter wrote: > On Mon, May 05, 2014 at 04:33:56PM +0200, Hans Petter Selasky wrote: >> On 05/05/14 15:50, Matthias Meyser wrote: >>> >>> Am 02.05.2014 18:00, schrieb Hans Petter Selasky: >>>> On 05/01/14 17:08, Hans Petter Selasky wrote: >>>>> On 05/01/14 01:34, Johny Mattsson wrote: >>>>>> On 1 May 2014 00:14, Ian Lepore wrote: >>>>>> >>>>>>> I was doing some testing on a wandboard (about twice as fast an an >>>>>>> rpi) >>>>>>> with >>>>>>> more than 20k int/sec without having any problems. >>>>>>> >>>>>> >>>>>> On a similar note, I've pushed an i.MX 283 (400MHz) board to above 300k >>>>>> int/sec, on Linux. Admittedly at that point my shell wasn't what you'd >>>>>> call >>>>>> "responsive" however =) The ISR in that scenario was the GPIO >>>>>> handler, so >>>>>> probably a bit more light-weight than an audio ISR. >>>>> >>>>> I'll have a look and see if I can fix it. >>>> Here is a patch (work in progress) which you can try: >>>> http://home.selasky.org:8192/dwc_otg_isoc_support_wip.diff >>>> >>>> Still not working 100% reliable. Trying to figure out the last bits >>>> and pieces. >>> >>> For testing it would be very helful if someone could add >>> >>> device sound >>> device snd_uaudio >>> >>> to RPI-B kernel. >>> >>> Having this in BEAGLEBONE would be nice to. >>> Perhaps this schould go in every config that supports usb. >>> >> >> Hi, >> >> The following patch should make "devd" load sound.ko and snd_uaudio.ko >> automatically: >> >> http://svnweb.freebsd.org/changeset/base/265359 > > This won't work unless sound.ko especting ISA in ARM kernel is fixed > as well. > Hi, I think sound.ko does not depend on ISA currently. Maybe that is a bug, because ISA is not a module, but in the kernel typically. dev/sound/isa/sndbuf_dma.c optional sound isa With my RPI snd_uaudio loads like expected now. --HPS