dmi_memdev_type(9)
dmi_memdev_type(9) π
okay so this one is from the Kernel API Manual, bestie β and it's literally about getting the memory type β¨
π NAME
dmi_memdev_type β get the memory type
β¨ SYNOPSIS
u8 dmi_memdev_type (u16 handle );
π ARGUMENTS
handleβ DMI structure handle
π¦ DESCRIPTION
So basically: it returns the DMI memory type of the module chilling in the slot associated with the given DMI handle π«Ά
And if that DMI handle doesn't exist? It gives you 0x0. No cap. π
π SEE ALSO
Kernel file: ./drivers/firmware/dmi_scan.c
dmi_setup(9)dmi_matches(9)dmi_is_end_of_table(9)dmi_check_system(9)dmi_first_match(9)dmi_get_system_info(9)dmi_name_in_serial(9)dmi_name_in_vendors(9)dmi_find_device(9)dmi_get_date(9)dmi_get_bios_year(9)dmi_walk(9)dmi_match(9)dmi_memdev_handle(9)
cute little sign-off: source/version is ./drivers/firmware, dated October 2026 β mwah ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms