tiny-pilot / tiny-pilot/tinypilot

Audio gadget using g_audio

Open
#1,320 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
3.5k
Forks
291
PR merge metrics
No merged PRs in 30d

Description

Hello.

Is it possible to add g_audio functionality to the composite gadget? I've used RPI zero to create a functional audio gadget which successfuly emulates an input and an output on a Windows system. Using newest raspbian, with 6.1 kernel (rpi-update), it pretty much worked without any hassle and additional config.

Posting as a question because I'm unaware of how the composite gadget actually works and what are the limitations.

EDIT: should be configurable using this

Contributor guide

Open the contributing guide

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.

Research direction

Start by reviewing how the composite gadget is configured and the linked CONFIG_USB_CONFIGFS_F_UAC2 documentation for g_audio support. Determine whether audio input and output can be exposed alongside the existing gadget functions, then define the required configuration and a reproducible Raspberry Pi test before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, raspberry-pi
Domain
embedded-iot, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.