max98357a overlay does not work on RPi 5 with Ubuntu 24.04 LTS

Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Post Reply
User avatar
fleecy
 
Posts: 8
Joined: Mon Sep 02, 2019 6:42 am

max98357a overlay does not work on RPi 5 with Ubuntu 24.04 LTS

Post by fleecy »

I've been trying to use the max98357a breakout with a Raspberry pi 5 running ubuntu 24.04 (kernel 6.8.0-1004-raspi) but it doesn't recognize the device.

If I add `dtoverlay=max98357a` to config.txt and run `aplay -l` I do not see any sound cards. However, when I tried using Pi OS (6.6.20+rpt-rpi-2712), it worked and I saw sound cards.

Does anyone know what I could do? Thanks!

User avatar
mikeysklar
 
Posts: 15153
Joined: Mon Aug 01, 2016 8:10 pm

Re: max98357a overlay does not work on RPi 5 with Ubuntu 24.04 LTS

Post by mikeysklar »

Adafruit does NOT have a supported Ubuntu setup. You can try and confirm that these are present as well in config.txt and check the output from dmesg for any errors with the max98357a or alsa.
dtparam=i2s=on
dtoverlay=hifiberry-dac
updated to clarify that Adafruit does NOT have a supported Ubuntu.

User avatar
fleecy
 
Posts: 8
Joined: Mon Sep 02, 2019 6:42 am

Re: max98357a overlay does not work on RPi 5 with Ubuntu 24.04 LTS

Post by fleecy »

Thanks for the quick reply! I replaced the max98357a overlay with the hifiberry-dac overlay and added the i2s line but still no audio devices show up.

Here is the output of sudo dmesg if that's helpful?

Code: Select all

