Hi Martin,

I thought about this but since the Pi boots with the soundcard plugged in at USB 2 speed I reckon that this is not the issue. That said, I am using an iPhone charger that only outputs 1 amp. I will try it with another one as soon as I can but that won't be for a few days at least. I'll keep you informed.

John


On Sat, Jul 27, 2013 at 3:36 PM, Martin Peach <martin.peach@sympatico.ca> wrote:
Maybe your power supply can't handle the load? 2 Amps regulated 5V is good, 1 Amp might not do it.

Martin


On 2013-07-27 05:51, John Canning wrote:
Hi Dan,

I have done some more hunting around and on the Pd FrontPage site it
says that my Behringer soundcard has been proven to work with the
Raspberry Pi with reduced USB speed and I have found some posts that say
they have it running in full duplex. What I get is something like this
when I have the sound card plugged in on boot

[    2.469784] usb 1-1.3: new high-speed USB device number 4 using dwc_otg
[    2.571518] usb 1-1.3: New USB device found, idVendor=05e3, idProduct=0608
[    2.571545] usb 1-1.3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.571562] usb 1-1.3: Product: USB2.0 Hub
[    2.573135] hub 1-1.3:1.0: USB hub found
[    2.573640] hub 1-1.3:1.0: 4 ports detected
[    2.849881] usb 1-1.3.4: new full-speed USB device number 5 using dwc_otg
[    2.953034] usb 1-1.3.4: New USB device found, idVendor=08bb, idProduct=2704
[    2.953064] usb 1-1.3.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.953081] usb 1-1.3.4: Product: USB Audio DAC
[    2.953096] usb 1-1.3.4: Manufacturer: Burr-Brown from TI
[    2.958781] input: Burr-Brown from TI               USB Audio DAC    as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3.4/1-1.3.4:1.2/input/input0
[    2.960263] hid-generic 0003:08BB:2704.0001: input,hidraw0: USB HID v1.00 Device [Burr-Brown from TI               USB Audio DAC   ] on usb-bcm2708_usb-1.3.4/input2

  and it just hangs there. This is with nothing else plugged in to the
PI. Without the lowered USB speed I get so many dropouts that it is
completely unusable. I'm sorry to keep harping on about the same thing
but as with all of these things you find a little nugget that gives you
hope (and another and another). The videos that I have seen like this

http://hackaday.com/2013/01/28/raspberry-pi-becomes-a-guitar-effects-processor/

are pretty much what I'm looking for. Imperceptible/minimal dropouts and
decent FX. Can you or anyone tell me why I can't even boot the Pi with
the (previously community tested) soundcard plugged in running at USB 1
speed? Or why if I plug it in after booting I crash the Pi?

This post

http://lists.puredata.info/pipermail/pd-list/2013-01/100560.html

and others in the same thread are what started me on this mission so if
any of the contributors to it could tell me how they have got this up
and running I would eternally grateful

Thanks again,
John


On Sat, Jul 27, 2013 at 12:26 AM, Dan Wilcox <danomatika@gmail.com
<mailto:danomatika@gmail.com>> wrote:

    For what it's worth, I tried force ing USB 1.1 mode on the pi with
    my UA-25 and that resulted in a hard lock as well. Disappointing at
    this point since I've worked with audio on slower embedded machines
    before ...

    On Jul 26, 2013, at 7:19 PM, John Canning
    <johnnyboy7777@hotmail.co.uk <mailto:johnnyboy7777@hotmail.co.uk>>
    wrote:

    Thanks for getting back to me Dan


    On Fri, Jul 26, 2013 at 11:50 PM, Dan Wilcox <danomatika@gmail.com
    <mailto:danomatika@gmail.com>> wrote:

        Actually I miss-typed. The issue is with "Isochronous" usb
        mode:
        http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=29226 Looks
        like things should be better for USB 2 audio devices, but
        still issues with USB 1.1 devices (aka mine :P):

        While Isoc has improved for pretty much everyone using USB2.0
        devices (USB1.1 will still suffer from lost packets due to
        split transaction breakage noted elsewhere) I'm still annoyed
        at my webcams "kinda working" - I get 1-2 seconds of
        uninterrupted video and then a half-garbled frame.


        On Jul 26, 2013, at 6:35 PM, Dan Wilcox <danomatika@gmail.com
        <mailto:danomatika@gmail.com>> wrote:

        Sure, but that's only for certain types of USB devices. Some
        are working and others aren't. More "professional" sound
        cards require lower-latency/burst mode over USB which the PI
        firmware currently doesn't allow and/or doesn't set the
        correct priority for. The issue AFAICT is that essentially
        the usb host is software defined on the SOC and they haven't
        optimized it for usb audio, or something like that.

        For instance, I can get stereo out in Pd working fine with my
        Edirol UA-25 . If I enable an audio input, I get instant
        dropouts. Yeah, I guess it "works", but not well enough for me.

        On Jul 26, 2013, at 6:27 PM, John Canning
        <johnnyboy7777@hotmail.co.uk
        <mailto:johnnyboy7777@hotmail.co.uk>> wrote:

        Hi Dan,

        Thanks for getting back to me. I'm still very new to the Pi
        but have found this post that seems to say that it can work.
        I'm confused. What do you reckon?


        On Fri, Jul 26, 2013 at 11:02 PM, Dan Wilcox
        <danomatika@gmail.com <mailto:danomatika@gmail.com>> wrote:

            Simply put, the RPI firmware does not work with USB
            audio correctly yet. See this thread:
            http://lists.puredata.info/pipermail/pd-list/2013-07/103261.html

            I keep looking for fixes, but the way USB is handled,
            the only way for it to work without dropouts is to have
            *nothing* else plugged into the usb bus and ethernet
            disabled ... sucks.

            On Jul 26, 2013, at 5:41 PM, pd-list-request@iem.at
            <mailto:pd-list-request@iem.at> wrote:

            *From:*John Canning <johnnyboy7777@hotmail.co.uk
            <mailto:johnnyboy7777@hotmail.co.uk>>
            *Subject:**[PD] Raspberry Pi Behringer UCA222 boot
            problems*
            *Date:*July 26, 2013 5:40:49 PM EDT
            *To:*Pure Data <pd-list@iem.at <mailto:pd-list@iem.at>>



            Hi Folks,

            I have been trying for quite a while to get my
            Raspberry Pi to work in full duplex with Pd. I have
            installed the OS on the PdPi site and updated it. I am
            using a Behringer UCA222 for audio. When I change the
            USB speed down to 1 (dwc_otg.speed=1) in
            /boot/cmdline.txt my Pi won't boot with the soundcard
            plugged in. If I unplug the soundcard the Pi will boot
            but as soon as I plug it in the Pi crashes. Has anyone
            got any suggestions about why this is happening?

            Thanks,
            John

            --------
            Dan Wilcox
            @danomatika
            danomatika.com <http://danomatika.com/>
            robotcowboy.com <http://robotcowboy.com/>







        --------
        Dan Wilcox
        @danomatika
        danomatika.com <http://danomatika.com/>
        robotcowboy.com <http://robotcowboy.com/>






        --------
        Dan Wilcox
        @danomatika
        danomatika.com <http://danomatika.com/>
        robotcowboy.com <http://robotcowboy.com/>







    --------
    Dan Wilcox
    @danomatika
    danomatika.com <http://danomatika.com>
    robotcowboy.com <http://robotcowboy.com>








_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list