Hifiberry DAC+ADC not detected

Hey ELK. Been playing around with ELK and my hifiberry for a little bit now, very new to Linux. After powering off and rebooting my Raspberry Pi 4 one day (the same day my hifiberry came in the mail), the OS did not detect it. It had detected it without a hitch just minutes beforehand, but now it doesn’t recognize it at all. Even on a different operating system, the hifiberry is not detected.

Is this a hardware issue? I’ve tried reimaging elk onto my SD card with no luck, taking the hat off and on the pi, and even using a different power source all with no luck. Just “audio driver load failed”.

When running aplay -l I get the following output:

**** List of PLAYBACK Hardware Devices ****
card 0: vc4hdmi0 [vc4-hdmi-0], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: vc4hdmi1 [vc4-hdmi-1], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Nothing else is attached to the pi except for my Hifiberry DAC+ADC. Any tips or experience would be much appreciated!

Hi,
can you please paste the output of your

dmesg

?

Thanks

Hi, thanks for taking a look at this.

Here’s dmesg after startup:

`[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
[    0.000000] Linux version 5.15.78-v8 (oe-user@oe-host) (aarch64-elk-linux-gcc (GCC) 11.3.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT IRQPIPE Sat Nov 12 11:49:10 UTC 2022
[    0.000000] random: crng init done
[    0.000000] Machine model: Raspberry Pi 4 Model B Rev 1.5
[    0.000000] efi: UEFI not found.
[    0.000000] Reserved memory: created CMA memory pool at 0x000000001ac00000, 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-0x000000003fffffff]
[    0.000000]   DMA32    [mem 0x0000000040000000-0x000000007fffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000003b3fffff]
[    0.000000]   node   0: [mem 0x0000000040000000-0x000000007fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000] On node 0, zone DMA32: 19456 pages in unavailable ranges
[    0.000000] percpu: Embedded 30 pages/cpu s82712 r8192 d31976 u122880
[    0.000000] pcpu-alloc: s82712 r8192 d31976 u122880 alloc=30*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: Spectre-v2
[    0.000000] CPU features: detected: Spectre-v3a
[    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] CPU features: detected: ARM erratum 1742098
[    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 496944
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1  smsc95xx.macaddr=D8:3A:DD:3A:EF:6E vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  dwc_otg.lpm_enable=0 console=ttyS0,57600 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait quiet isolcpus=2-3 evl.oobcpus=2-3 root=/dev/mmcblk0p2
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x0000000037400000-0x000000003b400000] (64MB)
[    0.000000] Memory: 1561620K/2019328K available (11904K kernel code, 2008K rwdata, 4252K rodata, 3840K init, 975K bss, 130028K reserved, 327680K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 37498 entries in 147 pages
[    0.000000] ftrace: allocated 147 pages with 4 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] irq_brcmstb_l2: registered L2 intc (/soc/interrupt-controller@7ef00100, parent irq: 10)
[    0.000000] IRQ pipeline enabled
[    0.000000] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: freq: 54000000 Hz, mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
[    0.000000] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[    0.000253] Console: colour dummy device 80x25
[    0.000313] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=216000)
[    0.000331] pid_max: default: 32768 minimum: 301
[    0.000424] LSM: Security Framework initializing
[    0.000591] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.000623] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.001576] cgroup: Disabling memory control group subsystem
[    0.003758] rcu: Hierarchical SRCU implementation.
[    0.004698] EFI services will not be available.
[    0.005107] smp: Bringing up secondary CPUs ...
[    0.005929] Detected PIPT I-cache on CPU1
[    0.005998] CPU1: Booted secondary processor 0x0000000001 [0x410fd083]
[    0.006915] Detected PIPT I-cache on CPU2
[    0.006952] CPU2: Booted secondary processor 0x0000000002 [0x410fd083]
[    0.007856] Detected PIPT I-cache on CPU3
[    0.007893] CPU3: Booted secondary processor 0x0000000003 [0x410fd083]
[    0.008060] smp: Brought up 1 node, 4 CPUs
[    0.008074] SMP: Total of 4 processors activated.
[    0.008083] CPU features: detected: 32-bit EL0 Support
[    0.008089] CPU features: detected: 32-bit EL1 Support
[    0.008097] CPU features: detected: CRC32 instructions
[    0.034205] CPU: All CPU(s) started at EL2
[    0.034268] alternatives: patching kernel code
[    0.035435] devtmpfs: initialized
[    0.043644] Enabled cp15_barrier support
[    0.043678] Enabled setend support
[    0.043700] KASLR enabled
[    0.043828] clocksource: jiffies: freq: 0 Hz, mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.043854] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.051119] pinctrl core: initialized pinctrl subsystem
[    0.051747] DMI not present or invalid.
[    0.052296] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.055055] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[    0.055279] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.055962] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.056034] audit: initializing netlink subsys (disabled)
[    0.056282] audit: type=2000 audit(0.056:1): state=initialized audit_enabled=0 res=1
[    0.056663] thermal_sys: Registered thermal governor 'step_wise'
[    0.056831] cpuidle: using governor menu
[    0.056978] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.057138] ASID allocator initialised with 32768 entries
[    0.057267] Serial: AMBA PL011 UART driver
[    0.066834] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[    0.092315] raspberrypi-firmware soc:firmware: Attached to firmware from 2022-08-26T14:03:16, variant start
[    0.096318] raspberrypi-firmware soc:firmware: Firmware hash is 102f1e848393c2112206fadffaaf86db04e98326
[    0.135734] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1
[    0.139041] vgaarb: loaded
[    0.139355] SCSI subsystem initialized
[    0.139515] usbcore: registered new interface driver usbfs
[    0.139553] usbcore: registered new interface driver hub
[    0.139599] usbcore: registered new device driver usb
[    0.139893] usb_phy_generic phy: supply vcc not found, using dummy regulator
[    0.140051] usb_phy_generic phy: dummy supplies not allowed for exclusive requests
[    0.140259] pps_core: LinuxPPS API ver. 1 registered
[    0.140267] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.140290] PTP clock support registered
[    0.141407] clocksource: Switched to clocksource arch_sys_counter
[    0.213856] VFS: Disk quotas dquot_6.6.0
[    0.213934] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.214064] FS-Cache: Loaded
[    0.225443] CacheFiles: Loaded
[    0.233590] NET: Registered PF_INET protocol family
[    0.233865] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.235459] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    0.235491] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.235507] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.235590] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
[    0.235824] TCP: Hash tables configured (established 16384 bind 16384)
[    0.235996] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.236029] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.236218] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.245750] RPC: Registered named UNIX socket transport module.
[    0.245762] RPC: Registered udp transport module.
[    0.245769] RPC: Registered tcp transport module.
[    0.245776] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.245789] PCI: CLS 0 bytes, default 64
[    0.247584] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[    0.247826] kvm [1]: IPA Size Limit: 44 bits
[    0.248766] kvm [1]: vgic interrupt IRQ9
[    0.248999] kvm [1]: Hyp mode initialized successfully
[    0.911081] IRQ pipeline: high-priority EVL stage added.
[    0.912580] CPU3: proxy tick device registered (54.00MHz)
[    0.912585] CPU2: proxy tick device registered (54.00MHz)
[    0.913740] EVL: core started
[    0.914023] Initialise system trusted keyrings
[    0.914297] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[    0.919567] zbud: loaded
[    0.920966] FS-Cache: Netfs 'nfs' registered for caching
[    0.921525] NFS: Registering the id_resolver key type
[    0.921553] Key type id_resolver registered
[    0.921560] Key type id_legacy registered
[    0.921652] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.921660] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.922575] Key type asymmetric registered
[    0.922586] Asymmetric key parser 'x509' registered
[    0.922644] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 240)
[    0.922866] io scheduler mq-deadline registered
[    0.922876] io scheduler kyber registered
[    0.929219] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[    0.929264] brcm-pcie fd500000.pcie:   No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
[    0.929340] brcm-pcie fd500000.pcie:      MEM 0x0600000000..0x063fffffff -> 0x00c0000000
[    0.929430] brcm-pcie fd500000.pcie:   IB MEM 0x0000000000..0x007fffffff -> 0x0400000000
[    0.995496] brcm-pcie fd500000.pcie: link up, 5.0 GT/s PCIe x1 (SSC)
[    0.995778] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[    0.995791] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.995804] pci_bus 0000:00: root bus resource [mem 0x600000000-0x63fffffff] (bus address [0xc0000000-0xffffffff])
[    0.995870] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[    0.996065] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.998811] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.999106] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[    0.999215] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[    0.999563] pci 0000:01:00.0: PME# supported from D0 D3hot
[    1.002385] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.002419] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
[    1.002435] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
[    1.002466] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.002482] pci 0000:00:00.0:   bridge window [mem 0x600000000-0x6000fffff]
[    1.009019] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[    1.011192] iproc-rng200 fe104000.rng: hwrng registered
[    1.011549] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[    1.012670] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
[    1.022568] brd: module loaded
[    1.030006] loop: module loaded
[    1.030616] Loading iSCSI transport class v2.0-870.
[    1.034396] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
[    1.097528] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
[    1.098375] usbcore: registered new interface driver r8152
[    1.098423] usbcore: registered new interface driver lan78xx
[    1.098481] usbcore: registered new interface driver smsc95xx
[    1.144202] pci 0000:00:00.0: enabling device (0000 -> 0002)
[    1.144349] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    1.144372] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[    1.144975] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0000e40000000890
[    1.145865] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    1.145881] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[    1.145897] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[    1.146234] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[    1.146249] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.146260] usb usb1: Product: xHCI Host Controller
[    1.146269] usb usb1: Manufacturer: Linux 5.15.78-v8 xhci-hcd
[    1.146277] usb usb1: SerialNumber: 0000:01:00.0
[    1.146837] hub 1-0:1.0: USB hub found
[    1.146889] hub 1-0:1.0: 1 port detected
[    1.147608] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15
[    1.147623] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.147634] usb usb2: Product: xHCI Host Controller
[    1.147642] usb usb2: Manufacturer: Linux 5.15.78-v8 xhci-hcd
[    1.147651] usb usb2: SerialNumber: 0000:01:00.0
[    1.148155] hub 2-0:1.0: USB hub found
[    1.148206] hub 2-0:1.0: 4 ports detected
[    1.149429] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.149670] dwc_otg: FIQ enabled
[    1.149677] dwc_otg: NAK holdoff enabled
[    1.149683] dwc_otg: FIQ split-transaction FSM enabled
[    1.149691] Module dwc_common_port init
[    1.150139] usbcore: registered new interface driver uas
[    1.150206] usbcore: registered new interface driver usb-storage
[    1.150380] mousedev: PS/2 mouse device common for all mice
[    1.153756] sdhci: Secure Digital Host Controller Interface driver
[    1.153767] sdhci: Copyright(c) Pierre Ossman
[    1.154249] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.157246] ledtrig-cpu: registered to indicate activity on CPUs
[    1.157749] hid: raw HID events driver (C) Jiri Kosina
[    1.157872] usbcore: registered new interface driver usbhid
[    1.157881] usbhid: USB HID core driver
[    1.158128] ashmem: initialized
[    1.164434] NET: Registered PF_PACKET protocol family
[    1.164531] Key type dns_resolver registered
[    1.165155] registered taskstats version 1
[    1.165191] Loading compiled-in X.509 certificates
[    1.165714] Key type .fscrypt registered
[    1.165725] Key type fscrypt-provisioning registered
[    1.174795] uart-pl011 fe201000.serial: there is not valid maps for state default
[    1.175028] uart-pl011 fe201000.serial: cts_event_workaround enabled
[    1.175149] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 20, base_baud = 0) is a PL011 rev2
[    1.182243] bcm2835-aux-uart fe215040.serial: there is not valid maps for state default
[    1.182742] printk: console [ttyS0] disabled
[    1.182829] fe215040.serial: ttyS0 at MMIO 0xfe215040 (irq = 21, base_baud = 62500000) is a 16550
[    1.182978] printk: console [ttyS0] enabled
[    1.184000] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    1.184361] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    1.185264] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[    1.185278] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[    1.215024] of_cfs_init
[    1.215123] of_cfs_init: OK
[    1.248525] mmc0: SDHCI controller on fe340000.mmc [fe340000.mmc] using ADMA
[    1.248899] Waiting for root device /dev/mmcblk0p2...
[    1.303244] mmc1: new high speed SDIO card at address 0001
[    1.351906] mmc0: new ultra high speed DDR50 SDHC card at address aaaa
[    1.352675] mmcblk0: mmc0:aaaa SK32G 29.7 GiB
[    1.355411]  mmcblk0: p1 p2 p3 p4
[    1.356114] mmcblk0: mmc0:aaaa SK32G 29.7 GiB (quirks 0x00004000)
[    1.364920] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[    1.364988] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    1.365569] devtmpfs: mounted
[    1.371692] Freeing unused kernel memory: 3840K
[    1.373568] Run /sbin/init as init process
[    1.373578]   with arguments:
[    1.373583]     /sbin/init
[    1.373589]   with environment:
[    1.373594]     HOME=/
[    1.373600]     TERM=linux
[    1.401488] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    1.552135] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
[    1.552162] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    1.552173] usb 1-1: Product: USB2.0 Hub
[    1.553930] hub 1-1:1.0: USB hub found
[    1.554218] hub 1-1:1.0: 4 ports detected
[    1.614301] systemd[1]: System time before build time, advancing clock.
[    1.745337] NET: Registered PF_INET6 protocol family
[    1.746778] Segment Routing with IPv6
[    1.746806] In-situ OAM (IOAM) with IPv6
[    1.787355] systemd[1]: systemd 250.5+ 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 -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=hybrid)
[    1.788146] systemd[1]: Detected architecture arm64.
[    1.831771] systemd[1]: Hostname set to <elk-pi>.
[    2.254091] systemd[1]: Queued start job for default target Custom Target.
[    2.291053] systemd[1]: Created slice Slice /system/getty.
[    2.292904] systemd[1]: Created slice Slice /system/modprobe.
[    2.294710] systemd[1]: Created slice Slice /system/serial-getty.
[    2.296053] systemd[1]: Created slice User and Session Slice.
[    2.296449] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    2.296769] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    2.297064] systemd[1]: Reached target Host and Network Name Lookups.
[    2.297153] systemd[1]: Reached target Remote File Systems.
[    2.297229] systemd[1]: Reached target Slice Units.
[    2.297321] systemd[1]: Reached target Swaps.
[    2.298470] systemd[1]: Listening on Syslog Socket.
[    2.298795] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    2.299704] systemd[1]: Listening on Journal Audit Socket.
[    2.300245] systemd[1]: Listening on Journal Socket (/dev/log).
[    2.300926] systemd[1]: Listening on Journal Socket.
[    2.301910] systemd[1]: Listening on Network Service Netlink Socket.
[    2.302690] systemd[1]: Listening on udev Control Socket.
[    2.303234] systemd[1]: Listening on udev Kernel Socket.
[    2.303767] systemd[1]: Listening on User Database Manager Socket.
[    2.304460] systemd[1]: Huge Pages File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/mm/hugepages).
[    2.308470] systemd[1]: Mounting POSIX Message Queue File System...
[    2.313320] systemd[1]: Mounting Kernel Debug File System...
[    2.318357] systemd[1]: Mounting Kernel Trace File System...
[    2.323760] systemd[1]: Mounting Temporary Directory /tmp...
[    2.329141] systemd[1]: Starting Create List of Static Device Nodes...
[    2.334117] systemd[1]: Starting Load Kernel Module configfs...
[    2.338881] systemd[1]: Starting Load Kernel Module drm...
[    2.351696] systemd[1]: Starting Load Kernel Module fuse...
[    2.356853] systemd[1]: Starting File System Check on Root Device...
[    2.365357] systemd[1]: Starting Journal Service...
[    2.398493] systemd[1]: Starting Load Kernel Modules...
[    2.414495] systemd[1]: Starting Generate network units from Kernel command line...
[    2.433722] fuse: init (API version 7.34)
[    2.450851] systemd[1]: Starting Coldplug All udev Devices...
[    2.477378] systemd[1]: Mounted POSIX Message Queue File System.
[    2.481590] i2c_dev: i2c /dev entries driver
[    2.490724] systemd[1]: Mounted Kernel Debug File System.
[    2.491325] systemd[1]: Mounted Kernel Trace File System.
[    2.491938] systemd[1]: Mounted Temporary Directory /tmp.
[    2.493621] systemd[1]: Finished Create List of Static Device Nodes.
[    2.495284] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[    2.496470] systemd[1]: Finished Load Kernel Module configfs.
[    2.500769] systemd[1]: modprobe@fuse.service: Deactivated successfully.
[    2.502205] systemd[1]: Finished Load Kernel Module fuse.
[    2.515126] systemd[1]: Finished Load Kernel Modules.
[    2.518681] systemd[1]: Finished Generate network units from Kernel command line.
[    2.535047] systemd[1]: Mounting FUSE Control File System...
[    2.542140] systemd[1]: Mounting Kernel Configuration File System...
[    2.570971] systemd[1]: Starting Apply Kernel Variables...
[    2.596112] systemd[1]: Finished File System Check on Root Device.
[    2.601061] systemd[1]: modprobe@drm.service: Deactivated successfully.
[    2.630099] systemd[1]: Finished Load Kernel Module drm.
[    2.631124] systemd[1]: Mounted FUSE Control File System.
[    2.631722] systemd[1]: Mounted Kernel Configuration File System.
[    2.636362] systemd[1]: Starting Remount Root and Kernel File Systems...
[    2.695494] systemd[1]: Finished Apply Kernel Variables.
[    2.701590] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null). Quota mode: none.
[    2.711758] systemd[1]: Started Journal Service.
[    2.763769] systemd-journald[123]: Received client request to flush runtime journal.
[    2.816682] audit: type=1334 audit(1651167746.199:2): prog-id=5 op=LOAD
[    2.817194] audit: type=1334 audit(1651167746.199:3): prog-id=6 op=LOAD
[    3.364366] mc: Linux media interface: v0.10
[    3.574452] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[    3.576489] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[    3.576516] [vc_sm_connected_init]: start
[    3.625240] [vc_sm_connected_init]: installed successfully
[    3.671010] videodev: Linux video capture interface: v2.00
[    3.706169] bcm2835_i2s_elk: loading out-of-tree module taints kernel.
[    3.707535] bcm2835-i2s: dma setup successful.
[    3.757730] rpivid_hevc: module is from the staging directory, the quality is unknown, you have been warned.
[    3.760903] rpivid feb10000.codec: Device registered as /dev/video19
[    3.813349] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    3.838046] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[    3.890344] brcmstb-i2c fef04500.i2c:  @97500hz registered in polling mode
[    3.891339] brcmstb-i2c fef09500.i2c:  @97500hz registered in polling mode
[    3.954899] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[    3.982581] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[    3.982631] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[    3.988188] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[    3.988229] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[    3.996225] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[    3.996285] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[    3.996319] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[    4.013573] bcm2835-codec bcm2835-codec: Device registered as /dev/video18
[    4.013616] bcm2835-codec bcm2835-codec: Loaded V4L2 image_fx
[    4.019525] bcm2835-codec bcm2835-codec: Device registered as /dev/video31
[    4.019573] bcm2835-codec bcm2835-codec: Loaded V4L2 encode_image
[    4.032624] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
[    4.032939] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
[    4.033216] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
[    4.033498] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
[    4.033525] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[    4.033548] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[    4.033560] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[    4.033571] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[    4.036887] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video20
[    4.037194] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video21
[    4.037585] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video22
[    4.037841] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video23
[    4.037864] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[    4.037878] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[    4.037890] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[    4.037908] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[    4.038050] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
[    4.339851] [drm] Initialized v3d 1.0.0 20180419 for fec00000.v3d on minor 0
[    4.393699] audit: type=1334 audit(1651167747.779:4): prog-id=7 op=LOAD
[    4.394095] audit: type=1334 audit(1651167747.779:5): prog-id=8 op=LOAD
[    4.493179] uart-pl011 fe201000.serial: no DMA platform data
[    4.779537] Bluetooth: Core ver 2.22
[    4.779650] NET: Registered PF_BLUETOOTH protocol family
[    4.779659] Bluetooth: HCI device and connection manager initialized
[    4.779681] Bluetooth: HCI socket layer initialized
[    4.779694] Bluetooth: L2CAP socket layer initialized
[    4.779716] Bluetooth: SCO socket layer initialized
[    5.216213] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    5.310458] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    5.310654] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    5.310676] cfg80211: failed to load regulatory.db
[    5.359803] bcmgenet fd580000.ethernet: configuring instance for external RGMII (RX delay)
[    5.371055] audit: type=1334 audit(1651167748.755:6): prog-id=9 op=LOAD
[    5.375130] bcmgenet fd580000.ethernet eth0: Link is Down
[    5.384589] audit: type=1334 audit(1651167748.767:7): prog-id=10 op=LOAD
[    5.853662] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[    6.009555] brcmfmac: F1 signature read @0x18000000=0x15264345
[    6.042573] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    6.042728] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.bin failed with error -2
[    6.044834] usbcore: registered new interface driver brcmfmac
[    6.142646] vc4-drm gpu: bound fe400000.hvs (ops vc4_hvs_ops [vc4])
[    6.233317] Registered IR keymap rc-cec
[    6.233494] rc rc0: vc4 as /devices/platform/soc/fef00700.hdmi/rc/rc0
[    6.233630] input: vc4 as /devices/platform/soc/fef00700.hdmi/rc/rc0/input0
[    6.247750] vc4-drm gpu: bound fef00700.hdmi (ops vc4_hdmi_ops [vc4])
[    6.297135] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    6.297230] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    6.301883] 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.303091] Registered IR keymap rc-cec
[    6.303354] rc rc1: vc4 as /devices/platform/soc/fef05700.hdmi/rc/rc1
[    6.303767] input: vc4 as /devices/platform/soc/fef05700.hdmi/rc/rc1/input1
[    6.310686] vc4-drm gpu: bound fef05700.hdmi (ops vc4_hdmi_ops [vc4])
[    6.311158] vc4-drm gpu: bound fe004000.txp (ops vc4_txp_ops [vc4])
[    6.329010] vc4-drm gpu: bound fe206000.pixelvalve (ops vc4_crtc_ops [vc4])
[    6.329364] vc4-drm gpu: bound fe207000.pixelvalve (ops vc4_crtc_ops [vc4])
[    6.330023] vc4-drm gpu: bound fe20a000.pixelvalve (ops vc4_crtc_ops [vc4])
[    6.330180] vc4-drm gpu: bound fe216000.pixelvalve (ops vc4_crtc_ops [vc4])
[    6.330344] vc4-drm gpu: bound fec12000.pixelvalve (ops vc4_crtc_ops [vc4])
[    6.392718] [drm] Initialized vc4 0.0.0 20140616 for gpu on minor 1
[    6.394848] vc4-drm gpu: [drm] Cannot find any crtc or sizes
[    6.407801] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[   11.166697] Bluetooth: HCI UART driver ver 2.3
[   11.166721] Bluetooth: HCI UART protocol H4 registered
[   11.167341] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   11.169034] Bluetooth: HCI UART protocol Broadcom registered
[   11.449145] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   11.449166] Bluetooth: BNEP filters: protocol multicast
[   11.449183] Bluetooth: BNEP socket layer initialized
[   11.467998] NET: Registered PF_ALG protocol family
[   11.533523] Bluetooth: RFCOMM TTY layer initialized
[   11.533561] Bluetooth: RFCOMM socket layer initialized
[   11.533586] Bluetooth: RFCOMM ver 1.11
[   16.605612] vc4-drm gpu: [drm] Cannot find any crtc or sizes
[   17.661619] bcmgenet fd580000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   17.661662] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   17.681575] 8021q: 802.1Q VLAN Support v1.8
[   31.709442] cam-dummy-reg: disabling
[   41.657546] audit: type=1334 audit(1651167785.043:8): prog-id=0 op=UNLOAD
[   41.657573] audit: type=1334 audit(1651167785.043:9): prog-id=0 op=UNLOAD
[   81.497308] audit: type=1334 audit(1651167824.879:10): prog-id=11 op=LOAD
[   81.497586] audit: type=1334 audit(1651167824.883:11): prog-id=12 op=LOAD
[   81.694884] audit: type=1006 audit(1651167825.079:12): pid=368 uid=0 old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=1 res=1
[   81.695047] audit: type=1300 audit(1651167825.079:12): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=7fcc66a968 a2=4 a3=0 items=0 ppid=1 pid=368 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="(systemd)" exe="/lib/systemd/systemd" key=(null)
[   81.695572] audit: type=1327 audit(1651167825.079:12): proctitle="(systemd)"
[   81.716659] audit: type=1334 audit(1651167825.099:13): prog-id=13 op=LOAD
[   81.716988] audit: type=1300 audit(1651167825.099:13): arch=c00000b7 syscall=280 success=yes exit=8 a0=5 a1=7fdac435d0 a2=78 a3=5598df2670 items=0 ppid=1 pid=368 auid=1000 uid=1000 gid=2004 euid=1000 suid=1000 fsuid=1000 egid=2004 sgid=2004 fsgid=2004 tty=(none) ses=1 comm="systemd" exe="/lib/systemd/systemd" key=(null)
[   81.717343] audit: type=1327 audit(1651167825.099:13): proctitle="(systemd)"
[   81.718543] audit: type=1334 audit(1651167825.103:14): prog-id=0 op=UNLOAD
[   81.994119] audit: type=1006 audit(1651167825.379:15): pid=361 uid=0 old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=2 res=1`

It look’s like theres a couple of errors loading some firmware, and a couple of warnings related to module quality. Not sure if they are related to the hifi board or not.

Thank you for any advice you might have,
D

Hello, I don’t see in the log some expected messages printed by the audio driver. The fact that hifiberry is not shown by aplay -l is correct because our driver is not Alsa. Also the hifiberry hat is automatically detected at boot and you can check detection with cat /tmp/audio_hat.
If the hat is detected it should also work under normal conditions.

Maybe it’s also worth testing with the latest OS 1.1 we just released. Let me know if you have any update.

1 Like