Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The uac2_headset example is broken on RP2040 processors #2838

Open
1 task done
pschatzmann opened this issue Oct 13, 2024 · 1 comment
Open
1 task done

The uac2_headset example is broken on RP2040 processors #2838

pschatzmann opened this issue Oct 13, 2024 · 1 comment
Labels

Comments

@pschatzmann
Copy link
Contributor

pschatzmann commented Oct 13, 2024

Operating System

Linux

Board

RP2040

Firmware

standard uac2_headset example with standard firmware as documented in this project

What happened ?

The processor is hanging after connecting to the device from Audacity under Linux

After implementing this pull request, it's working w/o problems.
How can I help that this correction is moving agead ?
I finally want to have it working in the Adafuit TinyUSB....

How to reproduce ?

  • Compile and deploy headset example to a RP2040
  • select TinyUSB as input device
  • start Audacity
  • click recording
  • click change sample rate or select TinyUSB as output device

Debug Log as txt file (LOG/CFG_TUSB_DEBUG=2)

I could not get the logging to work

Screenshots

n/a

I have checked existing issues, dicussion and documentation

  • I confirm I have checked existing issues, dicussion and documentation.
@FearLabsAudio
Copy link

This is still broken despite merges ISO API changes #2847

Pi Pico Device, Pico-SDK 2.1.0, Results are the same on multiple windows hosts as well as linux hosts

Output (CFG_TUSB_DEBUG=1) is as follows:

Headset running
Get channel 0 volume range (-50, 0, 1) dB
Get channel 1 volume range (-50, 0, 1) dB
Get channel 2 volume range (-50, 0, 1) dB
Clock get 2 freq ranges
Range 0 (44100, 44100, 0)
Range 1 (48000, 48000, 0)
Get channel 1 volume 0 dB
Get channel 1 mute 0
Get channel 1 volume 0 dB
Get channel 1 mute 0
Get channel 1 volume 0 dB
Get channel 1 mute 0
Get channel 1 volume 0 dB
Get channel 1 mute 0
Get channel 1 volume 0 dB
Get channel 1 mute 0
Get channel 1 volume 0 dB
Get channel 1 mute 0
Get channel 1 volume 0 dB
Get channel 1 volume 0 dB
Get channel 1 mute 0
Get channel 1 volume 0 dB
Get channel 1 mute 0
Get channel 1 mute 0
Get channel 1 volume 0 dB
Get channel 1 mute 0
Clock set current freq: 48000
WARN: starting new transfer on already active ep 01

*** PANIC ***

ep 01 was already available

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants