You are not logged in.

#126 2015-03-31 00:04:42

LessWire
Member
From: Bavaria
Registered: 2010-06-14
Posts: 46

Re: Fan always on with 3.18.2-2

In my case it's a Compaq 615 showing this problem.
I just installed kernel 3.19.3-1 from testing to see how it works but nothing has changed so far, fan runs at full speed.

But i found a weird but suitable workaround for my Compaq:

echo "disabled" > /sys/class/thermal/thermal_zone1/mode
sleep 30s
echo "enabled" > /sys/class/thermal/thermal_zone1/mode

Looks like nonsense, but for me it sets fan speed regulation to normal behaviour just like it was with the older kernels.

Without or too short sleep duration it didn't work. Maybe it could be faster but for me it's ok (too lazy to test this).

Maybe it's helpful for someone, until ... smile

LW.

Offline

#127 2015-03-31 03:57:14

amish
Member
Registered: 2014-05-10
Posts: 470

Re: Fan always on with 3.18.2-2

Yes thats because in HP/Compaq models it appears that cooling device (FAN) get registered after thermal device.

So thermal device would not know about FAN and hence would not control it and hence FAN always remained ON at full speed.

But when you disable and re-enable thermal zone - that time FAN is now known and hence thermal device starts controlling it as expected.

Comment source:
https://patchwork.kernel.org/patch/6077251/

Offline

#128 2015-03-31 13:02:37

LessWire
Member
From: Bavaria
Registered: 2010-06-14
Posts: 46

Re: Fan always on with 3.18.2-2

Thanks Amish,
i didn't look there hence it will be corrected in one of the next kernel releases.
Greets LW.

Offline

#129 2015-04-18 08:16:29

marouane
Member
Registered: 2015-03-12
Posts: 9

Re: Fan always on with 3.18.2-2

amish wrote:

Yes thats because in HP/Compaq models it appears that cooling device (FAN) get registered after thermal device.

So thermal device would not know about FAN and hence would not control it and hence FAN always remained ON at full speed.

But when you disable and re-enable thermal zone - that time FAN is now known and hence thermal device starts controlling it as expected.

Comment source:
https://patchwork.kernel.org/patch/6077251/

Thanks amish, also, I have just noticed that only people with HP/Compaq laptops had this problem.
[EDIT] Just tried kernel 3.19.3  and the problem persisted, I downgraded to 3.17.6 and fan works normally. I guess I'll wait until they fix it in the next kernel release.

Last edited by marouane (2015-04-18 10:07:27)

Offline

#130 2015-04-18 08:49:32

amish
Member
Registered: 2014-05-10
Posts: 470

Re: Fan always on with 3.18.2-2

Actually its not my patch!!

2nd - the patch is modified 3-4 times by original patch writer.

I dont know if it has reached final version or still under testing.

Offline

#131 2015-04-18 16:21:40

omerdan
Member
Registered: 2015-04-18
Posts: 1

Re: Fan always on with 3.18.2-2

Hello, this thread was only source of information on fan-problems that bother me in last 4 months. So I want to add my situation results:

Laptop model is HP530.

- kernel [ 3.18 - 3.19.3-3 ] -> fan always ON with Full-Speed (BAD)
- kernel 3.19.3-3 with LessWire's workarround -> fan ON for 30 seconds, than OFF 3-4 minutes (BEST)
- kernel 4.0.0 downloaded and compiled -> fan always ON with Full-Speed (BAD)
- kernel 4.0.0 manually added patch 6077251 and recompiled -> fan always ON with ~40% speed (NOT BAD)

