FanSpeed

Plasma 4 Widgets

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

2
Score 81.6%
Description:

Shows the current speed of a fan.
Last changelog:

8 years ago

0.3:
- case insensitive fan lookup
0.2:
- Fixing: 'QString' object has no attribute 'toString'

Marquel

7 years ago

After doing a bit of research (and reading FanSpeed's code) I have to withdraw the bug of the label color from FanSpeed and move it to pykde4.

Sorry for that one and kind regards.

Report

igorsinkovec

7 years ago

Thank you for developing FanSpeed! It's great, especially because it's the only if it's kind.

However, having to go to Settings and change Maximum Speed every time I login makes using the plasmoid a bit annoying, and leaving the default settings is really useless.

Likewise the RPM readout: it's unreadable on themes with white font.

I really hope you will find time to fix these two issues, especially because there's no alternative plasmoid.

Thanx again!

Report

Marquel

7 years ago

Nice Plasmoid.
Just two bugs:

1. Current RPM's are seemingly printed on the gauge but use system's default foreground text color. On systems with a white-text-on-dark-background color scheme this results in unreadable RPM-printing. Please change to use a black or otherwise dark color always on a known-white background and not rely on system color scheme settings. :)

2. If possible I'd like to have my "max RPM" setting stored even if the system reports an amazingly high RPM. My system reports 65535 RPM on going to suspend which I have to change back to its usual (and one order of magnitude less) maximum value everytime. At least a checkbox like "do not adjust max. value to reported fan speed" would be nice here.

Thanks for your work.

Report

igorsinkovec

7 years ago

I agree. Please fix.

Report

igorsinkovec

7 years ago

There, I fixed it. Added 3 lines of code. Mail me if you want the fixed source.

Report

filhocf

7 years ago

Hi

I think that your plasmoid is great, but unhappylly, i can't use in my macbook (v2) because i haven't the string "fan", but 'Exhaust". In mac machines, we need use the module 'applesmc', that return this in "sensors" command:

Quote:# sensors
applesmc-isa-0300
Adapter: ISA adapter
Exhaust : 6208 RPM (min = 1800 RPM)
TB0T: +34.2°C
TC0D: +69.8°C
TC0P: +67.0°C
TM0P: +60.2°C
TN0P: +63.5°C
TN1P: +65.5°C
TTF0: +57.2°C
Th0H: +65.2°C
Th0S: +65.5°C
Th1H: +65.8°C

coretemp-isa-0000
Adapter: ISA adapter
Core 0: +73.0°C (high = +100.0°C, crit = +100.0°C)
Core 1: +75.0°C (high = +100.0°C, crit = +100.0°C)

Report

Schiwi

8 years ago

There is no fan listed

Report

kbios

8 years ago

Very useful. Thanks!

Report

donpedro69

8 years ago

Hello,
i can only choose fan4 and fan5 in plasmoid but there is no fan for CPU Fan as listed after "sensors" in terminal

$ sensors
k8temp-pci-00c3
Adapter: PCI adapter
Core0 Temp: +54.0°C
Core1 Temp: +57.0°C

w83627ehf-isa-0290
Adapter: ISA adapter
VCore: +1.43 V (min = +0.00 V, max = +2.04 V)
in1: +8.87 V (min = +0.00 V, max = +13.46 V)
AVCC: +3.26 V (min = +0.00 V, max = +4.08 V)
3VCC: +3.25 V (min = +0.00 V, max = +4.08 V)
in4: +1.62 V (min = +0.00 V, max = +2.04 V)
in5: +1.83 V (min = +1.50 V, max = +1.52 V) ALARM
in6: +5.89 V (min = +5.91 V, max = +6.48 V) ALARM
VSB: +3.18 V (min = +0.00 V, max = +4.08 V)
VBAT: +2.96 V (min = +0.00 V, max = +4.08 V)
in9: +1.51 V (min = +2.04 V, max = +2.04 V) ALARM
Case Fan: 0 RPM (min = 0 RPM, div = 128)
CPU Fan: 2721 RPM (min = 664 RPM, div = 8)
Aux Fan: 0 RPM (min = 0 RPM, div = 128)
fan4: 0 RPM (min = 10546 RPM, div = 128) ALARM
fan5: 0 RPM (min = 10546 RPM, div = 128) ALARM
Sys Temp: +40.0°C (high = +127.0°C, hyst = +127.0°C) sensor = thermistor
CPU Temp: +46.5°C (high = +80.0°C, hyst = +79.0°C) sensor = thermistor
AUX Temp: -48.0°C (high = +127.0°C, hyst = +127.0°C) sensor = thermistor
cpu0_vid: +1.350 V

Please advice ;)

Report

C

nik3nt3

8 years ago

Hi

can you check if you find the "missing" fans in the plasma dataengine, run:
Quote:
plasmaengineexplorer --engine systemmonitor


