Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sensor names with yoga c630 using the thermal to hwmon connector #116

Open
bm16ton opened this issue Nov 17, 2020 · 0 comments
Open

sensor names with yoga c630 using the thermal to hwmon connector #116

bm16ton opened this issue Nov 17, 2020 · 0 comments

Comments

@bm16ton
Copy link

bm16ton commented Nov 17, 2020

Expected behaviour

different names for each sensor

Actual behaviour

temp1 is listed for all 20 sensors under label and sensor

Steps to reproduce the behaviour

install on any yoga c630 arm64 laptop (and possibly anybox with thermal drivers connected to hwmon via THERMAL_HWMON kernel config option)

MATE general version

1.24

Package version

1.24.0+1

Linux Distribution

ubuntu 20.04

So mate applets currently displays temp1 for label and sensor. I know when THERMAL_HWMON is used/needed it put all temps in the /sys/class/hwmon/hwmon*/temp1_input, I tried looking at your code to see if it was using the folder name etc, but it was above my head.
sensors -A
shows correct names IE # I used the -A to remove adapters to make it more clear;
cpu6_thermal-virtual-0
temp1: +39.7°C (crit = +100.0°C)

I could see sum of the code was borrowed from the sensors app, but I couldnt figure out which code showed which or where to replace. If a command line option or a build option to switch the naming could happen thatd be great. If not if anyone can help me switch the code to show the correct name, Id be greatly appreciative! The only sensor with a diff name is in0 for the battery and its placement in the list changes sporadically making it impossible to figure out how the list is ordered. Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant