raspberrypi / rpicam-apps

BSD 2-Clause "Simplified" License
418 stars 227 forks source link

night-mode / long exposures with PiCam V2 #252

Closed MerowingerX closed 2 years ago

MerowingerX commented 2 years ago

Describe the bug The PiCamera supports some more modes, one is called "night mode", this mode is not transferred to the libcamera-apps. Additionally the exposure time limit, if I had read the tech sheets correctly, could be up to 10 seconds for this camera, I could not set this value, it seems that the maximum exposure time is ~1 second. Framerate was set to 0, so the limits were 100, 1000000000.

Bug report

libcamera-apps Bug Report

Date: 15-02-2022 (14:10:06) Command: /usr/bin/camera-bug-report -t 15 -o bug.txt -c ./libcamera-still --exposure long --width 2592 --height 1944 --denoise off --framerate 0 --gain=5 --shutter 10000000 -o test.jpg


Hardware information

hostname indigosky

cat /proc/cpuinfo processor : 0 BogoMIPS : 108.00 Features : fp asimd evtstrm crc32 cpuid CPU implementer : 0x41 CPU architecture: 8 CPU variant : 0x0 CPU part : 0xd08 CPU revision : 3

processor : 1 BogoMIPS : 108.00 Features : fp asimd evtstrm crc32 cpuid CPU implementer : 0x41 CPU architecture: 8 CPU variant : 0x0 CPU part : 0xd08 CPU revision : 3

processor : 2 BogoMIPS : 108.00 Features : fp asimd evtstrm crc32 cpuid CPU implementer : 0x41 CPU architecture: 8 CPU variant : 0x0 CPU part : 0xd08 CPU revision : 3

processor : 3 BogoMIPS : 108.00 Features : fp asimd evtstrm crc32 cpuid CPU implementer : 0x41 CPU architecture: 8 CPU variant : 0x0 CPU part : 0xd08 CPU revision : 3

Hardware : BCM2835 Revision : c03114 Serial : 1000000081a3e95d Model : Raspberry Pi 4 Model B Rev 1.4


Configuration

cat /boot/cmdline.txt console=serial0,115200 console=tty1 root=PARTUUID=9804cbfd-02 rootfstype=ext4 fsck.repair=yes rootwait

cat /boot/config.txt

For more options and information see

http://rpf.io/configtxt

Some settings may impact device functionality. See link above for details

uncomment if you get no picture on HDMI for a default "safe" mode

hdmi_safe=1

uncomment the following to adjust overscan. Use positive numbers if console

goes off screen, and negative if there is too much border

overscan_left=16

overscan_right=16

overscan_top=16

overscan_bottom=16

uncomment to force a console size. By default it will be display's size minus

overscan.

framebuffer_width=1280

framebuffer_height=720

uncomment if hdmi display is not detected and composite is being output

hdmi_force_hotplug=1

uncomment to force a specific HDMI mode (this will force VGA)

hdmi_group=1

hdmi_mode=1

uncomment to force a HDMI mode rather than DVI. This can make audio work in

DMT (computer monitor) modes

hdmi_drive=2

uncomment to increase signal to HDMI, if you have interference, blanking, or

no display

config_hdmi_boost=4

uncomment for composite PAL

sdtv_mode=2

uncomment to overclock the arm. 700 MHz is the default.

arm_freq=800

Uncomment some or all of these to enable the optional hardware interfaces

dtparam=i2c_arm=on

dtparam=i2s=on

dtparam=spi=on

Uncomment this to enable infrared communication.

dtoverlay=gpio-ir,gpio_pin=17

dtoverlay=gpio-ir-tx,gpio_pin=18

Additional overlays and parameters are documented /boot/overlays/README

Enable audio (loads snd_bcm2835)

dtparam=audio=on

Automatically load overlays for detected cameras

camera_auto_detect=1

Automatically load overlays for detected DSI displays

display_auto_detect=1

Enable DRM VC4 V3D driver

max_framebuffers=2

Run in 64-bit mode

arm_64bit=1

Disable compensation for displays with overscan

disable_overscan=1

[cm4]

Enable host mode on the 2711 built-in XHCI USB controller.

This line should be removed if the legacy DWC2 controller is required

(e.g. for USB device mode) or if USB support is not required.

otg_mode=1

[all]

Enable PWM for the RPi GPIO driver

dtoverlay=pwm-2chan

Enable poweroff from GPIO pins

dtoverlay=gpio-shutdown,gpio_pin=7,active_low=1,gpio_pull=up dtoverlay=gpio-poweroff,gpiopin=8,active_low=1 dtoverlay=vc4-kms-v3d

[pi4]

Run as fast as firmware / board allows

arm_boost=1 gpu_mem=256


Logs

