Skip to content

Add HP ZBook Ultra G3a speaker and microphone UCM profile - #17618

Merged
dhh merged 1 commit into
quattrofrom
zbook-ultra-g3a-audio
Nov 5, 2026
Merged

dhh merged 1 commit into
quattrofrom
zbook-ultra-g3a-audio

Conversation

@dhh

@dhh dhh commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

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 no sof-soundwire/tas2783.conf, so the generic amd-soundwire profile 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:

  • defines the TAS2783 speaker device
  • reuses the stock sof-soundwire/rt712.conf for the headphones, headset mic and internal mics
  • sets the four amps to their full 21 dB analog gain when the speaker opens. They come up at 17 dB, which is quiet even at 100%. Speaker protection runs in the amps' own firmware.

A 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: alsaucm boot 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

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]>
@dhh
dhh marked this pull request as ready for review November 5, 2026 00:20
@greptile-apps

greptile-apps Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 4/5

[Low impact] The changes affect audio setup on one laptop model.

Fix the required indentation before merging; no concrete audio failure was established.

Findings

  1. P2 Profiles use forbidden tabs ▶

Summary

Adds a machine-specific ALSA profile for the HP ZBook Ultra G3a.

  • The ZBook gets working speakers, headset, and microphone devices.

Reviews (1) · Last reviewed commit: "Add HP ZBook Ultra G3a speaker and micro..." · Reviewed by Greptile

Comment on lines +5 to +7
EnableSequence [
disdevall ""
]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Profiles use forbidden tabs

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!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@dhh
dhh merged commit 181f51d into quattro Nov 5, 2026
2 checks passed
@dhh
dhh deleted the zbook-ultra-g3a-audio branch November 5, 2026 01:27
cursor Bot pushed a commit to mark-groves/omarchy that referenced this pull request Nov 5, 2026
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]>
@emirb emirb added this to the 4.6.0 milestone Nov 5, 2026
cursor Bot pushed a commit to mark-groves/omarchy that referenced this pull request Nov 5, 2026
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]>
mark-groves added a commit to mark-groves/omarchy that referenced this pull request Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants