rpi-5.15.y drivers/usb/gadget uac2 not working in windows -> device cannot be started (error 10)

Open
#4,587 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
c, linux

Research direction

Start by reviewing the rpi-5.15.y USB gadget UAC2 changes, especially the new feedback endpoint, and the USB Device Tree Viewer output attached to the issue. Reproduce the RPI4 build on Windows and compare enumeration and startup behavior; done means the UAC2 device starts without Device Manager error 10.

Written by the indexing model from the issue text.

Description

Hi all,

I've seen that there have been changes on UAC2 support for running the RPI as an audio usb gadget. I know that there have been problems in former versions and windows didn't properly connect, so you had to use UAC1. Now with the new feedback endpoint this should work, but I still have problems when compiling the latest rpi-5.15.y kernel on my RPI4. Windows detects it correct as UAC2 audio device but still says in device manager the device cannot be started (error 10). Does this work for anybody? Do I miss something when compiling the kernel? I've added the output of USB Device Tree Viewer below.

Thanks and best regards,
Johannes

Dominant language
C
Stars
13.2k
Forks
5.5k
Avg merge
2d 21h
Merged PRs (30d)
21

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from raspberrypi/linux

All issues in raspberrypi/linux

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.