Package Details: fanshim 0.0.5-3

Git Clone URL: https://aur.archlinux.org/fanshim.git (read-only, click to copy)
Package Base: fanshim
Description: Automatic control of Pimoroni Fan Shim for Raspberry Pi.
Upstream URL: https://github.com/pimoroni/fanshim-python
Licenses: MIT
Submitter: fryfrog
Maintainer: fryfrog
Last Packager: fryfrog
Votes: 1
Popularity: 0.001365
First Submitted: 2019-07-11 17:30
Last Updated: 2020-08-18 23:56

Pinned Comments

fryfrog commented on 2019-07-12 16:14

For --preempt to work, which needs psutil.cpu_freq() to work, you'll have to use the linux-aarch64-raspberrypi-bin kernel on aarch64 instead of the default linux-aarch64.

Latest Comments

blackhole commented on 2019-11-30 15:39

Yes is working with only temperature setting.

fryfrog commented on 2019-11-30 15:35

Might be worth reporting to the author, I had a couple other simple coding issues they fixed while making the package. It seems reasonable that they could gate the checking of frequency around something that checks if that is possible, since it can be used w/ just temperature. That works, I assume?

blackhole commented on 2019-11-30 15:29

I have rpi 4 and a realtime kernel 4.19.71

Since I am not interested in frequency check since rpi4 is run at 1500 Turbo, I have commented the line 137...not a real solution but now is working fine!

fryfrog commented on 2019-11-30 15:26

Which Pi? And what kernel? I'm running it on a Pi 4 w/ 32bit linux-raspberrypi4 right now, but started w/ a Pi 3 and aarch64. There were some oddies I had to resolve around the correct kernel.

Looks like that bit in the code is trying to get the current and max cpu frequency.

blackhole commented on 2019-11-30 14:58

Installed the package but I have this error:

[root@raspberry examples]# fanshim --on-threshold 55 --off-threshold 50 --delay 2 Traceback (most recent call last): File "/usr/bin/fanshim", line 137, in <module> is_fast = (int(f.current) == int(f.max)) AttributeError: 'NoneType' object has no attribute 'current'

fryfrog commented on 2019-07-12 16:14

For --preempt to work, which needs psutil.cpu_freq() to work, you'll have to use the linux-aarch64-raspberrypi-bin kernel on aarch64 instead of the default linux-aarch64.

fryfrog commented on 2019-07-11 19:12

This package is just their script and a service file, I created python-fanshim and python-plasmalight for depends.

It still isn't working though, so if you try it and figure out wtf I've done wrong, let me know! :)

yochananmarqos commented on 2019-07-11 18:50

This should be called python-fanshim since it's a Python library. Please fill in the description.