Optimize intel smbus detection

Change Content

  1. Query conditions of Win32_PnPSignedDriver.
  2. Determination rules for the manufacturer of the SMBus controller.

Reasons for Change

  1. The Description of SMBus controller may be empty (motherboard: ASUS TX GAMING BTF2.0 WiFi). But its DeviceName may contain "SMBus".
  2. The Manufacturer of 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.

Merge request reports

Loading