The 13" Intel version of the Surface Laptop 4 uses the same GPE as the Surface Laptop Studio for wakeups via the lid. Set it up accordingly.
Unified · Split
| @@ -171,6 +171,18 @@ static const struct dmi_system_id dmi_lid_device_table[] = { · 170 unmodified lines | ||
| 171 | 171 | }, |
| 172 | 172 | .driver_data = (void *)lid_device_props_l4D, |
| 173 | 173 | }, |
| 174 | + { | |
| 175 | + .ident = "Surface Laptop 4 (Intel 13\")", | |
| 176 | + .matches = { | |
| 177 | + /* | |
| 178 | + * We match for SKU here due to different variants: The | |
| 179 | + * AMD (15") version does not rely on GPEs. | |
| 180 | + */ | |
| 181 | + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Microsoft Corporation"), | |
| 182 | + DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "Surface_Laptop_4_1950:1951"), | |
| 183 | + }, | |
| 184 | + .driver_data = (void *)lid_device_props_l4B, | |
| 185 | + }, | |
| 174 | 186 | { |
| 175 | 187 | .ident = "Surface Laptop Studio", |
| 176 | 188 | .matches = { |