Add read-only Acer A315-56 extended EC module - #95
Draft
celsonaemen wants to merge 1 commit into
Draft
Conversation
namazso
marked this pull request as draft
August 30, 2026 00:23
Owner
|
I changed this to draft, please test it before marking it as ready. |
Author
|
A causa ficou fechada: dentro do CAB há quatro slots esperados (ARM64 normal/unrestricted e x64 normal/unrestricted), mas o quarto slot repete but i gona test it keep calm pls |
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
Adds a model-specific, read-only semantic backend for the extended embedded-controller mailbox exposed by the Acer Aspire A315-56 ACPI firmware.
The module exposes one IOCTL that implements the semantic equivalent of EC0.FANG(index). Although the caller operation is a read, the firmware protocol necessarily writes the index and command fields before returning ERN1.
Hardware and firmware gate
Validated target:
The module refuses to load unless the CPU architecture/vendor/family/model and exact LPC vendor/device ID match.
Firmware reference
The transaction was derived from the decompiled DSDT path EC0.FANG -> EIDR/ERRD -> ERCD:
A sanitized hardware map and the reverse-engineering notes are available at:
https://github.com/celsonaemen/acer-a315-56-control/blob/main/docs/HARDWARE-MAP.md
Safety properties
Validation
The main review request is the ACPI/Acpi.sys concurrency model around the firmware mailbox and whether the hardware gate is sufficiently specific for an official signed build.