Repository navigation
Conversation
On the Predator Helios Neo 16 (PHN16-72) GetGamingKBBacklight errors even though SMBIOS reports an LED array, so no Keyboard light was offered. The keyboard write never touches WMI (no ExecMethod in WMI-Activity) or the USB bus (USBPcap saw nothing), so as a fallback talk to AcerService's JSON API on 127.0.0.1:46933, the channel PredatorSense itself uses. Only offered when the native path is absent, SMBIOS has an LED array, and the port answers. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
On a Predator Helios Neo 16 (PHN16-72, BIOS V1.18) OpenSense shows no Keyboard light, only Light bar and Logo. This adds a Keyboard light through AcerService's local API as a fallback, so the keyboard can be recoloured without PredatorSense's UI.
What I found
Diagnostics on this model:
ledArray=16), so the RGB keyboard exists, but theGetGamingKBBacklightprobe errors, sorgbstays false.ExecMethodat all, so it is not the ACPI-WMI class.258A:010Ckeyboard chip only showed enumeration control traffic, and the only bulk traffic was a USB mass-storage device.127.0.0.1:46933(ACERmagic + packet id + JSON). I found the protocol through hammadzaigham/PreySense, which documents it, and confirmed it on this laptop (VERSIONhandshake,LIGHTINGquery,LIGHTINGset).Change
AcerServiceTransport: minimal client for that API (optional AES-ECB key fromHKCU\Software\Acer\XSense\AESkey, as PreySense does).AcerServiceKeyboardBackend/LightingBackendKind.AcerServiceKeyboard: 4 zones, the same 7 zoned effects, same id as the native keyboard so settings carry over.CapabilityProbe: offers it only when the native keyboard path is absent and SMBIOS has an LED array and the port answers. Laptops that work natively are unchanged, and laptops without an RGB keyboard still show no tab.AcerService keyboard fallback: ...in the diagnostics.Tradeoffs, please weigh in
Tested
dotnet test: 478 pass (2 new).Diagnostics excerpt above; I can paste the full dump if useful.
🤖 Generated with Claude Code