Fix SPDDetector only scanning bus 0 on Linux
Hi, I just compiled a build from master and noticed it wasn't detecting my RAM.
The issue seemed to be it was probing bus 0 for each bus, not bus n for each bus;
and this is due to using port_id
as the bus id, which from my understanding is the PCI port id and is only used on NVIDIA making it always 0
.
I've added a new bus_id
member to the i2c_smbus_interface
class, set it to the Linux adapter ID, and switched out port_id
for bus_id
where relevant.
My RAM is now detected and working with this patch.
Thanks, Steve