raspberrypi / linux

Kernel source tree for Raspberry Pi-provided kernel builds. Issues unrelated to the linux kernel should be posted on the community forum at https://forums.raspberrypi.com/
Other
11.03k stars 4.95k forks source link

vc4-kms-dsi-7inch causes HDMI to fail when touch screen is not connected. #5758

Closed LiamEberhart closed 9 months ago

LiamEberhart commented 9 months ago

Describe the bug

Adding dtoverlay=vc4-kms-dsi-7inch to /boot/firmware/config.txt causes HDMI to not display anything when the 7" touchscreen is not connected.

Steps to reproduce the behaviour

No other changes to the system, only adding dtoverly line causes HDMI to only display a black screen and a single blinking underscore. all other functions seem to still be operational. SSH still works. Only error I saw was;

[   13.389159] rpi_touchscreen_attiny 10-0045: Failed to read REG_ID reg: -5
[   13.389224] rpi_touchscreen_attiny: probe of 10-0045 failed with error -5

If a touchscreen is attached along with an HDMI screen (so two screens) the GUI boots as normal.

Device (s)

Raspberry Pi 4 Mod. B

System

$ cat /etc/rpi-issue
Raspberry Pi reference 2023-10-10
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, fb56ad562991cf3ae5c96ab50983e1deeaefc7b6, stage4

$ vcgencmd version
Oct 17 2023 15:39:16
Copyright (c) 2012 Broadcom
version 30f0c5e4d076da3ab4f341d88e7d505760b93ad7 (clean) (release) (start)

$ uname -a
Linux buildtinypis 6.1.63-v8+ #1700 SMP PREEMPT Thu Nov 23 14:10:01 GMT 2023 aarch64 GNU/Linux

Should be a Raspberry Pi 4 8GB on nearly the newest kernel build.

Logs

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
[    0.000000] Linux version 6.1.63-v8+ (dom@buildbot) (aarch64-linux-gnu-gcc-8 (Ubuntu/Linaro 8.4.0-3ubu ntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1700 SMP PREEMPT Thu Nov 23 14:10:01 GMT 2023
[    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 0x000000000e000000, size 512 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-0x00000000ffffffff]
[    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-0x000000003b3fffff]
[    0.000000]   node   0: [mem 0x0000000040000000-0x00000000fbffffff]
[    0.000000]   node   0: [mem 0x0000000100000000-0x00000001ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000001ffffffff]
[    0.000000] On node 0, zone DMA32: 19456 pages in unavailable ranges
[    0.000000] On node 0, zone Normal: 16384 pages in unavailable ranges
[    0.000000] percpu: Embedded 29 pages/cpu s79208 r8192 d31384 u118784
[    0.000000] pcpu-alloc: s79208 r8192 d31384 u118784 alloc=29*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] alternatives: applying boot alternatives
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 2028848
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_ bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0  smsc95xx.macaddr=D8:3A:D D:90:B7:AC vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root= PARTUUID=e4a00f5c-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-console s cfg80211.ieee80211_regdom=US
[    0.000000] Unknown kernel command line parameters "splash", will be passed to user space.
[    0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[    0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: area num 4.
[    0.000000] software IO TLB: mapped [mem 0x0000000037400000-0x000000003b400000] (64MB)
[    0.000000] Memory: 7454416K/8245248K available (12224K kernel code, 2172K rwdata, 4116K rodata, 4352K  init, 1082K bss, 266544K reserved, 524288K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 41364 entries in 162 pages
[    0.000000] ftrace: allocated 162 pages with 3 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.000001] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[    0.000342] Console: colour dummy device 80x25
[    0.000409] printk: console [tty1] enabled
[    0.000477] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS  (lpj=216000)
[    0.000504] pid_max: default: 32768 minimum: 301
[    0.000637] LSM: Security Framework initializing
[    0.000922] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.001055] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.002348] cgroup: Disabling memory control group subsystem
[    0.004518] cblist_init_generic: Setting adjustable number of callback queues.
[    0.004535] cblist_init_generic: Setting shift to 2 and lim to 1.
[    0.004701] cblist_init_generic: Setting adjustable number of callback queues.
[    0.004715] cblist_init_generic: Setting shift to 2 and lim to 1.
[    0.004878] cblist_init_generic: Setting adjustable number of callback queues.
[    0.004891] cblist_init_generic: Setting shift to 2 and lim to 1.
[    0.005307] rcu: Hierarchical SRCU implementation.
[    0.005319] rcu:     Max phase no-delay instances is 1000.
[    0.007549] EFI services will not be available.
[    0.008102] smp: Bringing up secondary CPUs ...
[    0.009103] Detected PIPT I-cache on CPU1
[    0.009272] CPU1: Booted secondary processor 0x0000000001 [0x410fd083]
[    0.010355] Detected PIPT I-cache on CPU2
[    0.010485] CPU2: Booted secondary processor 0x0000000002 [0x410fd083]
[    0.011531] Detected PIPT I-cache on CPU3
[    0.011655] CPU3: Booted secondary processor 0x0000000003 [0x410fd083]
[    0.011795] smp: Brought up 1 node, 4 CPUs
[    0.011817] SMP: Total of 4 processors activated.
[    0.011830] CPU features: detected: 32-bit EL0 Support
[    0.011840] CPU features: detected: 32-bit EL1 Support
[    0.011853] CPU features: detected: CRC32 instructions
[    0.012019] CPU: All CPU(s) started at EL2
[    0.012046] alternatives: applying system-wide alternatives
[    0.014108] devtmpfs: initialized
[    0.025730] Enabled cp15_barrier support
[    0.025777] Enabled setend support
[    0.025984] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417851000 00 ns
[    0.026020] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.041988] pinctrl core: initialized pinctrl subsystem
[    0.042856] DMI not present or invalid.
[    0.043556] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.046925] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[    0.047219] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.048069] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.048189] audit: initializing netlink subsys (disabled)
[    0.048453] audit: type=2000 audit(0.048:1): state=initialized audit_enabled=0 res=1
[    0.049087] thermal_sys: Registered thermal governor 'step_wise'
[    0.049171] cpuidle: using governor menu
[    0.049604] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.049793] ASID allocator initialised with 32768 entries
[    0.050854] Serial: AMBA PL011 UART driver
[    0.064753] platform fe101000.cprman: Fixed dependency cycle(s) with /soc/dsi@7e700000
[    0.065996] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[    0.070624] platform fe700000.dsi: Fixed dependency cycle(s) with /soc/dsi@7e700000/bridge@0/ports/por t@0/endpoint
[    0.088449] raspberrypi-firmware soc:firmware: Attached to firmware from 2023-10-17T15:39:16, variant  start
[    0.092461] raspberrypi-firmware soc:firmware: Firmware hash is 30f0c5e4d076da3ab4f341d88e7d505760b93a d7
[    0.107130] KASLR enabled
[    0.136157] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1
[    0.141235] iommu: Default domain type: Translated
[    0.141253] iommu: DMA domain TLB invalidation policy: strict mode
[    0.141719] SCSI subsystem initialized
[    0.141964] usbcore: registered new interface driver usbfs
[    0.142018] usbcore: registered new interface driver hub
[    0.142081] usbcore: registered new device driver usb
[    0.142482] usb_phy_generic phy: supply vcc not found, using dummy regulator
[    0.142995] pps_core: LinuxPPS API ver. 1 registered
[    0.143008] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.143034] PTP clock support registered
[    0.144129] vgaarb: loaded
[    0.144942] clocksource: Switched to clocksource arch_sys_counter
[    0.145458] VFS: Disk quotas dquot_6.6.0
[    0.145884] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.146051] FS-Cache: Loaded
[    0.146237] CacheFiles: Loaded
[    0.154639] NET: Registered PF_INET protocol family
[    0.155733] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.164754] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear)
[    0.164871] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.164906] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.165482] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes, linear)
[    0.168396] TCP: Hash tables configured (established 65536 bind 65536)
[    0.169152] MPTCP token hash table entries: 8192 (order: 5, 196608 bytes, linear)
[    0.169576] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.169713] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.170071] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.170877] RPC: Registered named UNIX socket transport module.
[    0.170895] RPC: Registered udp transport module.
[    0.170905] RPC: Registered tcp transport module.
[    0.170915] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.170940] PCI: CLS 0 bytes, default 64
[    0.171534] Trying to unpack rootfs image as initramfs...
[    0.183365] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[    0.183823] kvm [1]: IPA Size Limit: 44 bits
[    0.185321] kvm [1]: vgic interrupt IRQ9
[    0.185569] kvm [1]: Hyp mode initialized successfully
[    1.022119] Freeing initrd memory: 15716K
[    1.305782] Initialise system trusted keyrings
[    1.306306] workingset: timestamp_bits=46 max_order=21 bucket_order=0
[    1.313202] zbud: loaded
[    1.315906] NFS: Registering the id_resolver key type
[    1.315953] Key type id_resolver registered
[    1.315964] Key type id_legacy registered
[    1.316063] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.316079] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    1.317414] Key type asymmetric registered
[    1.317433] Asymmetric key parser 'x509' registered
[    1.317516] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    1.317801] io scheduler mq-deadline registered
[    1.317817] io scheduler kyber registered
[    1.320627] irq_brcmstb_l2: registered L2 intc (/soc/interrupt-controller@7ef00100, parent irq: 27)
[    1.331928] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[    1.331977] brcm-pcie fd500000.pcie:   No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
[    1.332055] brcm-pcie fd500000.pcie:      MEM 0x0600000000..0x063fffffff -> 0x00c0000000
[    1.332133] brcm-pcie fd500000.pcie:   IB MEM 0x0000000000..0x01ffffffff -> 0x0400000000
[    1.332685] brcm-pcie fd500000.pcie: setting SCB_ACCESS_EN, READ_UR_MODE, MAX_BURST_SIZE
[    1.333166] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[    1.333186] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.333204] pci_bus 0000:00: root bus resource [mem 0x600000000-0x63fffffff] (bus address [0xc0000000- 0xffffffff])
[    1.333278] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[    1.333509] pci 0000:00:00.0: PME# supported from D0 D3hot
[    1.337692] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.337931] pci_bus 0000:01: supply vpcie3v3 not found, using dummy regulator
[    1.338096] pci_bus 0000:01: supply vpcie3v3aux not found, using dummy regulator
[    1.338183] pci_bus 0000:01: supply vpcie12v not found, using dummy regulator
[    1.447050] brcm-pcie fd500000.pcie: link up, 5.0 GT/s PCIe x1 (SSC)
[    1.447217] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[    1.447340] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[    1.447775] pci 0000:01:00.0: PME# supported from D0 D3hot
[    1.448506] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.448553] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
[    1.448575] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
[    1.448653] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.448675] pci 0000:00:00.0:   bridge window [mem 0x600000000-0x6000fffff]
[    1.449097] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[    1.449330] pcieport 0000:00:00.0: PME: Signaling with IRQ 31
[    1.449814] pcieport 0000:00:00.0: AER: enabled with IRQ 31
[    1.450391] brcm-pcie fd500000.pcie: clkreq control enabled
[    1.451603] simple-framebuffer 3e402000.framebuffer: framebuffer at 0x3e402000, 0x7f8000 bytes
[    1.451625] simple-framebuffer 3e402000.framebuffer: format=a8r8g8b8, mode=1920x1080x32, linelength=76 80
[    1.452215] Console: switching to colour frame buffer device 240x67
[    1.461025] simple-framebuffer 3e402000.framebuffer: fb0: simplefb registered!
[    1.475842] iproc-rng200 fe104000.rng: hwrng registered
[    1.476400] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[    1.489381] brd: module loaded
[    1.497013] loop: module loaded
[    1.497971] Loading iSCSI transport class v2.0-870.
[    1.503825] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
[    1.613086] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
[    1.614201] usbcore: registered new interface driver r8152
[    1.614278] usbcore: registered new interface driver lan78xx
[    1.614334] usbcore: registered new interface driver smsc95xx
[    1.665139] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    1.665176] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[    1.665829] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0b00040000000890
[    1.666872] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    1.666894] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[    1.666921] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[    1.667284] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[    1.667306] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.667321] usb usb1: Product: xHCI Host Controller
[    1.667334] usb usb1: Manufacturer: Linux 6.1.63-v8+ xhci-hcd
[    1.667347] usb usb1: SerialNumber: 0000:01:00.0
[    1.668027] hub 1-0:1.0: USB hub found
[    1.668093] hub 1-0:1.0: 1 port detected
[    1.669053] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.01
[    1.669074] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.669088] usb usb2: Product: xHCI Host Controller
[    1.669101] usb usb2: Manufacturer: Linux 6.1.63-v8+ xhci-hcd
[    1.669114] usb usb2: SerialNumber: 0000:01:00.0
[    1.669709] hub 2-0:1.0: USB hub found
[    1.669777] hub 2-0:1.0: 4 ports detected
[    1.671546] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.671878] dwc_otg: FIQ enabled
[    1.671890] dwc_otg: NAK holdoff enabled
[    1.671900] dwc_otg: FIQ split-transaction FSM enabled
[    1.671915] Module dwc_common_port init
[    1.673330] usbcore: registered new interface driver uas
[    1.673440] usbcore: registered new interface driver usb-storage
[    1.674330] mousedev: PS/2 mouse device common for all mice
[    1.681409] sdhci: Secure Digital Host Controller Interface driver
[    1.681433] sdhci: Copyright(c) Pierre Ossman
[    1.682107] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.686055] ledtrig-cpu: registered to indicate activity on CPUs
[    1.686403] hid: raw HID events driver (C) Jiri Kosina
[    1.686611] usbcore: registered new interface driver usbhid
[    1.686625] usbhid: USB HID core driver
[    1.696266] NET: Registered PF_PACKET protocol family
[    1.696404] Key type dns_resolver registered
[    1.697675] registered taskstats version 1
[    1.697757] Loading compiled-in X.509 certificates
[    1.698633] Key type .fscrypt registered
[    1.698649] Key type fscrypt-provisioning registered
[    1.712896] uart-pl011 fe201000.serial: there is not valid maps for state default
[    1.713671] uart-pl011 fe201000.serial: cts_event_workaround enabled
[    1.713837] fe201000.serial: ttyAMA1 at MMIO 0xfe201000 (irq = 36, base_baud = 0) is a PL011 rev2
[    1.714083] serial serial0: tty port ttyAMA1 registered
[    1.723112] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    1.723568] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    1.725038] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[    1.725060] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[    1.754514] of_cfs_init
[    1.754656] of_cfs_init: OK
[    1.789197] mmc0: SDHCI controller on fe340000.mmc [fe340000.mmc] using ADMA
[    1.798593] Freeing unused kernel memory: 4352K
[    1.798734] Run /init as init process
[    1.798745]   with arguments:
[    1.798753]     /init
[    1.798763]     splash
[    1.798772]   with environment:
[    1.798780]     HOME=/
[    1.798791]     TERM=linux
[    1.826233] mmc0: new high speed SDHC card at address 0001
[    1.827487] mmcblk0: mmc0:0001 SD16G 14.6 GiB
[    1.832006]  mmcblk0: p1 p2
[    1.832613] mmcblk0: mmc0:0001 SD16G 14.6 GiB (quirks 0x80000000)
[    1.836893] mmc1: new high speed SDIO card at address 0001
[    1.921009] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    2.071710] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
[    2.071750] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.071766] usb 1-1: Product: USB2.0 Hub
[    2.073892] hub 1-1:1.0: USB hub found
[    2.074166] hub 1-1:1.0: 4 ports detected
[    2.197462] usb 2-1: new SuperSpeed USB device number 2 using xhci_hcd
[    2.246052] usb 2-1: New USB device found, idVendor=2109, idProduct=0817, bcdDevice=90.81
[    2.246094] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.246110] usb 2-1: Product: USB3.0 Hub
[    2.246124] usb 2-1: Manufacturer: VIA Labs, Inc.
[    2.246137] usb 2-1: SerialNumber: 000000000
[    2.248874] hub 2-1:1.0: USB hub found
[    2.249146] hub 2-1:1.0: 4 ports detected
[    2.369026] usb 1-1.1: new high-speed USB device number 3 using xhci_hcd
[    2.470914] usb 1-1.1: New USB device found, idVendor=2109, idProduct=2817, bcdDevice=90.81
[    2.470950] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.470966] usb 1-1.1: Product: USB2.0 Hub
[    2.470980] usb 1-1.1: Manufacturer: VIA Labs, Inc.
[    2.470993] usb 1-1.1: SerialNumber: 000000000
[    2.473023] hub 1-1.1:1.0: USB hub found
[    2.473323] hub 1-1.1:1.0: 4 ports detected
[    3.205014] usb 1-1.1.3: new full-speed USB device number 4 using xhci_hcd
[    3.364202] usb 1-1.1.3: New USB device found, idVendor=046d, idProduct=c52b, bcdDevice=12.09
[    3.364242] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.364258] usb 1-1.1.3: Product: USB Receiver
[    3.364272] usb 1-1.1.3: Manufacturer: Logitech
[    3.376017] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none.
[    3.377231] input: Logitech USB Receiver as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00. 0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1.3/1-1.1.3:1.0/0003:046D:C52B.0001/input/input0
[    3.438194] hid-generic 0003:046D:C52B.0001: input,hidraw0: USB HID v1.11 Keyboard [Logitech USB Recei ver] on usb-0000:01:00.0-1.1.3/input0
[    3.453290] input: Logitech USB Receiver Mouse as /devices/platform/scb/fd500000.pcie/pci0000:00/0000: 00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1.3/1-1.1.3:1.1/0003:046D:C52B.0002/input/input1
[    3.455948] input: Logitech USB Receiver Consumer Control as /devices/platform/scb/fd500000.pcie/pci00 00:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1.3/1-1.1.3:1.1/0003:046D:C52B.0002/input/input2
[    3.513407] input: Logitech USB Receiver System Control as /devices/platform/scb/fd500000.pcie/pci0000 :00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1.3/1-1.1.3:1.1/0003:046D:C52B.0002/input/input3
[    3.513952] hid-generic 0003:046D:C52B.0002: input,hiddev96,hidraw1: USB HID v1.11 Mouse [Logitech USB  Receiver] on usb-0000:01:00.0-1.1.3/input1
[    3.522877] hid-generic 0003:046D:C52B.0003: hiddev97,hidraw2: USB HID v1.11 Device [Logitech USB Rece iver] on usb-0000:01:00.0-1.1.3/input2
[    4.340845] systemd[1]: System time before build time, advancing clock.
[    4.591307] NET: Registered PF_INET6 protocol family
[    4.593135] Segment Routing with IPv6
[    4.593181] In-situ OAM (IOAM) with IPv6
[    4.714363] systemd[1]: systemd 252.12-1~deb12u1+rpi1 running in system mode (+PAM +AUDIT +SELINUX +AP PARMOR +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)
[    4.714426] systemd[1]: Detected architecture arm64.
[    4.726081] systemd[1]: Hostname set to <buildtinypis>.
[    6.046183] systemd[1]: Queued start job for default target graphical.target.
[    6.069766] systemd[1]: Created slice system-getty.slice - Slice /system/getty.
[    6.072212] systemd[1]: Created slice system-modprobe.slice - Slice /system/modprobe.
[    6.074259] systemd[1]: Created slice system-systemd\x2dfsck.slice - Slice /system/systemd-fsck.
[    6.075415] systemd[1]: Created slice user.slice - User and Session Slice.
[    6.076104] systemd[1]: Started systemd-ask-password-wall.path - Forward Password Requests to Wall Dir ectory Watch.
[    6.077556] systemd[1]: Set up automount proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File  Formats File System Automount Point.
[    6.078142] systemd[1]: Reached target integritysetup.target - Local Integrity Protected Volumes.
[    6.078635] systemd[1]: Reached target nss-user-lookup.target - User and Group Name Lookups.
[    6.078972] systemd[1]: Reached target slices.target - Slice Units.
[    6.079254] systemd[1]: Reached target swap.target - Swaps.
[    6.079607] systemd[1]: Reached target veritysetup.target - Local Verity Protected Volumes.
[    6.080808] systemd[1]: Listening on systemd-fsckd.socket - fsck to fsckd communication Socket.
[    6.081469] systemd[1]: Listening on systemd-initctl.socket - initctl Compatibility Named Pipe.
[    6.083494] systemd[1]: Listening on systemd-journald-audit.socket - Journal Audit Socket.
[    6.084612] systemd[1]: Listening on systemd-journald-dev-log.socket - Journal Socket (/dev/log).
[    6.085891] systemd[1]: Listening on systemd-journald.socket - Journal Socket.
[    6.095589] systemd[1]: Listening on systemd-udevd-control.socket - udev Control Socket.
[    6.096780] systemd[1]: Listening on systemd-udevd-kernel.socket - udev Kernel Socket.
[    6.098096] systemd[1]: dev-hugepages.mount - Huge Pages File System was skipped because of an unmet c ondition check (ConditionPathExists=/sys/kernel/mm/hugepages).
[    6.129558] systemd[1]: Mounting dev-mqueue.mount - POSIX Message Queue File System...
[    6.135500] systemd[1]: Mounting sys-kernel-debug.mount - Kernel Debug File System...
[    6.141512] systemd[1]: Mounting sys-kernel-tracing.mount - Kernel Trace File System...
[    6.142569] systemd[1]: auth-rpcgss-module.service - Kernel Module supporting RPCSEC_GSS was skipped b ecause of an unmet condition check (ConditionPathExists=/etc/krb5.keytab).
[    6.152010] systemd[1]: Starting fake-hwclock.service - Restore / save the current clock...
[    6.159001] systemd[1]: Starting keyboard-setup.service - Set the console keyboard layout...
[    6.166074] systemd[1]: Starting kmod-static-nodes.service - Create List of Static Device Nodes...
[    6.173803] systemd[1]: Starting modprobe@configfs.service - Load Kernel Module configfs...
[    6.181673] systemd[1]: Starting modprobe@dm_mod.service - Load Kernel Module dm_mod...
[    6.189517] systemd[1]: Starting modprobe@drm.service - Load Kernel Module drm...
[    6.197589] systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore...
[    6.205528] systemd[1]: Starting modprobe@fuse.service - Load Kernel Module fuse...
[    6.236915] systemd[1]: Starting modprobe@loop.service - Load Kernel Module loop...
[    6.238372] systemd[1]: systemd-fsck-root.service - File System Check on Root Device was skipped becau se of an unmet condition check (ConditionPathExists=!/run/initramfs/fsck-root).
[    6.260878] systemd[1]: Starting systemd-journald.service - Journal Service...
[    6.279190] device-mapper: ioctl: 4.47.0-ioctl (2022-07-28) initialised: dm-devel@redhat.com
[    6.287804] systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules...
[    6.299322] fuse: init (API version 7.37)
[    6.308726] systemd[1]: Starting systemd-remount-fs.service - Remount Root and Kernel File Systems...
[    6.316992] systemd[1]: Starting systemd-udev-trigger.service - Coldplug All udev Devices...
[    6.336456] systemd[1]: Mounted dev-mqueue.mount - POSIX Message Queue File System.
[    6.340666] systemd[1]: Mounted sys-kernel-debug.mount - Kernel Debug File System.
[    6.342770] systemd[1]: Mounted sys-kernel-tracing.mount - Kernel Trace File System.
[    6.347477] systemd[1]: Finished fake-hwclock.service - Restore / save the current clock.
[    6.351885] systemd[1]: Finished kmod-static-nodes.service - Create List of Static Device Nodes.
[    6.355886] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[    6.357424] systemd[1]: Finished modprobe@configfs.service - Load Kernel Module configfs.
[    6.360444] systemd[1]: modprobe@dm_mod.service: Deactivated successfully.
[    6.361961] systemd[1]: Finished modprobe@dm_mod.service - Load Kernel Module dm_mod.
[    6.366254] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.
[    6.367616] systemd[1]: Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore.
[    6.371453] systemd[1]: modprobe@fuse.service: Deactivated successfully.
[    6.372701] systemd[1]: Finished modprobe@fuse.service - Load Kernel Module fuse.
[    6.377178] systemd[1]: modprobe@loop.service: Deactivated successfully.
[    6.378587] systemd[1]: Finished modprobe@loop.service - Load Kernel Module loop.
[    6.412194] i2c_dev: i2c /dev entries driver
[    6.416333] systemd[1]: Mounting sys-fs-fuse-connections.mount - FUSE Control File System...
[    6.425963] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: none.
[    6.426921] systemd[1]: Mounting sys-kernel-config.mount - Kernel Configuration File System...
[    6.427631] systemd[1]: systemd-repart.service - Repartition Root Disk was skipped because no trigger  condition checks were met.
[    6.453777] systemd[1]: Finished systemd-modules-load.service - Load Kernel Modules.
[    6.456769] systemd[1]: Finished systemd-remount-fs.service - Remount Root and Kernel File Systems.
[    6.459118] systemd[1]: Mounted sys-fs-fuse-connections.mount - FUSE Control File System.
[    6.463108] systemd[1]: modprobe@drm.service: Deactivated successfully.
[    6.464224] systemd[1]: Finished modprobe@drm.service - Load Kernel Module drm.
[    6.465780] systemd[1]: Mounted sys-kernel-config.mount - Kernel Configuration File System.
[    6.468353] systemd[1]: systemd-firstboot.service - First Boot Wizard was skipped because of an unmet  condition check (ConditionFirstBoot=yes).
[    6.468779] systemd[1]: systemd-pstore.service - Platform Persistent Storage Archival was skipped beca use of an unmet condition check (ConditionDirectoryNotEmpty=/sys/fs/pstore).
[    6.504461] systemd[1]: Starting systemd-random-seed.service - Load/Save Random Seed...
[    6.527096] systemd[1]: Starting systemd-sysctl.service - Apply Kernel Variables...
[    6.542562] systemd[1]: Starting systemd-sysusers.service - Create System Users...
[    6.618662] systemd[1]: Finished systemd-random-seed.service - Load/Save Random Seed.
[    6.620703] systemd[1]: first-boot-complete.target - First Boot Complete was skipped because of an unm et condition check (ConditionFirstBoot=yes).
[    6.646343] systemd[1]: Finished systemd-sysusers.service - Create System Users.
[    6.650022] systemd[1]: Finished systemd-sysctl.service - Apply Kernel Variables.
[    6.685177] systemd[1]: Starting systemd-tmpfiles-setup-dev.service - Create Static Device Nodes in /d ev...
[    6.743083] systemd[1]: Started systemd-journald.service - Journal Service.
[    6.814152] systemd-journald[252]: Received client request to flush runtime journal.
[    6.831132] systemd-journald[252]: File /var/log/journal/0d86c1b5190f47e286a2124516776e41/system.journ al corrupted or uncleanly shut down, renaming and replacing.
[    8.840131] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been war ned.
[    8.859280] mc: Linux media interface: v0.10
[    8.860507] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[    8.860570] [vc_sm_connected_init]: start
[    8.919306] rpi-gpiomem fe200000.gpiomem: window base 0xfe200000 size 0x00001000
[    8.920203] rpi-gpiomem fe200000.gpiomem: initialised 1 regions as /dev/gpiomem
[    8.944882] videodev: Linux video capture interface: v2.00
[    8.954717] [vc_sm_connected_init]: installed successfully
[    9.145051] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have  been warned.
[    9.176124] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been  warned.
[    9.194644] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been w arned.
[    9.201085] rpivid_hevc: module is from the staging directory, the quality is unknown, you have been w arned.
[    9.204491] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been w arned.
[    9.206938] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been  warned.
[    9.208209] brcmstb-i2c fef04500.i2c:  @97500hz registered in polling mode
[    9.210436] brcmstb-i2c fef09500.i2c:  @97500hz registered in polling mode
[    9.225168] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[    9.225239] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[    9.235409] rpivid feb10000.codec: Device registered as /dev/video19
[    9.242990] bcm2835_audio bcm2835_audio: card created with 8 channels
[    9.243767] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[    9.243839] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[    9.249159] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
[    9.401646] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[    9.401754] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[    9.450603] bcm2835-codec bcm2835-codec: Device registered as /dev/video18
[    9.450669] bcm2835-codec bcm2835-codec: Loaded V4L2 image_fx
[    9.457663] bcm2835-codec bcm2835-codec: Device registered as /dev/video31
[    9.457744] bcm2835-codec bcm2835-codec: Loaded V4L2 encode_image
[    9.475266] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
[    9.527724] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
[    9.531566] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
[    9.531624] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[    9.531651] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[    9.531674] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[    9.531693] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[    9.603546] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video20
[    9.605921] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video21
[    9.629463] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video22
[    9.648810] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video23
[    9.648866] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[    9.648890] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[    9.648909] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[    9.649135] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[    9.649555] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
[    9.768092] i2c i2c-22: Added multiplexed i2c bus 0
[    9.879781] i2c i2c-22: Added multiplexed i2c bus 10
[   10.050340] [drm] Initialized v3d 1.0.0 20180419 for fec00000.v3d on minor 0
[   10.142681] mipi-dsi fe700000.dsi.0: Fixed dependency cycle(s) with /soc/dsi@7e700000/port/endpoint
[   10.142767] mipi-dsi fe700000.dsi.0: Fixed dependency cycle(s) with /panel_disp@1/port/endpoint
[   10.244805] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   10.301344] cfg80211: Loaded X.509 cert 'benh@debian.org: 577e021cb980e0e820821ba7b54b4961b8b4fadf'
[   10.302407] cfg80211: Loaded X.509 cert 'romain.perier@gmail.com: 3abbc6ec146e09d1b6016ab9d6cf71dd233f 0328'
[   10.303404] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   10.429999] brcmfmac: F1 signature read @0x18000000=0x15264345
[   10.441175] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[   10.443336] usbcore: registered new interface driver brcmfmac
[   10.563773] logitech-djreceiver 0003:046D:C52B.0003: hiddev96,hidraw0: USB HID v1.11 Device [Logitech  USB Receiver] on usb-0000:01:00.0-1.1.3/input2
[   10.724161] input: Logitech Wireless Device PID:404c Keyboard as /devices/platform/scb/fd500000.pcie/p ci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1.3/1-1.1.3:1.2/0003:046D:C52B.0003/0003:046D:404C .0004/input/input5
[   10.725951] input: Logitech Wireless Device PID:404c Mouse as /devices/platform/scb/fd500000.pcie/pci0 000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1.3/1-1.1.3:1.2/0003:046D:C52B.0003/0003:046D:404C.00 04/input/input6
[   10.726863] hid-generic 0003:046D:404C.0004: input,hidraw1: USB HID v1.11 Keyboard [Logitech Wireless  Device PID:404c] on usb-0000:01:00.0-1.1.3/input2:1
[   10.749949] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Nov  1 2021 00:37:25 version 7.4 5.241 (1a2f2fa CY) FWID 01-703fd60
[   11.146814] Bluetooth: Core ver 2.22
[   11.147006] NET: Registered PF_BLUETOOTH protocol family
[   11.147020] Bluetooth: HCI device and connection manager initialized
[   11.147055] Bluetooth: HCI socket layer initialized
[   11.147075] Bluetooth: L2CAP socket layer initialized
[   11.147107] Bluetooth: SCO socket layer initialized
[   11.817053] Bluetooth: HCI UART driver ver 2.3
[   11.817100] Bluetooth: HCI UART protocol H4 registered
[   11.817319] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   11.822998] Bluetooth: HCI UART protocol Broadcom registered
[   11.824762] hci_uart_bcm serial0-0: supply vbat not found, using dummy regulator
[   11.825144] hci_uart_bcm serial0-0: supply vddio not found, using dummy regulator
[   11.872721] Adding 102396k swap on /var/swap.  Priority:-2 extents:1 across:102396k SSFS
[   11.945453] uart-pl011 fe201000.serial: no DMA platform data
[   12.421989] Bluetooth: hci0: BCM: chip id 107
[   12.422712] Bluetooth: hci0: BCM: features 0x2f
[   12.423965] Bluetooth: hci0: BCM4345C0
[   12.424005] Bluetooth: hci0: BCM4345C0 (003.001.025) build 0000
[   12.572187] Bluetooth: hci0: BCM4345C0 'brcm/BCM4345C0.raspberrypi,4-model-b.hcd' Patch
[   13.389159] rpi_touchscreen_attiny 10-0045: Failed to read REG_ID reg: -5
[   13.389224] rpi_touchscreen_attiny: probe of 10-0045 failed with error -5
[   13.390544] Bluetooth: hci0: BCM: features 0x2f
[   13.392404] Bluetooth: hci0: BCM43455 37.4MHz Raspberry Pi 3+-0190
[   13.392448] Bluetooth: hci0: BCM4345C0 (003.001.025) build 0382
[   13.988241] input: Logitech K830 as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:0 1:00.0/usb1/1-1/1-1.1/1-1.1.3/1-1.1.3:1.2/0003:046D:C52B.0003/0003:046D:404C.0004/input/input10
[   13.989868] logitech-hidpp-device 0003:046D:404C.0004: input,hidraw1: USB HID v1.11 Keyboard [Logitech  K830] on usb-0000:01:00.0-1.1.3/input2:1
[   14.674659] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   14.674702] Bluetooth: BNEP filters: protocol multicast
[   14.674733] Bluetooth: BNEP socket layer initialized
[   14.687398] Bluetooth: MGMT ver 1.22
[   14.730497] NET: Registered PF_ALG protocol family
[   16.101328] bcmgenet fd580000.ethernet: configuring instance for external RGMII (RX delay)
[   16.102633] bcmgenet fd580000.ethernet eth0: Link is Down
[   16.170216] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[   21.311140] Bluetooth: RFCOMM TTY layer initialized
[   21.311173] Bluetooth: RFCOMM socket layer initialized
[   21.311193] Bluetooth: RFCOMM ver 1.11
[   22.501816] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   23.775120] platform 100000001.panel_disp: deferred probe pending
[   23.775139] platform 100000002.reg_bridge: deferred probe pending
[   23.775144] mipi-dsi fe700000.dsi.0: deferred probe pending
[   23.775149] i2c 10-0038: deferred probe pending

Additional context

No response

6by9 commented 9 months ago

That is as expected. Most Linux subsystems require all dependent components to have probed before the overall device will complete the loading process.

The rpi_touchscreen_attiny is the regulator and backlight control for the DSI display, so without that present the overall vc4 DRM driver will defer probing awaiting it to arrive - DSI is not a hot-pluggable interface.

This is one of the major reasons why display_auto_detect=1 exists as a firmware option. The firmware knows where it might find the DSI display for standard Pis (not Compute Modules), and if it finds the display it will load that overlay. By manually adding dtoverlay=vc4-kms-dsi-7inch you've told the system it is always going to be there, and so it expects that to be the case.

Wayfire requires a DRM backend to work, so not having such will cause it to crash, likely leaving you at a flashing cursor.

LiamEberhart commented 9 months ago

Is there a way for me to only load the dtoverlay=vc4-kms-dsi-7inch if I have probed and found a DSI display? Or conversely, if it is not found, not load the DSI driver? I am trying to make an SD card build that is usable on multiple devices, one of which is a touchscreen interface.

I am guessing, since it is not a hot-pluggable interface that is not really possible, and I will need to find some other workaround for this functionality.

6by9 commented 9 months ago

display_auto_detect=1 https://www.raspberrypi.com/documentation/computers/config_txt.html#display_auto_detect

With this setting enabled (which it is in Raspberry Pi OS), the firmware will automatically load overlays for DSI displays that it recognises. Set display_auto_detect=0 to disable.

The only DSI displays the firmware knows about is the Pi 7" 800x480 panel (or 100% compatible clones).