-
Notifications
You must be signed in to change notification settings - Fork 64
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
"Invalid sensor entry" on "chip" keyword #229
Comments
First thing I'd normally suspect is that |
I guess I could implement checks for disabled features that would give a more helpful error message in that kind of situation... |
I'll try compiling myself with that flag. |
It worked after adding the AUR PKGBUILD Fix
diff --git a/PKGBUILD b/PKGBUILD
index 3d7eaf2..86cadc6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -24,7 +24,7 @@ install=thinkfan.install
build() {
cd "$srcdir/$pkgname-$pkgver"
- cmake . -DCMAKE_INSTALL_PREFIX=/usr -DUSE_ATASMART:BOOL=ON
+ cmake . -DCMAKE_INSTALL_PREFIX=/usr -DUSE_ATASMART:BOOL=ON -DUSE_LM_SENSORS:BOOL=ON
make
}
I think the flag may not have been available at the time of the latest tag release, hence the issues? |
Now I'm getting
What should I do? thinkfan.yaml
|
You could just view the PKGBUILD here https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=thinkfan |
Ok, now it's working, but the fans aren't starting above 50c. Am I doing it wrong? $ sudo thinkfan
[sudo] password for nozwock:
Daemon PID: 194920 thinkfan.yaml
|
Ok, nvm I manged to make it work. levels:
# - [0, 0, 50]
- ["level 0", 0, 50]
- ["level 2", 50, 60]
- ["level 4", 60, 70]
- ["level disengaged", 70, 255] Thanks for the project, you can close the issue now if you'd like. |
It appears that USE_LM_SENSORS wasn't added until after the current release (1.3.1) was tagged. That being said, the fix applied to the AUR PKGBUILD mentioned above doesn't work; you'll see the following during the build process...
@vmatare it's been a more than a year since a release. Is there anything holding that up? |
Yes, that's what I was saying. The question is, is there anything holding up a new release version tag? Having a newer tagged version would cause this feature to make it's way into distro packages (or in my case, at least into AUR), so that we don't have to manually build from |
Thank you for this project! @vmatare it would be great for all arch users if a new tag / minor version could be released including that change. |
Just found out that thinkfan-git exists in AUR, which does solve this problem for me. Still, I think it would be great, if this fix would be released. |
With thinkfan-git it is working for me as well with the thinkfan.yaml file. |
Still waiting for a real release for debian/ubuntu. The sources here are still missing lmsensors support. I did get a .deb built using the following steps:
Not great, and its using custom release numbers but it does work with lmsensors now. |
Would you mind sharing your compiled .deb ? I'm struggling to reproduce your process. |
Using the sample yaml config.
Installed
aur/thinkfan 1.3.1-1
The text was updated successfully, but these errors were encountered: