Repository navigation
Add HP ZBook Ultra G3a speaker and microphone UCM profile - #17618
Conversation
The laptop's four TAS2783 speaker amps have no sof-soundwire config in alsa-ucm-conf 1.2.16.1, so the generic AMD SoundWire profile fails to load and the card offers no speaker or microphone. A machine profile under its own conf.d name defines the speaker, reuses the stock RT712 headset and microphone config, and takes the amps to full analog gain. Co-Authored-By: Claude Opus 5.5 <[email protected]>
[Low impact] The changes affect audio setup on one laptop model. Fix the required indentation before merging; no concrete audio failure was established. Findings
SummaryAdds a machine-specific ALSA profile for the HP ZBook Ultra G3a.
Reviews (1) · Last reviewed commit: "Add HP ZBook Ultra G3a speaker and micro..." · Reviewed by Greptile |
| EnableSequence [ | ||
| disdevall "" | ||
| ] |
There was a problem hiding this comment.
Both new UCM profiles use tabs for indentation. AGENTS.md requires two spaces and no tabs. Replace the leading tabs in both files with spaces before merging to satisfy this repository requirement.
File Used: AGENTS.md (source)
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
There was a problem hiding this comment.
Keeping the tabs on purpose. UCM profiles under default/alsa/ucm2/ follow upstream alsa-ucm-conf formatting, which indents with tabs, and every existing profile there (MediaTek mt8901-soundwir, HP EliteBook Ultra G1q) does the same. That keeps them diffable against upstream when a profile is retired. The two-space rule in AGENTS.md applies to Omarchy's own scripts and code, not to vendored ALSA config. Please don't flag tab indentation in default/alsa/ucm2/ going forward.
There was a problem hiding this comment.
Understood—tabs in default/alsa/ucm2/ are intentional to preserve upstream formatting and diffability, so I won’t flag them. I’ve saved this as a review rule for future reviews: View rule
The laptop's four TAS2783 speaker amps have no sof-soundwire config in alsa-ucm-conf 1.2.16.1, so the generic AMD SoundWire profile fails to load and the card offers no speaker or microphone. A machine profile under its own conf.d name defines the speaker, reuses the stock RT712 headset and microphone config, and takes the amps to full analog gain. Co-authored-by: Claude Opus 5.5 <[email protected]>
The laptop's four TAS2783 speaker amps have no sof-soundwire config in alsa-ucm-conf 1.2.16.1, so the generic AMD SoundWire profile fails to load and the card offers no speaker or microphone. A machine profile under its own conf.d name defines the speaker, reuses the stock RT712 headset and microphone config, and takes the amps to full analog gain. Co-authored-by: Claude Opus 5.5 <[email protected]>
Sync upstream quattro through omacom#17618.
On the HP ZBook Ultra G3a the AMD SoundWire card reports
spk:tas2783 hs:rt712 mic:rt712. alsa-ucm-conf 1.2.16.1 has nosof-soundwire/tas2783.conf, so the genericamd-soundwireprofile fails to load and PipeWire offers only a Dummy Output. That takes out the speakers, the headset jack and both microphones.Upstream added TAS2783 in alsa-project/alsa-ucm-conf@182d0122a7, but no release carries it yet.
This adds a machine profile under
conf.d/amd-soundwire/<card long name>.conf, the same slot the EliteBook Ultra G1q profile uses. It never collides with a file alsa-ucm-conf ships, so it keeps working before and after the upstream release. The profile:sof-soundwire/rt712.conffor the headphones, headset mic and internal micsA migration restarts WirePlumber on this model so the profile takes effect without a reboot.
Tested on the laptop with the profile laid over the stock 1.2.16.1 tree:
alsaucmboot and HiFi load, PipeWire exposes Speaker, Headphones, SoundWire Microphones and Headset Mono Microphone, playback and capture work, and the amp gain is applied.🤖 Generated with Claude Code