Skip to content

Surface Laptop 5 DMI ID Missing From GPE Modules List Leading to Failed Lid Suspend Events #1782

@wowitsjack

Description

@wowitsjack

Issue Summary
The surface_gpe driver currently lacks support for the Surface Laptop 5 (Intel variant). The device is missing from the dmi_lid_device_table[], causing the module to exit early with -ENODEV and preventing lid wake functionality from working out of the box.


Device Info

System Manufacturer: Microsoft Corporation  
System Product Name: Surface Laptop 5  

Expected Behavior
On supported Surface devices, the surface_gpe module enables the ACPI GPE required for wake-from-lid functionality during suspend. Surface Laptop 5 (Intel) should behave similarly, as it shares platform architecture with supported models like the Surface Laptop 4.


Observed Behavior

$ sudo modprobe surface_gpe
modprobe: ERROR: could not insert 'surface_gpe': No such device

dmesg shows:

surface_gpe: no compatible Microsoft Surface device found, exiting

Module fails to bind due to missing DMI match.


Suggested Fix

Add a DMI_PRODUCT_SKU match entry to the driver's DMI table:

If necessary, I can assist with confirming the correct GPE via DSDT analysis.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions