Public bug reported: Hello,
I'm using Raspberry Pi 4b with Ubuntu 21.10. Seems like all 5.13 kernels don't have PWM support. Replication steps: - Enable pwm in config.txt: `dtoverlay=pwm-2chan,pin=12,func=4,pin2=13,func2=4` - Check /sys/class/pwm Expected result: PWM exists - What I get: ``` root@raspberrypi:~# ls -l /sys/class/pwm/ total 0 root@raspberrypi:~# ``` --- Same output using 5.11.0-1021-raspi kernel: ``` root@raspberrypi:~# uname -a Linux raspberrypi 5.11.0-1021-raspi #22-Ubuntu SMP PREEMPT Wed Oct 6 17:30:38 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux root@raspberrypi:~# ls -l /sys/class/pwm/ total 0 lrwxrwxrwx 1 root root 0 окт 31 00:49 pwmchip0 -> ../../devices/platform/soc/fe20c000.pwm/pwm/pwmchip0 ``` ** Affects: linux-meta-raspi (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-meta-raspi in Ubuntu. https://bugs.launchpad.net/bugs/1949275 Title: linux-image-raspi PWM not available Status in linux-meta-raspi package in Ubuntu: New Bug description: Hello, I'm using Raspberry Pi 4b with Ubuntu 21.10. Seems like all 5.13 kernels don't have PWM support. Replication steps: - Enable pwm in config.txt: `dtoverlay=pwm-2chan,pin=12,func=4,pin2=13,func2=4` - Check /sys/class/pwm Expected result: PWM exists - What I get: ``` root@raspberrypi:~# ls -l /sys/class/pwm/ total 0 root@raspberrypi:~# ``` --- Same output using 5.11.0-1021-raspi kernel: ``` root@raspberrypi:~# uname -a Linux raspberrypi 5.11.0-1021-raspi #22-Ubuntu SMP PREEMPT Wed Oct 6 17:30:38 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux root@raspberrypi:~# ls -l /sys/class/pwm/ total 0 lrwxrwxrwx 1 root root 0 окт 31 00:49 pwmchip0 -> ../../devices/platform/soc/fe20c000.pwm/pwm/pwmchip0 ``` To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-meta-raspi/+bug/1949275/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp