Repository navigation
Description
Describe the bug
I have a RPI 4 (Rev 1.2) running Raspberry Pi OS Lite (64-bit) on 5.15.76-v8+. I also have HiFiberry Digi2 Pro (HW 2.1). The problem is that since update to 5.15 the Hifiberry HAT is not recognized anymore.
/boot/config.txt
dtoverlay=
#dtparam=audio=on
dtoverlay=vc4-kms-v3d,noaudio
dtoverlay=hifiberry-digi-pro
pi@raspberry:~ $ aplay -l
aplay: device_list:274: no soundcards found...
Steps to reproduce the behaviour
- Clean install of Raspberry Pi OS Lite (64-bit, Bullseye) on RPi 4 (rev 1.2).
- Attach HiFiberry Digi2 Pro (HW 2.1)
- Edit /boot/config.txt to have the above lines.
- aplay -l returns no soundcards found...
Device (s)
Raspberry Pi 4 Mod. B
System
System Information
Raspberry Pi 4 Model B Rev 1.2
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
Raspberry Pi reference 2022-09-22
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 005a8c73b05a2cab394073150208bf4f069e861a, stage2
Linux raspberry 5.15.76-v8+ #1597 SMP PREEMPT Fri Nov 4 12:16:41 GMT 2022 aarch64 GNU/Linux
Revision : c03112
Serial : 10000000b23850c7
Model : Raspberry Pi 4 Model B Rev 1.2
Throttled flag : throttled=0x0
Camera : supported=0 detected=0, libcamera interfaces=0
Videocore information
Oct 26 2022 11:09:05
Copyright (c) 2012 Broadcom
version c72ad6b26ff40c91ef776b847436094ee63fabee (clean) (release) (start)
alloc failures: 0
compactions: 0
legacy block fails: 0
Filesystem information
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 30471668 1658792 27540116 6% /
devtmpfs 1776952 0 1776952 0% /dev
tmpfs 1942712 0 1942712 0% /dev/shm
tmpfs 777088 1020 776068 1% /run
tmpfs 5120 0 5120 0% /run/lock
/dev/mmcblk0p1 261108 31962 229146 13% /boot
tmpfs 388540 0 388540 0% /run/user/1000
Filename Type Size Used Priority
/var/swap file 102396 0 -2
Package version information
raspberrypi-ui-mods:
Installed: (none)
raspberrypi-sys-mods:
Installed: 20221019
openbox:
Installed: (none)
lxpanel:
Installed: (none)
pcmanfm:
Installed: (none)
rpd-plym-splash:
Installed: (none)
Networking Information
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet x.x.x.x netmask x.x.x.x broadcast x.x.x.x
inet6 y::y.y.y.y prefixlen 64 scopeid 0x20
inet6 y.y.y.y.y.y.y.y prefixlen 64 scopeid 0x0
ether m.m.m.m txqueuelen 1000 (Ethernet)
RX packets 2063 bytes 490411 (478.9 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 387 bytes 52530 (51.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet x.x.x.x netmask x.x.x.x
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1000 (Local Loopback)
RX packets 10 bytes 1588 (1.5 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 10 bytes 1588 (1.5 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
USB Information
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
config.txt
arm_64bit=1
arm_boost=1
arm_freq=1500
audio_pwm_mode=514
camera_auto_detect=1
config_hdmi_boost=5
core_freq=500
core_freq_min=200
disable_commandline_tags=2
disable_l2cache=1
disable_overscan=1
display_auto_detect=1
display_hdmi_rotate=-1
display_lcd_rotate=-1
dvfs=3
enable_gic=1
force_eeprom_read=1
force_pwm_open=1
framebuffer_ignore_alpha=1
framebuffer_swap=1
gpu_freq=500
gpu_freq_min=250
init_uart_clock=0x2dc6c00
lcd_framerate=60
mask_gpu_interrupt0=3072
mask_gpu_interrupt1=25635
max_framebuffers=2
over_voltage_avs=-42500
pause_burst_frames=1
program_serial_random=1
total_mem=4096
hdmi_force_cec_address:0=65535
hdmi_force_cec_address:1=65535
hdmi_pixel_freq_limit:0=0x11e1a300
hdmi_pixel_freq_limit:1=0x11e1a300
device_tree=-
overlay_prefix=overlays/
hdmi_cvt:0=
hdmi_cvt:1=
hdmi_edid_filename:0=
hdmi_edid_filename:1=
hdmi_timings:0=
hdmi_timings:1=
cmdline.txt
coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 smsc95xx.macaddr=DC:A6:32:89:78:56 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=c93a34f8-02 rootfstype=ext4 fsck.repair=yes rootwait
raspi-gpio settings
BANK0 (GPIO 0 to 27):
GPIO 0: level=1 fsel=0 func=INPUT pull=UP
GPIO 1: level=1 fsel=0 func=INPUT pull=UP
GPIO 2: level=1 fsel=4 alt=0 func=SDA1 pull=UP
GPIO 3: level=1 fsel=4 alt=0 func=SCL1 pull=UP
GPIO 4: level=1 fsel=0 func=INPUT pull=UP
GPIO 5: level=0 fsel=1 func=OUTPUT pull=UP
GPIO 6: level=0 fsel=1 func=OUTPUT pull=UP
GPIO 7: level=1 fsel=0 func=INPUT pull=UP
GPIO 8: level=1 fsel=0 func=INPUT pull=UP
GPIO 9: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 10: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 11: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 12: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 13: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 14: level=1 fsel=0 func=INPUT pull=NONE
GPIO 15: level=1 fsel=0 func=INPUT pull=UP
GPIO 16: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 17: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 18: level=0 fsel=4 alt=0 func=PCM_CLK pull=DOWN
GPIO 19: level=0 fsel=4 alt=0 func=PCM_FS pull=DOWN
GPIO 20: level=0 fsel=4 alt=0 func=PCM_DIN pull=DOWN
GPIO 21: level=0 fsel=4 alt=0 func=PCM_DOUT pull=DOWN
GPIO 22: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 23: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 24: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 25: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 26: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 27: level=0 fsel=0 func=INPUT pull=DOWN
BANK1 (GPIO 28 to 45):
GPIO 28: level=1 fsel=2 alt=5 func=RGMII_MDIO pull=UP
GPIO 29: level=0 fsel=2 alt=5 func=RGMII_MDC pull=DOWN
GPIO 30: level=0 fsel=7 alt=3 func=CTS0 pull=UP
GPIO 31: level=0 fsel=7 alt=3 func=RTS0 pull=NONE
GPIO 32: level=1 fsel=7 alt=3 func=TXD0 pull=NONE
GPIO 33: level=1 fsel=7 alt=3 func=RXD0 pull=UP
GPIO 34: level=1 fsel=0 func=INPUT pull=UP
GPIO 35: level=1 fsel=0 func=INPUT pull=UP
GPIO 36: level=1 fsel=0 func=INPUT pull=UP
GPIO 37: level=1 fsel=0 func=INPUT pull=UP
GPIO 38: level=1 fsel=0 func=INPUT pull=UP
GPIO 39: level=1 fsel=0 func=INPUT pull=UP
GPIO 40: level=0 fsel=4 alt=0 func=PWM1_0 pull=NONE
GPIO 41: level=0 fsel=4 alt=0 func=PWM1_1 pull=NONE
GPIO 42: level=0 fsel=1 func=OUTPUT pull=UP
GPIO 43: level=1 fsel=0 func=INPUT pull=UP
GPIO 44: level=1 fsel=0 func=INPUT pull=UP
GPIO 45: level=1 fsel=0 func=INPUT pull=UP
BANK2 (GPIO 46 to 53):
GPIO 46: level=0 fsel=0 func=INPUT pull=UP
GPIO 47: level=0 fsel=0 func=INPUT pull=UP
GPIO 48: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 49: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 50: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 51: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 52: level=0 fsel=0 func=INPUT pull=DOWN
GPIO 53: level=0 fsel=0 func=INPUT pull=DOWN
vcdbg log messages
sudo: vcdbg: command not found
dmesg log
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
[ 0.000000] Linux version 5.15.76-v8+ (dom@buildbot) (aarch64-linux-gnu-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1597 SMP PREEMPT Fri Nov 4 12:16:41 GMT 2022
[ 0.000000] random: crng init done
[ 0.000000] Machine model: Raspberry Pi 4 Model B Rev 1.2
[ 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-0x00000000fbffffff]
[ 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-0x00000000fbffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000000fbffffff]
[ 0.000000] On node 0, zone DMA32: 19456 pages in unavailable ranges
[ 0.000000] On node 0, zone DMA32: 16384 pages in unavailable ranges
[ 0.000000] percpu: Embedded 28 pages/cpu s77336 r8192 d29160 u114688
[ 0.000000] pcpu-alloc: s77336 r8192 d29160 u114688 alloc=28*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: 996912
[ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 smsc95xx.macaddr=m.m.m.m vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=c93a34f8-02 rootfstype=ext4 fsck.repair=yes rootwait
[ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 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: 3553904K/4050944K available (11520K kernel code, 1956K rwdata, 4148K rodata, 3840K init, 975K bss, 169360K reserved, 327680K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] ftrace: allocating 38059 entries in 149 pages
[ 0.000000] ftrace: allocated 149 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] 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.000326] Console: colour dummy device 80x25
[ 0.000911] printk: console [tty1] enabled
[ 0.000981] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=216000)
[ 0.001023] pid_max: default: 32768 minimum: 301
[ 0.001173] LSM: Security Framework initializing
[ 0.001406] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.001488] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.002741] cgroup: Disabling memory control group subsystem
[ 0.005568] rcu: Hierarchical SRCU implementation.
[ 0.006673] EFI services will not be available.
[ 0.007207] smp: Bringing up secondary CPUs ...
[ 0.008362] Detected PIPT I-cache on CPU1
[ 0.008438] CPU1: Booted secondary processor 0x0000000001 [0x410fd083]
[ 0.009604] Detected PIPT I-cache on CPU2
[ 0.009655] CPU2: Booted secondary processor 0x0000000002 [0x410fd083]
[ 0.010780] Detected PIPT I-cache on CPU3
[ 0.010830] CPU3: Booted secondary processor 0x0000000003 [0x410fd083]
[ 0.010979] smp: Brought up 1 node, 4 CPUs
[ 0.011069] SMP: Total of 4 processors activated.
[ 0.011090] CPU features: detected: 32-bit EL0 Support
[ 0.011109] CPU features: detected: 32-bit EL1 Support
[ 0.011131] CPU features: detected: CRC32 instructions
[ 0.042646] CPU: All CPU(s) started at EL2
[ 0.042742] alternatives: patching kernel code
[ 0.044298] devtmpfs: initialized
[ 0.054904] Enabled cp15_barrier support
[ 0.054970] Enabled setend support
[ 0.055008] KASLR enabled
[ 0.055193] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.055241] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.063787] pinctrl core: initialized pinctrl subsystem
[ 0.064642] DMI not present or invalid.
[ 0.065310] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.068957] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[ 0.069276] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.070187] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.070297] audit: initializing netlink subsys (disabled)
[ 0.070606] audit: type=2000 audit(0.068:1): state=initialized audit_enabled=0 res=1
[ 0.071130] thermal_sys: Registered thermal governor 'step_wise'
[ 0.071349] cpuidle: using governor menu
[ 0.071661] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.071867] ASID allocator initialised with 32768 entries
[ 0.072038] Serial: AMBA PL011 UART driver
[ 0.084961] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[ 0.112386] raspberrypi-firmware soc:firmware: Attached to firmware from 2022-10-26T11:09:05, variant start
[ 0.116401] raspberrypi-firmware soc:firmware: Firmware hash is c72ad6b26ff40c91ef776b847436094ee63fabee
[ 0.164949] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1
[ 0.169181] vgaarb: loaded
[ 0.169595] SCSI subsystem initialized
[ 0.169817] usbcore: registered new interface driver usbfs
[ 0.169885] usbcore: registered new interface driver hub
[ 0.169962] usbcore: registered new device driver usb
[ 0.170341] usb_phy_generic phy: supply vcc not found, using dummy regulator
[ 0.170544] usb_phy_generic phy: dummy supplies not allowed for exclusive requests
[ 0.170869] pps_core: LinuxPPS API ver. 1 registered
[ 0.170893] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it
[ 0.170931] PTP clock support registered
[ 0.172341] clocksource: Switched to clocksource arch_sys_counter
[ 0.248797] VFS: Disk quotas dquot_6.6.0
[ 0.248932] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.249115] FS-Cache: Loaded
[ 0.249344] CacheFiles: Loaded
[ 0.258697] NET: Registered PF_INET protocol family
[ 0.259243] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.262755] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[ 0.262836] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.262876] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.263091] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[ 0.263608] TCP: Hash tables configured (established 32768 bind 32768)
[ 0.263838] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 0.263923] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 0.264233] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.265238] RPC: Registered named UNIX socket transport module.
[ 0.265270] RPC: Registered udp transport module.
[ 0.265289] RPC: Registered tcp transport module.
[ 0.265309] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.265339] PCI: CLS 0 bytes, default 64
[ 0.267858] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[ 0.268205] kvm [1]: IPA Size Limit: 44 bits
[ 0.269424] kvm [1]: vgic interrupt IRQ9
[ 0.269704] kvm [1]: Hyp mode initialized successfully
[ 1.154502] Initialise system trusted keyrings
[ 1.154947] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[ 1.161561] zbud: loaded
[ 1.163417] FS-Cache: Netfs 'nfs' registered for caching
[ 1.164134] NFS: Registering the id_resolver key type
[ 1.164182] Key type id_resolver registered
[ 1.164203] Key type id_legacy registered
[ 1.164316] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 1.164386] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 1.165566] Key type asymmetric registered
[ 1.165595] Asymmetric key parser 'x509' registered
[ 1.165687] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 1.165955] io scheduler mq-deadline registered
[ 1.165981] io scheduler kyber registered
[ 1.174088] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[ 1.174157] brcm-pcie fd500000.pcie: No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
[ 1.174257] brcm-pcie fd500000.pcie: MEM 0x0600000000..0x063fffffff -> 0x00c0000000
[ 1.174362] brcm-pcie fd500000.pcie: IB MEM 0x0000000000..0x00bfffffff -> 0x0400000000
[ 1.222441] brcm-pcie fd500000.pcie: link up, 5.0 GT/s PCIe x1 (SSC)
[ 1.222824] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[ 1.222857] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 1.222885] pci_bus 0000:00: root bus resource [mem 0x600000000-0x63fffffff] (bus address [0xc0000000-0xffffffff])
[ 1.222984] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[ 1.223245] pci 0000:00:00.0: PME# supported from D0 D3hot
[ 1.227098] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 1.227514] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[ 1.227650] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[ 1.228088] pci 0000:01:00.0: PME# supported from D0 D3cold
[ 1.243852] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 1.243910] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
[ 1.243946] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
[ 1.243999] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 1.244030] pci 0000:00:00.0: bridge window [mem 0x600000000-0x6000fffff]
[ 1.256502] iproc-rng200 fe104000.rng: hwrng registered
[ 1.257010] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[ 1.258441] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
[ 1.270600] brd: module loaded
[ 1.279919] loop: module loaded
[ 1.280738] Loading iSCSI transport class v2.0-870.
[ 1.285758] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
[ 1.344497] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
[ 1.345609] usbcore: registered new interface driver r8152
[ 1.345689] usbcore: registered new interface driver lan78xx
[ 1.345753] usbcore: registered new interface driver smsc95xx
[ 1.347345] pci 0000:00:00.0: enabling device (0000 -> 0002)
[ 1.347397] xhci_hcd 0000:01:00.0: enabling device (0000 -> 0002)
[ 1.347513] xhci_hcd 0000:01:00.0: xHCI Host Controller
[ 1.347557] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[ 1.348375] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0000740000000890
[ 1.349050] xhci_hcd 0000:01:00.0: xHCI Host Controller
[ 1.349086] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[ 1.349122] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[ 1.349482] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[ 1.349517] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.349545] usb usb1: Product: xHCI Host Controller
[ 1.349568] usb usb1: Manufacturer: Linux 5.15.76-v8+ xhci-hcd
[ 1.349591] usb usb1: SerialNumber: 0000:01:00.0
[ 1.350288] hub 1-0:1.0: USB hub found
[ 1.350407] hub 1-0:1.0: 1 port detected
[ 1.351425] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15
[ 1.351462] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.351489] usb usb2: Product: xHCI Host Controller
[ 1.351511] usb usb2: Manufacturer: Linux 5.15.76-v8+ xhci-hcd
[ 1.351534] usb usb2: SerialNumber: 0000:01:00.0
[ 1.352170] hub 2-0:1.0: USB hub found
[ 1.352276] hub 2-0:1.0: 4 ports detected
[ 1.354015] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 1.354354] dwc_otg: FIQ enabled
[ 1.354365] dwc_otg: NAK holdoff enabled
[ 1.354374] dwc_otg: FIQ split-transaction FSM enabled
[ 1.354387] Module dwc_common_port init
[ 1.354931] usbcore: registered new interface driver uas
[ 1.355055] usbcore: registered new interface driver usb-storage
[ 1.355260] mousedev: PS/2 mouse device common for all mice
[ 1.360559] sdhci: Secure Digital Host Controller Interface driver
[ 1.360594] sdhci: Copyright(c) Pierre Ossman
[ 1.361242] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.364869] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.365471] hid: raw HID events driver (C) Jiri Kosina
[ 1.365660] usbcore: registered new interface driver usbhid
[ 1.365685] usbhid: USB HID core driver
[ 1.365997] ashmem: initialized
[ 1.374123] NET: Registered PF_PACKET protocol family
[ 1.374289] Key type dns_resolver registered
[ 1.375637] registered taskstats version 1
[ 1.375685] Loading compiled-in X.509 certificates
[ 1.376438] Key type ._fscrypt registered
[ 1.376466] Key type .fscrypt registered
[ 1.376486] Key type fscrypt-provisioning registered
[ 1.388109] uart-pl011 fe201000.serial: there is not valid maps for state default
[ 1.388471] uart-pl011 fe201000.serial: cts_event_workaround enabled
[ 1.388647] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 19, base_baud = 0) is a PL011 rev2
[ 1.397625] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[ 1.398138] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[ 1.401457] of_cfs_init
[ 1.401602] of_cfs_init: OK
[ 1.439489] mmc0: SDHCI controller on fe340000.mmc [fe340000.mmc] using ADMA
[ 1.439848] Waiting for root device PARTUUID=c93a34f8-02...
[ 1.538025] mmc0: new ultra high speed DDR50 SDHC card at address 0001
[ 1.539016] mmcblk0: mmc0:0001 EB1QT 29.8 GiB
[ 1.542064] mmcblk0: p1 p2
[ 1.542635] mmcblk0: mmc0:0001 EB1QT 29.8 GiB
[ 1.559105] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[ 1.559234] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 1.564940] devtmpfs: mounted
[ 1.572879] Freeing unused kernel memory: 3840K
[ 1.573105] Run /sbin/init as init process
[ 1.573126] with arguments:
[ 1.573135] /sbin/init
[ 1.573144] with environment:
[ 1.573153] HOME=/
[ 1.573162] TERM=linux
[ 1.604473] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[ 1.755030] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
[ 1.755093] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 1.755120] usb 1-1: Product: USB2.0 Hub
[ 1.757439] hub 1-1:1.0: USB hub found
[ 1.757784] hub 1-1:1.0: 4 ports detected
[ 1.918608] systemd[1]: System time before build time, advancing clock.
[ 2.103843] NET: Registered PF_INET6 protocol family
[ 2.105731] Segment Routing with IPv6
[ 2.105791] In-situ OAM (IOAM) with IPv6
[ 2.164660] systemd[1]: systemd 247.3-7+deb11u1 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZSTD +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=unified)
[ 2.165663] systemd[1]: Detected architecture arm64.
[ 2.178264] systemd[1]: Set hostname to .
[ 2.833211] systemd[1]: Queued start job for default target Multi-User System.
[ 2.837667] systemd[1]: Created slice system-getty.slice.
[ 2.839413] systemd[1]: Created slice system-modprobe.slice.
[ 2.840784] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[ 2.841935] systemd[1]: Created slice User and Session Slice.
[ 2.842745] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 2.843514] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 2.844931] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 2.845486] systemd[1]: Reached target Local Encrypted Volumes.
[ 2.845983] systemd[1]: Reached target Paths.
[ 2.846393] systemd[1]: Reached target Slices.
[ 2.846803] systemd[1]: Reached target Swap.
[ 2.848034] systemd[1]: Listening on Syslog Socket.
[ 2.849158] systemd[1]: Listening on fsck to fsckd communication Socket.
[ 2.849828] systemd[1]: Listening on initctl Compatibility Named Pipe.
[ 2.851297] systemd[1]: Listening on Journal Audit Socket.
[ 2.852378] systemd[1]: Listening on Journal Socket (/dev/log).
[ 2.853638] systemd[1]: Listening on Journal Socket.
[ 2.855740] systemd[1]: Listening on udev Control Socket.
[ 2.856950] systemd[1]: Listening on udev Kernel Socket.
[ 2.858159] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[ 2.862125] systemd[1]: Mounting POSIX Message Queue File System...
[ 2.866862] systemd[1]: Mounting RPC Pipe File System...
[ 2.872426] systemd[1]: Mounting Kernel Debug File System...
[ 2.877984] systemd[1]: Mounting Kernel Trace File System...
[ 2.879022] systemd[1]: Condition check resulted in Kernel Module supporting RPCSEC_GSS being skipped.
[ 2.886974] systemd[1]: Starting Restore / save the current clock...
[ 2.893386] systemd[1]: Starting Set the console keyboard layout...
[ 2.899282] systemd[1]: Starting Create list of static device nodes for the current kernel...
[ 2.905219] systemd[1]: Starting Load Kernel Module configfs...
[ 2.911531] systemd[1]: Starting Load Kernel Module drm...
[ 2.919960] systemd[1]: Starting Load Kernel Module fuse...
[ 2.927761] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[ 2.933741] systemd[1]: Starting File System Check on Root Device...
[ 2.947246] systemd[1]: Starting Journal Service...
[ 2.965977] systemd[1]: Starting Load Kernel Modules...
[ 2.971503] systemd[1]: Starting Coldplug All udev Devices...
[ 2.984226] systemd[1]: Mounted POSIX Message Queue File System.
[ 2.989059] systemd[1]: Mounted RPC Pipe File System.
[ 2.991187] systemd[1]: Mounted Kernel Debug File System.
[ 2.992589] systemd[1]: Mounted Kernel Trace File System.
[ 2.994960] systemd[1]: Finished Restore / save the current clock.
[ 2.998383] systemd[1]: Finished Create list of static device nodes for the current kernel.
[ 3.001500] systemd[1]: modprobe@configfs.service: Succeeded.
[ 3.003018] systemd[1]: Finished Load Kernel Module configfs.
[ 3.010359] systemd[1]: Mounting Kernel Configuration File System...
[ 3.036616] systemd[1]: Started File System Check Daemon to report status.
[ 3.057617] fuse: init (API version 7.34)
[ 3.067933] systemd[1]: Mounted Kernel Configuration File System.
[ 3.075687] systemd[1]: modprobe@fuse.service: Succeeded.
[ 3.096881] i2c_dev: i2c /dev entries driver
[ 3.097442] systemd[1]: Finished Load Kernel Module fuse.
[ 3.103350] systemd[1]: Mounting FUSE Control File System...
[ 3.106609] systemd[1]: Finished Load Kernel Modules.
[ 3.133158] systemd[1]: Starting Apply Kernel Variables...
[ 3.155004] systemd[1]: Mounted FUSE Control File System.
[ 3.163332] systemd[1]: modprobe@drm.service: Succeeded.
[ 3.164867] systemd[1]: Finished Load Kernel Module drm.
[ 3.183085] systemd[1]: Finished Apply Kernel Variables.
[ 3.202858] systemd[1]: Finished File System Check on Root Device.
[ 3.207737] systemd[1]: Starting Remount Root and Kernel File Systems...
[ 3.292746] systemd[1]: Started Journal Service.
[ 3.385857] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null). Quota mode: none.
[ 3.454683] systemd-journald[139]: Received client request to flush runtime journal.
[ 3.467690] systemd-journald[139]: File /var/log/journal/b84391a8d7a642a68dca8d1c8c2c968d/system.journal corrupted or uncleanly shut down, renaming and replacing.
[ 4.317034] mc: Linux media interface: v0.10
[ 4.436259] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[ 4.437074] brcmstb-i2c fef04500.i2c: @97500hz registered in polling mode
[ 4.441660] brcmstb-i2c fef09500.i2c: @97500hz registered in polling mode
[ 4.457617] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[ 4.457669] [vc_sm_connected_init]: start
[ 4.484532] [vc_sm_connected_init]: installed successfully
[ 4.729861] videodev: Linux video capture interface: v2.00
[ 4.855337] [drm] Initialized v3d 1.0.0 20180419 for fec00000.v3d on minor 0
[ 5.123740] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.125714] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.170793] rpivid_hevc: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.184055] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.186980] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.199507] rpivid feb10000.codec: Device registered as /dev/video19
[ 5.217178] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.237077] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
[ 5.243782] vc4-drm gpu: bound fe400000.hvs (ops vc4_hvs_ops [vc4])
[ 5.243857] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[ 5.243910] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[ 5.246977] Registered IR keymap rc-cec
[ 5.247391] rc rc0: vc4 as /devices/platform/soc/fef00700.hdmi/rc/rc0
[ 5.248218] input: vc4 as /devices/platform/soc/fef00700.hdmi/rc/rc0/input0
[ 5.266338] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[ 5.266401] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[ 5.271353] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
[ 5.272655] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
[ 5.292912] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[ 5.292969] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[ 5.299002] vc4_hdmi fef00700.hdmi: 'dmas' DT property is missing or empty, no HDMI audio
[ 5.299078] vc4-drm gpu: bound fef00700.hdmi (ops vc4_hdmi_ops [vc4])
[ 5.306889] Registered IR keymap rc-cec
[ 5.316595] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
[ 5.316643] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[ 5.316666] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[ 5.316685] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[ 5.316702] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[ 5.327232] rc rc1: vc4 as /devices/platform/soc/fef05700.hdmi/rc/rc1
[ 5.327768] input: vc4 as /devices/platform/soc/fef05700.hdmi/rc/rc1/input1
[ 5.331634] vc4_hdmi fef05700.hdmi: 'dmas' DT property is missing or empty, no HDMI audio
[ 5.331703] vc4-drm gpu: bound fef05700.hdmi (ops vc4_hdmi_ops [vc4])
[ 5.332190] vc4-drm gpu: bound fe004000.txp (ops vc4_txp_ops [vc4])
[ 5.332726] vc4-drm gpu: bound fe206000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 5.333084] vc4-drm gpu: bound fe207000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 5.333420] vc4-drm gpu: bound fe20a000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 5.333726] vc4-drm gpu: bound fe216000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 5.334061] vc4-drm gpu: bound fec12000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 5.358249] bcm2835-codec bcm2835-codec: Device registered as /dev/video18
[ 5.358327] bcm2835-codec bcm2835-codec: Loaded V4L2 image_fx
[ 5.366536] bcm2835-codec bcm2835-codec: Device registered as /dev/video31
[ 5.366593] bcm2835-codec bcm2835-codec: Loaded V4L2 encode_image
[ 5.406141] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video20
[ 5.413921] [drm] Initialized vc4 0.0.0 20140616 for gpu on minor 1
[ 5.415275] vc4-drm gpu: [drm] Cannot find any crtc or sizes
[ 5.493302] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video21
[ 5.547647] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video22
[ 5.672423] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video23
[ 5.672473] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[ 5.672496] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[ 5.672530] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[ 5.672570] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[ 5.688431] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
[ 6.003265] wm8804 1-003b: Failed to read device ID: -121
[ 6.004305] wm8804: probe of 1-003b failed with error -121
[ 6.393774] uart-pl011 fe201000.serial: no DMA platform data
[ 6.437542] 8021q: 802.1Q VLAN Support v1.8
[ 6.585515] Adding 102396k swap on /var/swap. Priority:-2 extents:1 across:102396k SSFS
[ 6.858941] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 6.891271] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 6.901880] cfg80211: loaded regulatory.db is malformed or signature is missing/invalid
[ 7.055989] bcmgenet fd580000.ethernet: configuring instance for external RGMII (RX delay)
[ 7.057315] bcmgenet fd580000.ethernet eth0: Link is Down
[ 11.140508] bcmgenet fd580000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[ 11.140551] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 13.158060] ICMPv6: process `dhcpcd' is using deprecated sysctl (syscall) net.ipv6.neigh.eth0.retrans_time - use net.ipv6.neigh.eth0.retrans_time_ms instead
[ 14.252728] Bluetooth: Core ver 2.22
[ 14.252822] NET: Registered PF_BLUETOOTH protocol family
[ 14.252828] Bluetooth: HCI device and connection manager initialized
[ 14.252844] Bluetooth: HCI socket layer initialized
[ 14.252853] Bluetooth: L2CAP socket layer initialized
[ 14.252867] Bluetooth: SCO socket layer initialized
[ 14.261942] Bluetooth: HCI UART driver ver 2.3
[ 14.261964] Bluetooth: HCI UART protocol H4 registered
[ 14.262029] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 14.262201] Bluetooth: HCI UART protocol Broadcom registered
[ 14.577088] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 14.577108] Bluetooth: BNEP filters: protocol multicast
[ 14.577123] Bluetooth: BNEP socket layer initialized
[ 14.589869] NET: Registered PF_ALG protocol family
[ 15.588481] vc4-drm gpu: [drm] Cannot find any crtc or sizes
[ 31.716415] cam-dummy-reg: disabling
Logs
No response
Additional context
No response
Activity
pelwell commentedon Nov 25, 2022
There's a relevant-looking error message in that output:
Error -121 is EREMOTEIO, which in this case looks like an I2C issue.
i2cdetect -y 1show?i2cdump -y 1 0x3b?pelwell commentedon Nov 25, 2022
By the way, you can build yourself a vcdbg equivalent with these commands:
and run it with:
reinisb commentedon Nov 25, 2022
I don't have anything else attached to my RPi, only the Hifiberry HAT, ethernet cable and power supply cable. I'm using the official raspberry pi power supply.
I reseated hifiberry and now I get this:
Also, in raspi-config Audio devices list hifiberry is now showing up (before reseating no device showed up):
0 snd_rpi_hifiberry_digipelwell commentedon Nov 25, 2022
Thanks. You can skip the raspinfo and vclog output from now on.
That's looking much better.
Does
rm ~/.asoundrchelp?reinisb commentedon Nov 25, 2022
Thanks,
rm ~/.asoundrcworked!Do you have ideas why
~/.asoundrcwas there in the first place?reinisb commentedon Nov 25, 2022
Though after I reboot
~/.asoundrc(and the error) is back. How to make the rm stick?pelwell commentedon Nov 25, 2022
But does it still work, or is ALSA reporting corruption again? If so, post the content of .asoundrc.
reinisb commentedon Nov 25, 2022
It's strange. After a reboot ALSA reported corruption again, but now after another reboot it does not report corruption again. Audio through hifiberry works.
pelwell commentedon Nov 25, 2022
Strange indeed. If you get another corrupted one, do upload it here.
pelwell commentedon Nov 25, 2022
Is this a regular (desktop) image? As I understand it, the LXPanel plugin is creating (or arranging the creation of) the asoundrc file. And have you enabled the beta Wayland support?
reinisb commentedon Nov 25, 2022
This is not a desktop image. This is what they call a Lite image (ref). No, I have not enabled Wayland.
syborgxx commentedon Nov 25, 2022
I have a similar problem with a Pi 4 and Hifiberry DAC+.
My DAC is recognized when a monitor is connected to HDMI. When I do a headless boot then the DAC is not found. Plug a monitor back in and boot and it is working again.
My use is with a headless Pi so I need to find a workaround.
I did not have a file called .asoundrc.
I tried hdmi_force_hotplug=1 and that didn't help.
What other info can I provide to help fix this issue?
pelwell commentedon Nov 25, 2022
Post the output of
dmesg -l err,warnafter booting when the monitor is not attached.syborgxx commentedon Nov 25, 2022
dmesg -l err,warn output as requested:
[ 1.256753] usb_phy_generic phy: supply vcc not found, using dummy regulator
[ 1.256962] usb_phy_generic phy: dummy supplies not allowed for exclusive requests
[ 5.351424] systemd[1]: bpf-lsm: Failed to load BPF object: No such process
[ 6.517545] systemd-gpt-auto-generator[155]: File system behind root file system is reported by btrfs to be backed by pseudo-device /dev/root, which is not a valid userspace accessible device node. Cannot determine correct backing block device.
[ 6.679541] systemd[141]: /usr/lib/systemd/system-generators/systemd-gpt-auto-generator failed with exit status 1.
[ 7.880346] systemd-journald[179]: File /var/log/journal/fe3a3f9a2d6a476ab61fe033c6b2b7bd/system.journal corrupted or uncleanly shut down, renaming and replacing.
[ 8.957784] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[ 9.221469] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 9.281928] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[ 9.381119] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[ 9.410178] rpivid_hevc: module is from the staging directory, the quality is unknown, you have been warned.
[ 9.432568] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[ 9.457235] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.bin failed with error -2
[ 9.548724] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 9.657370] [drm] No displays found. Consider forcing hotplug if HDMI is attached
[ 14.621849] systemd-journald[179]: File /var/log/journal/fe3a3f9a2d6a476ab61fe033c6b2b7bd/user-1000.journal corrupted or uncleanly shut down, renaming and replacing.
3 remaining items
syborgxx commentedon Nov 25, 2022
I don't have vcdbg and I don't get any hits with dnf provides vcdbg. Where can I get vcdbg?
pelwell commentedon Nov 25, 2022
Follow these instructions: #5256 (comment)
syborgxx commentedon Nov 25, 2022
003890.449: arasan: arasan_emmc_open
004073.582: brfs: File read: /mfs/sd/config.txt
004074.292: brfs: File read: 1323 bytes
004096.796: HDMI0:EDID error reading EDID block 0 attempt 0
004097.811: HDMI0:EDID giving up on reading EDID block 0
004109.529: HDMI1:EDID error reading EDID block 0 attempt 0
004110.545: HDMI1:EDID giving up on reading EDID block 0
004116.475: brfs: File read: /mfs/sd/config.txt
004578.355: gpioman: gpioman_get_pin_num: pin DISPLAY_DSI_PORT not defined
004580.868: *** Restart logging
004580.888: brfs: File read: 1323 bytes
004587.377: hdmi: HDMI0:EDID error reading EDID block 0 attempt 0
004588.395: hdmi: HDMI0:EDID giving up on reading EDID block 0
004593.437: hdmi: HDMI0:EDID error reading EDID block 0 attempt 0
004594.453: hdmi: HDMI0:EDID giving up on reading EDID block 0
004594.472: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
004599.513: hdmi: HDMI1:EDID error reading EDID block 0 attempt 0
004600.528: hdmi: HDMI1:EDID giving up on reading EDID block 0
004605.570: hdmi: HDMI1:EDID error reading EDID block 0 attempt 0
004606.588: hdmi: HDMI1:EDID giving up on reading EDID block 0
004606.603: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
004606.617: HDMI0: hdmi_pixel_encoding: 300000000
004606.631: HDMI1: hdmi_pixel_encoding: 300000000
004635.119: dtb_file 'bcm2711-rpi-4-b.dtb'
004641.969: brfs: File read: /mfs/sd/efi/bcm2711-rpi-4-b.dtb
004641.986: Loaded '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/efi/bcm2711-rpi-4-b.dtb' to 0x100 size 0xcc65
004655.038: brfs: File read: 52325 bytes
004665.970: brfs: File read: /mfs/sd/efi/overlays/overlay_map.dtb
004737.620: brfs: File read: 2259 bytes
004740.433: brfs: File read: /mfs/sd/config.txt
004740.704: dtwarn: overlay 'pi3-disable-bt' has been renamed 'disable-bt'
004741.195: brfs: File read: 1323 bytes
004745.776: brfs: File read: /mfs/sd/efi/overlays/disable-bt.dtbo
004760.431: Loaded overlay 'pi3-disable-bt'
004794.277: brfs: File read: 1073 bytes
004800.403: brfs: File read: /mfs/sd/efi/overlays/gpio-fan.dtbo
004805.279: Loaded overlay 'gpio-fan'
004805.291: dtparam: temp=65000
004805.703: dtparam: watchdog=on
004837.004: brfs: File read: 1312 bytes
004844.110: brfs: File read: /mfs/sd/efi/overlays/hifiberry-dac.dtbo
004852.998: Loaded overlay 'hifiberry-dac'
004877.540: brfs: File read: 655 bytes
004894.894: brfs: File read: /mfs/sd/efi/overlays/vc4-fkms-v3d-pi4.dtbo
004912.780: Loaded overlay 'vc4-fkms-v3d'
004912.793: dtparam: audio=off
004965.363: brfs: File read: 1446 bytes
004967.778: brfs: File read: /mfs/sd/efi/cmdline.txt
004967.850: Read command line from file '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/efi/cmdline.txt':
004967.869: 'coherent_pool=16M dwc_otg.lpm_enable=0 earlyprintk console=serial0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=btrfs rootflags=subvol=root ro fsck.repair=yes rootwait libahci.ignore_sss=1 raid=noautodetect nortc selinux=0 usbhid.mousepoll=0 hdmi=o
005157.590: brfs: File read: 257 bytes
006972.325: brfs: File read: /mfs/sd/efi/kernel8.img
006972.347: Loaded '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/efi/kernel8.img' to 0x80000 size 0x179f200
006998.389: Kernel relocated to 0x200000
006998.400: Device tree loaded to 0x2eff2a00 (size 0xd5ab)
007003.780: gpioman: gpioman_get_pin_num: pin SDCARD_CONTROL_POWER not defined
010039.678: vchiq_core: vchiq_init_state: slot_zero = 0xde000000, is_master = 1
016863.775: camsubs: Looking for camera 0: i2c_port = 0, led gpio = -1, power enable gpio = 133
017159.448: camsubs: Camera not found
017159.519: camsubs: Looking for camera 0: i2c_port = 0, led gpio = -1, power enable gpio = 133
017160.226: camsubs: Camera not found
017160.288: camsubs: Looking for camera 0: i2c_port = 0, led gpio = -1, power enable gpio = 133
017160.994: camsubs: Camera not found
017161.055: camsubs: Looking for camera 0: i2c_port = 0, led gpio = -1, power enable gpio = 133
017161.250: camsubs: Camera not found
017161.312: camsubs: Looking for camera 0: i2c_port = 0, led gpio = -1, power enable gpio = 133
017162.019: camsubs: Camera not found
pelwell commentedon Nov 25, 2022
So the hifiberry overlay loaded OK, but there's no
/dev/i2c-1?What does
lsmod | grep i2cshow? And doessudo modprobe i2c-devcause/dev/i2c-1to appear?syborgxx commentedon Nov 25, 2022
lsmod | grep i2c
i2c_i801 40960 0
i2c_smbus 20480 1 i2c_i801
After modprobe
lsmod | grep i2c
i2c_dev 24576 0
i2c_i801 40960 0
i2c_smbus 20480 1 i2c_i801
pelwell commentedon Nov 25, 2022
Is
/dev/i2c-1there now? If so, what doesi2cdetect -y 1show now?syborgxx commentedon Nov 25, 2022
i2c_dev is there, but not i2c-1.
sudo i2cdetect -y 1
Error: Could not open file
/dev/i2c-1' or/dev/i2c/1': No such file or directorypelwell commentedon Nov 28, 2022
Assuming everything you've told me is correct, I can't think of an explanation for the failure you are seeing. There is strong evidence that the overlay has been applied - no error messages from the firmware, the I2C and I2S pins being configured - and yet the I2C interface hasn't been configured, again with no errors.
Has the i2c-bcm2835 module been loaded? Try
sudo modprobe i2c-bcm2835, and again look for /dev/i2c-1. If that doesn't work, I'm running out of ideas, unless it is some strange power-related problem, where your HDMI cable is back-powering the Pi enough to make the difference. Which power supply are you using? Is the cable a good one?syborgxx commentedon Nov 28, 2022
I'm using the official raspberrypi power supply. My pi works perfectly with raspian. All other computers at home use fedora. I wanted to change the os on my pi so all computers in my household use the same distro.
bash-5.2$ sudo modprobe i2c-bcm2835
bash-5.2$ lsmod | grep i2c
snd_soc_pcm512x_i2c 16384 1
snd_soc_pcm512x 32768 1 snd_soc_pcm512x_i2c
regmap_i2c 16384 1 snd_soc_pcm512x_i2c
i2c_bcm2835 16384 0
i2c_dev 20480 0
bash-5.2$ sudo i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- UU -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
pelwell commentedon Nov 28, 2022
So that is the problem - module auto-loading (or at least the auto-loading of the i2c-bcm2835 module) is broken.
What do the following commands return?
pelwell commentedon Nov 28, 2022
If you get a lot of output from the first command,
grep bcm2835 /etc/modprobe.d/*should be sufficient.syborgxx commentedon Nov 28, 2022
grep bcm2835 /etc/modprobe.d/* gets no hits
bash-5.2$ grep i2c_bcm2835 /lib/modules/
uname -r/modules.aliasalias platform:i2c-bcm2835 i2c_bcm2835
alias of:NTCbrcm,bcm2835-i2cC* i2c_bcm2835
alias of:NTCbrcm,bcm2835-i2c i2c_bcm2835
alias of:NTCbrcm,bcm2711-i2cC* i2c_bcm2835
alias of:NTCbrcm,bcm2711-i2c i2c_bcm2835
pelwell commentedon Nov 28, 2022
Disappointingly, those are the results that I get. I was hoping for a blacklist hit in the first grep or nothing in the second.
pelwell commentedon Nov 28, 2022
Those two statements belong together, and not this many responses apart. I feel I've narrowed the problem down for you significantly, but now it's time to ask on some Fedora forum.