Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5320

Troubleshooting • Re: Hardware PWM not working with Raspberry Pi 5 4GB

$
0
0
Shouldn't command lsmod | grep pwm give somekind of output?
On Rpi 4 it does.
Try below instead

Code:

sudo cat /sys/kernel/debug/pwm
The result:

Code:

@raspberrypi:~ $ sudo cat /sys/kernel/debug/pwmplatform/1f00098000.pwm, 4 PWM devices pwm-0   (sysfs               ): requested period: 2000000 ns duty: 0 ns polarity: normal pwm-1   ((null)              ): period: 0 ns duty: 0 ns polarity: normal pwm-2   ((null)              ): period: 0 ns duty: 0 ns polarity: normal pwm-3   ((null)              ): period: 0 ns duty: 0 ns polarity: normalplatform/107d517a80.pwm, 2 PWM devices pwm-0   ((null)              ): period: 0 ns duty: 0 ns polarity: normal pwm-1   ((null)              ): period: 0 ns duty: 0 ns polarity: normal

Statistics: Posted by valtsu23 — Mon Mar 04, 2024 12:05 pm



Viewing all articles
Browse latest Browse all 5320

Trending Articles