udev: Extract RAM properties from DMI information

Add memory_id program to set properties about the physical memory
devices in the system. This is useful on machines with removable memory
modules to show how the machine can be upgraded, and on all devices to
detect the actual RAM size, without relying on the OS accessible amount.

Closes: #16651
This commit is contained in:
Bastien Nocera
2020-12-02 12:40:42 +01:00
committed by Zbigniew Jędrzejewski-Szmek
parent 84a1ff9457
commit 4dd465cb4e
11 changed files with 859 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ rules = files('''
60-serial.rules
70-joystick.rules
70-mouse.rules
70-memory.rules
70-touchpad.rules
75-net-description.rules
75-probe_mtd.rules