** Package changed: linux (Ubuntu) => linux-raspi (Ubuntu) ** Changed in: linux-raspi (Ubuntu) Status: Incomplete => Confirmed
** Description changed: 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 + lrwxrwxrwx 1 root root 0 окт 31 00:49 pwmchip0 -> ../../devices/platform/soc/fe20c000.pwm/pwm/pwmchip0 + - 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 + + 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 - ``` - --- + + --- ProblemType: Bug ApportVersion: 2.20.11-0ubuntu71 Architecture: arm64 AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/controlC2', '/dev/snd/pcmC2D0p', '/dev/snd/controlC1', '/dev/snd/pcmC1D0p', '/dev/snd/by-path', '/dev/snd/controlC0', '/dev/snd/pcmC0D0p', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: CasperMD5CheckResult: unknown DistroRelease: Ubuntu 21.10 ImageMediaBuild: 20210421.1 Lspci-vt: -[0000:00]---00.0-[01]----00.0 VIA Technologies, Inc. VL805/806 xHCI USB 3.0 Controller Lsusb: - Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub - Bus 001 Device 003: ID 24ae:2010 Shenzhen Rapoo Technology Co., Ltd. Rapoo 2.4G Wireless Device - Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub - Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub + Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub + Bus 001 Device 003: ID 24ae:2010 Shenzhen Rapoo Technology Co., Ltd. Rapoo 2.4G Wireless Device + Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub + Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Package: linux (not installed) ProcEnviron: - TERM=xterm-256color - PATH=(custom, no user) - LANG=ru_UA.UTF-8 - SHELL=/bin/bash + TERM=xterm-256color + PATH=(custom, no user) + LANG=ru_UA.UTF-8 + SHELL=/bin/bash ProcFB: 0 vc4drmfb ProcKernelCmdLine: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=HDMI-A-1:1920x1080M@60 smsc95xx.macaddr=DC:A6:32:61:DD:84 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg.lpm_enable=0 root=/dev/mmcblk0p2 rootwait rootfstype=ext4 fixrtc pty.legacy_count=6 zswap.enabled=1 net.ifnames=0 ProcVersionSignature: Ubuntu 5.13.0-1010.11-raspi 5.13.18 PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon. RelatedPackageVersions: - linux-restricted-modules-5.13.0-1010-raspi N/A - linux-backports-modules-5.13.0-1010-raspi N/A - linux-firmware 1.201.1 + linux-restricted-modules-5.13.0-1010-raspi N/A + linux-backports-modules-5.13.0-1010-raspi N/A + linux-firmware 1.201.1 StagingDrivers: bcm2835_mmal_vchiq bcm2835_v4l2 vc_sm_cma bcm2835_codec bcm2835_isp snd_bcm2835 Tags: arm64-image raspi-image impish staging Uname: Linux 5.13.0-1010-raspi aarch64 UpgradeStatus: Upgraded to impish on 2021-08-31 (60 days ago) UserGroups: N/A _MarkForUpload: True acpidump: -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1949276 Title: linux-image-raspi PWM not available To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1949276/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs