smbios(1M) could decode voltage and curent probes
A system's smbios data includes voltage probes. We should consider decoding these and printing something human-readable. This is as opposed to the current value:
ID SIZE TYPE 40 27 SMB_TYPE_VPROBE (type 26) (voltage probe) offset: 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 0: 1a162800 01000080 00800080 00800080 ..(............. 0x10: 00000000 00804c4d 373841 ......LM78A
To test this, I decoded several different smbios images and manually made sure that the bits in question lined up with what we were displaying. Because a large number of values were unknown, I also went through and modified the returned data in mdb to make sure that we printed some of the fractional / decimal values correctly.
Updated by Electric Monk almost 4 years ago
- Status changed from New to Closed
commit f44a1392c9d1c0ff0faf96d4eed0952a6b5cfbe0 Author: Robert Mustacchi <email@example.com> Date: 2018-07-19T18:47:39.000Z 9569 smbios(1M) could decode voltage and curent probes 9570 smbios(1M) could decode cooling devices 9571 smbios(1M) could decode temperature probes 9572 smb_impl.h structs should comment corresponding type 9573 overshifted smbios major version leads to undershifted data 9574 smbios(1M) shouldn't print non-existant bios versions Reviewed by: Tim Kordas <firstname.lastname@example.org> Reviewed by: Dan McDonald <email@example.com> Reviewed by: Toomas Soome <firstname.lastname@example.org> Reviewed by: Igor Kozhukhov <email@example.com> Reviewed by: Yuri Pankov <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>