raspberrypi / pico-playground

BSD 3-Clause "New" or "Revised" License
438 stars 92 forks source link

USB Sound Card ceases function after some time of use #22

Open Envious-Data opened 2 years ago

Envious-Data commented 2 years ago

I have a couple of projects I'd like to use the USB Sound Card app for, however I Don't know enough about coding to fix the issue it has.

After aproximately 20 minutes it will stop working, the host usb port will also stop working and will not work again unless you reboot.

Is it possible that this issue could be fixed?

Envious-Data commented 2 years ago

Im refering to: https://github.com/raspberrypi/pico-playground/tree/master/apps/usb_sound_card using a Raspberry Pi Pico

After some time of use it will stop working, my computer will play a notif for a device being disconnected and that usb port my pico was plugged into is unsuable till I reboot my computer.

On Mon, 24 Jan 2022 at 09:48, James Hughes @.***> wrote:

What USB sound card are you having problems with, and on which Raspberry Pi device?

— Reply to this email directly, view it on GitHub https://github.com/raspberrypi/pico-playground/issues/22#issuecomment-1019909006, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABGFFF3Q6LB4AKJPBV32HY3UXUN7PANCNFSM5MUWDOEQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

lurch commented 2 years ago

ping @liamfraser Note however that the code in this pico-playground repo is "officially unsupported", so your problem may not get fixed. There's some (different) USB audio examples in https://github.com/raspberrypi/pico-examples and that repo is "officially supported", so it might work better? :shrug:

the host usb port will also stop working and will not work again unless you reboot.

Maybe that indicates a problem with the USB drivers on your host, rather than with Pico?

Envious-Data commented 2 years ago

Maybe that indicates a problem with the USB drivers on your host, rather than with Pico?

I did make sure to test this on Windows, Ubuntu and my phone.

I intend to make an open source pair of headphones using the pico, a I2S decoder and couple of amps (or stereo amp).