pi@ubuntu:~$ sudo dmesg
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x414fd0b1]
[    0.000000] Linux version 6.8.0-1004-raspi (buildd@bos03-arm64-035) (aarch64-linux-gnu-gcc-13 (Ubuntu 13.2.0-23ubuntu4) 13.2.0, GNU ld (GNU Binutils for Ubuntu) 2.42) #4-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 02:29:55 UTC 2024 (Ubuntu 6.8.0-1004.4-raspi 6.8.1)
[    0.000000] KASLR enabled
[    0.000000] random: crng init done
[    0.000000] Machine model: Raspberry Pi 5 Model B Rev 1.0
[    0.000000] Reserved memory: created CMA memory pool at 0x0000000002000000, size 320 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] OF: reserved mem: 0x0000000002000000..0x0000000015ffffff (327680 KiB) map reusable linux,cma
[    0.000000] OF: reserved mem: 0x0000000000000000..0x000000000007ffff (512 KiB) nomap non-reusable atf@0
[    0.000000] OF: reserved mem: 0x000000003fd167a0..0x000000003fd167d6 (0 KiB) nomap non-reusable nvram@0
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   [mem 0x0000000100000000-0x00000001ffffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000007ffff]
[    0.000000]   node   0: [mem 0x0000000000080000-0x000000003fafffff]
[    0.000000]   node   0: [mem 0x0000000040000000-0x00000001ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000001ffffffff]
[    0.000000] On node 0, zone DMA: 1280 pages in unavailable ranges
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.2
[    0.000000] percpu: Embedded 52 pages/cpu s88232 r8192 d116568 u212992
[    0.000000] pcpu-alloc: s88232 r8192 d116568 u212992 alloc=52*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: detected: Virtualization Host Extensions
[    0.000000] CPU features: detected: Spectre-v4
[    0.000000] CPU features: detected: Spectre-BHB
[    0.000000] CPU features: kernel page table isolation forced ON by KASLR
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: reboot=w coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe  smsc95xx.macaddr=D8:3A:DD:B0:63:F7 vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000  console=ttyAMA10,115200 multipath=off dwc_otg.lpm_enable=0 console=tty1 root=LABEL=writable rootfstype=ext4 rootwait fixrtc cfg80211.ieee80211_regdom=JP video=HDMI-A-1:720x720M@60D,rotate=270
[    0.000000] Unknown kernel command line parameters "fixrtc multipath=off", will be passed to user space.
[    0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[    0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 2063104
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: area num 4.
[    0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
[    0.000000] Memory: 7746240K/8383488K available (15040K kernel code, 2704K rwdata, 4760K rodata, 6528K init, 853K bss, 309568K reserved, 327680K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 44819 entries in 176 pages
[    0.000000] ftrace: allocated 176 pages with 3 groups
[    0.000000] trace event string verifier disabled
[    0.000000] Dynamic Preempt: full
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.000000] 	Trampoline variant of Tasks RCU enabled.
[    0.000000] 	Rude variant of Tasks RCU enabled.
[    0.000000] 	Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
[    0.000000] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[    0.000201] Console: colour dummy device 80x25
[    0.000207] printk: legacy console [tty1] enabled
[    0.000407] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=54000)
[    0.000417] pid_max: default: 32768 minimum: 301
[    0.000603] LSM: initializing lsm=lockdown,capability,yama,BANNED,integrity
[    0.000716] Yama: becoming mindful.
[    0.000773] BANNED: BANNED initialized
[    0.000888] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.000919] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.002029] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.002077] RCU Tasks Rude: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.002122] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.002223] rcu: Hierarchical SRCU implementation.
[    0.002229] rcu: 	Max phase no-delay instances is 400.
[    0.003122] smp: Bringing up secondary CPUs ...
[    0.003361] Detected PIPT I-cache on CPU1
[    0.003405] CPU1: Booted secondary processor 0x0000000100 [0x414fd0b1]
[    0.003673] Detected PIPT I-cache on CPU2
[    0.003707] CPU2: Booted secondary processor 0x0000000200 [0x414fd0b1]
[    0.003968] Detected PIPT I-cache on CPU3
[    0.003999] CPU3: Booted secondary processor 0x0000000300 [0x414fd0b1]
[    0.004042] smp: Brought up 1 node, 4 CPUs
[    0.004064] SMP: Total of 4 processors activated.
[    0.004068] CPU: All CPU(s) started at EL2
[    0.004073] CPU features: detected: 32-bit EL0 Support
[    0.004078] CPU features: detected: Data cache clean to the PoU not required for I/D coherence
[    0.004084] CPU features: detected: Common not Private translations
[    0.004089] CPU features: detected: CRC32 instructions
[    0.004093] CPU features: detected: Data cache clean to Point of Persistence
[    0.004100] CPU features: detected: RCpc load-acquire (LDAPR)
[    0.004104] CPU features: detected: LSE atomic instructions
[    0.004110] CPU features: detected: Privileged Access Never
[    0.004115] CPU features: detected: Speculative Store Bypassing Safe (SSBS)
[    0.004148] alternatives: applying system-wide alternatives
[    0.005463] CPU features: detected: Hardware dirty bit management on CPU0-3
[    0.006269] devtmpfs: initialized
[    0.010148] Enabled cp15_barrier support
[    0.010159] Enabled setend support
[    0.010263] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.010275] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.013529] pinctrl core: initialized pinctrl subsystem
[    0.014099] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.014600] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[    0.014684] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.014870] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.014903] audit: initializing netlink subsys (disabled)
[    0.014981] audit: type=2000 audit(0.014:1): state=initialized audit_enabled=0 res=1
[    0.015143] thermal_sys: Registered thermal governor 'fair_share'
[    0.015146] thermal_sys: Registered thermal governor 'bang_bang'
[    0.015153] thermal_sys: Registered thermal governor 'step_wise'
[    0.015158] thermal_sys: Registered thermal governor 'user_space'
[    0.015183] cpuidle: using governor ladder
[    0.015198] cpuidle: using governor menu
[    0.015286] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.015339] ASID allocator initialised with 32768 entries
[    0.015792] Serial: AMBA PL011 UART driver
[    0.017580] bcm2835-mbox 107c013880.mailbox: mailbox enabled
[    0.018399] 107d001000.serial: ttyAMA10 at MMIO 0x107d001000 (irq = 15, base_baud = 0) is a PL011 rev2
[    0.018415] printk: legacy console [ttyAMA10] enabled
[    0.792321] raspberrypi-firmware soc:firmware: Attached to firmware from 2024-02-16T15:28:41, variant start_cd
[    0.803380] raspberrypi-firmware soc:firmware: Firmware hash is 4c845bd300000000000000000000000000000000
[    0.818886] Modules: 2G module region forced by RANDOMIZE_MODULE_REGION_FULL
[    0.825969] Modules: 0 pages in range for non-PLT usage
[    0.825972] Modules: 516768 pages in range for PLT usage
[    0.831610] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[    0.843763] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[    0.850057] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[    0.856873] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[    0.863166] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.869982] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[    0.876275] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[    0.883090] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[    0.890116] bcm2835-dma 1000010000.dma: DMA legacy API manager, dmachans=0x1
[    0.898263] iommu: Default domain type: Translated
[    0.903077] iommu: DMA domain TLB invalidation policy: strict mode
[    0.909461] SCSI subsystem initialized
[    0.913274] usbcore: registered new interface driver usbfs
[    0.918795] usbcore: registered new interface driver hub
[    0.924139] usbcore: registered new device driver usb
[    0.929229] pps_core: LinuxPPS API ver. 1 registered
[    0.934212] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[    0.943391] PTP clock support registered
[    0.947336] EDAC MC: Ver: 3.0.0
[    0.950954] NetLabel: Initializing
[    0.954372] NetLabel:  domain hash size = 128
[    0.958744] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.964451] NetLabel:  unlabeled traffic allowed by default
[    0.970190] clocksource: Switched to clocksource arch_sys_counter
[    0.977317] VFS: Disk quotas dquot_6.6.0
[    0.981280] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.988495] BANNED: BANNED Filesystem Enabled
[    0.995576] NET: Registered PF_INET protocol family
[    1.000628] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    1.010721] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear)
[    1.019348] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    1.027136] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    1.035374] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes, linear)
[    1.044431] TCP: Hash tables configured (established 65536 bind 65536)
[    1.051176] MPTCP token hash table entries: 8192 (order: 5, 196608 bytes, linear)
[    1.058822] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    1.065741] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    1.073180] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    1.078883] NET: Registered PF_XDP protocol family
[    1.083701] PCI: CLS 0 bytes, default 64
[    1.087715] Trying to unpack rootfs image as initramfs...
[    1.096268] kvm [1]: IPA Size Limit: 40 bits
[    1.100634] kvm [1]: vgic interrupt IRQ9
[    1.104619] kvm [1]: VHE mode initialized successfully
[    1.110439] Initialise system trusted keyrings
[    1.114940] Key type blacklist registered
[    1.119072] workingset: timestamp_bits=46 max_order=21 bucket_order=0
[    1.125593] zbud: loaded
[    1.128938] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.156625] Key type asymmetric registered
[    1.160752] Asymmetric key parser 'x509' registered
[    1.165676] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    1.173210] io scheduler mq-deadline registered
[    1.179457] irq_brcmstb_l2: registered L2 intc (/soc/interrupt-controller@7c502000, parent irq: 26)
[    1.188723] irq_brcmstb_l2: registered L2 intc (/soc/intc@7d503000, parent irq: 27)
[    1.196531] irq_brcmstb_l2: registered L2 intc (/soc/intc@7d508380, parent irq: 28)
[    1.204332] irq_brcmstb_l2: registered L2 intc (/soc/intc@7d508400, parent irq: 29)
[    1.212146] irq_brcmstb_l2: registered L2 intc (/soc/interrupt-controller@7d510600, parent irq: 30)
[    1.221349] irq_brcmstb_l2: registered L2 intc (/soc/intc@7d517b00, parent irq: 31)
[    1.230635] simple-framebuffer 3fb00000.framebuffer: framebuffer at 0x3fb00000, 0x96000 bytes
[    1.239223] simple-framebuffer 3fb00000.framebuffer: format=r5g6b5, mode=640x480x16, linelength=1280
[    1.248980] Console: switching to colour frame buffer device 80x30
[    1.255770] simple-framebuffer 3fb00000.framebuffer: fb0: simplefb registered!
[    1.322994] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[    1.332419] Freeing initrd memory: 51552K
[    1.332601] iproc-rng200 107d208000.rng: hwrng registered
[    1.342426] vc-mem: phys_addr:0x00000000 mem_base=0x3fc00000 mem_size:0x40000000(1024 MiB)
[    1.351888] bcm2712-iommu-cache 1000005b00.iommuc: bcm2712_iommu_cache_probe
[    1.361752] loop: module loaded
[    1.365334] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    1.373972] usbcore: registered new interface driver lan78xx
[    1.379869] usbcore: registered new interface driver smsc95xx
[    1.385958] mousedev: PS/2 mouse device common for all mice
[    1.391745] i2c_dev: i2c /dev entries driver
[    1.396809] bcm2835-wdt bcm2835-wdt: Poweroff handler already present!
[    1.403556] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    1.412805] sdhci: Secure Digital Host Controller Interface driver
[    1.419213] sdhci: Copyright(c) Pierre Ossman
[    1.423849] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.429888] ledtrig-cpu: registered to indicate activity on CPUs
[    1.436045] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    1.442649] hid: raw HID events driver (C) Jiri Kosina
[    1.448324] hw perfevents: enabled with armv8_cortex_a76 PMU driver, 7 counters available
[    1.456978] NET: Registered PF_INET6 protocol family
[    1.462082] watchdog: Delayed init of the lockup detector failed: -19
[    1.468732] watchdog: Hard watchdog permanently disabled
[    1.477075] Segment Routing with IPv6
[    1.480892] In-situ OAM (IOAM) with IPv6
[    1.484964] NET: Registered PF_PACKET protocol family
[    1.490194] Key type dns_resolver registered
[    1.495984] registered taskstats version 1
[    1.500290] Loading compiled-in X.509 certificates
[    1.505938] Loaded X.509 cert 'Build time autogenerated kernel key: 23a9763780cae64c76af031dc700af860b732859'
[    1.516751] Loaded X.509 cert 'Canonical Ltd. Live Patch Signing: 14df34d1a87cf37625abec039ef2bf521249b969'
[    1.527389] Loaded X.509 cert 'Canonical Ltd. Kernel Module Signing: 88f752e560a1e0737e31163a466ad7b70a850c19'
[    1.537647] blacklist: Loading compiled-in revocation X.509 certificates
[    1.544503] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing: 61482aa2830d0ab2ad5af10b7250da9033ddcef0'
[    1.554608] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing (2017): 242ade75ac4a15e50d50c84b0d45ff3eae707a03'
[    1.565332] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing (ESM 2018): 365188c1d374d6b07c3c8f240f8ef722433d6a8b'
[    1.576407] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing (2019): c0746fd6c5da3ae827864651ad66ae47fe24b3e8'
[    1.587144] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing (2021 v1): a8d54bbb3825cfb94fa13c9f8a594a195c107b8d'
[    1.598147] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing (2021 v2): 4cf046892d6fd3c9a5b03f98d845f90851dc6a8c'
[    1.609158] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing (2021 v3): 100437bb6de6e469b581e61cd66bce3ef4ed53af'
[    1.620176] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing (Ubuntu Core 2019): c1d57b8f6b743f23ee41f4f7ee292f06eecadfb9'
[    1.635621] Key type .fscrypt registered
[    1.639697] Key type fscrypt-provisioning registered
[    1.652405] Key type encrypted registered
[    1.656599] BANNED: BANNED sha256 policy hashing enabled
[    1.662429] ima: No TPM chip found, activating TPM-bypass!
[    1.668101] ima: Allocated hash algorithm: sha1
[    1.672818] ima: No architecture policies found
[    1.677498] evm: Initialising EVM extended attributes:
[    1.682769] evm: security.selinux
[    1.686205] evm: security.SMACK64
[    1.689637] evm: security.SMACK64EXEC
[    1.693414] evm: security.SMACK64TRANSMUTE
[    1.697622] evm: security.SMACK64MMAP
[    1.701390] evm: security.BANNED
[    1.704897] evm: security.ima
[    1.707961] evm: security.capability
[    1.711631] evm: HMAC attrs: 0x1
[    1.716530] bcm2712-iommu 1000005100.iommu: bcm2712_iommu_init: DEBUG_INFO = 0x20804774
[    1.724970] bcm2712-iommu 1000005100.iommu: bcm2712_iommu_probe: Success
[    1.732176] bcm2712-iommu 1000005200.iommu: bcm2712_iommu_init: DEBUG_INFO = 0x20804774
[    1.740623] bcm2712-iommu 1000005200.iommu: bcm2712_iommu_probe: Success
[    1.747915] bcm2712-iommu 1000005280.iommu: bcm2712_iommu_init: DEBUG_INFO = 0x20804774
[    1.756357] bcm2712-iommu 1000005280.iommu: bcm2712_iommu_probe: Success
[    1.763747] of_cfs_init
[    1.766324] of_cfs_init: OK
[    1.769299] clk: Disabling unused clocks
[    1.787258] Freeing unused kernel memory: 6528K
[    1.812443] Checked W+X mappings: passed, no W+X pages found
[    1.818212] Run /init as init process
[    1.821969]   with arguments:
[    1.821972]     /init
[    1.821973]     fixrtc
[    1.821975]   with environment:
[    1.821977]     HOME=/
[    1.821979]     TERM=linux
[    1.821980]     multipath=off
[    2.015569] brcm-pcie 1000120000.pcie: host bridge /axi/pcie@120000 ranges:
[    2.023180] brcmstb-i2c 107d508200.i2c:  @97500hz registered in interrupt mode
[    2.026211] brcm-pcie 1000120000.pcie:   No bus range found for /axi/pcie@120000, using [bus 00-ff]
[    2.031356] brcmstb-i2c 107d508280.i2c:  @97500hz registered in interrupt mode
[    2.046657] brcm-pcie 1000120000.pcie:      MEM 0x1f00000000..0x1ffffffffb -> 0x0000000000
[    2.059532] brcm-pcie 1000120000.pcie:      MEM 0x1c00000000..0x1effffffff -> 0x0400000000
[    2.060602] 107d50c000.serial: ttyS0 at MMIO 0x107d50c000 (irq = 38, base_baud = 6000000) is a Broadcom BCM7271 UART
[    2.070699] brcm-pcie 1000120000.pcie:   IB MEM 0x1f00000000..0x1f003fffff -> 0x0000000000
[    2.081252] serial serial0: tty port ttyS0 registered
[    2.090939] brcm-pcie 1000120000.pcie:   IB MEM 0x0000000000..0x0fffffffff -> 0x1000000000
[    2.102981] brcm-pcie 1000120000.pcie: Forcing gen 2
[    2.105262] rpi-rtc soc:rpi_rtc: registered as rtc0
[    2.108362] brcm-pcie 1000120000.pcie: PCI host bridge to bus 0000:00
[    2.119896] rpi-rtc soc:rpi_rtc: setting system clock to 2024-06-11T16:10:22 UTC (1718122222)
[    2.119905] pci_bus 0000:00: root bus resource [bus 00-ff]
[    2.134415] pci_bus 0000:00: root bus resource [mem 0x1f00000000-0x1ffffffffb] (bus address [0x00000000-0xfffffffb])
[    2.145307] pci_bus 0000:00: root bus resource [mem 0x1c00000000-0x1effffffff pref] (bus address [0x400000000-0x6ffffffff])
[    2.152152] dwc2 1000480000.usb: supply vusb_d not found, using dummy regulator
[    2.156819] pci 0000:00:00.0: [14e4:2712] type 01 class 0x060400 PCIe Root Port
[    2.157592] dwc2 1000480000.usb: supply vusb_a not found, using dummy regulator
[    2.164787] pci 0000:00:00.0: PCI bridge to [bus 00]
[    2.184880] pci 0000:00:00.0:   bridge window [mem 0x1ff8000000-0x1ff80fffff]
[    2.192253] pci 0000:00:00.0: PME# supported from D0 D3hot
[    2.198769] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    2.312204] brcm-pcie 1000120000.pcie: clkreq-mode set to default
[    2.318543] brcm-pcie 1000120000.pcie: link up, 5.0 GT/s PCIe x4 (!SSC)
[    2.325410] pci 0000:01:00.0: [1de4:0001] type 00 class 0x020000 PCIe Endpoint
[    2.333006] pci 0000:01:00.0: BAR 0 [mem 0xffffc000-0xffffffff]
[    2.339136] pci 0000:01:00.0: BAR 1 [mem 0xffc00000-0xffffffff]
[    2.345208] pci 0000:01:00.0: BAR 2 [mem 0xffff0000-0xffffffff]
[    2.351349] pci 0000:01:00.0: supports D1
[    2.355489] pci 0000:01:00.0: PME# supported from D0 D1 D3hot D3cold
[    2.364205] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    2.370212] dwc2 1000480000.usb: EPs: 8, dedicated fifos, 4080 entries in SPRAM
[    2.370982] pci 0000:00:00.0: bridge window [mem 0x1f00000000-0x1f005fffff]: assigned
[    2.371406] dwc2 1000480000.usb: DWC OTG Controller
[    2.371473] pci 0000:01:00.0: BAR 1 [mem 0x1f00000000-0x1f003fffff]: assigned
[    2.371599] dwc2 1000480000.usb: new USB bus registered, assigned bus number 1
[    2.371715] pci 0000:01:00.0: BAR 2 [mem 0x1f00400000-0x1f0040ffff]: assigned
[    2.371952] dwc2 1000480000.usb: irq 41, io mem 0x1000480000
[    2.372060] pci 0000:01:00.0: BAR 0 [mem 0x1f00410000-0x1f00413fff]: assigned
[    2.372256] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.08
[    2.372303] pci 0000:00:00.0: PCI bridge to [bus 01]
[    2.372535] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.372656] pci 0000:00:00.0:   bridge window [mem 0x1f00000000-0x1f005fffff]
[    2.372892] usb usb1: Product: DWC OTG Controller
[    2.373021] pci 0000:00:00.0: Max Payload Size set to  256/ 512 (was  128), Max Read Rq  512
[    2.373141] usb usb1: Manufacturer: Linux 6.8.0-1004-raspi dwc2_hsotg
[    2.373398] pci 0000:01:00.0: Max Payload Size set to  256/ 256 (was  128), Max Read Rq  512
[    2.373527] usb usb1: SerialNumber: 1000480000.usb
[    2.374021] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[    2.381503] hub 1-0:1.0: USB hub found
[    2.389392] pcieport 0000:00:00.0: PME: Signaling with IRQ 42
[    2.389485] hub 1-0:1.0: 1 port detected
[    2.390115] pcieport 0000:00:00.0: AER: enabled with IRQ 42
[    2.515184] rp1 0000:01:00.0: bar0 len 0x4000, start 0x1f00410000, end 0x1f00413fff, flags, 0x40200
[    2.524621] rp1 0000:01:00.0: bar1 len 0x400000, start 0x1f00000000, end 0x1f003fffff, flags, 0x40200
[    2.524631] rp1 0000:01:00.0: enabling device (0000 -> 0002)
[    2.525489] rp1 0000:01:00.0: chip_id 0x20001927
[    2.561828] input: pwr_button as /devices/platform/pwr_button/input/input2
[    2.572297] sdhci-brcmstb 1000fff000.mmc: Got CD GPIO
[    2.575221] mmc1: CQHCI version 5.10
[    2.614237] mmc0: SDHCI controller on 1000fff000.mmc [1000fff000.mmc] using ADMA 64-bit
[    2.766753] mmc1: SDHCI controller on 1001100000.mmc [1001100000.mmc] using ADMA 64-bit
[    2.795165] macb 1f00100000.ethernet eth0: Cadence GEM rev 0x00070109 at 0x1f00100000 irq 110 (d8:3a:dd:b0:63:f7)
[    2.805244] raid6: neonx8   gen() 11072 MB/s
[    2.810621] xhci-hcd xhci-hcd.0: xHCI Host Controller
[    2.815877] xhci-hcd xhci-hcd.0: new USB bus registered, assigned bus number 2
[    2.823866] xhci-hcd xhci-hcd.0: hcc params 0x0240fe6d hci version 0x110 quirks 0x0000008000000810
[    2.827196] raid6: neonx4   gen() 11481 MB/s
[    2.833236] xhci-hcd xhci-hcd.0: irq 135, io mem 0x1f00200000
[    2.843598] xhci-hcd xhci-hcd.0: xHCI Host Controller
[    2.848812] xhci-hcd xhci-hcd.0: new USB bus registered, assigned bus number 3
[    2.850186] raid6: neonx2   gen()  9864 MB/s
[    2.856351] xhci-hcd xhci-hcd.0: Host supports USB 3.0 SuperSpeed
[    2.867115] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.08
[    2.873195] raid6: neonx1   gen()  7932 MB/s
[    2.875713] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.887672] usb usb2: Product: xHCI Host Controller
[    2.892708] usb usb2: Manufacturer: Linux 6.8.0-1004-raspi xhci-hcd
[    2.898197] raid6: int64x8  gen()  6326 MB/s
[    2.899141] usb usb2: SerialNumber: xhci-hcd.0
[    2.908317] hub 2-0:1.0: USB hub found
[    2.912232] hub 2-0:1.0: 2 ports detected
[    2.916553] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.08
[    2.919198] raid6: int64x4  gen()  5705 MB/s
[    2.925137] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.937092] usb usb3: Product: xHCI Host Controller
[    2.942126] usb usb3: Manufacturer: Linux 6.8.0-1004-raspi xhci-hcd
[    2.948552] usb usb3: SerialNumber: xhci-hcd.0
[    2.948559] raid6: int64x2  gen()  5759 MB/s
[    2.948851] hub 3-0:1.0: USB hub found
[    2.961456] hub 3-0:1.0: 1 port detected
[    2.965637] xhci-hcd xhci-hcd.1: xHCI Host Controller
[    2.970198] raid6: int64x1  gen()  4059 MB/s
[    2.970842] xhci-hcd xhci-hcd.1: new USB bus registered, assigned bus number 4
[    2.970952] raid6: using algorithm neonx4 gen() 11481 MB/s
[    2.971634] xhci-hcd xhci-hcd.1: hcc params 0x0240fe6d hci version 0x110 quirks 0x0000008000000810
[    2.996192] raid6: .... xor() 10090 MB/s, rmw enabled
[    2.997627] xhci-hcd xhci-hcd.1: irq 140, io mem 0x1f00300000
[    2.997736] raid6: using neon recovery algorithm
[    2.997962] xhci-hcd xhci-hcd.1: xHCI Host Controller
[    3.018672] xhci-hcd xhci-hcd.1: new USB bus registered, assigned bus number 5
[    3.026198] xhci-hcd xhci-hcd.1: Host supports USB 3.0 SuperSpeed
[    3.026311] xor: measuring software checksum speed
[    3.026434] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.08
[    3.027092]    8regs           : 15903 MB/sec
[    3.032846] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.033602]    32regs          : 15727 MB/sec
[    3.038045] usb usb4: Product: xHCI Host Controller
[    3.039032]    arm64_neon      : 11508 MB/sec
[    3.046607] usb usb4: Manufacturer: Linux 6.8.0-1004-raspi xhci-hcd
[    3.046730] xor: using function: 8regs (15903 MB/sec)
[    3.051458] async_tx: api initialized (async)
[    3.058632] usb usb4: SerialNumber: xhci-hcd.1
[    3.092956] hub 4-0:1.0: USB hub found
[    3.096897] hub 4-0:1.0: 2 ports detected
[    3.101357] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.08
[    3.109985] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.117545] usb usb5: Product: xHCI Host Controller
[    3.117547] usb usb5: Manufacturer: Linux 6.8.0-1004-raspi xhci-hcd
[    3.117549] usb usb5: SerialNumber: xhci-hcd.1
[    3.117834] hub 5-0:1.0: USB hub found
[    3.137517] hub 5-0:1.0: 1 port detected
[    3.137958] mmc1: new ultra high speed DDR50 SDIO card at address 0001
[    3.209779] Btrfs loaded, zoned=yes, fsverity=no
[    3.290273] usb 3-1: new SuperSpeed USB device number 2 using xhci-hcd
[    3.309252] usb 3-1: New USB device found, idVendor=090c, idProduct=1000, bcdDevice=11.00
[    3.317765] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.325138] usb 3-1: Product: Flash Drive FIT
[    3.329713] usb 3-1: Manufacturer: Samsung
[    3.334014] usb 3-1: SerialNumber: 0384923090013691
[    3.338193] usb 4-1: new high-speed USB device number 2 using xhci-hcd
[    3.411208] usb-storage 3-1:1.0: USB Mass Storage device detected
[    3.417761] scsi host0: usb-storage 3-1:1.0
[    3.422296] usbcore: registered new interface driver usb-storage
[    3.429982] usbcore: registered new interface driver uas
[    3.471512] usb 4-1: New USB device found, idVendor=03e7, idProduct=2485, bcdDevice= 0.01
[    3.480133] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.487502] usb 4-1: Product: Movidius MyriadX
[    3.492113] usb 4-1: Manufacturer: Movidius Ltd.
[    3.496894] usb 4-1: SerialNumber: 03e72485
[    4.872165] scsi 0:0:0:0: Direct-Access     Samsung  Flash Drive FIT  1100 PQ: 0 ANSI: 6
[    4.880936] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    4.881541] sd 0:0:0:0: [sda] 250626566 512-byte logical blocks: (128 GB/120 GiB)
[    4.894415] sd 0:0:0:0: [sda] Write Protect is off
[    4.899365] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[    4.899488] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    4.910612]  sda: sda1 sda2
[    4.913665] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    5.091708] EXT4-fs (sda2): mounted filesystem 1305c13b-200a-49e8-8083-80cd01552617 ro with ordered data mode. Quota mode: none.
[    5.412941] systemd[1]: Inserted module 'autofs4'
[    5.454119] systemd[1]: systemd 255.4-1ubuntu8 running in system mode (+PAM +AUDIT +SELINUX +BANNED +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[    5.487679] systemd[1]: Detected architecture arm64.
[    5.495737] systemd[1]: Hostname set to <ubuntu>.
[    5.898534] systemd[1]: Queued start job for default target graphical.target.
[    5.921692] systemd[1]: Created slice system-modprobe.slice - Slice /system/modprobe.
[    5.930870] systemd[1]: Created slice system-serial\x2dgetty.slice - Slice /system/serial-getty.
[    5.940991] systemd[1]: Created slice system-systemd\x2dfsck.slice - Slice /system/systemd-fsck.
[    5.950883] systemd[1]: Created slice user.slice - User and Session Slice.
[    5.958287] systemd[1]: Started systemd-ask-password-wall.path - Forward Password Requests to Wall Directory Watch.
[    5.969494] systemd[1]: Set up automount proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File Formats File System Automount Point.
[    5.982590] systemd[1]: Expecting device dev-disk-by\x2dlabel-system\x2dboot.device - /dev/disk/by-label/system-boot...
[    5.993918] systemd[1]: Expecting device dev-ttyAMA10.device - /dev/ttyAMA10...
[    6.001748] systemd[1]: Expecting device sys-subsystem-net-devices-wlan0.device - /sys/subsystem/net/devices/wlan0...
[    6.012941] systemd[1]: Reached target integritysetup.target - Local Integrity Protected Volumes.
[    6.022414] systemd[1]: Reached target slices.target - Slice Units.
[    6.029083] systemd[1]: Reached target snapd.mounts-pre.target - Mounting snaps.
[    6.037048] systemd[1]: Reached target swap.target - Swaps.
[    6.043014] systemd[1]: Reached target veritysetup.target - Local Verity Protected Volumes.
[    6.052050] systemd[1]: Listening on dm-event.socket - Device-mapper event daemon FIFOs.
[    6.060877] systemd[1]: Listening on lvm2-lvmpolld.socket - LVM2 poll daemon socket.
[    6.069230] systemd[1]: multipathd.socket - multipathd control socket was skipped because of an unmet condition check (ConditionKernelCommandLine=!multipath=off).
[    6.084455] systemd[1]: Listening on syslog.socket - Syslog Socket.
[    6.091247] systemd[1]: Listening on systemd-fsckd.socket - fsck to fsckd communication Socket.
[    6.100579] systemd[1]: Listening on systemd-initctl.socket - initctl Compatibility Named Pipe.
[    6.109992] systemd[1]: Listening on systemd-journald-dev-log.socket - Journal Socket (/dev/log).
[    6.119612] systemd[1]: Listening on systemd-journald.socket - Journal Socket.
[    6.127590] systemd[1]: Listening on systemd-networkd.socket - Network Service Netlink Socket.
[    6.136789] systemd[1]: systemd-pcrextend.socket - TPM2 PCR Extension (Varlink) was skipped because of an unmet condition check (ConditionSecurity=measured-uki).
[    6.151943] systemd[1]: Listening on systemd-udevd-control.socket - udev Control Socket.
[    6.160729] systemd[1]: Listening on systemd-udevd-kernel.socket - udev Kernel Socket.
[    6.183295] systemd[1]: Mounting dev-hugepages.mount - Huge Pages File System...
[    6.192714] systemd[1]: Mounting dev-mqueue.mount - POSIX Message Queue File System...
[    6.202450] systemd[1]: Mounting sys-kernel-debug.mount - Kernel Debug File System...
[    6.211988] systemd[1]: Mounting sys-kernel-tracing.mount - Kernel Trace File System...
[    6.222070] systemd[1]: Starting keyboard-setup.service - Set the console keyboard layout...
[    6.232658] systemd[1]: Starting kmod-static-nodes.service - Create List of Static Device Nodes...
[    6.243668] systemd[1]: Starting lvm2-monitor.service - Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling...
[    6.258216] systemd[1]: Starting [email protected] - Load Kernel Module configfs...
[    6.268755] systemd[1]: Starting modprobe@dm_mod.service - Load Kernel Module dm_mod...
[    6.279739] systemd[1]: Starting [email protected] - Load Kernel Module drm...
[    6.290310] systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore...
[    6.300796] device-mapper: core: CONFIG_IMA_DISABLE_HTABLE is disabled. Duplicate IMA measurements will not be recorded in the IMA log.
[    6.302155] systemd[1]: Starting [email protected] - Load Kernel Module fuse...
[    6.313519] device-mapper: uevent: version 1.0.3
[    6.326504] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: [email protected]
[    6.336861] systemd[1]: Starting [email protected] - Load Kernel Module loop...
[    6.345448] systemd[1]: netplan-ovs-cleanup.service - OpenVSwitch configuration for cleanup was skipped because of an unmet condition check (ConditionFileIsExecutable=/usr/bin/ovs-vsctl).
[    6.346095] fuse: init (API version 7.39)
[    6.363114] systemd[1]: systemd-fsck-root.service - File System Check on Root Device was skipped because of an unmet condition check (ConditionPathExists=!/run/initramfs/fsck-root).
[    6.386002] systemd[1]: Starting systemd-journald.service - Journal Service...
[    6.397566] systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules...
[    6.406229] systemd[1]: systemd-pcrmachine.service - TPM2 PCR Machine ID Measurement was skipped because of an unmet condition check (ConditionSecurity=measured-uki).
[    6.416252] systemd-journald[347]: Collecting audit messages is disabled.
[    6.423012] systemd[1]: Starting systemd-remount-fs.service - Remount Root and Kernel File Systems...
[    6.438648] systemd[1]: systemd-tpm2-setup-early.service - TPM2 SRK Setup (Early) was skipped because of an unmet condition check (ConditionSecurity=measured-uki).
[    6.455214] systemd[1]: Starting systemd-udev-trigger.service - Coldplug All udev Devices...
[    6.466389] systemd[1]: Started systemd-journald.service - Journal Service.
[    6.467910] EXT4-fs (sda2): re-mounted 1305c13b-200a-49e8-8083-80cd01552617 r/w. Quota mode: none.
[    6.543840] systemd-journald[347]: Received client request to flush runtime journal.
[    6.646630] systemd-journald[347]: /var/log/journal/50403bee319f43f6bbf3e9439b1db4c5/system.journal: Journal file uses a different sequence number ID, rotating.
[    6.646642] systemd-journald[347]: Rotating system journal.
[    6.699617] loop0: detected capacity change from 0 to 68920
[    6.721378] loop1: detected capacity change from 0 to 69032
[    7.337703] rpi-gpiomem 107d508500.gpiomem: window base 0x107d508500 size 0x00000040
[    7.337912] rpi-gpiomem 107d508500.gpiomem: initialised 1 regions as /dev/gpiomem1
[    7.337991] rpi-gpiomem 107d517c00.gpiomem: window base 0x107d517c00 size 0x00000040
[    7.338057] rpi-gpiomem 107d517c00.gpiomem: initialised 1 regions as /dev/gpiomem2
[    7.338110] rpi-gpiomem 107d504100.gpiomem: window base 0x107d504100 size 0x00000020
[    7.339248] rpi-gpiomem 107d504100.gpiomem: initialised 1 regions as /dev/gpiomem3
[    7.339323] rpi-gpiomem 107d510700.gpiomem: window base 0x107d510700 size 0x00000020
[    7.339401] rpi-gpiomem 107d510700.gpiomem: initialised 1 regions as /dev/gpiomem4
[    7.339572] rpi-gpiomem 1f000d0000.gpiomem: window base 0x1f000d0000 size 0x00030000
[    7.339630] rpi-gpiomem 1f000d0000.gpiomem: initialised 1 regions as /dev/gpiomem0
[    7.355886] Goodix-TS 1-0014: supply AVDD28 not found, using dummy regulator
[    7.357085] Goodix-TS 1-0014: supply VDDIO not found, using dummy regulator
[    7.358019] dw_axi_dmac_platform 1f00188000.dma: DesignWare AXI DMA Controller, 8 channels
[    7.358058] Goodix-TS 1-0014: Error reading 1 bytes from 0x8140: -121
[    7.372472] dw_spi_mmio 1f00050000.spi: DMA init failed
[    7.388298] Goodix-TS 1-0014: Error reading 1 bytes from 0x8140: -121
[    7.407061] mc: Linux media interface: v0.10
[    7.419223] Goodix-TS 1-0014: I2C communication failure: -121
[    7.425986] Goodix-TS: probe of 1-0014 failed with error -121
[    7.426113] Goodix-TS 1-005d: supply AVDD28 not found, using dummy regulator
[    7.435195] Goodix-TS 1-005d: supply VDDIO not found, using dummy regulator
[    7.436126] Goodix-TS 1-005d: ID 911, version: 1060
[    7.441139] input: 1-005d Goodix Capacitive TouchScreen as /devices/platform/axi/1000120000.pcie/1f00074000.i2c/i2c-1/1-005d/input/input3
[    7.450244] videodev: Linux video capture interface: v2.00
[    7.472984] [drm] Initialized v3d 1.0.0 20180419 for 1002000000.v3d on minor 0
[    7.494614] pispbe 1000880000.pisp_be: bcm2712_iommu_of_xlate: MMU 1000005100.iommu
[    7.494623] pispbe 1000880000.pisp_be: bcm2712_iommu_probe_device: MMU 1000005100.iommu
[    7.494632] pispbe 1000880000.pisp_be: bcm2712_iommu_device_group: MMU 1000005100.iommu
[    7.494642] pispbe 1000880000.pisp_be: Adding to iommu group 0
[    7.494648] pispbe 1000880000.pisp_be: bcm2712_iommu_attach_dev: MMU 1000005100.iommu
[    7.494777] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    7.495178] Loaded X.509 cert '[email protected]: 577e021cb980e0e820821ba7b54b4961b8b4fadf'
[    7.495420] Loaded X.509 cert '[email protected]: 3abbc6ec146e09d1b6016ab9d6cf71dd233f0328'
[    7.495625] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    7.495827] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[    7.496717] pispbe 1000880000.pisp_be: pispbe_probe: HW version:  0x02252700
[    7.496722] pispbe 1000880000.pisp_be: pispbe_probe: BatchStatus: 0x00000000
[    7.496725] pispbe 1000880000.pisp_be: pispbe_probe: Status:      0x00000000
[    7.496727] pispbe 1000880000.pisp_be: Register nodes for group 0
[    7.510030] rpivid_hevc: module is from the staging directory, the quality is unknown, you have been warned.
[    7.510039] rpivid_hevc: module verification failed: signature and/or required key missing - tainting kernel
[    7.511936] rpivid 1000800000.codec: bcm2712_iommu_of_xlate: MMU 1000005100.iommu
[    7.511946] rpivid 1000800000.codec: bcm2712_iommu_probe_device: MMU 1000005100.iommu
[    7.511958] rpivid 1000800000.codec: bcm2712_iommu_device_group: MMU 1000005100.iommu
[    7.512101] rpivid 1000800000.codec: Adding to iommu group 0
[    7.512110] rpivid 1000800000.codec: bcm2712_iommu_attach_dev: MMU 1000005100.iommu
[    7.517980] designware-i2s 1f000a0000.i2s: Missing dma channel for stream: 0
[    7.518375] rpivid 1000800000.codec: Device registered as /dev/video19
[    7.525389] designware-i2s 1f000a0000.i2s: ASoC: error at snd_soc_pcm_component_new on 1f000a0000.i2s: -22
[    7.528516] pispbe 1000880000.pisp_be: input device node registered as /dev/video20
[    7.535633] snd-rpi-simple soc:sound: ASoC: can't create pcm HifiBerry DAC HiFi :-22
[    7.540031] vc4-drm axi:gpu: bcm2712_iommu_of_xlate: MMU 1000005200.iommu
[    7.543842] snd-rpi-simple soc:sound: Failed to register card -22
[    7.543845] snd-rpi-simple: probe of soc:sound failed with error -22
[    7.544359] vc4-drm axi:gpu: bcm2712_iommu_probe_device: MMU 1000005200.iommu
[    7.545265] pispbe 1000880000.pisp_be: tdn_input device node registered as /dev/video21
[    7.545330] pispbe 1000880000.pisp_be: stitch_input device node registered as /dev/video22
[    7.553373] vc4-drm axi:gpu: bcm2712_iommu_device_group: MMU 1000005200.iommu
[    7.553390] vc4-drm axi:gpu: Adding to iommu group 1
[    7.553395] vc4-drm axi:gpu: bcm2712_iommu_attach_dev: MMU 1000005200.iommu
[    7.554632] pispbe 1000880000.pisp_be: hog_output device node registered as /dev/video23
[    7.556220] brcmfmac: F1 signature read @0x18000000=0x15264345
[    7.562379] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    7.563816] pispbe 1000880000.pisp_be: output0 device node registered as /dev/video24
[    7.564849] Console: switching to colour dummy device 80x25
[    7.564885] pispbe 1000880000.pisp_be: output1 device node registered as /dev/video25
[    7.566494] usbcore: registered new interface driver brcmfmac
[    7.569149] pispbe 1000880000.pisp_be: tdn_output device node registered as /dev/video26
[    7.571536] pispbe 1000880000.pisp_be: stitch_output device node registered as /dev/video27
[    7.575121] pispbe 1000880000.pisp_be: config device node registered as /dev/video28
[    7.575162] vc4-drm axi:gpu: bound 107c580000.hvs (ops vc4_hvs_ops [vc4])
[    7.576225] [drm] forcing HDMI-A-1 connector on
[    7.577636] pispbe 1000880000.pisp_be: Register nodes for group 1
[    7.591149] Registered IR keymap rc-cec
[    7.591234] rc rc0: vc4-hdmi-0 as /devices/platform/soc/107c701400.hdmi/rc/rc0
[    7.591284] input: vc4-hdmi-0 as /devices/platform/soc/107c701400.hdmi/rc/rc0/input5
[    7.591998] pispbe 1000880000.pisp_be: input device node registered as /dev/video29
[    7.606254] pispbe 1000880000.pisp_be: tdn_input device node registered as /dev/video30
[    7.620936] pispbe 1000880000.pisp_be: stitch_input device node registered as /dev/video31
[    7.621070] pispbe 1000880000.pisp_be: hog_output device node registered as /dev/video32
[    7.624124] input: vc4-hdmi-0 HDMI Jack as /devices/platform/soc/107c701400.hdmi/sound/card0/input6
[    7.624206] pispbe 1000880000.pisp_be: output0 device node registered as /dev/video33
[    7.630962] Bluetooth: Core ver 2.22
[    7.631005] NET: Registered PF_BLUETOOTH protocol family
[    7.631008] Bluetooth: HCI device and connection manager initialized
[    7.631014] Bluetooth: HCI socket layer initialized
[    7.631018] Bluetooth: L2CAP socket layer initialized
[    7.631025] Bluetooth: SCO socket layer initialized
[    7.634026] pispbe 1000880000.pisp_be: output1 device node registered as /dev/video34
[    7.635109] pispbe 1000880000.pisp_be: tdn_output device node registered as /dev/video35
[    7.635925] pispbe 1000880000.pisp_be: stitch_output device node registered as /dev/video36
[    7.637618] vc4-drm axi:gpu: bound 107c701400.hdmi (ops vc4_hdmi_ops [vc4])
[    7.643662] pispbe 1000880000.pisp_be: config device node registered as /dev/video37
[    7.647773] Registered IR keymap rc-cec
[    7.647847] rc rc1: vc4-hdmi-1 as /devices/platform/soc/107c706400.hdmi/rc/rc1
[    7.647932] input: vc4-hdmi-1 as /devices/platform/soc/107c706400.hdmi/rc/rc1/input7
[    7.706662] Bluetooth: HCI UART driver ver 2.3
[    7.706672] Bluetooth: HCI UART protocol H4 registered
[    7.706674] Bluetooth: HCI UART protocol BCSP registered
[    7.706708] Bluetooth: HCI UART protocol LL registered
[    7.706710] Bluetooth: HCI UART protocol ATH3K registered
[    7.706721] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    7.706821] Bluetooth: HCI UART protocol Intel registered
[    7.706877] Bluetooth: HCI UART protocol Broadcom registered
[    7.706890] Bluetooth: HCI UART protocol QCA registered
[    7.706892] Bluetooth: HCI UART protocol AG6XX registered
[    7.706905] Bluetooth: HCI UART protocol Marvell registered
[    7.706963] hci_uart_bcm serial0-0: supply vbat not found, using dummy regulator
[    7.707028] hci_uart_bcm serial0-0: supply vddio not found, using dummy regulator
[    7.716423] input: vc4-hdmi-1 HDMI Jack as /devices/platform/soc/107c706400.hdmi/sound/card1/input8
[    7.716552] vc4-drm axi:gpu: bound 107c706400.hdmi (ops vc4_hdmi_ops [vc4])
[    7.717596] vc4-drm axi:gpu: bound 107c500000.mop (ops vc4_txp_ops [vc4])
[    7.717678] vc4-drm axi:gpu: bound 107c501000.moplet (ops vc4_txp_ops [vc4])
[    7.717752] vc4-drm axi:gpu: bound 107c410000.pixelvalve (ops vc4_crtc_ops [vc4])
[    7.717820] vc4-drm axi:gpu: bound 107c411000.pixelvalve (ops vc4_crtc_ops [vc4])
[    7.771821] [drm] Initialized vc4 0.0.0 20140616 for axi:gpu on minor 1
[    7.822468] Console: switching to colour frame buffer device 90x45
[    7.839739] vc4-drm axi:gpu: [drm] fb0: vc4drmfb frame buffer device
[    7.949064] brcmfmac_wcc: brcmf_wcc_attach: executing
[    7.957370] brcmfmac: brcmf_c_process_txcap_blob: no txcap_blob available (err=-2)
[    7.957687] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Apr 15 2021 03:03:20 version 7.45.234 (4ca95bb CY) FWID 01-996384e2
[    8.025143] audit: type=1400 audit(1718122228.033:2): BANNED="STATUS" operation="profile_load" profile="unconfined" name="Discord" pid=588 comm="BANNED_parser"
[    8.027360] audit: type=1400 audit(1718122228.036:3): BANNED="STATUS" operation="profile_load" profile="unconfined" name="1password" pid=587 comm="BANNED_parser"
[    8.027435] audit: type=1400 audit(1718122228.036:4): BANNED="STATUS" operation="profile_load" profile="unconfined" name=4D6F6E676F444220436F6D70617373 pid=590 comm="BANNED_parser"
[    8.029604] audit: type=1400 audit(1718122228.038:5): BANNED="STATUS" operation="profile_load" profile="unconfined" name="QtWebEngineProcess" pid=591 comm="BANNED_parser"
[    8.031722] audit: type=1400 audit(1718122228.040:6): BANNED="STATUS" operation="profile_load" profile="unconfined" name="brave" pid=598 comm="BANNED_parser"
[    8.036232] audit: type=1400 audit(1718122228.044:7): BANNED="STATUS" operation="profile_load" profile="unconfined" name="buildah" pid=599 comm="BANNED_parser"
[    8.039493] audit: type=1400 audit(1718122228.047:8): BANNED="STATUS" operation="profile_load" profile="unconfined" name="busybox" pid=600 comm="BANNED_parser"
[    8.040811] audit: type=1400 audit(1718122228.049:9): BANNED="STATUS" operation="profile_load" profile="unconfined" name="cam" pid=601 comm="BANNED_parser"
[    8.045292] audit: type=1400 audit(1718122228.053:10): BANNED="STATUS" operation="profile_load" profile="unconfined" name="ch-run" pid=603 comm="BANNED_parser"
[    8.045907] audit: type=1400 audit(1718122228.054:11): BANNED="STATUS" operation="profile_load" profile="unconfined" name="ch-checkns" pid=602 comm="BANNED_parser"
[    8.064803] Bluetooth: hci0: BCM: chip id 107
[    8.065330] Bluetooth: hci0: BCM: features 0x2f
[    8.066482] Bluetooth: hci0: BCM4345C0
[    8.066489] Bluetooth: hci0: BCM4345C0 (003.001.025) build 0000
[    8.067621] Bluetooth: hci0: BCM4345C0 'brcm/BCM4345C0.raspberrypi,5-model-b.hcd' Patch
[    8.253659] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[    8.752824] Bluetooth: hci0: BCM: features 0x2f
[    8.754183] Bluetooth: hci0: BCM43455 37.4MHz Raspberry Pi 3+-0190
[    8.754193] Bluetooth: hci0: BCM4345C0 (003.001.025) build 0382
[    8.754498] Bluetooth: hci0: BCM: Using default device address (43:45:c0:00:1f:ac)
[   10.518368] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   10.518376] Bluetooth: BNEP filters: protocol multicast
[   10.518384] Bluetooth: BNEP socket layer initialized
[   10.520821] Bluetooth: MGMT ver 1.22
[   10.539741] NET: Registered PF_ALG protocol family
[   11.481279] NET: Registered PF_QIPCRTR protocol family
[   12.528391] loop2: detected capacity change from 0 to 8
[   22.753992] systemd-journald[347]: /var/log/journal/50403bee319f43f6bbf3e9439b1db4c5/user-1000.journal: Journal file uses a different sequence number ID, rotating.
What is the adafruit ubuntu setup? Pi 5 and Ubuntu 24? Thanks!

