onboard audio: JMISC HPH wiring, UCM fix, update scripts for git deploy

This commit is contained in:
2026-06-23 21:25:51 -07:00
parent a135dc4452
commit d239d58c44
22 changed files with 227 additions and 77 deletions
+44
View File
@@ -0,0 +1,44 @@
# ALSA configuration for USB gadget audio
# The UAC1 gadget appears as a ALSA card (typically card 1 or 2).
# This config routes Pd audio output to the USB gadget.
# Default PCM device for USB gadget audio
pcm.!default {
type plug
slave {
pcm "hw:UAC1Gadget,0"
format S16_LE
channels 2
rate 48000
}
}
# Control device
ctl.!default {
type hw
card UAC1Gadget
}
# Software volume control via ALSA (hardware may not have mixer)
pcm.softvol {
type softvol
slave.pcm "hw:UAC1Gadget,0"
control {
name "Master Playback Volume"
card UAC1Gadget
}
min_dB -51.0
max_dB 0.0
resolution 256
}
# Null sink for testing when no USB gadget is connected
pcm.loopback {
type plug
slave {
pcm "hw:Loopback,0,0"
format S16_LE
channels 2
rate 48000
}
}