linux-surface icon indicating copy to clipboard operation
linux-surface copied to clipboard

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

Open wowitsjack opened this issue 10 months ago • 0 comments

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.

wowitsjack avatar Jun 05 '25 14:06 wowitsjack