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

Config option to require sensors be present in sysfs #13

Open
msbarth opened this issue Jul 17, 2019 · 0 comments
Open

Config option to require sensors be present in sysfs #13

msbarth opened this issue Jul 17, 2019 · 0 comments

Comments

@msbarth
Copy link
Contributor

msbarth commented Jul 17, 2019

A problem has been determined on some devices where its possible that sensor(s) may not have associated sysfs file(s) created when the driver is bound and hwmon is started for the device. Currently there is no check between what sensors are presented in sysfs to what's provided in the hwmon config file for the device, essentially making sensors for all devices optional for hwmon to create on dbus.

A hwmon config option is needed to require what's given in the config file to also be present in sysfs. When the sysfs file for a sensor does not exist, hwmon should either log an error and continue OR hwmon should exit. This requires additional definition on how the config entry is defined.

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