Le Mon, Apr 09, 2018 at 01:39:20PM +0200, Arnaud Launay [asl@launay.org] a écrit:
Sur du SuperMicro, ça renvoie bien un truc bien propre (avec numéros de série, mais bon, les SN des PWS , hein...)
Pas toutes, j'en ai aussi qui sortent des "To Be Filled By O.E.M."
Mais une qui marche, ca donne ca :
System Power Supply Power Unit Group: 1 Location: To Be Filled By O.E.M. Name: PWS-703P-1R Manufacturer: SUPERMICRO Serial Number: P7031CC16UT9413 Asset Tag: N/A Model Part Number: PWS-703P-1R Revision: 1.1 Max Power Capacity: 700 W Status: Present, OK Type: Switching Input Voltage Range Switching: Auto-switch Plugged: Yes Hot Replaceable: No Input Voltage Probe Handle: 0x00A3 Cooling Device Handle: 0x00A5 Input Current Probe Handle: 0x00A6
# dmidecode -t 39 # dmidecode 2.12 SMBIOS 3.0 present. # SMBIOS implementations newer than version 2.8 are not # fully supported by this version of dmidecode.
Handle 0x0022, DMI type 39, 22 bytes System Power Supply Power Unit Group: 1 Location: PSU1 Name: PWS-406P-1R Manufacturer: SUPERMICRO Serial Number: P406PCG17LT2411 Asset Tag: N/A Model Part Number: PWS-406P-1R Revision: 1.3 Max Power Capacity: 400 W Status: Present, OK Type: Switching Input Voltage Range Switching: Auto-switch Plugged: Yes Hot Replaceable: No
Handle 0x0023, DMI type 39, 22 bytes System Power Supply Power Unit Group: 2 Location: PSU2 Name: PWS-406P-1R Manufacturer: SUPERMICRO Serial Number: P406PCG17LT2410 Asset Tag: N/A Model Part Number: PWS-406P-1R Revision: 1.3 Max Power Capacity: 400 W Status: Present, OK Type: Switching Input Voltage Range Switching: Auto-switch Plugged: Yes Hot Replaceable: No
(Debian Jessie BTW)
Sur une strech:
# dmidecode -t 39 # dmidecode 3.0 Getting SMBIOS data from sysfs. SMBIOS 3.0 present.
Handle 0x0022, DMI type 39, 22 bytes System Power Supply Power Unit Group: 1 Location: PSU1 Name: PWS-407P-1R Manufacturer: SUPERMICRO Serial Number: P407PCH05GT0342 Asset Tag: N/A Model Part Number: PWS-407P-1R Revision: 1.1 Max Power Capacity: 400 W Status: Present, OK Type: Switching Input Voltage Range Switching: Auto-switch Plugged: Yes Hot Replaceable: No
Handle 0x0023, DMI type 39, 22 bytes System Power Supply Power Unit Group: 2 Location: PSU2 Name: PWS-407P-1R Manufacturer: SUPERMICRO Serial Number: P407PCH05GT0343 Asset Tag: N/A Model Part Number: PWS-407P-1R Revision: 1.1 Max Power Capacity: 400 W Status: Present, OK Type: Switching Input Voltage Range Switching: Auto-switch Plugged: Yes Hot Replaceable: No
Par contre ça ne semble pas fontionner sur des "vieux" SM.
Sur une "vieille" X9DRL-3F (mais en stretch):
# dmidecode -t 39 # dmidecode 3.0 Getting SMBIOS data from sysfs. SMBIOS 2.7 present.
Handle 0x006C, DMI type 39, 22 bytes System Power Supply Power Unit Group: 1 Location: To Be Filled By O.E.M. Name: To Be Filled By O.E.M. Manufacturer: To Be Filled By O.E.M. Serial Number: To Be Filled By O.E.M. Asset Tag: To Be Filled By O.E.M. Model Part Number: To Be Filled By O.E.M. Revision: To Be Filled By O.E.M. Max Power Capacity: Unknown Status: Present, OK Type: Switching Input Voltage Range Switching: Auto-switch Plugged: Yes Hot Replaceable: No Input Voltage Probe Handle: 0x0068 Cooling Device Handle: 0x006A Input Current Probe Handle: 0x006B
Arnaud.
Liste de diffusion du FRsAG http://www.frsag.org/