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.
Issue Summary
The
surface_gpedriver currently lacks support for the Surface Laptop 5 (Intel variant). The device is missing from thedmi_lid_device_table[], causing the module to exit early with-ENODEVand preventing lid wake functionality from working out of the box.Device Info
Expected Behavior
On supported Surface devices, the
surface_gpemodule 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
dmesgshows:Module fails to bind due to missing DMI match.
Suggested Fix
Add a
DMI_PRODUCT_SKUmatch entry to the driver's DMI table:If necessary, I can assist with confirming the correct GPE via DSDT analysis.