Skip to content

GXFP51A0 SPI (MateBook 13 2021): driver_51x0_spi reads 0xFF — reset GPIO + wake missing #69

Description

@GodsQuantum

Testing driver_51x0_spi (run_5120_spi) over /dev/spidev0.0 on a MateBook 13 2021 (GXFP51A0): MISO is constant 0xFF, even during the write half of a full-duplex xfer, at 1 and 10 MHz.

Two gaps found:

  1. The sensor's ACPI GpioIo reset (gpiochip0 line 264 here) must be asserted before SPI — nothing in the flow drives it.
  2. SPIProtocol.read() polls blind: the data-ready interrupt.poll() is commented out and hard-codes gpiochip0 line 279 (the author's line), not this machine's GpioInt.

Even with reset asserted, MISO stays silent — likely a proprietary wake/bootloader step. Full ACPI + test details: https://github.com/GodsQuantum/huawei-matebook-fingerprint-linux . Anyone with a working GXFP51A0 capture?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions