Could not set address to 0x0c: Device or resource busy

  1. Where did you get the camera module(s)?
    Amazon market

  2. Model number of the product(s)?
    B0371C

  3. What hardware/platform were you working on?
    Raspberry Pi Zero 2W

  4. Instructions you have followed. (link/manual/etc.)
    Arducam site pages

  5. Problems you were having?
    I’ve already used with full satisfaction IMX219, and IMX447 from Arcuam motorized AF cameras with Raspberry Pi Zero 2W.

For AF I’ve modified a demo project in which “/usr/sbin/i2cset” command is used to move lens motor and get fine focus value sampling contrast of images.

For IMX219 and IMX447 I use:

I2C_BUS = 10
I2C_CHIP_ADDR = 0x0c

and all works fine, but with IMX519 I’ve get the error message:
Could not set address to 0x0c: Device or resource busy

Are BUS and CHIP ADDR changed for IMX519 ?

  1. The dmesg log from your hardware?
    qem@raspberrypi:~ $ dmesg
    [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [ 0.000000] Linux version 6.1.21-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) #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023
    [ 0.000000] random: crng init done
    [ 0.000000] Machine model: Raspberry Pi Zero 2 W Rev 1.0
    [ 0.000000] efi: UEFI not found.
    [ 0.000000] Reserved memory: created CMA memory pool at 0x000000000bc00000, size 256 MiB
    [ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
    [ 0.000000] Zone ranges:
    [ 0.000000] DMA [mem 0x0000000000000000-0x000000001bffffff]
    [ 0.000000] DMA32 empty
    [ 0.000000] Normal empty
    [ 0.000000] Movable zone start for each node
    [ 0.000000] Early memory node ranges
    [ 0.000000] node 0: [mem 0x0000000000000000-0x000000001bffffff]
    [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000001bffffff]
    [ 0.000000] On node 0, zone DMA: 16384 pages in unavailable ranges
    [ 0.000000] percpu: Embedded 29 pages/cpu s78504 r8192 d32088 u118784
    [ 0.000000] pcpu-alloc: s78504 r8192 d32088 u118784 alloc=29*4096
    [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
    [ 0.000000] Detected VIPT I-cache on CPU0
    [ 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 843419
    [ 0.000000] CPU features: detected: ARM erratum 845719
    [ 0.000000] alternatives: applying boot alternatives
    [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 112896
    [ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0 video=Composite-1:720x480@60i smsc95xx.macaddr=B8:27:EB:53:AF:E4 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 console=ttyAMA0,115200 console=tty1 root=PARTUUID=4edf3bed-02 rootfstype=ext4 fsck.repair=yes rootwait
    [ 0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [ 0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [ 0.000000] Memory: 163092K/458752K available (11776K kernel code, 2106K rwdata, 3688K rodata, 4160K init, 1077K bss, 33516K reserved, 262144K cma-reserved)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [ 0.000000] ftrace: allocating 39744 entries in 156 pages
    [ 0.000000] ftrace: allocated 156 pages with 4 groups
    [ 0.000000] trace event string verifier disabled
    [ 0.000000] rcu: Preemptible hierarchical RCU implementation.
    [ 0.000000] rcu: RCU event tracing is enabled.
    [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
    [ 0.000000] Trampoline variant of Tasks RCU enabled.
    [ 0.000000] Rude variant of Tasks RCU enabled.
    [ 0.000000] Tracing variant of Tasks RCU enabled.
    [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
    [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [ 0.000000] Root IRQ handler: bcm2836_arm_irqchip_handle_irq
    [ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
    [ 0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (phys).
    [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
    [ 0.000001] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
    [ 0.000391] Console: colour dummy device 80x25
    [ 0.001390] printk: console [tty1] enabled
    [ 0.001483] Calibrating delay loop (skipped), value calculated using timer frequency… 38.40 BogoMIPS (lpj=76800)
    [ 0.001551] pid_max: default: 32768 minimum: 301
    [ 0.001745] LSM: Security Framework initializing
    [ 0.002035] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
    [ 0.002097] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
    [ 0.004060] cgroup: Disabling memory control group subsystem
    [ 0.007359] cblist_init_generic: Setting adjustable number of callback queues.
    [ 0.007409] cblist_init_generic: Setting shift to 2 and lim to 1.
    [ 0.007703] cblist_init_generic: Setting shift to 2 and lim to 1.
    [ 0.008060] cblist_init_generic: Setting shift to 2 and lim to 1.
    [ 0.008735] rcu: Hierarchical SRCU implementation.
    [ 0.008774] rcu: Max phase no-delay instances is 1000.
    [ 0.010610] EFI services will not be available.
    [ 0.011416] smp: Bringing up secondary CPUs …
    [ 0.013156] Detected VIPT I-cache on CPU1
    [ 0.013334] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [ 0.015132] Detected VIPT I-cache on CPU2
    [ 0.015270] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
    [ 0.017057] Detected VIPT I-cache on CPU3
    [ 0.017198] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
    [ 0.017432] smp: Brought up 1 node, 4 CPUs
    [ 0.017597] SMP: Total of 4 processors activated.
    [ 0.017633] CPU features: detected: 32-bit EL0 Support
    [ 0.017667] CPU features: detected: 32-bit EL1 Support
    [ 0.017704] CPU features: detected: CRC32 instructions
    [ 0.017901] CPU: All CPU(s) started at EL2
    [ 0.017952] alternatives: applying system-wide alternatives
    [ 0.020591] devtmpfs: initialized
    [ 0.045664] Enabled cp15_barrier support
    [ 0.045753] Enabled setend support
    [ 0.046124] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [ 0.046202] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
    [ 0.059837] pinctrl core: initialized pinctrl subsystem
    [ 0.061309] DMI not present or invalid.
    [ 0.062383] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [ 0.074432] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
    [ 0.074883] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [ 0.076462] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [ 0.076663] audit: initializing netlink subsys (disabled)
    [ 0.077119] audit: type=2000 audit(0.076:1): state=initialized audit_enabled=0 res=1
    [ 0.078184] thermal_sys: Registered thermal governor ‘step_wise’
    [ 0.078318] cpuidle: using governor menu
    [ 0.079044] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [ 0.079369] ASID allocator initialised with 32768 entries
    [ 0.079657] Serial: AMBA PL011 UART driver
    [ 0.097472] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
    [ 0.113274] platform 3f801000.csi: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/imx519@1a
    [ 0.120717] raspberrypi-firmware soc:firmware: Attached to firmware from 2023-03-17T10:52:42, variant start
    [ 0.124738] raspberrypi-firmware soc:firmware: Firmware hash is 82f3750a65fadae9a38077e3c2e217ad158c8d54
    [ 0.137543] KASLR enabled
    [ 0.193770] bcm2835-dma 3f007000.dma: DMA legacy API manager, dmachans=0x1
    [ 0.200430] SCSI subsystem initialized
    [ 0.200842] usbcore: registered new interface driver usbfs
    [ 0.200980] usbcore: registered new interface driver hub
    [ 0.201110] usbcore: registered new device driver usb
    [ 0.201760] usb_phy_generic phy: supply vcc not found, using dummy regulator
    [ 0.202162] usb_phy_generic phy: dummy supplies not allowed for exclusive requests
    [ 0.202638] pps_core: LinuxPPS API ver. 1 registered
    [ 0.202677] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [email protected]
    [ 0.202748] PTP clock support registered
    [ 0.204560] vgaarb: loaded
    [ 0.205773] clocksource: Switched to clocksource arch_sys_counter
    [ 0.207361] VFS: Disk quotas dquot_6.6.0
    [ 0.207505] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [ 0.207838] FS-Cache: Loaded
    [ 0.208138] CacheFiles: Loaded
    [ 0.222693] NET: Registered PF_INET protocol family
    [ 0.223073] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [ 0.225162] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
    [ 0.225240] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [ 0.225308] TCP established hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [ 0.225416] TCP bind hash table entries: 4096 (order: 5, 131072 bytes, linear)
    [ 0.225641] TCP: Hash tables configured (established 4096 bind 4096)
    [ 0.225907] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
    [ 0.225981] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
    [ 0.226338] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [ 0.227412] RPC: Registered named UNIX socket transport module.
    [ 0.227457] RPC: Registered udp transport module.
    [ 0.227493] RPC: Registered tcp transport module.
    [ 0.227527] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.227583] PCI: CLS 0 bytes, default 64
    [ 0.230323] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
    [ 0.230787] kvm [1]: IPA Size Limit: 40 bits
    [ 0.232643] kvm [1]: Hyp mode initialized successfully
    [ 2.015659] Initialise system trusted keyrings
    [ 2.016379] workingset: timestamp_bits=46 max_order=17 bucket_order=0
    [ 2.029817] zbud: loaded
    [ 2.034613] NFS: Registering the id_resolver key type
    [ 2.034690] Key type id_resolver registered
    [ 2.034727] Key type id_legacy registered
    [ 2.034932] nfs4filelayout_init: NFSv4 File Layout Driver Registering…
    [ 2.034980] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering…
    [ 2.037185] Key type asymmetric registered
    [ 2.037232] Asymmetric key parser ‘x509’ registered
    [ 2.037382] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [ 2.037975] io scheduler mq-deadline registered
    [ 2.038022] io scheduler kyber registered
    [ 2.047667] simple-framebuffer 1eaa9000.framebuffer: framebuffer at 0x1eaa9000, 0x151800 bytes
    [ 2.047746] simple-framebuffer 1eaa9000.framebuffer: format=a8r8g8b8, mode=720x480x32, linelength=2880
    [ 2.051536] Console: switching to colour frame buffer device 90x30
    [ 2.056495] simple-framebuffer 1eaa9000.framebuffer: fb0: simplefb registered!
    [ 2.066669] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
    [ 2.072626] bcm2835-rng 3f104000.rng: hwrng registered
    [ 2.075760] vc-mem: phys_addr:0x00000000 mem_base=0x1ec00000 mem_size:0x20000000(512 MiB)
    [ 2.081813] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
    [ 2.104549] brd: module loaded
    [ 2.120817] loop: module loaded
    [ 2.123905] Loading iSCSI transport class v2.0-870.
    [ 2.133571] usbcore: registered new interface driver r8152
    [ 2.135721] usbcore: registered new interface driver lan78xx
    [ 2.137764] usbcore: registered new interface driver smsc95xx
    [ 2.140392] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
    [ 2.872005] Core Release: 2.80a
    [ 2.873869] Setting default values for core params
    [ 2.875725] Finished setting default values for core params
    [ 3.078080] Using Buffer DMA mode
    [ 3.079856] Periodic Transfer Interrupt Enhancement - disabled
    [ 3.081661] Multiprocessor Interrupt Enhancement - disabled
    [ 3.083517] OTG VER PARAM: 0, OTG VER FLAG: 0
    [ 3.085329] Dedicated Tx FIFOs mode

[ 3.092030] WARN::dwc_otg_hcd_init:1074: FIQ DMA bounce buffers: virt = ffffffc008459000 dma = 0x00000000cc000000 len=9024
[ 3.097157] FIQ FSM acceleration enabled for :
Non-periodic Split Transactions
Periodic Split Transactions
High-Speed Isochronous Endpoints
Interrupt/Control Split Transaction hack enabled
[ 3.105130] dwc_otg: Microframe scheduler enabled

[ 3.105198] WARN::hcd_init_fiq:497: MPHI regs_base at ffffffc008065000
[ 3.108267] dwc_otg 3f980000.usb: DWC OTG Controller
[ 3.109871] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[ 3.111500] dwc_otg 3f980000.usb: irq 74, io mem 0x00000000
[ 3.113096] Init: Port Power? op_state=1
[ 3.114680] Init: Power Port (0)
[ 3.116784] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[ 3.120049] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.121819] usb usb1: Product: DWC OTG Controller
[ 3.123537] usb usb1: Manufacturer: Linux 6.1.21-v8+ dwc_otg_hcd
[ 3.125259] usb usb1: SerialNumber: 3f980000.usb
[ 3.128125] hub 1-0:1.0: USB hub found
[ 3.129924] hub 1-0:1.0: 1 port detected
[ 3.132840] dwc_otg: FIQ enabled
[ 3.132860] dwc_otg: NAK holdoff enabled
[ 3.132876] dwc_otg: FIQ split-transaction FSM enabled
[ 3.132908] Module dwc_common_port init
[ 3.133722] usbcore: registered new interface driver uas
[ 3.135609] usbcore: registered new interface driver usb-storage
[ 3.137682] mousedev: PS/2 mouse device common for all mice
[ 3.146143] sdhci: Secure Digital Host Controller Interface driver
[ 3.147774] sdhci: Copyright(c) Pierre Ossman
[ 3.150261] sdhci-pltfm: SDHCI platform and OF driver helper
[ 3.154493] ledtrig-cpu: registered to indicate activity on CPUs
[ 3.156660] hid: raw HID events driver (C) Jiri Kosina
[ 3.158606] usbcore: registered new interface driver usbhid
[ 3.160291] usbhid: USB HID core driver
[ 3.162381] bcm2835_vchiq 3f00b840.mailbox: there is not valid maps for state default
[ 3.172368] NET: Registered PF_PACKET protocol family
[ 3.174315] Key type dns_resolver registered
[ 3.178373] registered taskstats version 1
[ 3.180149] Loading compiled-in X.509 certificates
[ 3.183219] Key type .fscrypt registered
[ 3.184908] Key type fscrypt-provisioning registered
[ 3.213063] uart-pl011 3f201000.serial: there is not valid maps for state default
[ 3.215736] uart-pl011 3f201000.serial: cts_event_workaround enabled
[ 3.217609] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 99, base_baud = 0) is a PL011 rev2
[ 3.242050] Indeed it is in host mode hprt0 = 00021501
[ 3.245101] printk: console [ttyAMA0] enabled
[ 3.433830] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 3.447703] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[ 3.451853] Indeed it is in host mode hprt0 = 00001101
[ 3.454307] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[ 3.658586] usb 1-1: New USB device found, idVendor=1a40, idProduct=0101, bcdDevice= 1.11
[ 3.668441] sdhost: log_buf @ 000000006fbdab9a (c2f76000)
[ 3.668772] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 3.726091] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[ 3.728032] usb 1-1: Product: USB 2.0 Hub
[ 3.746687] of_cfs_init
[ 3.751271] hub 1-1:1.0: USB hub found
[ 3.756059] of_cfs_init: OK
[ 3.757613] hub 1-1:1.0: 4 ports detected
[ 3.787820] mmc0: host does not support reading read-only switch, assuming write-enable
[ 4.201820] usb 1-1.4: new high-speed USB device number 3 using dwc_otg
[ 4.213065] mmc0: new high speed SDHC card at address b368
[ 4.450789] usb 1-1.4: New USB device found, idVendor=0bda, idProduct=8152, bcdDevice=20.00
[ 4.464734] mmcblk0: mmc0:b368 USD00 29.5 GiB
[ 4.468126] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4.613929] usb 1-1.4: Product: USB 10/100 LAN
[ 4.613938] mmcblk0: p1 p2
[ 4.614798] mmcblk0: mmc0:b368 USD00 29.5 GiB
[ 4.615886] usb 1-1.4: Manufacturer: Realtek
[ 4.637673] usb 1-1.4: SerialNumber: 00E04C360396
[ 4.654317] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[ 4.663693] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[ 4.786488] EXT4-fs (mmcblk0p2): recovery complete
[ 4.795478] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none.
[ 4.807678] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 4.825836] usb 1-1.4: reset high-speed USB device number 3 using dwc_otg
[ 4.835227] devtmpfs: mounted
[ 4.852722] Freeing unused kernel memory: 4160K
[ 4.859811] Run /sbin/init as init process
[ 4.865800] with arguments:
[ 4.865817] /sbin/init
[ 4.865835] with environment:
[ 4.865847] HOME=/
[ 4.865864] TERM=linux
[ 5.068201] r8152 1-1.4:1.0: skip request firmware
[ 5.107730] r8152 1-1.4:1.0 eth0: v1.12.13
[ 5.523429] systemd[1]: System time before build time, advancing clock.
[ 5.805288] NET: Registered PF_INET6 protocol family
[ 5.815136] Segment Routing with IPv6
[ 5.820711] In-situ OAM (IOAM) with IPv6
[ 5.915994] systemd[1]: systemd 247.3-7+deb11u2 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)
[ 5.946146] systemd[1]: Detected architecture arm64.
[ 5.971572] systemd[1]: Set hostname to .
[ 6.232518] uart-pl011 3f201000.serial: no DMA platform data
[ 7.092206] systemd[1]: Queued start job for default target Multi-User System.
[ 7.128404] systemd[1]: Created slice system-getty.slice.
[ 7.140649] systemd[1]: Created slice system-modprobe.slice.
[ 7.152570] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ 7.165203] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[ 7.177546] systemd[1]: Created slice User and Session Slice.
[ 7.188712] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 7.202068] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 7.216197] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 7.233054] systemd[1]: Reached target Local Encrypted Volumes.
[ 7.244227] systemd[1]: Reached target Paths.
[ 7.253619] systemd[1]: Reached target Slices.
[ 7.263055] systemd[1]: Reached target Swap.
[ 7.273677] systemd[1]: Listening on Syslog Socket.
[ 7.290194] systemd[1]: Listening on fsck to fsckd communication Socket.
[ 7.302696] systemd[1]: Listening on initctl Compatibility Named Pipe.
[ 7.316172] systemd[1]: Listening on Journal Audit Socket.
[ 7.327839] systemd[1]: Listening on Journal Socket (/dev/log).
[ 7.340330] systemd[1]: Listening on Journal Socket.
[ 7.354267] systemd[1]: Listening on udev Control Socket.
[ 7.365839] systemd[1]: Listening on udev Kernel Socket.
[ 7.377065] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[ 7.410545] systemd[1]: Mounting POSIX Message Queue File System…
[ 7.429166] systemd[1]: Mounting RPC Pipe File System…
[ 7.447595] systemd[1]: Mounting Kernel Debug File System…
[ 7.466453] systemd[1]: Mounting Kernel Trace File System…
[ 7.477830] systemd[1]: Condition check resulted in Kernel Module supporting RPCSEC_GSS being skipped.
[ 7.501653] systemd[1]: Starting Restore / save the current clock…
[ 7.521121] systemd[1]: Starting Set the console keyboard layout…
[ 7.541405] systemd[1]: Starting Create list of static device nodes for the current kernel…
[ 7.571948] systemd[1]: Starting Load Kernel Module configfs…
[ 7.591527] systemd[1]: Starting Load Kernel Module drm…
[ 7.612594] systemd[1]: Starting Load Kernel Module fuse…
[ 7.629345] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[ 7.659462] systemd[1]: Starting File System Check on Root Device…
[ 7.692433] fuse: init (API version 7.37)
[ 7.733266] systemd[1]: Starting Journal Service…
[ 7.761263] systemd[1]: Starting Load Kernel Modules…
[ 7.781496] systemd[1]: Starting Coldplug All udev Devices…
[ 7.813387] systemd[1]: Mounted POSIX Message Queue File System.
[ 7.826539] systemd[1]: Mounted RPC Pipe File System.
[ 7.839535] systemd[1]: Mounted Kernel Debug File System.
[ 7.852228] systemd[1]: Mounted Kernel Trace File System.
[ 7.866488] systemd[1]: Finished Restore / save the current clock.
[ 7.882543] systemd[1]: Finished Create list of static device nodes for the current kernel.
[ 7.902391] systemd[1]: [email protected]: Succeeded.
[ 7.912891] systemd[1]: Finished Load Kernel Module configfs.
[ 7.921933] i2c_dev: i2c /dev entries driver
[ 7.934660] systemd[1]: [email protected]: Succeeded.
[ 7.945025] systemd[1]: Finished Load Kernel Module drm.
[ 7.959225] systemd[1]: [email protected]: Succeeded.
[ 7.970378] systemd[1]: Finished Load Kernel Module fuse.
[ 7.984514] systemd[1]: Finished Load Kernel Modules.
[ 8.031420] systemd[1]: Mounting FUSE Control File System…
[ 8.049467] systemd[1]: Mounting Kernel Configuration File System…
[ 8.079855] systemd[1]: Started File System Check Daemon to report status.
[ 8.107022] systemd[1]: Starting Apply Kernel Variables…
[ 8.126481] systemd[1]: Mounted FUSE Control File System.
[ 8.140186] systemd[1]: Finished File System Check on Root Device.
[ 8.153102] systemd[1]: Mounted Kernel Configuration File System.
[ 8.195226] systemd[1]: Starting Remount Root and Kernel File Systems…
[ 8.229570] systemd[1]: Finished Apply Kernel Variables.
[ 8.247414] systemd[1]: Started Journal Service.
[ 8.438494] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: none.
[ 8.552105] systemd-journald[144]: Received client request to flush runtime journal.
[ 8.596130] systemd-journald[144]: File /var/log/journal/6b721b1de7884ceb950a81456657cb04/system.journal corrupted or uncleanly shut down, renaming and replacing.
[ 10.176593] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[ 10.179650] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[ 10.179710] [vc_sm_connected_init]: start
[ 10.183017] [vc_sm_connected_init]: installed successfully
[ 10.213194] mc: Linux media interface: v0.10
[ 10.335740] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[ 10.403221] videodev: Linux video capture interface: v2.00
[ 10.533088] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 10.542962] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 10.563703] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 10.578743] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[ 10.582412] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[ 10.607279] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[ 10.609142] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
[ 10.609970] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
[ 10.615311] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
[ 10.616024] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
[ 10.616099] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[ 10.616137] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[ 10.616168] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[ 10.616198] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[ 10.633383] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video20
[ 10.634878] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video21
[ 10.635638] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video22
[ 10.636223] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video23
[ 10.636282] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[ 10.636321] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[ 10.636354] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[ 10.636386] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[ 10.636799] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
[ 10.647987] i2c i2c-11: Added multiplexed i2c bus 0
[ 10.650888] i2c i2c-11: Added multiplexed i2c bus 10
[ 10.663229] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[ 10.663333] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[ 10.667508] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[ 10.667601] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[ 10.673480] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[ 10.673599] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[ 10.677420] bcm2835-codec bcm2835-codec: Device registered as /dev/video18
[ 10.677513] bcm2835-codec bcm2835-codec: Loaded V4L2 image_fx
[ 10.723509] bcm2835-codec bcm2835-codec: Device registered as /dev/video31
[ 10.723622] bcm2835-codec bcm2835-codec: Loaded V4L2 encode_image
[ 11.291423] Console: switching to colour dummy device 80x25
[ 11.310276] vc4-drm soc:gpu: bound 3f400000.hvs (ops vc4_hvs_ops [vc4])
[ 11.325018] Registered IR keymap rc-cec
[ 11.326342] rc rc0: vc4-hdmi as /devices/platform/soc/3f902000.hdmi/rc/rc0
[ 11.326738] input: vc4-hdmi as /devices/platform/soc/3f902000.hdmi/rc/rc0/input0
[ 11.330498] vc4_hdmi 3f902000.hdmi: ‘dmas’ DT property is missing or empty, no HDMI audio
[ 11.330697] vc4-drm soc:gpu: bound 3f902000.hdmi (ops vc4_hdmi_ops [vc4])
[ 11.331382] vc4-drm soc:gpu: bound 3f004000.txp (ops vc4_txp_ops [vc4])
[ 11.331975] vc4-drm soc:gpu: bound 3f206000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 11.332519] vc4-drm soc:gpu: bound 3f207000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 11.333060] vc4-drm soc:gpu: bound 3f807000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 11.333481] vc4-drm soc:gpu: bound 3fc00000.v3d (ops vc4_v3d_ops [vc4])
[ 11.374347] [drm] Initialized vc4 0.0.0 20140616 for soc:gpu on minor 0
[ 11.389569] vc4-drm soc:gpu: [drm] Cannot find any crtc or sizes
[ 12.222831] ak7375 10-000c: supply vio not found, using dummy regulator
[ 12.257103] imx519 10-001a: Device found is imx519
[ 12.257522] imx519 10-001a: Consider updating driver imx519 to match on endpoints
[ 12.871183] 8021q: 802.1Q VLAN Support v1.8
[ 13.049708] Adding 102396k swap on /var/swap. Priority:-2 extents:1 across:102396k SSFS
[ 13.389608] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 13.430646] cfg80211: Loaded X.509 cert ‘sforshee: 00b28ddf47aef9cea7’
[ 13.464351] cfg80211: loaded regulatory.db is malformed or signature is missing/invalid
[ 13.782816] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 13.784138] r8152 1-1.4:1.0 eth0: carrier on

  1. What help do you need?
    How to control focus motor position in IMX519 using /usr/sbin/i2cset -y … command

What I need is not automatic focus but the manual motorized focus using i2cset command, because we use Arducam cameras (IMX219 and IMX447 and now I would like to use IMX519) to 1 step focus phase on user command, which must be keep during camera movements (it is placed on a robot which move camera along a plane). Continous autofocus are not usefull. For each Z height we create a focus value table to send to sensor with i2cset command and keept to this focus till Z height, from target, does not change.