From 32ab4f7a2b9fb55f9a53d4b60c17624029ba017b Mon Sep 17 00:00:00 2001 From: Daniel Schaefer Date: Tue, 5 May 2026 11:45:23 +0800 Subject: [PATCH] Hardcode laptop 12 Signed-off-by: Daniel Schaefer --- framework_lib/src/smbios.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/framework_lib/src/smbios.rs b/framework_lib/src/smbios.rs index b25ed153..98ca91bf 100644 --- a/framework_lib/src/smbios.rs +++ b/framework_lib/src/smbios.rs @@ -270,7 +270,8 @@ pub fn get_platform() -> Option { "Laptop 13 (Intel Core Ultra Series 1)" => Some(Platform::IntelCoreUltra1), "Laptop 16 (AMD Ryzen 7040 Series)" => Some(Platform::Framework16Amd7080), "Desktop (AMD Ryzen AI Max 300 Series)" => Some(Platform::FrameworkDesktopAmdAiMax300), - _ => None, + // Hardcode Laptop 12 details + _ => Some(Platform::GenericFramework((0x08, 0x40), (1, 2), false)) }; if let Some(platform) = platform {