dmesg [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083] [ 0.000000] Linux version 5.10.92-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) #1514 SMP PREEMPT Mon Jan 17 17:39:38 GMT 2022 [ 0.000000] random: fast init done [ 0.000000] Machine model: Raspberry Pi 4 Model B Rev 1.4 [ 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-0x000000002fefffff] [ 0.000000] node 0: [mem 0x0000000040000000-0x00000000fbffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000000fbffffff] [ 0.000000] On node 0 totalpages: 966400 [ 0.000000] DMA zone: 3068 pages used for memmap [ 0.000000] DMA zone: 0 pages reserved [ 0.000000] DMA zone: 196352 pages, LIFO batch:63 [ 0.000000] DMA32 zone: 12032 pages used for memmap [ 0.000000] DMA32 zone: 770048 pages, LIFO batch:63 [ 0.000000] On node 0, zone DMA32: 256 pages in unavailable ranges [ 0.000000] percpu: Embedded 32 pages/cpu s91416 r8192 d31464 u131072 [ 0.000000] pcpu-alloc: s91416 r8192 d31464 u131072 alloc=32*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-v4 [ 0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 951300 [ 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=E4:5F:01:1D:0D:B2 vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000 console=ttyS0,115200 console=tty1 root=PARTUUID=9804cbfd-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 0x0000000016c00000-0x000000001ac00000] (64MB) [ 0.000000] Memory: 3369712K/3865600K available (11136K kernel code, 1950K rwdata, 3988K rodata, 3712K init, 1253K bss, 168208K reserved, 327680K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] ftrace: allocating 36801 entries in 144 pages [ 0.000000] ftrace: allocated 144 pages with 2 groups [ 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] GIC: Using split EOI/Deactivate mode [ 0.000000] irq_brcmstb_l2: registered L2 intc (/soc/interrupt-controller@7ef00100, parent irq: 10) [ 0.000000] random: get_random_bytes called from start_kernel+0x3b0/0x570 with crng_init=1 [ 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.000006] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns [ 0.000266] Console: colour dummy device 80x25 [ 0.000816] printk: console [tty1] enabled [ 0.000875] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=216000) [ 0.000917] pid_max: default: 32768 minimum: 301 [ 0.001077] LSM: Security Framework initializing [ 0.001310] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.001391] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.002687] cgroup: Disabling memory control group subsystem [ 0.005068] rcu: Hierarchical SRCU implementation. [ 0.006143] EFI services will not be available. [ 0.006668] smp: Bringing up secondary CPUs ... [ 0.007662] Detected PIPT I-cache on CPU1 [ 0.007737] CPU1: Booted secondary processor 0x0000000001 [0x410fd083] [ 0.008857] Detected PIPT I-cache on CPU2 [ 0.008906] CPU2: Booted secondary processor 0x0000000002 [0x410fd083] [ 0.009986] Detected PIPT I-cache on CPU3 [ 0.010034] CPU3: Booted secondary processor 0x0000000003 [0x410fd083] [ 0.010182] smp: Brought up 1 node, 4 CPUs [ 0.010269] SMP: Total of 4 processors activated. [ 0.010293] CPU features: detected: 32-bit EL0 Support [ 0.010316] CPU features: detected: CRC32 instructions [ 0.010339] CPU features: detected: 32-bit EL1 Support [ 0.044042] CPU: All CPU(s) started at EL2 [ 0.044124] alternatives: patching kernel code [ 0.045693] devtmpfs: initialized [ 0.056995] Enabled cp15_barrier support [ 0.057060] Enabled setend support [ 0.057283] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.057328] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.066030] pinctrl core: initialized pinctrl subsystem [ 0.066818] DMI not present or invalid. [ 0.067196] NET: Registered protocol family 16 [ 0.070295] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations [ 0.070578] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.071511] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.071623] audit: initializing netlink subsys (disabled) [ 0.071993] audit: type=2000 audit(0.068:1): state=initialized audit_enabled=0 res=1 [ 0.072521] thermal_sys: Registered thermal governor 'step_wise' [ 0.072975] cpuidle: using governor menu [ 0.073311] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.073496] ASID allocator initialised with 65536 entries [ 0.073642] Serial: AMBA PL011 UART driver [ 0.116550] bcm2835-mbox fe00b880.mailbox: mailbox enabled [ 0.124412] raspberrypi-firmware soc:firmware: Attached to firmware from 2022-01-20T13:56:48, variant start [ 0.128423] raspberrypi-firmware soc:firmware: Firmware hash is bd88f66f8952d34e4e0613a85c7a6d3da49e13e2 [ 0.163242] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1 [ 0.167969] vgaarb: loaded [ 0.168454] SCSI subsystem initialized [ 0.168816] usbcore: registered new interface driver usbfs [ 0.168885] usbcore: registered new interface driver hub [ 0.168972] usbcore: registered new device driver usb [ 0.169366] usb_phy_generic phy: supply vcc not found, using dummy regulator [ 0.171136] clocksource: Switched to clocksource arch_sys_counter [ 1.204323] VFS: Disk quotas dquot_6.6.0 [ 1.204442] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 1.204618] FS-Cache: Loaded [ 1.204872] CacheFiles: Loaded [ 1.215837] NET: Registered protocol family 2 [ 1.216377] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear) [ 1.219914] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear) [ 1.219991] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 1.220233] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear) [ 1.220745] TCP: Hash tables configured (established 32768 bind 32768) [ 1.221004] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear) [ 1.221090] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear) [ 1.221382] NET: Registered protocol family 1 [ 1.222326] RPC: Registered named UNIX socket transport module. [ 1.222354] RPC: Registered udp transport module. [ 1.222374] RPC: Registered tcp transport module. [ 1.222393] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 1.222425] PCI: CLS 0 bytes, default 64 [ 1.224878] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available [ 1.225195] kvm [1]: IPA Size Limit: 44 bits [ 1.226380] kvm [1]: vgic interrupt IRQ9 [ 1.226675] kvm [1]: Hyp mode initialized successfully [ 1.229179] Initialise system trusted keyrings [ 1.229559] workingset: timestamp_bits=46 max_order=20 bucket_order=0 [ 1.235868] zbud: loaded [ 1.237636] FS-Cache: Netfs 'nfs' registered for caching [ 1.238313] NFS: Registering the id_resolver key type [ 1.238384] Key type id_resolver registered [ 1.238405] Key type id_legacy registered [ 1.238529] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 1.238555] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 1.239741] Key type asymmetric registered [ 1.239768] Asymmetric key parser 'x509' registered [ 1.239826] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249) [ 1.240087] io scheduler mq-deadline registered [ 1.240112] io scheduler kyber registered [ 1.244641] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges: [ 1.244688] brcm-pcie fd500000.pcie: No bus range found for /scb/pcie@7d500000, using [bus 00-ff] [ 1.244772] brcm-pcie fd500000.pcie: MEM 0x0600000000..0x063fffffff -> 0x00c0000000 [ 1.244863] brcm-pcie fd500000.pcie: IB MEM 0x0000000000..0x00bfffffff -> 0x0400000000 [ 1.309233] brcm-pcie fd500000.pcie: link up, 5.0 GT/s PCIe x1 (SSC) [ 1.309624] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00 [ 1.309655] pci_bus 0000:00: root bus resource [bus 00-ff] [ 1.309683] pci_bus 0000:00: root bus resource [mem 0x600000000-0x63fffffff] (bus address [0xc0000000-0xffffffff]) [ 1.309792] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400 [ 1.310038] pci 0000:00:00.0: PME# supported from D0 D3hot [ 1.314116] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330 [ 1.314193] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit] [ 1.314442] pci 0000:01:00.0: PME# supported from D0 D3hot [ 1.318212] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff] [ 1.318248] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit] [ 1.318299] pci 0000:00:00.0: PCI bridge to [bus 01] [ 1.318329] pci 0000:00:00.0: bridge window [mem 0x600000000-0x6000fffff] [ 1.327917] iproc-rng200 fe104000.rng: hwrng registered [ 1.328357] vc-mem: phys_addr:0x00000000 mem_base=0x3eb00000 mem_size:0x3ff00000(1023 MiB) [ 1.329756] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000 [ 1.330171] cacheinfo: Unable to detect cache hierarchy for CPU 0 [ 1.341738] brd: module loaded [ 1.353969] loop: module loaded [ 1.355976] Loading iSCSI transport class v2.0-870. [ 1.359095] libphy: Fixed MDIO Bus: probed [ 1.360873] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000 [ 1.371182] libphy: bcmgenet MII bus: probed [ 1.419278] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus [ 1.420403] usbcore: registered new interface driver r8152 [ 1.420482] usbcore: registered new interface driver lan78xx [ 1.420550] usbcore: registered new interface driver smsc95xx [ 1.468031] pci 0000:00:00.0: enabling device (0000 -> 0002) [ 1.468237] xhci_hcd 0000:01:00.0: xHCI Host Controller [ 1.468281] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1 [ 1.469031] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x00000e0000000890 [ 1.470322] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10 [ 1.470355] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.470382] usb usb1: Product: xHCI Host Controller [ 1.470404] usb usb1: Manufacturer: Linux 5.10.92-v8+ xhci-hcd [ 1.470426] usb usb1: SerialNumber: 0000:01:00.0 [ 1.471184] hub 1-0:1.0: USB hub found [ 1.471293] hub 1-0:1.0: 1 port detected [ 1.471931] xhci_hcd 0000:01:00.0: xHCI Host Controller [ 1.471966] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2 [ 1.472002] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed [ 1.472421] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10 [ 1.472451] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.472476] usb usb2: Product: xHCI Host Controller [ 1.472498] usb usb2: Manufacturer: Linux 5.10.92-v8+ xhci-hcd [ 1.472519] usb usb2: SerialNumber: 0000:01:00.0 [ 1.473164] hub 2-0:1.0: USB hub found [ 1.473241] hub 2-0:1.0: 4 ports detected [ 1.474856] dwc_otg: version 3.00a 10-AUG-2012 (platform bus) [ 1.475249] dwc_otg: FIQ enabled [ 1.475260] dwc_otg: NAK holdoff enabled [ 1.475270] dwc_otg: FIQ split-transaction FSM enabled [ 1.475284] Module dwc_common_port init [ 1.475836] usbcore: registered new interface driver uas [ 1.475953] usbcore: registered new interface driver usb-storage [ 1.476195] mousedev: PS/2 mouse device common for all mice [ 1.478565] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer [ 1.482337] sdhci: Secure Digital Host Controller Interface driver [ 1.482366] sdhci: Copyright(c) Pierre Ossman [ 1.483090] mmc-bcm2835 fe300000.mmcnr: could not get clk, deferring probe [ 1.483735] sdhci-pltfm: SDHCI platform and OF driver helper [ 1.487029] ledtrig-cpu: registered to indicate activity on CPUs [ 1.487404] hid: raw HID events driver (C) Jiri Kosina [ 1.487622] usbcore: registered new interface driver usbhid [ 1.487646] usbhid: USB HID core driver [ 1.487992] ashmem: initialized [ 1.496221] Initializing XFRM netlink socket [ 1.496290] NET: Registered protocol family 17 [ 1.496415] Key type dns_resolver registered [ 1.497335] registered taskstats version 1 [ 1.497378] Loading compiled-in X.509 certificates [ 1.497858] Key type ._fscrypt registered [ 1.497882] Key type .fscrypt registered [ 1.497902] Key type fscrypt-provisioning registered [ 1.509753] uart-pl011 fe201000.serial: there is not valid maps for state default [ 1.510065] uart-pl011 fe201000.serial: cts_event_workaround enabled [ 1.510185] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 23, base_baud = 0) is a PL011 rev2 [ 1.518582] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver [ 1.519583] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0 [ 1.519612] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated [ 1.548276] of_cfs_init [ 1.548427] of_cfs_init: OK [ 1.568050] mmc1: queuing unknown CIS tuple 0x80 (2 bytes) [ 1.569744] mmc1: queuing unknown CIS tuple 0x80 (3 bytes) [ 1.571427] mmc1: queuing unknown CIS tuple 0x80 (3 bytes) [ 1.574391] mmc1: queuing unknown CIS tuple 0x80 (7 bytes) [ 1.576549] mmc1: queuing unknown CIS tuple 0x80 (3 bytes) [ 1.584003] mmc0: SDHCI controller on fe340000.mmc [fe340000.mmc] using ADMA [ 1.584715] Waiting for root device PARTUUID=9804cbfd-02... [ 1.642711] mmc1: new high speed SDIO card at address 0001 [ 1.727171] usb 1-1: new high-speed USB device number 2 using xhci_hcd [ 1.877787] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21 [ 1.877819] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 1.877844] usb 1-1: Product: USB2.0 Hub [ 1.879445] hub 1-1:1.0: USB hub found [ 1.879752] hub 1-1:1.0: 4 ports detected [ 2.175230] usb 1-1.3: new high-speed USB device number 3 using xhci_hcd [ 2.290253] usb 1-1.3: New USB device found, idVendor=0bda, idProduct=5411, bcdDevice= 0.05 [ 2.290286] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 2.290312] usb 1-1.3: Product: 4-Port USB 2.0 Hub [ 2.290334] usb 1-1.3: Manufacturer: Generic [ 2.292388] hub 1-1.3:1.0: USB hub found [ 2.294336] hub 1-1.3:1.0: 4 ports detected [ 2.375161] usb 1-1.4: new high-speed USB device number 4 using xhci_hcd [ 2.525481] usb 1-1.4: New USB device found, idVendor=174c, idProduct=55aa, bcdDevice= 1.00 [ 2.525513] usb 1-1.4: New USB device strings: Mfr=2, Product=3, SerialNumber=1 [ 2.525538] usb 1-1.4: Product: Ugreen Storage Device [ 2.525560] usb 1-1.4: Manufacturer: Ugreen [ 2.525581] usb 1-1.4: SerialNumber: 022010136D81 [ 2.531825] scsi host0: uas [ 2.533602] scsi 0:0:0:0: Direct-Access Intenso SSD 0 PQ: 0 ANSI: 6 [ 2.537349] sd 0:0:0:0: [sda] 234441648 512-byte logical blocks: (120 GB/112 GiB) [ 2.537384] sd 0:0:0:0: [sda] 4096-byte physical blocks [ 2.537837] sd 0:0:0:0: [sda] Write Protect is off [ 2.537867] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00 [ 2.538587] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 2.539107] sd 0:0:0:0: [sda] Optimal transfer size 33553920 bytes not a multiple of physical block size (4096 bytes) [ 2.544004] sda: sda1 sda2 [ 2.548607] sd 0:0:0:0: [sda] Attached SCSI disk [ 2.572066] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null) [ 2.572179] VFS: Mounted root (ext4 filesystem) readonly on device 8:2. [ 2.578051] devtmpfs: mounted [ 2.587850] Freeing unused kernel memory: 3712K [ 2.588055] Run /sbin/init as init process [ 2.588077] with arguments: [ 2.588087] /sbin/init [ 2.588097] with environment: [ 2.588106] HOME=/ [ 2.588116] TERM=linux [ 2.603188] usb 1-1.3.1: new full-speed USB device number 5 using xhci_hcd [ 2.711497] usb 1-1.3.1: New USB device found, idVendor=0461, idProduct=0033, bcdDevice= 1.00 [ 2.711548] usb 1-1.3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 2.711575] usb 1-1.3.1: Product: USB_Focus [ 2.711597] usb 1-1.3.1: Manufacturer: USB̔USB_F [ 2.795193] usb 1-1.3.2: new full-speed USB device number 6 using xhci_hcd [ 2.909406] usb 1-1.3.2: New USB device found, idVendor=0403, idProduct=6001, bcdDevice= 6.00 [ 2.909457] usb 1-1.3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 2.909484] usb 1-1.3.2: Product: FT232R USB UART [ 2.909505] usb 1-1.3.2: Manufacturer: FTDI [ 2.909527] usb 1-1.3.2: SerialNumber: 00000000 [ 2.995231] usb 1-1.3.3: new high-speed USB device number 7 using xhci_hcd [ 3.026284] systemd[1]: System time before build time, advancing clock. [ 3.096665] usb 1-1.3.3: New USB device found, idVendor=0bda, idProduct=8179, bcdDevice= 0.00 [ 3.096714] usb 1-1.3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 3.096742] usb 1-1.3.3: Product: 802.11n WLAN NIC [ 3.096764] usb 1-1.3.3: Manufacturer: Realtek [ 3.131523] NET: Registered protocol family 10 [ 3.133267] Segment Routing with IPv6 [ 3.177875] systemd[1]: systemd 247.3-6 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) [ 3.179186] usb 1-1.3.4: new high-speed USB device number 8 using xhci_hcd [ 3.179858] systemd[1]: Detected architecture arm64. [ 3.197380] systemd[1]: Set hostname to . [ 3.280473] usb 1-1.3.4: New USB device found, idVendor=0bda, idProduct=b812, bcdDevice= 2.10 [ 3.280539] usb 1-1.3.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 3.280568] usb 1-1.3.4: Product: 802.11ac NIC [ 3.280591] usb 1-1.3.4: Manufacturer: Realtek [ 3.280612] usb 1-1.3.4: SerialNumber: 123456 [ 3.807549] systemd[1]: /lib/systemd/system/plymouth-start.service:16: Unit configured to use KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please update your service to use a safer KillMode=, such as 'mixed' or 'control-group'. Support for KillMode=none is deprecated and will eventually be removed. [ 3.944289] systemd[1]: Queued start job for default target Graphical Interface. [ 3.945689] random: systemd: uninitialized urandom read (16 bytes read) [ 3.947999] systemd[1]: Created slice system-getty.slice. [ 3.948840] random: systemd: uninitialized urandom read (16 bytes read) [ 3.949860] systemd[1]: Created slice system-modprobe.slice. [ 3.950275] random: systemd: uninitialized urandom read (16 bytes read) [ 3.951301] systemd[1]: Created slice system-systemd\x2dfsck.slice. [ 3.952502] systemd[1]: Created slice User and Session Slice. [ 3.953345] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ 3.954809] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point. [ 3.955740] systemd[1]: Reached target Slices. [ 3.956205] systemd[1]: Reached target Swap. [ 3.972992] systemd[1]: Listening on RPCbind Server Activation Socket. [ 3.974529] systemd[1]: Listening on Syslog Socket. [ 3.975882] systemd[1]: Listening on fsck to fsckd communication Socket. [ 3.976656] systemd[1]: Listening on initctl Compatibility Named Pipe. [ 3.978174] systemd[1]: Listening on Journal Audit Socket. [ 3.979378] systemd[1]: Listening on Journal Socket (/dev/log). [ 3.980729] systemd[1]: Listening on Journal Socket. [ 3.982137] systemd[1]: Listening on Network Service Netlink Socket. [ 3.989095] systemd[1]: Listening on udev Control Socket. [ 3.990264] systemd[1]: Listening on udev Kernel Socket. [ 3.991629] systemd[1]: Condition check resulted in Huge Pages File System being skipped. [ 3.995651] systemd[1]: Mounting POSIX Message Queue File System... [ 4.000314] systemd[1]: Mounting NFSD configuration filesystem... [ 4.005201] systemd[1]: Mounting RPC Pipe File System... [ 4.010635] systemd[1]: Mounting Kernel Debug File System... [ 4.016183] systemd[1]: Mounting Kernel Trace File System... [ 4.017055] systemd[1]: Condition check resulted in Kernel Module supporting RPCSEC_GSS being skipped. [ 4.025591] systemd[1]: Starting Restore / save the current clock... [ 4.030868] systemd[1]: Starting Set the console keyboard layout... [ 4.036879] systemd[1]: Starting Create list of static device nodes for the current kernel... [ 4.043649] systemd[1]: Starting Load Kernel Module configfs... [ 4.049363] systemd[1]: Starting Load Kernel Module drm... [ 4.058577] systemd[1]: Starting Load Kernel Module fuse... [ 4.065002] systemd[1]: Starting nftables... [ 4.099522] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped. [ 4.106190] systemd[1]: Starting File System Check on Root Device... [ 4.116677] systemd[1]: Starting Journal Service... [ 4.140574] fuse: init (API version 7.32) [ 4.141831] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 4.141973] systemd[1]: Starting Load Kernel Modules... [ 4.149089] systemd[1]: Starting Coldplug All udev Devices... [ 4.183532] systemd[1]: Mounted POSIX Message Queue File System. [ 4.184868] systemd[1]: Mounted NFSD configuration filesystem. [ 4.186020] systemd[1]: Mounted RPC Pipe File System. [ 4.187316] systemd[1]: Mounted Kernel Debug File System. [ 4.188440] systemd[1]: Mounted Kernel Trace File System. [ 4.193833] systemd[1]: Finished Restore / save the current clock. [ 4.196782] systemd[1]: Finished Create list of static device nodes for the current kernel. [ 4.199038] systemd[1]: modprobe@configfs.service: Succeeded. [ 4.200430] systemd[1]: Finished Load Kernel Module configfs. [ 4.202606] systemd[1]: modprobe@drm.service: Succeeded. [ 4.203941] systemd[1]: Finished Load Kernel Module drm. [ 4.206270] systemd[1]: modprobe@fuse.service: Succeeded. [ 4.207669] systemd[1]: Finished Load Kernel Module fuse. [ 4.214906] systemd[1]: Mounting FUSE Control File System... [ 4.220522] systemd[1]: Mounting Kernel Configuration File System... [ 4.226187] systemd[1]: Starting pNFS block layout mapping daemon... [ 4.232296] systemd[1]: Started File System Check Daemon to report status. [ 4.240792] systemd[1]: Mounted FUSE Control File System. [ 4.242184] systemd[1]: Mounted Kernel Configuration File System. [ 4.264508] cryptd: max_cpu_qlen set to 1000 [ 4.320091] systemd[1]: Started pNFS block layout mapping daemon. [ 4.353461] systemd[1]: Finished Load Kernel Modules. [ 4.358663] systemd[1]: Starting Apply Kernel Variables... [ 4.445520] systemd[1]: Finished Apply Kernel Variables. [ 4.534875] systemd[1]: Finished File System Check on Root Device. [ 4.539739] systemd[1]: Starting Remount Root and Kernel File Systems... [ 4.586223] systemd[1]: Started Journal Service. [ 4.696875] EXT4-fs (sda2): re-mounted. Opts: (null) [ 4.747696] systemd-journald[140]: Received client request to flush runtime journal. [ 4.758408] systemd-journald[140]: File /var/log/journal/4913c7e07488437183f9b2789787ac80/system.journal corrupted or uncleanly shut down, renaming and replacing. [ 5.829460] rpivid-mem feb00000.hevc-decoder: rpivid-hevcmem initialised: Registers at 0xfeb00000 length 0x00010000 [ 5.830109] rpivid-mem feb10000.rpivid-local-intc: rpivid-intcmem initialised: Registers at 0xfeb10000 length 0x00001000 [ 5.830659] rpivid-mem feb20000.h264-decoder: rpivid-h264mem initialised: Registers at 0xfeb20000 length 0x00010000 [ 5.831224] rpivid-mem feb30000.vp9-decoder: rpivid-vp9mem initialised: Registers at 0xfeb30000 length 0x00010000 [ 5.889540] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned. [ 5.892592] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned. [ 5.914121] bcm2835_vc_sm_cma_probe: Videocore shared memory driver

