Open hanetzer opened 1 year ago
Thank you for the contribution! Why do you want to ditch the asus-emi-sensors driver? Two drivers covering the same board is not exactly what mainline kernel project likes; to submit such a change I need a reason. There has to be a table in the DSDT that maps those labels to EC register indices. I can find it later today. I'm interested to know details what went bad when you tried to read all the possible sensors. To my knowledge that should not cause problems unless we try to read EC banks which do not exist.
I've figured it out, I think. And I thought the asus-wmi-sensors kmod was getting retired in favor of this one? In any case, its mostly about me wanting to 'pick apart' this machine as much as possible, since I'm planning on doing some hw/fw dev on/for it.
And I thought the asus-wmi-sensors kmod was getting retired in favor of this one?
No, it was not. asus-wmi-sensors provides the full set of sensor readings, combining those from the Super I/O chip and the EC.
https://www.phoronix.com/news/Linux-Drop-ASUS-WMI-EC-Sensors Ah, I missed a segment of the name reading this.
so, while I have the semi-attention of a low level kernel/firmware interaction developer. Hypothetically speaking, if one were to port any of the boards supported by either this driver or asus-wmi-sensors to coreboot/oreboot/whatever, what then? Should one at that point use the asus-ec-sensors and the whatever-your-superio-is driver? Or should the *boot porter replicate the wmi interface from the vendor bios?
The less logic is in the firmware, where it is harder to change it that in the software, the better. How important for Coreboot to replicate DMI interfaces of the original BIOSes I can't tell.
Heyo. Above mentioned board is currently supported by the asus-wmi-sensors kmod and I'd like to port it over. However, I'm not sure as to the mapping between the two. I have a dumped and decompiled dsdt table. asus-wmi-sensors gives me:
with a small patch:
I get the following output:
It would be helpful if there was a small guide on figuring out what is supported. I thought I'd just enable it all and see what doesn't work but boy did my kernel not like that.