diff --git a/Resources/device_probe.py b/Resources/device_probe.py index d6da35d63..3a4c66e85 100644 --- a/Resources/device_probe.py +++ b/Resources/device_probe.py @@ -310,7 +310,7 @@ class Computer: def smbios_probe(self): # Reported model - entry = next(self.ioregistry.find(entry_class="IOPlatformExpertDevice")) + entry = next(self.ioregistry.find(name="Root")).children[0] self.reported_model = entry.properties["model"].strip(b"\0").decode() self.reported_board_id = entry.properties.get("board-id", entry.properties.get("target-type", b"")).strip(b"\0").decode()