I got a Linksys EA8500 recently, built LEDE r21114 myself and it runs pretty well. But when I was trying to compare thermal status of this new platform with my old Netgear R7000, I found that there were nothing under
lm-sensors gave nothing as well.
After some digging I discovered that Qualcomm had sent relevant patches to mainline Linux (for e.g., the DTS change), but they were not accepted for some reason. I tried picking the changes into my local sources and it works as expected:
root@lede:~# ls /sys/class/thermal cooling_device0 cooling_device1 thermal_zone0 thermal_zone1 thermal_zone2 root@lede:~# cat /sys/class/thermal/*/temp 54696 54696 53080
My changes are here. Patch 10 needs to be applied in the root directory of LEDE source, while other 10 patches should be applied to kernel source directly.
I'm thinking about adjusting the patches for LEDE and submitting them, but given that upstream did not accept those patches, I'm wondering whether it is appropriate to do so.
Furthermore, I found that Qualcomm thermal driver was merged in a newer kernel version (4.6 maybe?), but there is still no sensor data in
qcom-ipq8064.dts after that version.
What should I do with these patches?