coulombhunter

Results 3 comments of coulombhunter

I have the same issue on a pi5 8gb. Downgrading to 6.6 fixes it. On 6.12 /sys/class/pwm/ has a pwmchip0; on 6.6 it has pwmchip0 and pwmchip2. As I understand...

Thank you, I switched to using pwmchip0 now and it works as intended. I'll add a check of the device name to be robust against possible future renumbering

I just did something like ``` pwmchip=unknown for x in /sys/class/pwm/pwmchip*; do if [[ "$(basename -- "$(readlink "$x/device")")" == 1f00098000.pwm ]]; then pwmchip="$x" break fi done if [[ unknown ==...