User avatar
fleecy
 
Posts: 8
Joined: Mon Sep 02, 2019 6:42 am

Re: max98357a overlay does not work on RPi 5 with Ubuntu 24.04 LTS

Post by fleecy »

This is my config.txt

Code: Select all

[all]
kernel=vmlinuz
cmdline=cmdline.txt
initramfs initrd.img followkernel

[pi4]
max_framebuffers=2
arm_boost=1

[all]
# Enable the audio output, I2C and SPI interfaces on the GPIO header. As these
# parameters related to the base device-tree they must appear *before* any
# other dtoverlay= specification
# dtparam=audio=on
dtparam=i2s=on
dtparam=i2c_arm=on
dtparam=spi=on

# Comment out the following line if the edges of the desktop appear outside
# the edges of your display
disable_overscan=1

# If you have issues with audio, you may try uncommenting the following line
# which forces the HDMI output into HDMI mode instead of DVI (which doesn't
# support audio output)
#hdmi_drive=2

# Enable the serial pins
enable_uart=1

# Autoload overlays for any recognized cameras or displays that are attached
# to the CSI/DSI ports. Please note this is for libcamera support, *not* for
# the legacy camera stack
camera_auto_detect=1
display_auto_detect=1

# Config settings specific to arm64
arm_64bit=1
dtoverlay=dwc2

