All of lore.kernel.org
 help / color / mirror / Atom feed
* PWM fan control not working with Rock5B and upstream kernel
@ 2025-07-15  4:10 ` Qu Wenruo
  0 siblings, 0 replies; 10+ messages in thread
From: Qu Wenruo @ 2025-07-15  4:10 UTC (permalink / raw)
  To: linux-arm-kernel, linux-rockchip

Hi,

My Rock5B board is running edk-rk3588 firmware and (almost) upstream 
kernel (6.14.6 kernel from ArchlinuxARM), using upstream dtbs (the 
firmware is also switched to device-tree boot mode)

Before that I'm using ACPI mode thus no PMW support, but the firmware's 
fan control is working properly although running at a fixed rpm setting.

But after switching to the upstream kernel and device-tree mode, the pwm 
fan control never works.

`sensors` command detects the fan, and the pwm seems to properly 
following the temperature, but the physical fan just do not spin at all:

center_thermal-virtual-0
Adapter: Virtual device
temp1:        +80.4°C

bigcore2_thermal-virtual-0
Adapter: Virtual device
temp1:        +84.1°C

package_thermal-virtual-0
Adapter: Virtual device
temp1:        +81.3°C

pwmfan-isa-0000
Adapter: ISA adapter
pwm1:            128%  MANUAL CONTROL <<<

gpu_thermal-virtual-0
Adapter: Virtual device
temp1:        +79.5°C

littlecore_thermal-virtual-0
Adapter: Virtual device
temp1:        +82.2°C

bigcore0_thermal-virtual-0
Adapter: Virtual device
temp1:        +83.2°C


I'm wondering is this a bug in the upstream PWM code or something else 
is missing preventing the fan from working properly.

Thanks,
Qu


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-07-15  9:50 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-15  4:10 PWM fan control not working with Rock5B and upstream kernel Qu Wenruo
2025-07-15  4:10 ` Qu Wenruo
2025-07-15  7:49 ` Nicolas Frattaroli
2025-07-15  7:49   ` Nicolas Frattaroli
2025-07-15  8:44   ` Qu Wenruo
2025-07-15  8:44     ` Qu Wenruo
2025-07-15  9:01     ` Qu Wenruo
2025-07-15  9:01       ` Qu Wenruo
2025-07-15  9:13     ` Nicolas Frattaroli
2025-07-15  9:13       ` Nicolas Frattaroli

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.