Skip to content

fix(logitech): treat the PRO X Wireless (0xc094) as format 4 - #175

Merged
snekxs merged 1 commit into
mainfrom
fix/logitech-c094-format-4
Oct 6, 2026
Merged

snekxs merged 1 commit into
mainfrom
fix/logitech-c094-format-4

Conversation

@snekxs

@snekxs snekxs commented Oct 6, 2026

Copy link
Copy Markdown
Member

A sector-1 dump from a real 0xc094 (main app MPM25.01_B0018) reports profile format 4 - the base v1 scalar table - not the format 7 the per-stage lift-off guard was written for. Base v1 has no per-stage lift-off byte at all, so the product guard has nothing to refuse on this device; isLodWritableForProduct now applies the guard only to v6 layouts, which keeps the protection if a unit ever does report a v6 format.

The dump is pinned in onboard-profiles.test.ts: the framed info reply 01 0d 00 01 04 01 05 01 05 10 00 ff 0a 04 00 00, a CRC-valid sector 1, and the first stage 20 03 = 800 DPI at 1000 Hz. The comment and docs/logitech-onboard-profiles.md are corrected to match.

Verification: onboard-profiles.test.ts 66/66; decode also checked against the built dist.

Closes #159

A sector-1 dump from a real 0xc094 (main app MPM25.01_B0018) reports profile
format 4 - the base v1 scalar table - not the format 7 the per-stage lift-off
guard assumed. V1 has no per-stage lift-off byte, so the product guard has
nothing to refuse there; it now only applies to v6 layouts, which keeps the
protection for a unit that does report a v6 format.

Correct the comment and docs, and pin the captured geometry (format-4 info
reply, CRC-valid sector 1, 800 DPI first stage at 1000 Hz) in a regression
test.

Closes #159
@snekxs
snekxs merged commit ddcb173 into main Oct 6, 2026
10 checks passed
@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 0.26.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

G Pro X Superlight (0xc094): profile dump, reports format 4 not 7

1 participant