Skip to content

fix(logitech): remove unsupported PRO X 2 parametric EQ - #622

Merged
Sapd merged 1 commit into
Sapd:masterfrom
ChrisLauinger77:codex/fix-pro-x2-eq
Nov 5, 2026
Merged

Sapd merged 1 commit into
Sapd:masterfrom
ChrisLauinger77:codex/fix-pro-x2-eq

Conversation

@ChrisLauinger77

Copy link
Copy Markdown
Contributor

Changes made

  • Remove the unsupported parametric EQ capability and command path for the Logitech G PRO X 2 LIGHTSPEED.
  • Use the Onboard EQ feature directly for the five-band graphic EQ and its five presets.
  • Update the capability documentation and add regression coverage for the preset list, HID commands, and unsupported parametric EQ requests.

Testing

  • cmake --build build --target check --parallel 4 passed both CTest suites.

Checklist

  • I adjusted the README (if needed)

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-05T14:43:12.830952Z 18694e8 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Sapd

Sapd commented Nov 5, 2026

Copy link
Copy Markdown
Owner

Two things before merging.

The removal is probably right, but a spec table doesn't say what the firmware accepts - can you confirm from the X2 that --parametric-equalizer really gets rejected?

And it isn't only a removal: readEqualizerDescriptor() tried HeadsetAdvancedParaEQ first and fell back to HeadsetOnboardEQ only if that failed. With the advanced path gone, -e always goes over Onboard now - different feature, different payload - so the working 5-band EQ changes wire as well. That's the part I'd want checked.

If -e still sets the EQ on your X2, good to go.

@github-actions github-actions Bot added awaiting-author We replied - waiting on the author and removed awaiting-maintainer The author replied or pushed - our move labels Nov 5, 2026
@ChrisLauinger77

Copy link
Copy Markdown
Contributor Author

Tested on my PRO X 2 LIGHTSPEED over the USB receiver. The headset firmware rejected the HeadsetAdvancedParaEQ (0x020d) lookup, so the previous code would have fallen back to HeadsetOnboardEQ on this unit. With this PR, --parametric-equalizer reports that it’s unsupported.

I ran -e '2,0,0,0,0' and read the settings back from the headset. The 80 Hz band was at +2 dB, and the other four bands stayed at 0 dB.

The write also set Q to 1 on all five bands, which matches the old Onboard EQ fallback. After the test, I restored and verified the original settings of 0 dB and Q=2 on every band.

@github-actions github-actions Bot added awaiting-maintainer The author replied or pushed - our move and removed awaiting-author We replied - waiting on the author labels Nov 5, 2026
@Sapd

Sapd commented Nov 5, 2026

Copy link
Copy Markdown
Owner

That settles it - the advanced lookup being rejected means master already fell back to Onboard on that unit, so nothing changes on the wire. Merging.

One thing from your test worth its own issue: -e setting Q to 1 on all five bands. Pre-existing in the Onboard path, not this PR, but it silently overwrites a Q the user set elsewhere.

@Sapd
Sapd merged commit 1aeb4f3 into Sapd:master Nov 5, 2026
7 checks passed
@github-actions github-actions Bot removed the awaiting-maintainer The author replied or pushed - our move label Nov 5, 2026
@ChrisLauinger77
ChrisLauinger77 deleted the codex/fix-pro-x2-eq branch November 5, 2026 15:48
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