Quantcast
Channel: Active questions tagged 22.04 - Ask Ubuntu
Viewing all articles
Browse latest Browse all 4806

How to get picam V2.1 working with libcamera in Ubuntu 22.04 on rpi4b (2Gb)

$
0
0

(This replaces my previous question, which was based on outdated information)

I installed Ubuntu 22.04, 64 bit on rpi4b(2Gb) from binary image on Raspberry Pi site.

dmesg shows the IMX219 camera appears to be detected:

[    1.949393] usb usb3: Product: DWC OTG Controller[    1.949398] usb usb3: Manufacturer: Linux 5.15.0-1046-raspi dwc2_hsotg[    1.949402] usb usb3: SerialNumber: fe980000.usb[    1.949964] hub 3-0:1.0: USB hub found[    1.950008] hub 3-0:1.0: 1 port detected[    2.024916] usb 1-1: new high-speed USB device number 2 using xhci_hcd[    2.175393] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21[    2.175421] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0[    2.175434] usb 1-1: Product: USB2.0 Hub[    2.177432] hub 1-1:1.0: USB hub found[    2.177716] hub 1-1:1.0: 4 ports detected[    2.312778] raid6: neonx8   gen()  4517 MB/s[    2.380785] raid6: neonx8   xor()  3140 MB/s[    2.448781] raid6: neonx4   gen()  4698 MB/s[    2.476790] usb 1-1.1: new full-speed USB device number 3 using xhci_hcd[    2.516776] raid6: neonx4   xor()  3433 MB/s[    2.583879] usb 1-1.1: New USB device found, idVendor=2886, idProduct=0018, bcdDevice= 3.00[    2.583887] usb 1-1.1: New USB device strings: Mfr=1, Product=3, SerialNumber=0[    2.583893] usb 1-1.1: Product: ReSpeaker 4 Mic Array (UAC1.0)[    2.583898] usb 1-1.1: Manufacturer: SEEED[    2.584792] raid6: neonx2   gen()  4130 MB/s[    2.652788] raid6: neonx2   xor()  3105 MB/s[    2.720781] raid6: neonx1   gen()  3223 MB/s[    2.720795] usb 1-1.3: new low-speed USB device number 4 using xhci_hcd[    2.788779] raid6: neonx1   xor()  2553 MB/s[    2.832538] usb 1-1.3: New USB device found, idVendor=0461, idProduct=0010, bcdDevice= 1.10[    2.832547] usb 1-1.3: New USB device strings: Mfr=0, Product=2, SerialNumber=0[    2.832552] usb 1-1.3: Product: USB Keyboard[    2.856831] raid6: int64x8  gen()  2889 MB/s[    2.863930] usbcore: registered new interface driver usbhid[    2.863936] usbhid: USB HID core driver[    2.873854] input: USB Keyboard as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:0461:0010.0001/input/input0[    2.924781] raid6: int64x8  xor()  1694 MB/s[    2.932981] hid-generic 0003:0461:0010.0001: input,hidraw0: USB HID v1.11 Keyboard [USB Keyboard] on usb-0000:01:00.0-1.3/input0[    2.933637] input: USB Keyboard Consumer Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:0461:0010.0002/input/input1[    2.984781] usb 1-1.4: new low-speed USB device number 5 using xhci_hcd[    2.992788] raid6: int64x4  gen()  3026 MB/s[    2.992935] input: USB Keyboard System Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:0461:0010.0002/input/input2[    2.993083] hid-generic 0003:0461:0010.0002: input,hidraw1: USB HID v1.11 Device [USB Keyboard] on usb-0000:01:00.0-1.3/input1[    3.060782] raid6: int64x4  xor()  1738 MB/s[    3.092948] usb 1-1.4: New USB device found, idVendor=046d, idProduct=c077, bcdDevice=72.00[    3.092958] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0[    3.092964] usb 1-1.4: Product: USB Optical Mouse[    3.092969] usb 1-1.4: Manufacturer: Logitech[    3.098880] input: Logitech USB Optical Mouse as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.0/0003:046D:C077.0003/input/input3[    3.099147] hid-generic 0003:046D:C077.0003: input,hidraw2: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-0000:01:00.0-1.4/input0[    3.128809] raid6: int64x2  gen()  2823 MB/s[    3.196786] raid6: int64x2  xor()  1548 MB/s[    3.264784] raid6: int64x1  gen()  2195 MB/s[    3.332786] raid6: int64x1  xor()  1152 MB/s[    3.332794] raid6: using algorithm neonx4 gen() 4698 MB/s[    3.332798] raid6: .... xor() 3433 MB/s, rmw enabled[    3.332802] raid6: using neon recovery algorithm[    3.340877] xor: measuring software checksum speed[    3.342196]    8regs           :  7566 MB/sec[    3.343331]    32regs          :  8704 MB/sec[    3.346005]    arm64_neon      :  3727 MB/sec[    3.346010] xor: using function: 32regs (8704 MB/sec)[    3.402696] Btrfs loaded, crc32c=crc32c-generic, zoned=yes, fsverity=no[    3.762092] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.[    4.485119] systemd[1]: Inserted module 'autofs4'[    4.561900] systemd[1]: systemd 249.11-0ubuntu3.12 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT +GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY -P11KIT -QRENCODE +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)[    4.563447] systemd[1]: Detected architecture arm64.[    4.565327] systemd[1]: Hostname set to <opis>.[    5.236399] systemd[1]: Condition check resulted in System Slice being skipped.[    5.240141] systemd[1]: Queued start job for default target Graphical Interface.[    5.244699] systemd[1]: Created slice Slice /system/modprobe.[    5.246388] systemd[1]: Created slice Slice /system/systemd-fsck.[    5.247905] systemd[1]: Created slice Slice /system/systemd-growfs.[    5.248797] systemd[1]: Created slice User and Session Slice.[    5.249183] systemd[1]: Started Forward Password Requests to Wall Directory Watch.[    5.249979] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.[    5.250208] systemd[1]: Reached target Remote File Systems.[    5.250255] systemd[1]: Reached target Slice Units.[    5.250315] systemd[1]: Reached target Mounting snaps.[    5.250404] systemd[1]: Reached target Local Verity Protected Volumes.[    5.251043] systemd[1]: Listening on Syslog Socket.[    5.251489] systemd[1]: Listening on fsck to fsckd communication Socket.[    5.251718] systemd[1]: Listening on initctl Compatibility Named Pipe.[    5.252560] systemd[1]: Listening on Journal Audit Socket.[    5.253187] systemd[1]: Listening on Journal Socket (/dev/log).[    5.253810] systemd[1]: Listening on Journal Socket.[    5.254600] systemd[1]: Listening on udev Control Socket.[    5.255096] systemd[1]: Listening on udev Kernel Socket.[    5.258143] systemd[1]: Mounting Huge Pages File System...[    5.261549] systemd[1]: Mounting POSIX Message Queue File System...[    5.265681] systemd[1]: Mounting Kernel Debug File System...[    5.269305] systemd[1]: Mounting Kernel Trace File System...[    5.275407] systemd[1]: Starting Journal Service...[    5.279363] systemd[1]: Starting Set the console keyboard layout...[    5.283422] systemd[1]: Starting Create List of Static Device Nodes...[    5.289242] systemd[1]: Starting Load Kernel Module configfs...[    5.293692] systemd[1]: Starting Load Kernel Module drm...[    5.298801] systemd[1]: Starting Load Kernel Module efi_pstore...[    5.304609] systemd[1]: Starting Load Kernel Module fuse...[    5.305327] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.[    5.314519] systemd[1]: Starting Load Kernel Modules...[    5.319408] systemd[1]: Starting Remount Root and Kernel File Systems...[    5.324051] systemd[1]: Starting Coldplug All udev Devices...[    5.333847] systemd[1]: Mounted Huge Pages File System.[    5.334359] systemd[1]: Mounted POSIX Message Queue File System.[    5.334753] systemd[1]: Mounted Kernel Debug File System.[    5.335147] systemd[1]: Mounted Kernel Trace File System.[    5.336700] systemd[1]: Finished Create List of Static Device Nodes.[    5.339223] systemd[1]: modprobe@configfs.service: Deactivated successfully.[    5.340727] systemd[1]: Finished Load Kernel Module configfs.[    5.343684] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.[    5.345631] systemd[1]: Finished Load Kernel Module efi_pstore.[    5.348950] systemd[1]: modprobe@fuse.service: Deactivated successfully.[    5.350891] systemd[1]: Finished Load Kernel Module fuse.[    5.354825] systemd[1]: Finished Load Kernel Modules.[    5.359803] systemd[1]: Mounting FUSE Control File System...[    5.364376] systemd[1]: Mounting Kernel Configuration File System...[    5.369201] systemd[1]: Starting Apply Kernel Variables...[    5.372483] EXT4-fs (mmcblk0p2): re-mounted. Opts: discard. Quota mode: none.[    5.382413] systemd[1]: modprobe@drm.service: Deactivated successfully.[    5.384148] systemd[1]: Finished Load Kernel Module drm.[    5.386366] systemd[1]: Finished Remount Root and Kernel File Systems.[    5.387041] systemd[1]: Mounted FUSE Control File System.[    5.387444] systemd[1]: Mounted Kernel Configuration File System.[    5.391853] systemd[1]: Starting Grow File System on /...[    5.392200] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.[    5.397228] systemd[1]: Starting Load/Save Random Seed...[    5.402659] systemd[1]: Starting Create System Users...[    5.478802] systemd[1]: Finished Load/Save Random Seed.[    5.479417] systemd[1]: Condition check resulted in First Boot Complete being skipped.[    5.483113] systemd[1]: Started Journal Service.[    5.509131] EXT4-fs (mmcblk0p2): resizing filesystem from 7526139 to 7526139 blocks[    5.512274] systemd-journald[310]: Received client request to flush runtime journal.[    5.571126] systemd-journald[310]: File /var/log/journal/d09f7d3a23a54022b220593d054b5ac6/system.journal corrupted or uncleanly shut down, renaming and replacing.[    6.637530] loop0: detected capacity change from 0 to 8[    6.640936] loop1: detected capacity change from 0 to 141680[    6.648104] loop2: detected capacity change from 0 to 494096[    6.652827] loop3: detected capacity change from 0 to 972976[    6.661901] loop4: detected capacity change from 0 to 187776[    6.667523] loop5: detected capacity change from 0 to 24032[    6.673803] loop6: detected capacity change from 0 to 72112[    6.679372] loop7: detected capacity change from 0 to 832[    7.274162] rpivid-mem feb00000.hevc-decoder: rpivid-hevcmem initialised: Registers at 0xfeb00000 length 0x00010000[    7.278063] rpivid-mem feb10000.rpivid-local-intc: rpivid-intcmem initialised: Registers at 0xfeb10000 length 0x00001000[    7.288859] rpivid-mem feb20000.h264-decoder: rpivid-h264mem initialised: Registers at 0xfeb20000 length 0x00010000[    7.290979] rpivid-mem feb30000.vp9-decoder: rpivid-vp9mem initialised: Registers at 0xfeb30000 length 0x00010000[    7.387586] mc: Linux media interface: v0.10[    7.398729] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000[    7.433188] videodev: Linux video capture interface: v2.00[    7.465704] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.[    7.466039] vc_sm_cma: module verification failed: signature and/or required key missing - tainting kernel[    7.466762] bcm2835_vc_sm_cma_probe: Videocore shared memory driver[    7.466781] [vc_sm_connected_init]: start[    7.468659] [vc_sm_connected_init]: installed successfully[    7.522015] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.[    7.529186] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.[    7.545338] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.[    7.549518] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.[    7.556401] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.[    7.591209] bcm2835-codec bcm2835-codec: Device registered as /dev/video10[    7.591263] bcm2835-codec bcm2835-codec: Loaded V4L2 decode[    7.594787] bcm2835-codec bcm2835-codec: Device registered as /dev/video11[    7.594828] bcm2835-codec bcm2835-codec: Loaded V4L2 encode[    7.597495] imx219 10-0010: Consider updating driver imx219 to match on endpoints[    7.603612] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13[    7.607121] bcm2835-codec bcm2835-codec: Device registered as /dev/video12[    7.607160] bcm2835-codec bcm2835-codec: Loaded V4L2 isp[    7.619834] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14[    7.629554] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15[    7.630910] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16[    7.630959] bcm2835-isp bcm2835-isp: Register output node 0 with media controller[    7.630971] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller[    7.630989] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller[    7.630996] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller[    7.642721] bcm2835-codec bcm2835-codec: Device registered as /dev/video18[    7.642757] bcm2835-codec bcm2835-codec: Loaded V4L2 image_fx[    7.649558] bcm2835-codec bcm2835-codec: Device registered as /dev/video31[    7.649594] bcm2835-codec bcm2835-codec: Loaded V4L2 encode_image[    7.655966] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.[    7.663959] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video20[    7.666766] bcm2835_audio bcm2835_audio: card created with 8 channels[    7.677959] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video21[    7.678349] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video22[    7.678623] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video23[    7.678641] bcm2835-isp bcm2835-isp: Register output node 0 with media controller[    7.678653] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller[    7.678664] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller[    7.678680] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller[    7.678852] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp[    7.858136] usbcore: registered new interface driver snd-usb-audio[    7.945343] cfg80211: Loading compiled-in X.509 certificates for regulatory database[    7.950032] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'[    7.972543] [drm] Initialized v3d 1.0.0 20180419 for fec00000.v3d on minor 0[    8.015769] checking generic (3e402000 7f8000) vs hw (0 ffffffffffffffff)[    8.015788] fb0: switching to vc4 from simple[    8.019388] Console: switching to colour dummy device 80x25[    8.054832] vc4-drm gpu: bound fe400000.hvs (ops vc4_hvs_ops [vc4])[    8.059068] Registered IR keymap rc-cec[    8.059187] rc rc0: vc4-hdmi-0 as /devices/platform/soc/fef00700.hdmi/rc/rc0[    8.059268] input: vc4-hdmi-0 as /devices/platform/soc/fef00700.hdmi/rc/rc0/input4[    8.061773] vc4-drm gpu: bound fef00700.hdmi (ops vc4_hdmi_ops [vc4])[    8.064983] brcmfmac: F1 signature read @0x18000000=0x15264345[    8.066851] Registered IR keymap rc-cec[    8.066989] rc rc1: vc4-hdmi-1 as /devices/platform/soc/fef05700.hdmi/rc/rc1[    8.067118] input: vc4-hdmi-1 as /devices/platform/soc/fef05700.hdmi/rc/rc1/input5[    8.070789] vc4-drm gpu: bound fef05700.hdmi (ops vc4_hdmi_ops [vc4])[    8.071156] vc4-drm gpu: bound fe004000.txp (ops vc4_txp_ops [vc4])[    8.071356] vc4-drm gpu: bound fe206000.pixelvalve (ops vc4_crtc_ops [vc4])[    8.071487] vc4-drm gpu: bound fe207000.pixelvalve (ops vc4_crtc_ops [vc4])[    8.071601] vc4-drm gpu: bound fe20a000.pixelvalve (ops vc4_crtc_ops [vc4])[    8.071692] vc4-drm gpu: bound fe216000.pixelvalve (ops vc4_crtc_ops [vc4])[    8.071808] vc4-drm gpu: bound fec12000.pixelvalve (ops vc4_crtc_ops [vc4])[    8.084297] [drm] Initialized vc4 0.0.0 20140616 for gpu on minor 1[    8.092949] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6[    8.093690] usbcore: registered new interface driver brcmfmac[    8.107806] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.bin failed with error -2[    8.166439] Console: switching to colour frame buffer device 240x67[    8.185447] vc4-drm gpu: [drm] fb0: vc4drmfb frame buffer device[    8.400503] Bluetooth: Core ver 2.22[    8.402475] NET: Registered PF_BLUETOOTH protocol family[    8.402492] Bluetooth: HCI device and connection manager initialized[    8.402508] Bluetooth: HCI socket layer initialized[    8.402515] Bluetooth: L2CAP socket layer initialized[    8.402532] Bluetooth: SCO socket layer initialized[    8.463901] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6[    8.464063] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6[    8.471276] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Nov  1 2021 00:37:25 version 7.45.241 (1a2f2fa CY) FWID 01-703fd60[    8.503808] Adding 1048572k swap on /swapfile.  Priority:-2 extents:3 across:1122300k SSFS[    8.655584] audit: type=1400 audit(1708375895.067:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="lsb_release" pid=517 comm="apparmor_parser"[    8.686411] audit: type=1400 audit(1708375895.099:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/man" pid=523 comm="apparmor_parser"[    8.686459] audit: type=1400 audit(1708375895.099:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_filter" pid=523 comm="apparmor_parser"[    8.686475] audit: type=1400 audit(1708375895.099:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_groff" pid=523 comm="apparmor_parser"[    8.695309] audit: type=1400 audit(1708375895.107:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=518 comm="apparmor_parser"[    8.695355] audit: type=1400 audit(1708375895.107:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" pid=518 comm="apparmor_parser"[    8.726161] audit: type=1400 audit(1708375895.139:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="tcpdump" pid=524 comm="apparmor_parser"[    8.741146] audit: type=1400 audit(1708375895.155:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-oosplash" pid=526 comm="apparmor_parser"[    8.749455] audit: type=1400 audit(1708375895.163:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=519 comm="apparmor_parser"[    8.749485] audit: type=1400 audit(1708375895.163:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-helper" pid=519 comm="apparmor_parser"[   11.820519] uart-pl011 fe201000.serial: no DMA platform data[   14.503618] bcmgenet fd580000.ethernet: configuring instance for external RGMII (RX delay)[   14.503920] bcmgenet fd580000.ethernet eth0: Link is Down[   14.528400] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled[   14.675817] kauditd_printk_skb: 36 callbacks suppressed[   14.675828] audit: type=1400 audit(1711065316.657:48): apparmor="DENIED" operation="capable" profile="/usr/sbin/cupsd" pid=906 comm="cupsd" capability=12  capname="net_admin"[   15.993803] loop8: detected capacity change from 0 to 8[   17.811822] hdmi-audio-codec hdmi-audio-codec.1.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19                                                    [   17.811893]  MAI: __soc_pcm_open() failed (-19)[   17.815723] hdmi-audio-codec hdmi-audio-codec.1.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19                                                    [   17.815791]  MAI: __soc_pcm_open() failed (-19)[   17.821191] hdmi-audio-codec hdmi-audio-codec.1.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19                                                    [   17.821253]  MAI: __soc_pcm_open() failed (-19)[   17.821631] hdmi-audio-codec hdmi-audio-codec.1.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19                                                    [   17.821668]  MAI: __soc_pcm_open() failed (-19)[   17.822014] hdmi-audio-codec hdmi-audio-codec.1.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19                                                    [   17.822061]  MAI: __soc_pcm_open() failed (-19)[   18.729217] Bluetooth: BNEP (Ethernet Emulation) ver 1.3[   18.729239] Bluetooth: BNEP filters: protocol multicast[   18.729253] Bluetooth: BNEP socket layer initialized[   19.147759] Bluetooth: HCI UART driver ver 2.3[   19.147780] Bluetooth: HCI UART protocol H4 registered[   19.147785] Bluetooth: HCI UART protocol BCSP registered[   19.149211] Bluetooth: HCI UART protocol LL registered[   19.149227] Bluetooth: HCI UART protocol ATH3K registered[   19.149303] Bluetooth: HCI UART protocol Three-wire (H5) registered[   19.149471] Bluetooth: HCI UART protocol Intel registered[   19.149592] Bluetooth: HCI UART protocol Broadcom registered[   19.149628] Bluetooth: HCI UART protocol QCA registered[   19.149632] Bluetooth: HCI UART protocol AG6XX registered[   19.149664] Bluetooth: HCI UART protocol Marvell registered[   19.210385] NET: Registered PF_ALG protocol family[   19.481475] Bluetooth: RFCOMM TTY layer initialized[   19.481512] Bluetooth: RFCOMM socket layer initialized[   19.481538] Bluetooth: RFCOMM ver 1.11[   20.089793] audit: type=1400 audit(1711065322.073:49): apparmor="DENIED" operation="capable" profile="/snap/snapd/20674/usr/lib/snapd/snap-confine" pid=1014 comm="snap-confine" capability=12  capname="net_admin"[   20.089830] audit: type=1400 audit(1711065322.073:50): apparmor="DENIED" operation="capable" profile="/snap/snapd/20674/usr/lib/snapd/snap-confine" pid=1014 comm="snap-confine" capability=38  capname="perfmon"[   20.162247] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready[   20.946999] audit: type=1400 audit(1711065322.929:51): apparmor="DENIED" operation="capable" profile="/usr/sbin/cups-browsed" pid=1271 comm="cups-browsed" capability=23  capname="sys_nice"[   26.906644] audit: type=1400 audit(1711065328.889:52): apparmor="DENIED" operation="capable" profile="/snap/snapd/20674/usr/lib/snapd/snap-confine" pid=1399 comm="snap-confine" capability=12  capname="net_admin"[   28.853189] rfkill: input handler disabled[  225.260400] vc4-drm gpu: swiotlb buffer is full (sz: 778240 bytes), total 32768 (slots), used 112 (slots)[  225.422651] v3d fec00000.v3d: MMU error from client L2T (0) at 0x4621000, pte invalid                                                                        [  225.426899] vc4-drm gpu: swiotlb buffer is full (sz: 524288 bytes), total 32768 (slots), used 306 (slots)