after adding mentioned patch, 'acpi -tc' shows normal result, and everything seems better by numbers, but always-on-40% speed can not be expe
so best option for now is 3.19.3 with echoing disable/enable to thermal_zone0/mode (zero instead of 1 in my case, LessWire's advice, thanks)

update:
- by listening my fan and watching "watch -n0.5 acpi -tc" i am 99.99% sure that in first line:
        Thermal 0: ok, X.Y degrees C
...X.Y is not temperature, but RPM% of the fan. (fullspeed was 85)

maybe it is possibly OK that FAN and not thermal senzor is registered as thermal0 (thermal_zone4 file),
but if not - this can be HP-driver-related bug older than 3.18, for all kernels (tested 3.16.6).

And after all i can say that NO KERNEL control my HP-FAN nicely.
(if nicely is defined as: turn fan off most of the time if cpu usage is very low - just logged in) ... https://youtu.be/iyQH49io1ts
... except stupid dual-boot windows XP smile

Last edited by omerdan (2015-04-20 04:12:36)

Offline

#132 2015-05-20 12:11:36

robsco
Member
Registered: 2015-01-18
Posts: 5

Re: Fan always on with 3.18.2-2

From what I can see on the bug tracker it looks like this issue was resolved. I have tried 4.0.3 and the issue still persists for me - much faster spinning and, as a result, a louder fan.
I see that 4.0.4 was released recently. I searched though the changelogs for all 4.0.* kernels and didn't see anything about fan control, acpi pertaining to this issue or HP/compaq laptops.
https://www.kernel.org/pub/linux/kernel … eLog-4.0.4

Has the issue been resolved for any of you?

I'm still sitting on kernel 3.17.6 as it is the last kernel that worked decently with my laptop.

Offline

#133 2015-05-20 12:33:19

amish
Member
Registered: 2014-05-10
Posts: 470

Re: Fan always on with 3.18.2-2

The issue was resolved but the patch did not enter kernel as it is still under review. (This is what I know from what I read last about may be 15-25 days back)

Do not know latest status

Offline

#134 2015-05-20 13:20:35

prash
Member
Registered: 2011-08-18
Posts: 57

Re: Fan always on with 3.18.2-2

Apparently, it's failing to get pushed into 4.0.  https://bugzilla.kernel.org/show_bug.cgi?id=78201

Offline

#135 2015-05-20 15:58:27

cappuccino
Member
Registered: 2012-12-26
Posts: 114

Re: Fan always on with 3.18.2-2

This time I have problem with Lenovo laptop. After kernel upgrade from 4.0.1 > 4.0.3 fan operates constantly at full power. The same problem remains even with the latest kernel 4.0.4.


Kernel 4.0.4 :

/sys/class/thermal/cooling_device0/cur_state:0
/sys/class/thermal/cooling_device0/max_state:10
/sys/class/thermal/cooling_device0/type:Processor
/sys/class/thermal/cooling_device1/cur_state:0
/sys/class/thermal/cooling_device1/max_state:10
/sys/class/thermal/cooling_device1/type:Processor
/sys/class/thermal/cooling_device2/cur_state:0
/sys/class/thermal/cooling_device2/max_state:10
/sys/class/thermal/cooling_device2/type:Processor
/sys/class/thermal/cooling_device3/cur_state:0
/sys/class/thermal/cooling_device3/max_state:10
/sys/class/thermal/cooling_device3/type:Processor
/sys/class/thermal/cooling_device4/cur_state:0
/sys/class/thermal/cooling_device4/max_state:15
/sys/class/thermal/cooling_device4/type:LCD
/sys/class/thermal/cooling_device5/cur_state:-1
/sys/class/thermal/cooling_device5/max_state:50
/sys/class/thermal/cooling_device5/type:intel_powerclamp                                   
/sys/class/thermal/thermal_zone0/mode:enabled                                              
/sys/class/thermal/thermal_zone0/passive:0                                                 
/sys/class/thermal/thermal_zone0/policy:step_wise                                          
/sys/class/thermal/thermal_zone0/temp:48000
/sys/class/thermal/thermal_zone0/trip_point_0_temp:98000
/sys/class/thermal/thermal_zone0/trip_point_0_type:critical
/sys/class/thermal/thermal_zone0/type:acpitz
/sys/class/thermal/thermal_zone1/policy:step_wise
/sys/class/thermal/thermal_zone1/temp:38000
/sys/class/thermal/thermal_zone1/trip_point_0_temp:0
/sys/class/thermal/thermal_zone1/trip_point_0_type:passive
/sys/class/thermal/thermal_zone1/trip_point_1_temp:0
/sys/class/thermal/thermal_zone1/trip_point_1_type:passive
/sys/class/thermal/thermal_zone1/type:x86_pkg_temp
/sys/class/thermal/cooling_device0/device/path:\_PR_.CPU0
/sys/class/thermal/cooling_device1/device/path:\_PR_.CPU1
/sys/class/thermal/cooling_device2/device/path:\_PR_.CPU2
/sys/class/thermal/cooling_device3/device/path:\_PR_.CPU3
/sys/class/thermal/cooling_device4/device/path:\_SB_.PCI0.VID_.LCD0
/sys/class/thermal/thermal_zone0/device/path:\_TZ_.THM0
sensors                                                           
thinkpad-isa-0000                                                                          
Adapter: ISA adapter                                                                       
fan1:        4468 RPM                                                                      
                                                                                           
coretemp-isa-0000                                                                          
Adapter: ISA adapter                                                                       
Physical id 0:  +37.0°C  (high = +86.0°C, crit = +100.0°C)
Core 0:         +36.0°C  (high = +86.0°C, crit = +100.0°C)
Core 1:         +37.0°C  (high = +86.0°C, crit = +100.0°C)
acpi -tc
Thermal 0: ok, 48.0 degrees C
Cooling 0: x86_pkg_temp no state information available
Cooling 1: intel_powerclamp no state information available
Cooling 2: LCD 0 of 15
Cooling 3: Processor 0 of 10
Cooling 4: Processor 0 of 10
Cooling 5: Processor 0 of 10
Cooling 6: Processor 0 of 10

My system:
4.0.4-1-ARCH x86_64
KDE 5
Lenovo ThinkPad T420 [Bios: LENOVO v: 83ET66WW (1.36 ) date: 10/31/2011]

Last edited by cappuccino (2015-05-20 16:01:32)

Offline

#136 2015-06-15 17:11:20

amish
Member
Registered: 2014-05-10
Posts: 470

Re: Fan always on with 3.18.2-2

@clfarron4

can you please reopen the bug report at https://bugzilla.kernel.org/show_bug.cgi?id=92431

Its been long time that the code was fixed (3months) but it was never pushed to kernel for unknown reasons.

its currently marked as RESOLVED - reopening may get some attention.

Thanks

Offline

#137 2015-10-09 14:24:03

TheCrafter
Member
Registered: 2015-10-09
Posts: 18

Re: Fan always on with 3.18.2-2

I have the same problem on:
4.2.2-1 x86_64

Offline

#138 2015-10-09 15:10:56

amish
Member
Registered: 2014-05-10
Posts: 470

Re: Fan always on with 3.18.2-2

Can you try kernel 3.17.6 from here?

http://seblu.net/a/arm/packages/l/linux/

And report if it runs as expected or not?

The bug exists since 3.18.x

Offline

#139 2015-10-15 11:54:18

ubone
Member
Registered: 2014-08-31
Posts: 47

Re: Fan always on with 3.18.2-2

Solved for 8510p with latest lts kernel from core.

$ uname -a
Linux host 4.1.10-2-lts #1 SMP Wed Oct 7 21:57:44 CEST 2015 x86_64 GNU/Linux
$ cat /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp2_input | cut -c 1,2 && cat /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp3_input | cut -c 1,2 && cat /sys/class/thermal/thermal_zone*/temp | cut -c 1-2
34
37
33
28
20
30 # Temp in X with Chromium in use. It was 100 with kernels begining with 18.x, now it is 0 at tty after boot.
40
34

Fan is silent. smile

Offline

#140 2015-10-15 13:05:46

amish
Member
Registered: 2014-05-10
Posts: 470

Re: Fan always on with 3.18.2-2

Are you sure?

I dont see word "Fan" in changelog of 4.1.9 as well as 4.1.10

https://www.kernel.org/pub/linux/kernel … eLog-4.1.9
https://www.kernel.org/pub/linux/kernel … Log-4.1.10

Also bugzilla thread is still in "NEEDINFO" state and not marked as "RESOLVED"

Offline

#141 2015-10-15 15:14:02

ubone
Member
Registered: 2014-08-31
Posts: 47

Re: Fan always on with 3.18.2-2

Just now:

Test reboot. Result max fan action.
Test poweroff (&& poweron). Result max fan speed again.

I calms down to normal after a few minutes but it's still there. sad
I know for sure there were at least a couple of silent boots with "temp" in question at 0 (which caught my attention).

Offline

#142 2015-10-15 15:44:04

amish
Member
Registered: 2014-05-10
Posts: 470

Re: Fan always on with 3.18.2-2

I have had similar situation too. I had noticed 2-3 times that FAN was working normal.

But most of the times it was Full speed.

Offline

#143 2015-12-06 12:56:36

ubone
Member
Registered: 2014-08-31
Posts: 47

Re: Fan always on with 3.18.2-2

...

Last edited by ubone (2017-01-09 12:55:55)

Offline

Board footer

Powered by FluxBB