ubopod / ubo-hal

This repo includes code for communicating and interfacing with Ubo hardware peripherals
GNU General Public License v3.0
1 stars 2 forks source link

Switch audio driver to support Pi 5 #16

Open zytegalaxy opened 11 months ago

zytegalaxy commented 11 months ago

1 - sudo chmod +x install_wm8960.sh 2 - sudo bash install_wm8960.sh

https://github.com/ubopod/ubo-sdk/blob/main/system/setup/install_wm8960.sh

replace seeedstudio driver with this. Tested on Pi 4 and Pi 5 on latest 64-bit OS.

makermelissa commented 10 months ago

Tested on Pi 5 with Raspberry Pi OS Desktop and it worked fine. Tested on Raspberry Pi OS Lite and installation looks fine, card shows up, but no sound is produced.

zytegalaxy commented 10 months ago

Hmmm interesting 🤔 I didn't test on the lite version. Will test and see what I find out. Could you please post dmesg output here?

makermelissa commented 10 months ago

Sure. Here you go:

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x414fd0b1]
[    0.000000] Linux version 6.1.0-rpi7-rpi-2712 (debian-kernel@lists.debian.org) (gcc-12 (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT Debian 1:6.1.63-1+rpt1 (2023-11-24)
[    0.000000] random: crng init done
[    0.000000] Machine model: Raspberry Pi 5 Model B Rev 1.0
[    0.000000] efi: UEFI not found.
[    0.000000] Reserved memory: created CMA memory pool at 0x000000001a000000, size 320 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    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-0x000000003f7fffff]
[    0.000000]   node   0: [mem 0x0000000040000000-0x00000001ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000001ffffffff]
[    0.000000] On node 0, zone DMA: 512 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 14 pages/cpu s177448 r8192 d43736 u229376
[    0.000000] pcpu-alloc: s177448 r8192 d43736 u229376 alloc=14*16384
[    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: Hardware dirty bit management
[    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] Built 1 zonelists, mobility grouping on.  Total pages: 521728
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1  smsc95xx.macaddr=D8:3A:DD:A3:61:62 vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000  console=ttyAMA10,115200 console=tty1 root=PARTUUID=d192feed-02 rootfstype=ext4 fsck.repair=yes rootwait cfg80211.ieee80211_regdom=US
[    0.000000] Dentry cache hash table entries: 1048576 (order: 9, 8388608 bytes, linear)
[    0.000000] Inode-cache hash table entries: 524288 (order: 8, 4194304 bytes, linear)
[    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[    0.000000] software IO TLB: area num 4.
[    0.000000] software IO TLB: mapped [mem 0x00000000fbffc000-0x00000000ffffc000] (64MB)
[    0.000000] Memory: 7899936K/8380416K available (12352K kernel code, 2186K rwdata, 4112K rodata, 4480K init, 1216K bss, 152800K reserved, 327680K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 40061 entries in 40 pages
[    0.000000] ftrace: allocated 40 pages with 2 groups
[    0.000000] trace event string verifier disabled
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    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 25 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.000160] Console: colour dummy device 80x25
[    0.000309] printk: console [tty1] enabled
[    0.000329] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=216000)
[    0.000339] pid_max: default: 32768 minimum: 301
[    0.000364] LSM: Security Framework initializing
[    0.000433] Mount-cache hash table entries: 16384 (order: 3, 131072 bytes, linear)
[    0.000465] Mountpoint-cache hash table entries: 16384 (order: 3, 131072 bytes, linear)
[    0.000905] cgroup: Disabling memory control group subsystem
[    0.001421] cblist_init_generic: Setting adjustable number of callback queues.
[    0.001431] cblist_init_generic: Setting shift to 2 and lim to 1.
[    0.001467] cblist_init_generic: Setting adjustable number of callback queues.
[    0.001472] cblist_init_generic: Setting shift to 2 and lim to 1.
[    0.001506] cblist_init_generic: Setting adjustable number of callback queues.
[    0.001511] cblist_init_generic: Setting shift to 2 and lim to 1.
[    0.001596] rcu: Hierarchical SRCU implementation.
[    0.001601] rcu:     Max phase no-delay instances is 1000.
[    0.002224] EFI services will not be available.
[    0.002328] smp: Bringing up secondary CPUs ...
[    0.002542] Detected PIPT I-cache on CPU1
[    0.002587] CPU1: Booted secondary processor 0x0000000100 [0x414fd0b1]
[    0.002819] Detected PIPT I-cache on CPU2
[    0.002855] CPU2: Booted secondary processor 0x0000000200 [0x414fd0b1]
[    0.003079] Detected PIPT I-cache on CPU3
[    0.003112] CPU3: Booted secondary processor 0x0000000300 [0x414fd0b1]
[    0.003150] smp: Brought up 1 node, 4 CPUs
[    0.003169] SMP: Total of 4 processors activated.
[    0.003175] CPU features: detected: 32-bit EL0 Support
[    0.003179] CPU features: detected: Data cache clean to the PoU not required for I/D coherence
[    0.003185] CPU features: detected: Common not Private translations
[    0.003190] CPU features: detected: CRC32 instructions
[    0.003195] CPU features: detected: RCpc load-acquire (LDAPR)
[    0.003199] CPU features: detected: LSE atomic instructions
[    0.003203] CPU features: detected: Privileged Access Never
[    0.003207] CPU features: detected: RAS Extension Support
[    0.003212] CPU features: detected: Speculative Store Bypassing Safe (SSBS)
[    0.003252] CPU: All CPU(s) started at EL2
[    0.003257] alternatives: applying system-wide alternatives
[    0.005180] devtmpfs: initialized
[    0.007789] Enabled cp15_barrier support
[    0.007801] Enabled setend support
[    0.007865] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.007875] futex hash table entries: 1024 (order: 2, 65536 bytes, linear)
[    0.008767] pinctrl core: initialized pinctrl subsystem
[    0.009004] DMI not present or invalid.
[    0.009194] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.010410] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[    0.010465] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.010545] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.010573] audit: initializing netlink subsys (disabled)
[    0.010641] audit: type=2000 audit(0.008:1): state=initialized audit_enabled=0 res=1
[    0.010774] thermal_sys: Registered thermal governor 'step_wise'
[    0.010792] cpuidle: using governor menu
[    0.010863] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.010906] ASID allocator initialised with 32768 entries
[    0.011210] Serial: AMBA PL011 UART driver
[    0.013060] bcm2835-mbox 107c013880.mailbox: mailbox enabled
[    0.013748] 107d001000.serial: ttyAMA10 at MMIO 0x107d001000 (irq = 15, base_baud = 0) is a PL011 rev2
[    0.733363] printk: console [ttyAMA10] enabled
[    0.745836] raspberrypi-firmware soc:firmware: Attached to firmware from 2024-01-05T15:57:40, variant start_cd
[    0.759896] raspberrypi-firmware soc:firmware: Firmware hash is 30cc5f3700000000000000000000000000000000
[    0.778010] KASLR enabled
[    0.792115] bcm2835-dma 1000010000.dma: DMA legacy API manager, dmachans=0x1
[    0.800291] iommu: Default domain type: Translated 
[    0.805194] iommu: DMA domain TLB invalidation policy: strict mode 
[    0.811582] SCSI subsystem initialized
[    0.815391] usbcore: registered new interface driver usbfs
[    0.820906] usbcore: registered new interface driver hub
[    0.826248] usbcore: registered new device driver usb
[    0.831421] usb_phy_generic phy: supply vcc not found, using dummy regulator
[    0.838583] pps_core: LinuxPPS API ver. 1 registered
[    0.843567] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.852746] PTP clock support registered
[    0.856922] vgaarb: loaded
[    0.859761] clocksource: Switched to clocksource arch_sys_counter
[    0.866013] VFS: Disk quotas dquot_6.6.0
[    0.869967] VFS: Dquot-cache hash table entries: 2048 (order 0, 16384 bytes)
[    0.877079] FS-Cache: Loaded
[    0.879997] CacheFiles: Loaded
[    0.884784] NET: Registered PF_INET protocol family
[    0.889846] IP idents hash table entries: 131072 (order: 6, 1048576 bytes, linear)
[    0.899827] tcp_listen_portaddr_hash hash table entries: 4096 (order: 2, 65536 bytes, linear)
[    0.908453] Table-perturb hash table entries: 65536 (order: 4, 262144 bytes, linear)
[    0.916239] TCP established hash table entries: 65536 (order: 5, 524288 bytes, linear)
[    0.924458] TCP bind hash table entries: 65536 (order: 7, 2097152 bytes, linear)
[    0.933627] TCP: Hash tables configured (established 65536 bind 65536)
[    0.940329] MPTCP token hash table entries: 8192 (order: 3, 196608 bytes, linear)
[    0.947959] UDP hash table entries: 4096 (order: 3, 131072 bytes, linear)
[    0.954873] UDP-Lite hash table entries: 4096 (order: 3, 131072 bytes, linear)
[    0.962282] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.968112] RPC: Registered named UNIX socket transport module.
[    0.974060] RPC: Registered udp transport module.
[    0.978783] RPC: Registered tcp transport module.
[    0.983503] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.989973] PCI: CLS 0 bytes, default 64
[    0.994079] Trying to unpack rootfs image as initramfs...
[    0.999536] hw perfevents: enabled with armv8_cortex_a76 PMU driver, 7 counters available
[    1.007993] kvm [1]: IPA Size Limit: 40 bits
[    1.012303] kvm [1]: GICV region size/alignment is unsafe, using trapping (reduced performance)
[    1.021125] kvm [1]: vgic interrupt IRQ9
[    1.025174] kvm [1]: VHE mode initialized successfully
[    1.088687] Initialise system trusted keyrings
[    1.093243] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[    1.101695] zbud: loaded
[    1.104864] NFS: Registering the id_resolver key type
[    1.109964] Key type id_resolver registered
[    1.114173] Key type id_legacy registered
[    1.118225] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.124960] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    1.132470] F2FS not supported on PAGE_SIZE(16384) != 4096
[    1.138084] Key type asymmetric registered
[    1.142208] Asymmetric key parser 'x509' registered
[    1.147144] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    1.154650] io scheduler mq-deadline registered
[    1.159206] io scheduler kyber registered
[    1.163914] irq_brcmstb_l2: registered L2 intc (/soc/interrupt-controller@7c502000, parent irq: 31)
[    1.173547] irq_brcmstb_l2: registered L2 intc (/soc/intc@7d503000, parent irq: 32)
[    1.175278] Freeing initrd memory: 10832K
[    1.181428] irq_brcmstb_l2: registered L2 intc (/soc/intc@7d508380, parent irq: 33)
[    1.193117] irq_brcmstb_l2: registered L2 intc (/soc/intc@7d508400, parent irq: 34)
[    1.200918] irq_brcmstb_l2: registered L2 intc (/soc/interrupt-controller@7d510600, parent irq: 35)
[    1.210116] irq_brcmstb_l2: registered L2 intc (/soc/intc@7d517b00, parent irq: 36)
[    1.219634] gpio-461 (RP1 RUN pin): hogged as output/high
[    1.225807] simple-framebuffer 3f800000.framebuffer: framebuffer at 0x3f800000, 0x3f4800 bytes
[    1.234466] simple-framebuffer 3f800000.framebuffer: format=r5g6b5, mode=1920x1080x16, linelength=3840
[    1.245498] Console: switching to colour frame buffer device 240x67
[    1.253329] simple-framebuffer 3f800000.framebuffer: fb0: simplefb registered!
[    1.294111] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[    1.301001] 107d50c000.serial: ttyS0 at MMIO 0x107d50c000 (irq = 38, base_baud = 6000000) is a 16550A
[    1.310323] serial serial0: tty port ttyS0 registered
[    1.315981] iproc-rng200 107d208000.rng: hwrng registered
[    1.321544] vc-mem: phys_addr:0x00000000 mem_base=0x3fc00000 mem_size:0x40000000(1024 MiB)
[    1.330557] bcm2712-iommu-cache 1000005b00.iommuc: bcm2712_iommu_cache_probe
[    1.339667] brd: module loaded
[    1.344228] loop: module loaded
[    1.347593] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    1.355053] Loading iSCSI transport class v2.0-870.
[    1.360991] usbcore: registered new interface driver r8152
[    1.366521] usbcore: registered new interface driver lan78xx
[    1.372220] usbcore: registered new interface driver smsc95xx
[    1.378139] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.383991] dwc_otg: FIQ enabled
[    1.383993] dwc_otg: NAK holdoff enabled
[    1.383996] dwc_otg: FIQ split-transaction FSM enabled
[    1.384000] Module dwc_common_port init
[    1.384262] usbcore: registered new interface driver uas
[    1.389615] usbcore: registered new interface driver usb-storage
[    1.395856] mousedev: PS/2 mouse device common for all mice
[    1.409347] rpi-rtc soc:rpi_rtc: registered as rtc0
[    1.415719] rpi-rtc soc:rpi_rtc: setting system clock to 2024-01-08T21:47:00 UTC (1704750420)
[    1.424975] bcm2835-wdt bcm2835-wdt: Poweroff handler already present!
[    1.431542] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    1.440551] sdhci: Secure Digital Host Controller Interface driver
[    1.446769] sdhci: Copyright(c) Pierre Ossman
[    1.451309] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.457428] ledtrig-cpu: registered to indicate activity on CPUs
[    1.463509] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    1.469996] hid: raw HID events driver (C) Jiri Kosina
[    1.475186] usbcore: registered new interface driver usbhid
[    1.480787] usbhid: USB HID core driver
[    1.484829] NET: Registered PF_PACKET protocol family
[    1.489936] Key type dns_resolver registered
[    1.494470] registered taskstats version 1
[    1.498610] Loading compiled-in X.509 certificates
[    1.509981] Loaded X.509 cert 'Debian Secure Boot CA: 6ccece7e4c6c0d1f6149f3dd27dfcc5cbb419ea1'
[    1.518765] Loaded X.509 cert 'Debian Secure Boot Signer 2022 - linux: 14011249c2675ea8e5148542202005810584b25f'
[    1.529180] Key type .fscrypt registered
[    1.533613] Key type fscrypt-provisioning registered
[    1.541004] brcm-pcie 1000120000.pcie: host bridge /axi/pcie@120000 ranges:
[    1.548514] brcm-pcie 1000120000.pcie:   No bus range found for /axi/pcie@120000, using [bus 00-ff]
[    1.558107] brcm-pcie 1000120000.pcie:      MEM 0x1f00000000..0x1ffffffffb -> 0x0000000000
[    1.566901] brcm-pcie 1000120000.pcie:      MEM 0x1c00000000..0x1effffffff -> 0x0400000000
[    1.575705] brcm-pcie 1000120000.pcie:   IB MEM 0x1f00000000..0x1f003fffff -> 0x0000000000
[    1.584495] brcm-pcie 1000120000.pcie:   IB MEM 0x0000000000..0x0fffffffff -> 0x1000000000
[    1.594455] brcm-pcie 1000120000.pcie: setting SCB_ACCESS_EN, READ_UR_MODE, MAX_BURST_SIZE
[    1.603236] brcm-pcie 1000120000.pcie: Forcing gen 2
[    1.608730] brcm-pcie 1000120000.pcie: PCI host bridge to bus 0000:00
[    1.615663] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.621636] pci_bus 0000:00: root bus resource [mem 0x1f00000000-0x1ffffffffb] (bus address [0x00000000-0xfffffffb])
[    1.632673] pci_bus 0000:00: root bus resource [mem 0x1c00000000-0x1effffffff pref] (bus address [0x400000000-0x6ffffffff])
[    1.644336] pci 0000:00:00.0: [14e4:2712] type 01 class 0x060400
[    1.650887] pci 0000:00:00.0: PME# supported from D0 D3hot
[    1.657870] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.771769] brcm-pcie 1000120000.pcie: link up, 5.0 GT/s PCIe x4 (!SSC)
[    1.778894] pci 0000:01:00.0: [1de4:0001] type 00 class 0x020000
[    1.785399] pci 0000:01:00.0: reg 0x10: [mem 0xffffc000-0xffffffff]
[    1.792154] pci 0000:01:00.0: reg 0x14: [mem 0xffc00000-0xffffffff]
[    1.798903] pci 0000:01:00.0: reg 0x18: [mem 0xffff0000-0xffffffff]
[    1.805725] pci 0000:01:00.0: supports D1
[    1.810185] pci 0000:01:00.0: PME# supported from D0 D1 D3hot D3cold
[    1.827776] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.834864] pci 0000:00:00.0: BAR 8: assigned [mem 0x1f00000000-0x1f005fffff]
[    1.842469] pci 0000:01:00.0: BAR 1: assigned [mem 0x1f00000000-0x1f003fffff]
[    1.850069] pci 0000:01:00.0: BAR 2: assigned [mem 0x1f00400000-0x1f0040ffff]
[    1.857660] pci 0000:01:00.0: BAR 0: assigned [mem 0x1f00410000-0x1f00413fff]
[    1.865254] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.870653] pci 0000:00:00.0:   bridge window [mem 0x1f00000000-0x1f005fffff]
[    1.878235] pci 0000:00:00.0: Max Payload Size set to  256/ 512 (was  128), Max Read Rq  512
[    1.887130] pci 0000:01:00.0: Max Payload Size set to  256/ 256 (was  128), Max Read Rq  512
[    1.896138] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[    1.902716] pcieport 0000:00:00.0: PME: Signaling with IRQ 39
[    1.908990] pcieport 0000:00:00.0: AER: enabled with IRQ 39
[    1.915145] rp1 0000:01:00.0: bar0 len 0x4000, start 0x1f00410000, end 0x1f00413fff, flags, 0x40200
[    1.924646] rp1 0000:01:00.0: bar1 len 0x400000, start 0x1f00000000, end 0x1f003fffff, flags, 0x40200
[    1.934330] rp1 0000:01:00.0: enabling device (0000 -> 0002)
[    1.941598] rp1 0000:01:00.0: chip_id 0x20001927
[    1.971893] macb 1f00100000.ethernet eth0: Cadence GEM rev 0x00070109 at 0x1f00100000 irq 107 (d8:3a:dd:a3:61:62)
[    1.983417] dw_axi_dmac_platform 1f00188000.dma: DesignWare AXI DMA Controller, 8 channels
[    2.051872] xhci-hcd xhci-hcd.0: xHCI Host Controller
[    2.057386] xhci-hcd xhci-hcd.0: new USB bus registered, assigned bus number 1
[    2.065532] xhci-hcd xhci-hcd.0: hcc params 0x0240fe6d hci version 0x110 quirks 0x0000000000010810
[    2.074998] xhci-hcd xhci-hcd.0: irq 132, io mem 0x1f00200000
[    2.081286] xhci-hcd xhci-hcd.0: xHCI Host Controller
[    2.086790] xhci-hcd xhci-hcd.0: new USB bus registered, assigned bus number 2
[    2.094478] xhci-hcd xhci-hcd.0: Host supports USB 3.0 SuperSpeed
[    2.101098] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[    2.109854] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.117544] usb usb1: Product: xHCI Host Controller
[    2.122874] usb usb1: Manufacturer: Linux 6.1.0-rpi7-rpi-2712 xhci-hcd
[    2.129862] usb usb1: SerialNumber: xhci-hcd.0
[    2.134901] hub 1-0:1.0: USB hub found
[    2.139120] hub 1-0:1.0: 2 ports detected
[    2.143781] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.01
[    2.152522] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.160212] usb usb2: Product: xHCI Host Controller
[    2.165596] usb usb2: Manufacturer: Linux 6.1.0-rpi7-rpi-2712 xhci-hcd
[    2.172585] usb usb2: SerialNumber: xhci-hcd.0
[    2.177599] hub 2-0:1.0: USB hub found
[    2.181799] hub 2-0:1.0: 1 port detected
[    2.247870] xhci-hcd xhci-hcd.1: xHCI Host Controller
[    2.253368] xhci-hcd xhci-hcd.1: new USB bus registered, assigned bus number 3
[    2.261497] xhci-hcd xhci-hcd.1: hcc params 0x0240fe6d hci version 0x110 quirks 0x0000000000010810
[    2.271026] xhci-hcd xhci-hcd.1: irq 137, io mem 0x1f00300000
[    2.277378] xhci-hcd xhci-hcd.1: xHCI Host Controller
[    2.282879] xhci-hcd xhci-hcd.1: new USB bus registered, assigned bus number 4
[    2.290633] xhci-hcd xhci-hcd.1: Host supports USB 3.0 SuperSpeed
[    2.297241] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[    2.305995] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.313684] usb usb3: Product: xHCI Host Controller
[    2.319014] usb usb3: Manufacturer: Linux 6.1.0-rpi7-rpi-2712 xhci-hcd
[    2.326002] usb usb3: SerialNumber: xhci-hcd.1
[    2.331012] hub 3-0:1.0: USB hub found
[    2.335267] hub 3-0:1.0: 2 ports detected
[    2.339991] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.01
[    2.348740] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.356416] usb usb4: Product: xHCI Host Controller
[    2.361731] usb usb4: Manufacturer: Linux 6.1.0-rpi7-rpi-2712 xhci-hcd
[    2.368804] usb usb4: SerialNumber: xhci-hcd.1
[    2.373803] hub 4-0:1.0: USB hub found
[    2.378059] hub 4-0:1.0: 1 port detected
[    2.383569] bcm2712-iommu 1000005100.iommu: bcm2712_iommu_init: DEBUG_INFO = 0x20804774
[    2.392628] platform 1000800000.codec: bcm2712_iommu_probe_device: MMU 1000005100.iommu
[    2.401109] usb 1-2: new full-speed USB device number 2 using xhci-hcd
[    2.408106] platform 1000800000.codec: bcm2712_iommu_device_group: MMU 1000005100.iommu
[    2.416613] platform 1000800000.codec: Adding to iommu group 0
[    2.422953] platform 1000880000.pisp_be: bcm2712_iommu_probe_device: MMU 1000005100.iommu
[    2.431617] platform 1000880000.pisp_be: bcm2712_iommu_device_group: MMU 1000005100.iommu
[    2.440282] platform 1000880000.pisp_be: Adding to iommu group 0
[    2.446805] platform 1000800000.codec: bcm2712_iommu_attach_dev: MMU 1000005100.iommu
[    2.455116] platform 1000880000.pisp_be: bcm2712_iommu_attach_dev: MMU 1000005100.iommu
[    2.463609] bcm2712-iommu 1000005100.iommu: bcm2712_iommu_probe: Success
[    2.471431] bcm2712-iommu 1000005200.iommu: bcm2712_iommu_init: DEBUG_INFO = 0x20804774
[    2.480279] platform axi:gpu: bcm2712_iommu_probe_device: MMU 1000005200.iommu
[    2.487987] platform axi:gpu: bcm2712_iommu_device_group: MMU 1000005200.iommu
[    2.495689] platform axi:gpu: Adding to iommu group 1
[    2.501253] platform axi:gpu: bcm2712_iommu_attach_dev: MMU 1000005200.iommu
[    2.508777] bcm2712-iommu 1000005200.iommu: bcm2712_iommu_probe: Success
[    2.516438] bcm2712-iommu 1000005280.iommu: bcm2712_iommu_init: DEBUG_INFO = 0x20804774
[    2.525292] bcm2712-iommu 1000005280.iommu: bcm2712_iommu_probe: Success
[    2.532642] sdhci-brcmstb 1000fff000.mmc: there is not valid maps for state default
[    2.541125] mmc0: CQHCI version 5.10
[    2.541330] mmc1: CQHCI version 5.10
[    2.542711] of_cfs_init
[    2.552124] of_cfs_init: OK
[    2.566512] usb 1-2: New USB device found, idVendor=1997, idProduct=2433, bcdDevice= 1.10
[    2.575178] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.577410] mmc0: SDHCI controller on 1000fff000.mmc [1000fff000.mmc] using ADMA 64-bit
[    2.582861] usb 1-2: Product: mini keyboard
[    2.595865] usb 1-2: Manufacturer:  
[    2.623546] input:   mini keyboard as /devices/platform/axi/1000120000.pcie/1f00200000.usb/xhci-hcd.0/usb1/1-2/1-2:1.0/0003:1997:2433.0001/input/input0
[    2.681536] mmc0: new ultra high speed SDR104 SDHC card at address aaaa
[    2.688891] mmcblk0: mmc0:aaaa SC32G 29.7 GiB 
[    2.695910] hid-generic 0003:1997:2433.0001: input,hidraw0: USB HID v1.01 Keyboard [  mini keyboard] on usb-xhci-hcd.0-2/input0
[    2.707973]  mmcblk0: p1 p2
[    2.711343] mmcblk0: mmc0:aaaa SC32G 29.7 GiB (quirks 0x00004000)
[    2.725090] input:   mini keyboard Mouse as /devices/platform/axi/1000120000.pcie/1f00200000.usb/xhci-hcd.0/usb1/1-2/1-2:1.1/0003:1997:2433.0002/input/input1
[    2.734311] mmc1: SDHCI controller on 1001100000.mmc [1001100000.mmc] using ADMA 64-bit
[    2.739869] input:   mini keyboard System Control as /devices/platform/axi/1000120000.pcie/1f00200000.usb/xhci-hcd.0/usb1/1-2/1-2:1.1/0003:1997:2433.0002/input/input2
[    2.743157] Freeing unused kernel memory: 4480K
[    2.768807] Run /init as init process
[    2.772975]   with arguments:
[    2.772978]     /init
[    2.772980]   with environment:
[    2.772982]     HOME=/
[    2.772984]     TERM=linux
[    2.773144] mmc1: new ultra high speed DDR50 SDIO card at address 0001
[    2.807985] input:   mini keyboard Consumer Control as /devices/platform/axi/1000120000.pcie/1f00200000.usb/xhci-hcd.0/usb1/1-2/1-2:1.1/0003:1997:2433.0002/input/input3
[    2.823795] hid-generic 0003:1997:2433.0002: input,hidraw1: USB HID v1.01 Mouse [  mini keyboard] on usb-xhci-hcd.0-2/input1
[    2.954838] input: pwr_button as /devices/platform/pwr_button/input/input4
[    3.006239] brcmstb-i2c 107d508200.i2c:  @200000hz registered in interrupt mode
[    3.014776] brcmstb-i2c 107d508280.i2c:  @200000hz registered in interrupt mode
[    3.195905] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none.
[    3.496866] NET: Registered PF_INET6 protocol family
[    3.502859] Segment Routing with IPv6
[    3.507083] In-situ OAM (IOAM) with IPv6
[    3.541030] systemd[1]: systemd 252.19-1~deb12u1 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +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)
[    3.575058] systemd[1]: Detected architecture arm64.
[    3.587034] systemd[1]: Hostname set to <raspberrypi>.
[    3.664876] uart-pl011 107d001000.serial: no DMA platform data
[    3.733646] systemd[1]: Configuration file /lib/systemd/system/wm8960-soundcard.service is marked executable. Please remove executable permission bits. Proceeding anyway.
[    3.890022] systemd[1]: Queued start job for default target multi-user.target.
[    3.916531] systemd[1]: Created slice system-getty.slice - Slice /system/getty.
[    3.925556] systemd[1]: Created slice system-modprobe.slice - Slice /system/modprobe.
[    3.934999] systemd[1]: Created slice system-serial\x2dgetty.slice - Slice /system/serial-getty.
[    3.945413] systemd[1]: Created slice system-systemd\x2dfsck.slice - Slice /system/systemd-fsck.
[    3.955740] systemd[1]: Created slice user.slice - User and Session Slice.
[    3.964089] systemd[1]: Started systemd-ask-password-console.path - Dispatch Password Requests to Console Directory Watch.
[    3.976630] systemd[1]: Started systemd-ask-password-wall.path - Forward Password Requests to Wall Directory Watch.
[    3.988720] systemd[1]: Set up automount proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File Formats File System Automount Point.
[    4.002770] systemd[1]: Reached target cryptsetup.target - Local Encrypted Volumes.
[    4.011885] systemd[1]: Reached target integritysetup.target - Local Integrity Protected Volumes.
[    4.022234] systemd[1]: Reached target paths.target - Path Units.
[    4.029764] systemd[1]: Reached target slices.target - Slice Units.
[    4.037437] systemd[1]: Reached target swap.target - Swaps.
[    4.044393] systemd[1]: Reached target veritysetup.target - Local Verity Protected Volumes.
[    4.054294] systemd[1]: Listening on systemd-fsckd.socket - fsck to fsckd communication Socket.
[    4.064470] systemd[1]: Listening on systemd-initctl.socket - initctl Compatibility Named Pipe.
[    4.074920] systemd[1]: Listening on systemd-journald-audit.socket - Journal Audit Socket.
[    4.084740] systemd[1]: Listening on systemd-journald-dev-log.socket - Journal Socket (/dev/log).
[    4.095205] systemd[1]: Listening on systemd-journald.socket - Journal Socket.
[    4.109087] systemd[1]: Listening on systemd-udevd-control.socket - udev Control Socket.
[    4.118767] systemd[1]: Listening on systemd-udevd-kernel.socket - udev Kernel Socket.
[    4.128323] systemd[1]: dev-hugepages.mount - Huge Pages File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/mm/hugepages).
[    4.159890] systemd[1]: Mounting dev-mqueue.mount - POSIX Message Queue File System...
[    4.170573] systemd[1]: Mounting sys-kernel-debug.mount - Kernel Debug File System...
[    4.181340] systemd[1]: Mounting sys-kernel-tracing.mount - Kernel Trace File System...
[    4.191073] systemd[1]: auth-rpcgss-module.service - Kernel Module supporting RPCSEC_GSS was skipped because of an unmet condition check (ConditionPathExists=/etc/krb5.keytab).
[    4.211636] systemd[1]: Starting fake-hwclock.service - Restore / save the current clock...
[    4.226422] systemd[1]: Starting keyboard-setup.service - Set the console keyboard layout...
[    4.238049] systemd[1]: Starting kmod-static-nodes.service - Create List of Static Device Nodes...
[    4.250103] systemd[1]: Starting modprobe@configfs.service - Load Kernel Module configfs...
[    4.261438] systemd[1]: Starting modprobe@dm_mod.service - Load Kernel Module dm_mod...
[    4.272512] systemd[1]: Starting modprobe@drm.service - Load Kernel Module drm...
[    4.282985] systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore...
[    4.294641] systemd[1]: Starting modprobe@fuse.service - Load Kernel Module fuse...
[    4.305226] systemd[1]: Starting modprobe@loop.service - Load Kernel Module loop...
[    4.314638] 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).
[    4.333730] systemd[1]: Starting systemd-journald.service - Journal Service...
[    4.352362] device-mapper: ioctl: 4.47.0-ioctl (2022-07-28) initialised: dm-devel@redhat.com
[    4.364117] systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules...
[    4.374836] systemd[1]: Starting systemd-remount-fs.service - Remount Root and Kernel File Systems...
[    4.386867] systemd[1]: Starting systemd-udev-trigger.service - Coldplug All udev Devices...
[    4.399560] systemd[1]: Mounted dev-mqueue.mount - POSIX Message Queue File System.
[    4.408771] fuse: init (API version 7.37)
[    4.414619] systemd[1]: Mounted sys-kernel-debug.mount - Kernel Debug File System.
[    4.424414] systemd[1]: Mounted sys-kernel-tracing.mount - Kernel Trace File System.
[    4.436360] systemd[1]: Finished fake-hwclock.service - Restore / save the current clock.
[    4.446834] systemd[1]: Finished kmod-static-nodes.service - Create List of Static Device Nodes.
[    4.456497] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: none.
[    4.465338] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[    4.473476] systemd[1]: Finished modprobe@configfs.service - Load Kernel Module configfs.
[    4.483688] systemd[1]: Started systemd-journald.service - Journal Service.
[    4.484659] i2c_dev: i2c /dev entries driver
[    4.559518] systemd-journald[288]: Received client request to flush runtime journal.
[    5.216234] rpi-gpiomem 107d508500.gpiomem: window base 0x107d508500 size 0x00000040
[    5.216472] rpi-gpiomem 107d508500.gpiomem: initialised 1 regions as /dev/gpiomem1
[    5.218259] rpi-gpiomem 107d517c00.gpiomem: window base 0x107d517c00 size 0x00000040
[    5.228075] rpi-gpiomem 107d517c00.gpiomem: initialised 1 regions as /dev/gpiomem2
[    5.228201] rpi-gpiomem 107d504100.gpiomem: window base 0x107d504100 size 0x00000020
[    5.228294] rpi-gpiomem 107d504100.gpiomem: initialised 1 regions as /dev/gpiomem3
[    5.231471] rpi-gpiomem 107d510700.gpiomem: window base 0x107d510700 size 0x00000020
[    5.242868] rpi-gpiomem 107d510700.gpiomem: initialised 1 regions as /dev/gpiomem4
[    5.245600] rpi-gpiomem 1f000d0000.gpiomem: window base 0x1f000d0000 size 0x00030000
[    5.254384] rpi-gpiomem 1f000d0000.gpiomem: initialised 1 regions as /dev/gpiomem0
[    5.364742] mc: Linux media interface: v0.10
[    5.383167] videodev: Linux video capture interface: v2.00
[    5.425150] [drm] Initialized v3d 1.0.0 20180419 for 1002000000.v3d on minor 0
[    5.427858] pispbe 1000880000.pisp_be: bcm2712_iommu_of_xlate: MMU 1000005100.iommu
[    5.429744] pispbe 1000880000.pisp_be: pispbe_probe: HW version:  0x02252700
[    5.429752] pispbe 1000880000.pisp_be: pispbe_probe: BatchStatus: 0x00000000
[    5.429756] pispbe 1000880000.pisp_be: pispbe_probe: Status:      0x00000000
[    5.429759] pispbe 1000880000.pisp_be: Register nodes for group 0
[    5.433174] rpivid_hevc: module is from the staging directory, the quality is unknown, you have been warned.
[    5.444433] pispbe 1000880000.pisp_be: input device node registered as /dev/video20
[    5.444562] pispbe 1000880000.pisp_be: tdn_input device node registered as /dev/video21
[    5.445154] rpivid 1000800000.codec: bcm2712_iommu_of_xlate: MMU 1000005100.iommu
[    5.449564] pispbe 1000880000.pisp_be: stitch_input device node registered as /dev/video22
[    5.449641] pispbe 1000880000.pisp_be: hog_output device node registered as /dev/video23
[    5.449706] pispbe 1000880000.pisp_be: output0 device node registered as /dev/video24
[    5.449764] pispbe 1000880000.pisp_be: output1 device node registered as /dev/video25
[    5.449821] pispbe 1000880000.pisp_be: tdn_output device node registered as /dev/video26
[    5.449878] pispbe 1000880000.pisp_be: stitch_output device node registered as /dev/video27
[    5.449939] pispbe 1000880000.pisp_be: config device node registered as /dev/video28
[    5.451208] pispbe 1000880000.pisp_be: Register nodes for group 1
[    5.451312] pispbe 1000880000.pisp_be: input device node registered as /dev/video29
[    5.451380] pispbe 1000880000.pisp_be: tdn_input device node registered as /dev/video30
[    5.451450] pispbe 1000880000.pisp_be: stitch_input device node registered as /dev/video31
[    5.451565] pispbe 1000880000.pisp_be: hog_output device node registered as /dev/video32
[    5.451634] pispbe 1000880000.pisp_be: output0 device node registered as /dev/video33
[    5.451690] pispbe 1000880000.pisp_be: output1 device node registered as /dev/video34
[    5.451750] pispbe 1000880000.pisp_be: tdn_output device node registered as /dev/video35
[    5.451837] pispbe 1000880000.pisp_be: stitch_output device node registered as /dev/video36
[    5.451897] pispbe 1000880000.pisp_be: config device node registered as /dev/video37
[    5.462594] rpivid 1000800000.codec: Device registered as /dev/video19
[    5.637397] vc4-drm axi:gpu: bcm2712_iommu_of_xlate: MMU 1000005200.iommu
[    5.675060] Bluetooth: Core ver 2.22
[    5.675096] NET: Registered PF_BLUETOOTH protocol family
[    5.675100] Bluetooth: HCI device and connection manager initialized
[    5.675108] Bluetooth: HCI socket layer initialized
[    5.675113] Bluetooth: L2CAP socket layer initialized
[    5.675119] Bluetooth: SCO socket layer initialized
[    5.690652] Console: switching to colour dummy device 80x25
[    5.698697] vc4-drm axi:gpu: bound 107c580000.hvs (ops vc4_hvs_ops [vc4])
[    5.724822] Bluetooth: HCI UART driver ver 2.3
[    5.724832] Bluetooth: HCI UART protocol H4 registered
[    5.724869] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    5.726429] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    5.726786] cfg80211: Loaded X.509 cert 'benh@debian.org: 577e021cb980e0e820821ba7b54b4961b8b4fadf'
[    5.727128] cfg80211: Loaded X.509 cert 'romain.perier@gmail.com: 3abbc6ec146e09d1b6016ab9d6cf71dd233f0328'
[    5.727479] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    5.734436] Bluetooth: HCI UART protocol Broadcom registered
[    5.734683] hci_uart_bcm serial0-0: supply vbat not found, using dummy regulator
[    5.734772] hci_uart_bcm serial0-0: supply vddio not found, using dummy regulator
[    5.735233] Registered IR keymap rc-cec
[    5.744436] rc rc0: vc4-hdmi-0 as /devices/platform/soc/107c701400.hdmi/rc/rc0
[    5.750946] input: vc4-hdmi-0 as /devices/platform/soc/107c701400.hdmi/rc/rc0/input5
[    5.817815] brcmfmac: F1 signature read @0x18000000=0x15264345
[    5.824093] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    5.834134] usbcore: registered new interface driver brcmfmac
[    5.881610] vc4-drm axi:gpu: bound 107c701400.hdmi (ops vc4_hdmi_ops [vc4])
[    5.899831] Registered IR keymap rc-cec
[    5.899982] rc rc1: vc4-hdmi-1 as /devices/platform/soc/107c706400.hdmi/rc/rc1
[    5.900092] input: vc4-hdmi-1 as /devices/platform/soc/107c706400.hdmi/rc/rc1/input6
[    5.902272] vc4-drm axi:gpu: bound 107c706400.hdmi (ops vc4_hdmi_ops [vc4])
[    5.918254] vc4-drm axi:gpu: bound 107c500000.mop (ops vc4_txp_ops [vc4])
[    5.919926] vc4-drm axi:gpu: bound 107c501000.moplet (ops vc4_txp_ops [vc4])
[    5.920094] vc4-drm axi:gpu: bound 107c410000.pixelvalve (ops vc4_crtc_ops [vc4])
[    5.920212] vc4-drm axi:gpu: bound 107c411000.pixelvalve (ops vc4_crtc_ops [vc4])
[    5.979586] [drm] Initialized vc4 0.0.0 20140616 for axi:gpu on minor 1
[    6.012714] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Nov  1 2021 00:37:25 version 7.45.241 (1a2f2fa CY) FWID 01-703fd60
[    6.049779] Console: switching to colour frame buffer device 170x48
[    6.068102] vc4-drm axi:gpu: [drm] fb0: vc4drmfb frame buffer device
[    6.069696] Adding 102384k swap on /var/swap.  Priority:-2 extents:1 across:102384k SSFS
[    6.092572] Bluetooth: hci0: BCM: chip id 107
[    6.093467] Bluetooth: hci0: BCM: features 0x2f
[    6.094613] Bluetooth: hci0: BCM4345C0
[    6.094620] Bluetooth: hci0: BCM4345C0 (003.001.025) build 0000
[    6.099580] Bluetooth: hci0: BCM4345C0 'brcm/BCM4345C0.raspberrypi,5-model-b.hcd' Patch
[    6.238823] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /axi/pcie@120000/rp1/i2c@74000/status
[    6.623646] macb 1f00100000.ethernet eth0: PHY [1f00100000.ethernet-ffffffff:01] driver [Broadcom BCM54213PE] (irq=POLL)
[    6.623659] macb 1f00100000.ethernet eth0: configuring for phy/rgmii-id link mode
[    6.627125] pps pps0: new PPS source ptp0
[    6.627176] macb 1f00100000.ethernet: gem-ptp-timer ptp clock registered.
[    6.657479] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[    6.792434] Bluetooth: hci0: BCM: features 0x2f
[    6.793792] Bluetooth: hci0: BCM43455 37.4MHz Raspberry Pi 3+-0190
[    6.793796] Bluetooth: hci0: BCM4345C0 (003.001.025) build 0382
[    6.794104] Bluetooth: hci0: BCM: Using default device address (43:45:c0:00:1f:ac)
[    6.938984] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    6.938993] Bluetooth: BNEP filters: protocol multicast
[    6.939001] Bluetooth: BNEP socket layer initialized
[    6.942186] Bluetooth: MGMT ver 1.22
[    6.949673] NET: Registered PF_ALG protocol family
[   12.601556] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   22.911145] ieee80211 phy0: brcmf_p2p_send_action_frame: Unknown Frame: category 0xa, action 0x8
[   31.986272] ieee80211 phy0: brcmf_p2p_send_action_frame: Unknown Frame: category 0xa, action 0x8
ifbe commented 8 months ago

raspios have officially updated to kernel 6.6, after apt upgrade, both rpi4 and rpi5 print error like this......

[ 12.500194] wm8960 1-001a: No MCLK configured [ 12.500196] wm8960 1-001a: ASoC: error at snd_soc_dai_hw_params on wm8960-hifi: -22 [ 12.500554] wm8960 1-001a: No MCLK configured [ 12.500555] wm8960 1-001a: ASoC: error at snd_soc_dai_hw_params on wm8960-hifi: -22 [ 12.500925] wm8960 1-001a: No MCLK configured [ 12.500926] wm8960 1-001a: ASoC: error at snd_soc_dai_hw_params on wm8960-hifi: -22

mikeysklar commented 7 months ago

I'm seeing the same as @ifbe with the Pi5 Desktop (Bookworm) + Adafruit Voice Bonnet. Also have another Adafruit user experiencing the same in the forums.

dmesg

[ 1000.437393] wm8960 1-001a: No MCLK configured
[ 1000.437402] wm8960 1-001a: ASoC: error at snd_soc_dai_hw_params on wm8960-hifi: -22
$ sudo arecord -f cd -Dhw:2
Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
arecord: set_params:1416: Unable to install hw params:
Linux pi5 6.6.20+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.6.20-1+rpt1 (2024-03-07) aarch64
zytegalaxy commented 7 months ago

