USB isochronous traffic with Rasberry Pi [WAS: Re: USB audio device on Raspberry Pi]

Adrian Chadd adrian at freebsd.org
Mon May 5 15:18:53 UTC 2014


evil idea:

#define DELAY(ms) _DELAY(ms, __FILE__, __LINE__)

.. then modify the relevant arm delay function to take FILE/LINE and
KTR log it. :-)


-a


On 5 May 2014 04:57, Hans Petter Selasky <hps at selasky.org> wrote:
> Hi,
>
> To get USB isochronous traffic working with the DWC OTG you need this patch:
>
> http://svnweb.freebsd.org/changeset/base/265358
>
> BTW: I see that every second or so there is a glitch. I suspect this is
> because someone in the kernel is calling DELAY(). Is there an easy way to
> figure out who is blocking the DWC OTG interrupt routine from executing?
>
> I was thinking about adding something like:
>
> if (!cold)
>         printf("Using delay\n");
>
> To the DELAY() function to figure out the caller.
>
> --HPS
> _______________________________________________
> freebsd-arm at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"


More information about the freebsd-arm mailing list