and add the search-term: fan. If all fans are listed there, please tell me their names. Otherwise you should fill a bug against the plasma-dataengine "systemmonitor"..

Hope this helps

/nik

Report

donpedro69

8 years ago

all names listed below:

lmsensors/w83627ehf/Case_Fan
lmsensors/w83627ehf/CPU_Fan
lmsensors/w83627ehf/Aux_Fan
lmsensors/w83627ehf/fan4
lmsensors/w83627ehf/fan5

Key Value of QString Type respectively but "_" replaced by " " (space)

Regards

Report

C

nik3nt3

8 years ago

working now?

Report

donpedro69

8 years ago

Now it's OK! Sorry to be late with my response ;)

Report

C

nik3nt3

8 years ago

Thx - it seems that the fan-lookup is not case-insensitive (fan vs Fan) -- i will fix that..

/nik

Report

brucew

8 years ago

Here is the output for 'sensors':

~:/$ sudo sensors
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +38.0°C (high = +80.0°C, crit = +100.0°C)

coretemp-isa-0001
Adapter: ISA adapter
Core 1: +38.0°C (high = +80.0°C, crit = +100.0°C)

Still the plasmoid does not list any fans.
Please advise.

Report

brucew

8 years ago

I just ran 'sensors-detect' that updated the /etc/modules file. I can't reboot just now. More later.

Report

brucew

8 years ago

I am not getting any response from hardware for any fan device.

I have QT and PyQT installed. Do the dev's need to be installed, too?

Please advise.

Report

C

nik3nt3

8 years ago

You don't need the dev's (you mean development packages right?)

lm-sensors must be configured. Run the command "sensors" in a terminal and look for fan1, fan2 ... thats what this plasmoid should show.


https://help.ubuntu.com/community/SensorInstallHowto
https://wiki.archlinux.org/index.php/Fan_Speed_Control

Report

masshuru

8 years ago

After installing the meter shows on the desktop like a charm and looks discrete and nice. But the meter stays at bottom and when I try to set fan I find lmsensors/it8712/fan1 which is correct, and I can set maximum speed, but still no luck.

The output of >sensors for fan1 is correct.

Does it matter if I rename "fan1" in sensors3.conf? I had it set for "CPUfan" a while but then changed back.

According to comments above I checked the files in /home/xxxxxx/.kde4/share/apps/plasma/plasmoids/FanSpeed/contents/code unfortunately I a complete noob when it comes to hacking plain code so it doesn't mean much to me.

If someone could give me some simple hands on tips I would be very greatful!

Report

masshuru

8 years ago

Forgot:

openSUSE 11.3
KDE 4.4.4Py 2.6.5
Qt 4.6.3
PyQT 4.7.3

Report

C

nik3nt3

8 years ago

Hi

Is the new verison working?

/nik

Report

masshuru

8 years ago

Works fine now - thanks!

But how about tweeking it? Lets say change text color, range of the meter?

Report

C

nik3nt3

8 years ago

You can already change the range of the meter in the settings..

Report

masshuru

8 years ago

I can't find any such options in GUI. Do you mean changing drectly in the main.py? I such case where?

Report

masshuru

8 years ago

Ok, thougt so. Tried to set that with different values but the needle doesn't react accordingly... In fact it doesn't react at all... But I can set maximum value. How about text color?

My needles in my system monitor doesn't react either, but i get correct values in the meter + graph

Thanks for quick answers!

Report

8 years ago

0.3:
- case insensitive fan lookup
0.2:
- Fixing: 'QString' object has no attribute 'toString'

12345678910
15
product-maker mirkogennari Sep 30 2015 9 excellent
product-maker filhocf Dec 08 2011 9 excellent
product-maker marceloanelli Dec 07 2011 9 excellent
product-maker akinms Jun 30 2011 9 excellent
product-maker oor Jun 28 2011 9 excellent
product-maker Roadrunnerbs May 31 2011 9 excellent
product-maker rafalskonecki May 11 2011 9 excellent
product-maker donpedro69 May 09 2011 9 excellent
product-maker nicotine Apr 27 2011 9 excellent
product-maker chazz557 Apr 15 2011 9 excellent
product-maker kbios Apr 12 2011 9 excellent
product-maker Gilde Apr 09 2011 9 excellent
product-maker PiotrBo Apr 08 2011 9 excellent
product-maker PhobosK Mar 02 2011 9 excellent
product-maker ub1x Jan 19 2011 9 excellent
product-maker Base: 4 x 5.0 Ratings
puterapingu
Mar 25 2013
Wesselaar
Mar 27 2010
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs ocs-url or ocs-store to install things
Pling
0 Affiliates
Details
license
version
0.3
updated Apr 12 2011
added Sep 09 2009
downloads 24h
0
page views 24h 2