I believe the new kernel 6.6 broke this. I will be digging into this in the coming weeks and hopefully find a solution.

mikeysklar commented 7 months ago

Thank you for looking into this.

Initially I suspected the 6.6 kernel as well. The problem I encountered was that both the Legacy Bullseye (6.1 kernel) and Bookworm (6.6 kernel) dropped new releases on 3/12 and 3/14. Both exhibit the same behavior of creating audio devices, but not producing audio (aplay, speaker-test). Maybe there was a change at the driver or another audio layer that both Bullseye and Bookworm updates switched to (Pulse / Pipewire / Plug / Alsa)?

One more thing to contribute from a Pi5 Desktop running latest Bookworm (6.6 kernel):

/var/log/wm8960-soundcard.log:

+ dtparam i2c_arm=on
+ modprobe i2c-dev
+ sleep 1
+ for loop in 1 2 3 4 5
++ i2cdetect -y 1 0x1a 0x1a
++ egrep '(1a|UU)'
++ awk '{print $2}'
+ is_1a=UU
+ '[' xUU '!=' x ']'
+ echo 'install wm8960-soundcard'
install wm8960-soundcard
+ dtoverlay wm8960-soundcard
* Failed to apply overlay '1_wm8960-soundcard' (kernel)
+ sleep 1
+ rm /etc/asound.conf
rm: cannot remove '/etc/asound.conf': No such file or directory
+ rm /var/lib/alsa/asound.state
+ echo 'create wm8960-soundcard configure file'
create wm8960-soundcard configure file
+ ln -s /etc/wm8960-soundcard/asound.conf /etc/asound.conf
+ echo 'create wm8960-soundcard status file'
create wm8960-soundcard status file
+ ln -s /etc/wm8960-soundcard/wm8960_asound.state /var/lib/alsa/asound.state
+ break
+ alsactl restore
alsa-lib main.c:1541:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -2
alsa-lib main.c:1541:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -2
Found hardware: "simple-card" "" "" "" ""
Hardware is initialized using a generic method

Note above: 'Failed to apply overlay '1_wm8960-soundcard''