notaz / corsairmi

Tool to read out Corsair RMi PSUs
BSD 3-Clause "New" or "Revised" License
45 stars 23 forks source link

Power in/power out information #4

Open realies opened 6 years ago

realies commented 6 years ago

Corsair LINK provides realtime information on the PSU efficiency by having power in and power out readouts. Is it possible to include these in corsairmi or to share the knowledge on how to spoof the data?

Edit: Looking at the output from corsairmi and the LINK app, Corsair might be estimating efficiency by adding output0,1,2 wattage data and relating it to the total watts value. Not able to verify this.

image

notaz commented 6 years ago

It's probably adding the outputs, yes. I remember searching exhaustively for all registers and there were no other outputs that looked like Watts.

realies commented 6 years ago

Would it be sensible to include the sum of outputs and an efficiency value in the output of corsairmi?

Update: When polling corsairmi every 2 seconds, the sum of all output\d watts values would often exceed the total watts value, which in reality should not be possible. This might be due to non-synchronous polling from the PSU sensors or something else along the chain. Thoughts?

notaz commented 6 years ago

Hmm not sure how to solve that, might have to do more reversing of windows tools to see how they do it. I don't have motivation for that though as I only need the "power in" reading.

realies commented 6 years ago

I would be interested in doing so if you can point me in the right direction? :o)

notaz commented 6 years ago

Well doing a detailed walkthrough would take more time that just doing it myself.

It goes like this: you start by installing a USB packet sniffer on windows (there are tons of them, can't remember which I used, it's been almost 2 years), then run windows tool that controls the device, start USB packet sniffing, do the operations you want with the tools, stop packet capture and look at the packets for commands that were sent to device.

For doing a disassembly, it's a very long story and if you never tried it, I wouldn't recommend going that way.