[ 5.918403] mc: Linux media interface: v0.10 [ 5.930751] [vc_sm_connected_init]: installed successfully [ 5.932174] bcm2835_audio bcm2835_audio: card created with 8 channels [ 5.965949] videodev: Linux video capture interface: v2.00 [ 6.024214] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned. [ 6.031315] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned. [ 6.047482] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned. [ 6.055391] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned. [ 6.063404] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned. [ 6.081451] brcmstb-i2c fef04500.i2c: @97500hz registered in polling mode [ 6.082526] brcmstb-i2c fef09500.i2c: @97500hz registered in polling mode [ 6.082913] bcm2835-codec bcm2835-codec: Device registered as /dev/video10 [ 6.082955] bcm2835-codec bcm2835-codec: Loaded V4L2 decode [ 6.087781] vc4-drm gpu: bound fe400000.hvs (ops vc4_hvs_ops [vc4]) [ 6.090368] bcm2835-codec bcm2835-codec: Device registered as /dev/video11 [ 6.090416] bcm2835-codec bcm2835-codec: Loaded V4L2 encode [ 6.092379] Registered IR keymap rc-cec [ 6.092606] rc rc0: vc4 as /devices/platform/soc/fef00700.hdmi/rc/rc0 [ 6.092823] input: vc4 as /devices/platform/soc/fef00700.hdmi/rc/rc0/input0 [ 6.093927] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13 [ 6.094844] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14 [ 6.095444] bcm2835-codec bcm2835-codec: Device registered as /dev/video12 [ 6.095487] bcm2835-codec bcm2835-codec: Loaded V4L2 isp [ 6.096247] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15 [ 6.097668] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16 [ 6.097759] bcm2835-isp bcm2835-isp: Register output node 0 with media controller [ 6.097785] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller [ 6.097807] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller [ 6.097837] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller [ 6.098754] bcm2835-codec bcm2835-codec: Device registered as /dev/video18 [ 6.098811] bcm2835-codec bcm2835-codec: Loaded V4L2 image_fx [ 6.102090] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video20 [ 6.102625] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video21 [ 6.103050] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video22 [ 6.103461] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video23 [ 6.103492] bcm2835-isp bcm2835-isp: Register output node 0 with media controller [ 6.103511] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller [ 6.103528] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller [ 6.103551] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller [ 6.103775] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp [ 6.146407] vc4-drm gpu: bound fe400000.hvs (ops vc4_hvs_ops [vc4]) [ 6.164644] i2c i2c-22: Added multiplexed i2c bus 0 [ 6.165461] i2c i2c-22: Added multiplexed i2c bus 10 [ 6.169925] input: soc:shutdown_button@7 as /devices/platform/soc/soc:shutdown_button@7/input/input1 [ 6.179036] Registered IR keymap rc-cec [ 6.179388] rc rc0: vc4 as /devices/platform/soc/fef00700.hdmi/rc/rc0 [ 6.179775] input: vc4 as /devices/platform/soc/fef00700.hdmi/rc/rc0/input2 [ 6.266310] cdc_acm 1-1.3.1:1.0: ttyACM0: USB ACM device [ 6.267209] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 6.267766] usbcore: registered new interface driver cdc_acm [ 6.267783] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters [ 6.277205] usbcore: registered new interface driver usbserial_generic [ 6.277292] usbserial: USB Serial support registered for generic [ 6.289496] usbcore: registered new interface driver ftdi_sio [ 6.289585] usbserial: USB Serial support registered for FTDI USB Serial Device [ 6.289918] ftdi_sio 1-1.3.2:1.0: FTDI USB Serial Device converter detected [ 6.290091] usb 1-1.3.2: Detected FT232RL [ 6.307189] usb 1-1.3.2: FTDI USB Serial Device converter now attached to ttyUSB0 [ 6.332620] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 6.338633] vc4-drm gpu: bound fe400000.hvs (ops vc4_hvs_ops [vc4]) [ 6.345222] cfg80211: loaded regulatory.db is malformed or signature is missing/invalid [ 6.347616] lib80211: common routines for IEEE802.11 drivers [ 6.347641] lib80211_crypt: registered algorithm 'NULL' [ 6.351350] Registered IR keymap rc-cec [ 6.351576] rc rc0: vc4 as /devices/platform/soc/fef00700.hdmi/rc/rc0 [ 6.351789] input: vc4 as /devices/platform/soc/fef00700.hdmi/rc/rc0/input3 [ 6.398234] brcmfmac: F1 signature read @0x18000000=0x15264345 [ 6.409724] r8188eu: module is from the staging directory, the quality is unknown, you have been warned. [ 6.416816] [drm] Initialized v3d 1.0.0 20180419 for fec00000.v3d on minor 1 [ 6.421639] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6 [ 6.423053] usbcore: registered new interface driver brcmfmac [ 6.454664] vc4-drm gpu: bound fe400000.hvs (ops vc4_hvs_ops [vc4]) [ 6.461626] Chip Version Info: CHIP_8188E_Normal_Chip_TSMC_D_CUT_1T1R_RomVer(0) [ 6.461638] Registered IR keymap rc-cec [ 6.461837] rc rc0: vc4 as /devices/platform/soc/fef00700.hdmi/rc/rc0 [ 6.462044] input: vc4 as /devices/platform/soc/fef00700.hdmi/rc/rc0/input4 [ 6.508864] usbcore: registered new interface driver r8188eu [ 6.530621] vc4-drm gpu: bound fe400000.hvs (ops vc4_hvs_ops [vc4]) [ 6.532547] Registered IR keymap rc-cec [ 6.532765] rc rc0: vc4 as /devices/platform/soc/fef00700.hdmi/rc/rc0 [ 6.532986] input: vc4 as /devices/platform/soc/fef00700.hdmi/rc/rc0/input5 [ 6.547359] sd 0:0:0:0: Attached scsi generic sg0 type 0 [ 6.615863] 88x2bu: loading out-of-tree module taints kernel. [ 6.657665] random: crng init done [ 6.657685] random: 7 urandom warning(s) missed due to ratelimiting [ 6.730210] 88x2bu: unknown parameter 'rtw_sel_p2p_iface' ignored [ 6.826868] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6 [ 6.827916] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6 [ 6.833534] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Nov 1 2021 00:37:25 version 7.45.241 (1a2f2fa CY) FWID 01-703fd60 [ 7.076959] vc4-drm gpu: bound fe400000.hvs (ops vc4_hvs_ops [vc4]) [ 7.097577] Registered IR keymap rc-cec [ 7.097801] rc rc0: vc4 as /devices/platform/soc/fef00700.hdmi/rc/rc0 [ 7.098020] input: vc4 as /devices/platform/soc/fef00700.hdmi/rc/rc0/input6 [ 7.102652] vc4-drm gpu: bound fef00700.hdmi (ops vc4_hdmi_ops [vc4]) [ 7.105697] Registered IR keymap rc-cec [ 7.105938] rc rc1: vc4 as /devices/platform/soc/fef05700.hdmi/rc/rc1 [ 7.106167] input: vc4 as /devices/platform/soc/fef05700.hdmi/rc/rc1/input7 [ 7.110459] vc4-drm gpu: bound fef05700.hdmi (ops vc4_hdmi_ops [vc4]) [ 7.110862] vc4-drm gpu: bound fe004000.txp (ops vc4_txp_ops [vc4]) [ 7.111142] vc4-drm gpu: bound fe206000.pixelvalve (ops vc4_crtc_ops [vc4]) [ 7.111488] vc4-drm gpu: bound fe207000.pixelvalve (ops vc4_crtc_ops [vc4]) [ 7.111746] vc4-drm gpu: bound fe20a000.pixelvalve (ops vc4_crtc_ops [vc4]) [ 7.111954] vc4-drm gpu: bound fe216000.pixelvalve (ops vc4_crtc_ops [vc4]) [ 7.112209] vc4-drm gpu: bound fec12000.pixelvalve (ops vc4_crtc_ops [vc4]) [ 7.115937] [drm] Initialized vc4 0.0.0 20140616 for gpu on minor 0 [ 7.116173] vc4-drm gpu: [drm] Cannot find any crtc or sizes [ 7.668630] ov5647 10-0036: Consider updating driver ov5647 to match on endpoints [ 8.010888] usbcore: registered new interface driver rtl88x2bu [ 8.639660] 8021q: 802.1Q VLAN Support v1.8 [ 8.855360] Adding 2097148k swap on /var/swap. Priority:-2 extents:9 across:3137532k SSFS [ 9.273294] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled [ 10.271789] NFSD: Using UMH upcall client tracking operations. [ 10.271820] NFSD: starting 90-second grace period (net f0000089) [ 11.679460] IPv6: ADDRCONF(NETDEV_CHANGE): wlan2: link becomes ready [ 11.759549] bcmgenet fd580000.ethernet: configuring instance for external RGMII (RX delay) [ 11.759785] bcmgenet fd580000.ethernet eth0: Link is Down [ 12.427532] MAC Address = 00:13:ef:f3:17:f2 [ 13.206168] uart-pl011 fe201000.serial: no DMA platform data [ 14.815340] bcmgenet fd580000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx [ 14.815375] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 16.205076] ICMPv6: process `dhcpcd' is using deprecated sysctl (syscall) net.ipv6.neigh.eth0.retrans_time - use net.ipv6.neigh.eth0.retrans_time_ms instead [ 18.301179] hdmi-audio-codec hdmi-audio-codec.5.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19 [ 18.301880] hdmi-audio-codec hdmi-audio-codec.5.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19 [ 18.302326] hdmi-audio-codec hdmi-audio-codec.5.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19 [ 18.308671] hdmi-audio-codec hdmi-audio-codec.5.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19 [ 18.308926] hdmi-audio-codec hdmi-audio-codec.5.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19 [ 18.309146] hdmi-audio-codec hdmi-audio-codec.5.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19 [ 18.556335] hdmi-audio-codec hdmi-audio-codec.6.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19 [ 18.557195] hdmi-audio-codec hdmi-audio-codec.6.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19 [ 18.557852] hdmi-audio-codec hdmi-audio-codec.6.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19 [ 18.564206] hdmi-audio-codec hdmi-audio-codec.6.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19 [ 18.564521] hdmi-audio-codec hdmi-audio-codec.6.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19 [ 18.564809] hdmi-audio-codec hdmi-audio-codec.6.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19 [ 29.931764] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready [ 31.711651] vcc-sd: disabling

sudo vcdbg log msg sudo: vcdbg: Befehl nicht gefunden

sudo vcdbg log assert sudo: vcdbg: Befehl nicht gefunden

sudo vcdbg log ex sudo: vcdbg: Befehl nicht gefunden


Memory

cat /proc/meminfo MemTotal: 3701104 kB MemFree: 2649608 kB MemAvailable: 3178504 kB Buffers: 30908 kB Cached: 561504 kB SwapCached: 0 kB Active: 344124 kB Inactive: 570256 kB Active(anon): 968 kB Inactive(anon): 343296 kB Active(file): 343156 kB Inactive(file): 226960 kB Unevictable: 13480 kB Mlocked: 16 kB SwapTotal: 2097148 kB SwapFree: 2097148 kB Dirty: 32 kB Writeback: 0 kB AnonPages: 335476 kB Mapped: 151600 kB Shmem: 22288 kB KReclaimable: 31064 kB Slab: 64944 kB SReclaimable: 31064 kB SUnreclaim: 33880 kB KernelStack: 5264 kB PageTables: 8112 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 3947700 kB Committed_AS: 1785140 kB VmallocTotal: 262930368 kB VmallocUsed: 17600 kB VmallocChunk: 0 kB Percpu: 768 kB CmaTotal: 327680 kB CmaFree: 312124 kB

sudo cat /sys/kernel/debug/dma_buf/bufinfo

Dma-buf Objects: size flags mode count exp_name ino
00032768 00000002 00080007 00000001 heap_helpers 00024288 ls_grid Attached Devices: Total 0 devices attached

03145728 00000000 00080005 00000005 drm 00016562
Exclusive fence: drm_sched v3d_render signalled Attached Devices: fec00000.v3d Total 1 devices attached

Total 2 objects, 3178496 bytes

sudo cat /sys/kernel/debug/vcsm-cma/state

VC-ServiceHandle 00000000392f5726

Resources

Resource 00000000214cd5ca NAME sm-host-resource SIZE 32768 DMABUF 00000000b02eab79 ATTACH 0000000000000000 SGT 0000000000000000 DMA_ADDR 0x00000000db0e8000 VC_HANDLE c000000d VC_MAPPING 2

Total resource count: 1


Media Devices

media-ctl -d 0 -p /bin/sh: 1: media-ctl: not found

media-ctl -d 1 -p /bin/sh: 1: media-ctl: not found

media-ctl -d 2 -p /bin/sh: 1: media-ctl: not found

media-ctl -d 3 -p /bin/sh: 1: media-ctl: not found

media-ctl -d 4 -p /bin/sh: 1: media-ctl: not found


Cameras

./libcamera-still --list-cameras [0:31:46.421353817] [4159] INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3406-e96d0201 [0:31:46.434319175] [4160] ERROR CameraSensor camera_sensor.cpp:551 'ov5647 10-0036': Camera sensor does not support test pattern modes. [0:31:46.451708101] [4160] INFO RPI raspberrypi.cpp:1326 Registered camera /base/soc/i2c0mux/i2c@1/ov5647@36 to Unicam device /dev/media3 and ISP device /dev/media0 Available cameras

0 : ov5647 [2592x1944] (/base/soc/i2c0mux/i2c@1/ov5647@36) Modes: 'SGBRG10_CSI2P' : 640x480 1296x972 1920x1080 2592x1944 'SGBRG8' : 640x480


Versions

uname -a Linux indigosky 5.10.92-v8+ #1514 SMP PREEMPT Mon Jan 17 17:39:38 GMT 2022 aarch64 GNU/Linux

cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" NAME="Debian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/"

vcgencmd version Jan 20 2022 13:56:48 Copyright (c) 2012 Broadcom version bd88f66f8952d34e4e0613a85c7a6d3da49e13e2 (clean) (release) (start)

./libcamera-still --version libcamera-apps build: libcamera build: v0.0.0+3406-e96d0201


./libcamera-still --exposure long --width 2592 --height 1944 --denoise off --framerate 0 --gain=5 --shutter 10000000 -o test.jpg

Preview window unavailable [0:31:39.291766299] [4119] INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3406-e96d0201 [0:31:39.305200818] [4120] ERROR CameraSensor camera_sensor.cpp:551 'ov5647 10-0036': Camera sensor does not support test pattern modes. [0:31:39.323687363] [4120] INFO RPI raspberrypi.cpp:1326 Registered camera /base/soc/i2c0mux/i2c@1/ov5647@36 to Unicam device /dev/media3 and ISP device /dev/media0 [0:31:39.324570447] [4119] INFO Camera camera.cpp:1028 configuring streams: (0) 1296x972-YUV420 [0:31:39.326983628] [4120] INFO RPI raspberrypi.cpp:747 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 1296x972-SGBRG10_1X10 - Selected unicam format: 1296x972-pGAA [0:31:39.343799596] [4125] INFO IPARPI raspberrypi.cpp:626 Request ctrl: Saturation = 1.000000 [0:31:39.343876743] [4125] INFO IPARPI raspberrypi.cpp:626 Request ctrl: Contrast = 1.000000 [0:31:39.343896428] [4125] INFO IPARPI raspberrypi.cpp:626 Request ctrl: Brightness = 0.000000 [0:31:39.343914410] [4125] INFO IPARPI raspberrypi.cpp:626 Request ctrl: AwbMode = 0 [0:31:39.343931391] [4125] INFO IPARPI raspberrypi.cpp:626 Request ctrl: Sharpness = 1.000000 [0:31:39.343948391] [4125] INFO IPARPI raspberrypi.cpp:626 Request ctrl: ExposureValue = 0.000000 [0:31:39.343982039] [4125] INFO IPARPI raspberrypi.cpp:626 Request ctrl: AeExposureMode = 2 [0:31:39.343998316] [4125] INFO IPARPI raspberrypi.cpp:626 Request ctrl: AnalogueGain = 5.000000 [0:31:39.344046316] [4125] INFO IPARPI raspberrypi.cpp:626 Request ctrl: ExposureTime = 10000000 [0:31:39.344063260] [4125] INFO IPARPI raspberrypi.cpp:626 Request ctrl: AeMeteringMode = 0 [0:31:39.344077723] [4125] INFO IPARPI raspberrypi.cpp:626 Request ctrl: NoiseReductionMode = 0 [0:31:44.809869648] [4119] INFO Camera camera.cpp:1028 configuring streams: (0) 2592x1944-YUV420 (1) 2592x1944-SGBRG10_CSI2P [0:31:44.812307347] [4120] INFO RPI raspberrypi.cpp:747 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 2592x1944-SGBRG10_1X10 - Selected unicam format: 2592x1944-pGAA [0:31:44.850868033] [4128] INFO IPARPI raspberrypi.cpp:626 Request ctrl: Saturation = 1.000000 [0:31:44.850955032] [4128] INFO IPARPI raspberrypi.cpp:626 Request ctrl: Contrast = 1.000000 [0:31:44.850974977] [4128] INFO IPARPI raspberrypi.cpp:626 Request ctrl: Brightness = 0.000000 [0:31:44.850992402] [4128] INFO IPARPI raspberrypi.cpp:626 Request ctrl: AwbMode = 0 [0:31:44.851009161] [4128] INFO IPARPI raspberrypi.cpp:626 Request ctrl: Sharpness = 1.000000 [0:31:44.851080809] [4128] INFO IPARPI raspberrypi.cpp:626 Request ctrl: ExposureValue = 0.000000 [0:31:44.851115308] [4128] INFO IPARPI raspberrypi.cpp:626 Request ctrl: AeExposureMode = 2 [0:31:44.851145697] [4128] INFO IPARPI raspberrypi.cpp:626 Request ctrl: AnalogueGain = 5.000000 [0:31:44.851179530] [4128] INFO IPARPI raspberrypi.cpp:626 Request ctrl: ExposureTime = 10000000 [0:31:44.851224493] [4128] INFO IPARPI raspberrypi.cpp:626 Request ctrl: FrameDurationLimits = [ 100, 1000000000 ] [0:31:44.851247918] [4128] INFO IPARPI raspberrypi.cpp:626 Request ctrl: AeMeteringMode = 0 [0:31:44.851262992] [4128] INFO IPARPI raspberrypi.cpp:626 Request ctrl: NoiseReductionMode = 0 Still capture image received

naushir commented 2 years ago

There is a "long" exposure mode that should be equivalent to the old night mode - see https://github.com/raspberrypi/libcamera-apps/pull/222.

The ~1s max exposure limit is dictated by the sensor driver, not libcamera. If I recall correctly, there were some timing hacks put in place in the ov5647 driver to achieve larger exposure times. I suspect this is not available in the open source kernel drivers.

naushir commented 2 years ago

@callahan69 , if there are no further updates on this issue, feel free to close it down.

MerowingerX commented 2 years ago

No error