The camera appears to show up on i2c:

sudo i2cdetect -y 10     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f00:                         -- -- -- -- -- -- -- -- 10: UU -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- 64 -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- --         

Video devices are available:

ls /dev/vid*/dev/video0   /dev/video11  /dev/video14  /dev/video18  /dev/video22/dev/video1   /dev/video12  /dev/video15  /dev/video20  /dev/video23/dev/video10  /dev/video13  /dev/video16  /dev/video21  /dev/video31

...but guvcview fails miserably:

guvcviewV4L2_CORE: Unable to find parent usb device.V4L2_CORE: Unable to find parent usb device.V4L2_CORE: Unable to find parent usb device.V4L2_CORE: Unable to find parent usb device.V4L2_CORE: Unable to find parent usb device.V4L2_CORE: Unable to find parent usb device.V4L2_CORE: Unable to find parent usb device.V4L2_CORE: Unable to find parent usb device.V4L2_CORE: Unable to find parent usb device.V4L2_CORE: Unable to find parent usb device.V4L2_CORE: Unable to find parent usb device.V4L2_CORE: Unable to find parent usb device.V4L2_CORE: Unable to find parent usb device.Failed to query video capabilities: Inappropriate ioctl for devicelibv4l2: error getting capabilities: Inappropriate ioctl for deviceV4L2_CORE: ERROR opening V4L2 interface for /dev/v4l-subdev0V4L2_CORE: Unable to find parent usb device.V4L2_CORE: Unable to find parent usb device.GUVCVIEW: version 2.0.7V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for deviceV4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for deviceV4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for deviceV4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for deviceV4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for deviceV4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for deviceV4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for deviceV4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for deviceV4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for deviceV4L2_CORE: (VIDIOC_ENUM_FRAMEINTERVALS) Error enumerating frame intervalsV4L2_CORE:  Unable to enumerate frame sizes Inappropriate ioctl for device.....jack server is not running or cannot be startedJackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlockJackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlockV4L2_CORE: (VIDIOC_G_PARM) error: Inappropriate ioctl for deviceV4L2_CORE: Unable to set 1/25 fpsV4L2_CORE: (VIDIOC_G_PARM) error: Inappropriate ioctl for device^CGUVCVIEW Caught signal 2libv4l2: error turning on stream: Invalid argumentV4L2_CORE: (VIDIOC_STREAMON) Unable to start stream: Invalid argumentV4L2_CORE: (VIDIOC_G_PARM) error: Inappropriate ioctl for deviceV4L2_CORE: Unable to set 1/1 fps

I'd like to install rpicam-apps, but there are no binaries, and I could not compile from source - rpi keeps crashing.

What can I do to get the camera working? What more can I do to help debug the problem?


Viewing all articles
Browse latest Browse all 4806

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>