Optimize Intel SMBus Detection
Change Content
- Query conditions of Win32_PnPSignedDriver.
- Determination rules for the manufacturer of the SMBus controller.
Reasons for Change
- The
Descriptionof SMBus controller may be empty (for example, motherboard: ASUS TX GAMING B760-BTF WIFI). But itsDeviceNamemay contain "SMBus". - The
Manufacturerof SMBus controller may be empty as well. Analyzing existing code, one boards seems to have a couple of SMBus from different manufacturer. To ensure SMBus controllers with empty Manufacturer won't be missed and to minimize the risk of misidentification, I added such a case:
IF
the Manufacturer of SMBus controller is empty
AND the Manufacturer of processor is Intel
AND there is only one SMBus controller queried from WMI
THEN
the Manufacturer of the unique SMBus controller should be Intel
END
Testing
The program has been tested on my computer and functions as expected.