# Enable the KMS ("full" KMS) graphics overlay, leaving GPU memory as the
# default (the kernel is in control of graphics memory with full KMS)
dtoverlay=vc4-kms-v3d
disable_fw_kms_setup=1

[all]

[cm4]
# Enable the USB2 outputs on the IO board (assuming your CM4 is plugged into
# such a board)
dtoverlay=dwc2,dr_mode=host

[all]
usb_max_current_enable=1
dtparam=i2c_arm=on,i2c_arm_baudrate=400000
dtoverlay=waveshare-4dpic-3b
dtoverlay=waveshare-4dpic-4b
dtoverlay=waveshare-4dpic-5b
hdmi_force_hotplug=1 
config_hdmi_boost=10
hdmi_group=2 
hdmi_mode=87 
hdmi_timings=720 0 100 20 100 720 0 20 8 20 0 0 0 60 0 48000000 6
start_x=0
gpu_mem=128

# dtoverlay=max98357a
dtoverlay=hifiberry-dac 

User avatar
fleecy
 
Posts: 8
Joined: Mon Sep 02, 2019 6:42 am

Re: max98357a overlay does not work on RPi 5 with Ubuntu 24.04 LTS

Post by fleecy »

After rebooting, I see the hifiberry dac but it uses the pcm5201 not the max98357a?

