I've had a look at the various IPMI implementations out there, and FreeIPMI seems the most suitable. I've then had a look at FreeIPMI docs, code, svn, examples, contrib, and there I got lost! the code is very complex and hidden in many abstraction layers. And docs and examples are not very helpful.
I also don't see pkg-config supports files (.pc). Have I missed something? or isn't it developer friendly :(
I've got the attached output from ipmi-fru and ipmi-sensors I'd like to do the exact same thing (ie identify and get all PSU information and events), but looking at the code and docs, I still don't see the light.
Could you please provide me some help and guidance?