Code: Select all

**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_dac], device 0: HifiBerry DAC HiFi pcm5102a-hifi-0 [HifiBerry DAC HiFi pcm5102a-hifi-0]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

User avatar
mikeysklar
 
Posts: 15153
Joined: Mon Aug 01, 2016 8:10 pm

Re: max98357a overlay does not work on RPi 5 with Ubuntu 24.04 LTS

Post by mikeysklar »

Adafruit supports Pi OS on the Raspberry Pi SBCs.

Since the Pi OS setup was working for you with the max98357a you might need to go that route with your setup.

User avatar
fleecy
 
Posts: 8
Joined: Mon Sep 02, 2019 6:42 am

Re: max98357a overlay does not work on RPi 5 with Ubuntu 24.04 LTS

Post by fleecy »

Thanks, unfortunately I can't use Pi OS since I'm using ROS2. You mentioned adafruit has a working ubuntu setup?

User avatar
mikeysklar
 
Posts: 15153
Joined: Mon Aug 01, 2016 8:10 pm

Re: max98357a overlay does not work on RPi 5 with Ubuntu 24.04 LTS

Post by mikeysklar »

I'm Sorry, I see the confusion. Adafruit does NOT maintain a working Ubuntu setup. I'm missing NOT earlier in this thread. My apologies.

Post Reply
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/

Return to “Adafruit Raspberry Pi® accessories”