Raspberry Pi and CubePilot ORANGE setup

Hello community,
I am in need of some assistance with a problem I am experiencing with my Raspberry Pi and CubePilot setup. Previously, I had a port called “/dev/ttyACM0” (TELEM2) which I was able to use to communicate with my Pixhawk. However, this port has mysteriously disappeared between reboots and I am now unable to communicate with the Pixhawk from Node.js.

I have tried troubleshooting the issue, but have been unable to find a solution. I would greatly appreciate any help or suggestions from the community on how to resolve this problem.
Thank you in advance for your time and assistance.

Hello

First what happens when you disconnect and reconnect the CUBE USB while looking at
dmesg -w

Hello, thank you for replying.
When i run the command dmesg -w and I disconnect and reconnect the USB it doesn’t show anything.

[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
[ 0.000000] Linux version 5.15.76-v8+ (dom@buildbot) (aarch64-linux-gnu-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1597 SMP PREEMPT Fri Nov 4 12:16:41 GMT 2022
[ 0.000000] random: crng init done
[ 0.000000] Machine model: Raspberry Pi 4 Model B Rev 1.5
[ 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-0x00000000ffffffff]
[ 0.000000] Normal [mem 0x0000000100000000-0x00000001ffffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000003b3fffff]
[ 0.000000] node 0: [mem 0x0000000040000000-0x00000000fbffffff]
[ 0.000000] node 0: [mem 0x0000000100000000-0x00000001ffffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000001ffffffff]
[ 0.000000] On node 0, zone DMA32: 19456 pages in unavailable ranges
[ 0.000000] On node 0, zone Normal: 16384 pages in unavailable ranges
[ 0.000000] percpu: Embedded 28 pages/cpu s77336 r8192 d29160 u114688
[ 0.000000] pcpu-alloc: s77336 r8192 d29160 u114688 alloc=28*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Detected PIPT I-cache on CPU0
[ 0.000000] CPU features: detected: Spectre-v2
[ 0.000000] CPU features: detected: Spectre-v3a
[ 0.000000] CPU features: detected: Spectre-v4
[ 0.000000] CPU features: detected: Spectre-BHB
[ 0.000000] CPU features: kernel page table isolation forced ON by KASLR
[ 0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[ 0.000000] CPU features: detected: ARM erratum 1742098
[ 0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 2028848
[ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 smsc95xx.macaddr=E4:5F:01:FE:62:75 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=tty1 console=ttyS0,115200 root=PARTUUID=1ea7a2de-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
[ 0.000000] Unknown kernel command line parameters “splash”, will be passed to user space.
[ 0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] software IO TLB: mapped [mem 0x0000000037400000-0x000000003b400000] (64MB)
[ 0.000000] Memory: 7668316K/8245248K available (11520K kernel code, 1956K rwdata, 4148K rodata, 3840K init, 975K bss, 249252K reserved, 327680K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] ftrace: allocating 38059 entries in 149 pages
[ 0.000000] ftrace: allocated 149 pages with 4 groups
[ 0.000000] trace event string verifier disabled
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] Rude variant of Tasks RCU enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] Root IRQ handler: gic_handle_irq
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] irq_brcmstb_l2: registered L2 intc (/soc/interrupt-controller@7ef00100, parent irq: 10)
[ 0.000000] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
[ 0.000000] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[ 0.000315] Console: colour dummy device 80x25
[ 0.000366] printk: console [tty1] enabled
[ 0.000441] Calibrating delay loop (skipped), value calculated using timer frequency… 108.00 BogoMIPS (lpj=216000)
[ 0.000467] pid_max: default: 32768 minimum: 301
[ 0.000610] LSM: Security Framework initializing
[ 0.000850] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.000945] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.002152] cgroup: Disabling memory control group subsystem
[ 0.004914] rcu: Hierarchical SRCU implementation.
[ 0.006016] EFI services will not be available.
[ 0.006515] smp: Bringing up secondary CPUs …
[ 0.007555] Detected PIPT I-cache on CPU1
[ 0.007629] CPU1: Booted secondary processor 0x0000000001 [0x410fd083]
[ 0.008872] Detected PIPT I-cache on CPU2
[ 0.008923] CPU2: Booted secondary processor 0x0000000002 [0x410fd083]
[ 0.010065] Detected PIPT I-cache on CPU3
[ 0.010115] CPU3: Booted secondary processor 0x0000000003 [0x410fd083]
[ 0.010264] smp: Brought up 1 node, 4 CPUs
[ 0.010285] SMP: Total of 4 processors activated.
[ 0.010297] CPU features: detected: 32-bit EL0 Support
[ 0.010307] CPU features: detected: 32-bit EL1 Support
[ 0.010319] CPU features: detected: CRC32 instructions
[ 0.042300] CPU: All CPU(s) started at EL2
[ 0.042373] alternatives: patching kernel code
[ 0.044024] devtmpfs: initialized
[ 0.054805] Enabled cp15_barrier support
[ 0.054845] Enabled setend support
[ 0.054873] KASLR enabled
[ 0.055065] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.055096] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.063329] pinctrl core: initialized pinctrl subsystem
[ 0.064154] DMI not present or invalid.
[ 0.064816] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.068521] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[ 0.068824] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.069752] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.069847] audit: initializing netlink subsys (disabled)
[ 0.070132] audit: type=2000 audit(0.068:1): state=initialized audit_enabled=0 res=1
[ 0.070662] thermal_sys: Registered thermal governor ‘step_wise’
[ 0.070878] cpuidle: using governor menu
[ 0.071238] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.071434] ASID allocator initialised with 32768 entries
[ 0.071598] Serial: AMBA PL011 UART driver
[ 0.085701] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[ 0.116377] raspberrypi-firmware soc:firmware: Attached to firmware from 2022-10-26T11:09:05, variant start
[ 0.120390] raspberrypi-firmware soc:firmware: Firmware hash is c72ad6b26ff40c91ef776b847436094ee63fabee
[ 0.171036] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1
[ 0.175225] vgaarb: loaded
[ 0.175623] SCSI subsystem initialized
[ 0.175835] usbcore: registered new interface driver usbfs
[ 0.175888] usbcore: registered new interface driver hub
[ 0.175952] usbcore: registered new device driver usb
[ 0.176337] usb_phy_generic phy: supply vcc not found, using dummy regulator
[ 0.176541] usb_phy_generic phy: dummy supplies not allowed for exclusive requests
[ 0.176914] pps_core: LinuxPPS API ver. 1 registered
[ 0.176927] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it
[ 0.176950] PTP clock support registered
[ 0.178367] clocksource: Switched to clocksource arch_sys_counter
[ 0.266890] VFS: Disk quotas dquot_6.6.0
[ 0.266988] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.267167] FS-Cache: Loaded
[ 0.267400] CacheFiles: Loaded
[ 0.278177] NET: Registered PF_INET protocol family
[ 0.279001] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.284972] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear)
[ 0.285047] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.285078] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.285445] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear)
[ 0.286319] TCP: Hash tables configured (established 65536 bind 65536)
[ 0.286651] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear)
[ 0.286773] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear)
[ 0.287136] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.288522] RPC: Registered named UNIX socket transport module.
[ 0.288540] RPC: Registered udp transport module.
[ 0.288551] RPC: Registered tcp transport module.
[ 0.288561] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.288581] PCI: CLS 0 bytes, default 64
[ 0.291025] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[ 0.291338] kvm [1]: IPA Size Limit: 44 bits
[ 0.292517] kvm [1]: vgic interrupt IRQ9
[ 0.292780] kvm [1]: Hyp mode initialized successfully
[ 1.166725] Initialise system trusted keyrings
[ 1.167073] workingset: timestamp_bits=46 max_order=21 bucket_order=0
[ 1.173620] zbud: loaded
[ 1.175488] FS-Cache: Netfs ‘nfs’ registered for caching
[ 1.176142] NFS: Registering the id_resolver key type
[ 1.176181] Key type id_resolver registered
[ 1.176192] Key type id_legacy registered
[ 1.176309] nfs4filelayout_init: NFSv4 File Layout Driver Registering…
[ 1.176323] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering…
[ 1.177457] Key type asymmetric registered
[ 1.177472] Asymmetric key parser ‘x509’ registered
[ 1.177549] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 1.177806] io scheduler mq-deadline registered
[ 1.177821] io scheduler kyber registered
[ 1.186015] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[ 1.186059] brcm-pcie fd500000.pcie: No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
[ 1.186144] brcm-pcie fd500000.pcie: MEM 0x0600000000…0x063fffffff → 0x00c0000000
[ 1.186232] brcm-pcie fd500000.pcie: IB MEM 0x0000000000…0x01ffffffff → 0x0400000000
[ 1.252467] brcm-pcie fd500000.pcie: link up, 5.0 GT/s PCIe x1 (SSC)
[ 1.252808] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[ 1.252827] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 1.252845] pci_bus 0000:00: root bus resource [mem 0x600000000-0x63fffffff] (bus address [0xc0000000-0xffffffff])
[ 1.252940] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[ 1.253187] pci 0000:00:00.0: PME# supported from D0 D3hot
[ 1.257099] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 1.257462] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[ 1.257586] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[ 1.258012] pci 0000:01:00.0: PME# supported from D0 D3hot
[ 1.273921] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 1.273965] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
[ 1.273989] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
[ 1.274029] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 1.274050] pci 0000:00:00.0: bridge window [mem 0x600000000-0x6000fffff]
[ 1.281921] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[ 1.284882] iproc-rng200 fe104000.rng: hwrng registered
[ 1.285376] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[ 1.286931] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
[ 1.299205] brd: module loaded
[ 1.308673] loop: module loaded
[ 1.309453] Loading iSCSI transport class v2.0-870.
[ 1.314450] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
[ 1.374528] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
[ 1.375600] usbcore: registered new interface driver r8152
[ 1.375665] usbcore: registered new interface driver lan78xx
[ 1.375716] usbcore: registered new interface driver smsc95xx
[ 1.421531] pci 0000:00:00.0: enabling device (0000 → 0002)
[ 1.421705] xhci_hcd 0000:01:00.0: xHCI Host Controller
[ 1.421737] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[ 1.422526] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0000740000000890
[ 1.423565] xhci_hcd 0000:01:00.0: xHCI Host Controller
[ 1.423587] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[ 1.423609] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[ 1.424030] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[ 1.424051] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.424066] usb usb1: Product: xHCI Host Controller
[ 1.424079] usb usb1: Manufacturer: Linux 5.15.76-v8+ xhci-hcd
[ 1.424092] usb usb1: SerialNumber: 0000:01:00.0
[ 1.424826] hub 1-0:1.0: USB hub found
[ 1.424897] hub 1-0:1.0: 1 port detected
[ 1.425837] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15
[ 1.425858] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.425873] usb usb2: Product: xHCI Host Controller
[ 1.425885] usb usb2: Manufacturer: Linux 5.15.76-v8+ xhci-hcd
[ 1.425898] usb usb2: SerialNumber: 0000:01:00.0
[ 1.426577] hub 2-0:1.0: USB hub found
[ 1.426687] hub 2-0:1.0: 4 ports detected
[ 1.428421] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 1.428755] dwc_otg: FIQ enabled
[ 1.428766] dwc_otg: NAK holdoff enabled
[ 1.428775] dwc_otg: FIQ split-transaction FSM enabled
[ 1.428788] Module dwc_common_port init
[ 1.429328] usbcore: registered new interface driver uas
[ 1.429439] usbcore: registered new interface driver usb-storage
[ 1.429651] mousedev: PS/2 mouse device common for all mice
[ 1.435564] sdhci: Secure Digital Host Controller Interface driver
[ 1.435583] sdhci: Copyright(c) Pierre Ossman
[ 1.436252] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.439746] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.440344] hid: raw HID events driver (C) Jiri Kosina
[ 1.440519] usbcore: registered new interface driver usbhid
[ 1.440532] usbhid: USB HID core driver
[ 1.440859] ashmem: initialized
[ 1.449275] NET: Registered PF_PACKET protocol family
[ 1.449407] Key type dns_resolver registered
[ 1.450746] registered taskstats version 1
[ 1.450780] Loading compiled-in X.509 certificates
[ 1.451400] Key type ._fscrypt registered
[ 1.451415] Key type .fscrypt registered
[ 1.451425] Key type fscrypt-provisioning registered
[ 1.462749] uart-pl011 fe201000.serial: there is not valid maps for state default
[ 1.463037] uart-pl011 fe201000.serial: cts_event_workaround enabled
[ 1.463202] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 19, base_baud = 0) is a PL011 rev2
[ 1.464110] fe201800.serial: ttyAMA1 at MMIO 0xfe201800 (irq = 19, base_baud = 0) is a PL011 rev2
[ 1.471879] bcm2835-aux-uart fe215040.serial: there is not valid maps for state default
[ 1.472522] printk: console [ttyS0] disabled
[ 1.472632] fe215040.serial: ttyS0 at MMIO 0xfe215040 (irq = 20, base_baud = 62500000) is a 16550
[ 1.472820] printk: console [ttyS0] enabled
[ 1.474175] bcm2835-wdt bcm2835-wdt: Poweroff handler already present!
[ 1.474192] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[ 1.474738] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[ 1.475891] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[ 1.475910] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[ 1.504480] of_cfs_init
[ 1.504622] of_cfs_init: OK
[ 1.539426] mmc0: SDHCI controller on fe340000.mmc [fe340000.mmc] using ADMA
[ 1.539835] Waiting for root device PARTUUID=1ea7a2de-02…
[ 1.590964] mmc1: new high speed SDIO card at address 0001
[ 1.643166] mmc0: new ultra high speed DDR50 SDXC card at address aaaa
[ 1.644124] mmcblk0: mmc0:aaaa SR64G 59.5 GiB
[ 1.647257] mmcblk0: p1 p2
[ 1.647799] mmcblk0: mmc0:aaaa SR64G 59.5 GiB (quirks 0x00004000)
[ 1.660237] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[ 1.660337] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 1.661200] devtmpfs: mounted
[ 1.668630] Freeing unused kernel memory: 3840K
[ 1.674531] Run /sbin/init as init process
[ 1.674545] with arguments:
[ 1.674553] /sbin/init
[ 1.674563] splash
[ 1.674572] with environment:
[ 1.674581] HOME=/
[ 1.674590] TERM=linux
[ 1.682401] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[ 1.841028] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
[ 1.841060] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 1.841076] usb 1-1: Product: USB2.0 Hub
[ 1.842910] hub 1-1:1.0: USB hub found
[ 1.843190] hub 1-1:1.0: 4 ports detected
[ 2.031027] systemd[1]: System time before build time, advancing clock.
[ 2.146428] usb 1-1.2: new high-speed USB device number 3 using xhci_hcd
[ 2.213041] NET: Registered PF_INET6 protocol family
[ 2.214897] Segment Routing with IPv6
[ 2.214938] In-situ OAM (IOAM) with IPv6
[ 2.255167] usb 1-1.2: New USB device found, idVendor=090c, idProduct=037c, bcdDevice= 0.07
[ 2.255201] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.255217] usb 1-1.2: Product: PC Cam
[ 2.255231] usb 1-1.2: Manufacturer: SMI
[ 2.282074] systemd[1]: systemd 247.3-7+deb11u1 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZSTD +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=unified)
[ 2.283081] systemd[1]: Detected architecture arm64.
[ 2.288284] systemd[1]: Set hostname to .
[ 2.338462] usb 1-1.4: new high-speed USB device number 4 using xhci_hcd
[ 2.450473] usb 1-1.4: New USB device found, idVendor=2c7c, idProduct=0125, bcdDevice= 3.18
[ 2.450507] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.450524] usb 1-1.4: Product: EG25-G
[ 2.450537] usb 1-1.4: Manufacturer: Quectel
[ 2.915608] 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.074318] systemd[1]: Queued start job for default target Graphical Interface.
[ 3.078882] systemd[1]: Created slice system-getty.slice.
[ 3.080154] systemd[1]: Created slice system-modprobe.slice.
[ 3.081085] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ 3.082007] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[ 3.082889] systemd[1]: Created slice User and Session Slice.
[ 3.083394] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 3.084477] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 3.084952] systemd[1]: Reached target Slices.
[ 3.085093] systemd[1]: Reached target Swap.
[ 3.088368] systemd[1]: Listening on Syslog Socket.
[ 3.089135] systemd[1]: Listening on fsck to fsckd communication Socket.
[ 3.089520] systemd[1]: Listening on initctl Compatibility Named Pipe.
[ 3.090891] systemd[1]: Listening on Journal Audit Socket.
[ 3.091678] systemd[1]: Listening on Journal Socket (/dev/log).
[ 3.092660] systemd[1]: Listening on Journal Socket.
[ 3.094386] systemd[1]: Listening on udev Control Socket.
[ 3.095187] systemd[1]: Listening on udev Kernel Socket.
[ 3.096126] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[ 3.100098] systemd[1]: Mounting POSIX Message Queue File System…
[ 3.104270] systemd[1]: Mounting RPC Pipe File System…
[ 3.109516] systemd[1]: Mounting Kernel Debug File System…
[ 3.114724] systemd[1]: Mounting Kernel Trace File System…
[ 3.115222] systemd[1]: Condition check resulted in Kernel Module supporting RPCSEC_GSS being skipped.
[ 3.120931] systemd[1]: Starting Restore / save the current clock…
[ 3.125643] systemd[1]: Starting Set the console keyboard layout…
[ 3.131048] systemd[1]: Starting Create list of static device nodes for the current kernel…
[ 3.136322] systemd[1]: Starting Load Kernel Module configfs…
[ 3.141534] systemd[1]: Starting Load Kernel Module drm…
[ 3.152703] systemd[1]: Starting Load Kernel Module fuse…
[ 3.156219] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[ 3.160877] systemd[1]: Starting File System Check on Root Device…
[ 3.170055] systemd[1]: Starting Journal Service…
[ 3.181572] systemd[1]: Starting Load Kernel Modules…
[ 3.186647] systemd[1]: Starting Coldplug All udev Devices…
[ 3.202720] systemd[1]: Mounted POSIX Message Queue File System.
[ 3.203535] systemd[1]: Mounted RPC Pipe File System.
[ 3.204343] systemd[1]: Mounted Kernel Debug File System.
[ 3.205035] systemd[1]: Mounted Kernel Trace File System.
[ 3.207370] systemd[1]: Finished Create list of static device nodes for the current kernel.
[ 3.210099] systemd[1]: modprobe@configfs.service: Succeeded.
[ 3.211899] systemd[1]: Finished Load Kernel Module configfs.
[ 3.217672] systemd[1]: Mounting Kernel Configuration File System…
[ 3.225036] systemd[1]: Finished Restore / save the current clock.
[ 3.249145] systemd[1]: Started File System Check Daemon to report status.
[ 3.253119] fuse: init (API version 7.34)
[ 3.258245] systemd[1]: Mounted Kernel Configuration File System.
[ 3.269034] i2c_dev: i2c /dev entries driver
[ 3.283159] systemd[1]: Finished Load Kernel Modules.
[ 3.298807] systemd[1]: Starting Apply Kernel Variables…
[ 3.301403] systemd[1]: modprobe@fuse.service: Succeeded.
[ 3.303132] systemd[1]: Finished Load Kernel Module fuse.
[ 3.311472] systemd[1]: Mounting FUSE Control File System…
[ 3.328938] systemd[1]: Mounted FUSE Control File System.
[ 3.380457] systemd[1]: modprobe@drm.service: Succeeded.
[ 3.382134] systemd[1]: Finished Load Kernel Module drm.
[ 3.393564] systemd[1]: Finished Apply Kernel Variables.
[ 3.399576] systemd[1]: Finished File System Check on Root Device.
[ 3.404348] systemd[1]: Starting Remount Root and Kernel File Systems…
[ 3.561990] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null). Quota mode: none.
[ 3.571561] systemd[1]: Finished Remount Root and Kernel File Systems.
[ 3.572463] systemd[1]: Started Journal Service.
[ 3.631433] systemd-journald[137]: Received client request to flush runtime journal.
[ 3.650119] systemd-journald[137]: File /var/log/journal/3f21ef2503cc4fef8335e2229fbbc37a/system.journal corrupted or uncleanly shut down, renaming and replacing.
[ 4.771463] mc: Linux media interface: v0.10
[ 4.782138] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[ 4.861361] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[ 4.861398] [vc_sm_connected_init]: start
[ 4.890844] [vc_sm_connected_init]: installed successfully
[ 4.961799] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[ 4.964198] videodev: Linux video capture interface: v2.00
[ 5.019638] brcmstb-i2c fef04500.i2c: @97500hz registered in polling mode
[ 5.020218] bcm2835_audio bcm2835_audio: card created with 8 channels
[ 5.101807] brcmstb-i2c fef09500.i2c: @97500hz registered in polling mode
[ 5.136936] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.142828] input: soc:shutdown_button@3 as /devices/platform/soc/soc:shutdown_button@3/input/input0
[ 5.161040] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.171415] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.219986] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.247394] rpivid_hevc: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.272789] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.336835] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[ 5.336894] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[ 5.344323] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
[ 5.346492] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[ 5.346546] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[ 5.346888] rpivid feb10000.codec: Device registered as /dev/video19
[ 5.348131] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
[ 5.353714] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[ 5.353786] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[ 5.366916] bcm2835-codec bcm2835-codec: Device registered as /dev/video18
[ 5.366984] bcm2835-codec bcm2835-codec: Loaded V4L2 image_fx
[ 5.369275] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
[ 5.372040] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
[ 5.372086] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[ 5.372128] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[ 5.372147] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[ 5.372164] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[ 5.379868] bcm2835-codec bcm2835-codec: Device registered as /dev/video31
[ 5.379947] bcm2835-codec bcm2835-codec: Loaded V4L2 encode_image
[ 5.415553] [drm] Initialized v3d 1.0.0 20180419 for fec00000.v3d on minor 0
[ 5.416792] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video20
[ 5.444242] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video21
[ 5.522915] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video22
[ 5.551016] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video23
[ 5.551086] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[ 5.551108] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[ 5.551126] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[ 5.551143] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[ 5.561097] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
[ 5.776524] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 5.824764] cfg80211: Loaded X.509 cert ‘sforshee: 00b28ddf47aef9cea7’
[ 5.855904] cfg80211: loaded regulatory.db is malformed or signature is missing/invalid
[ 5.921318] vc4-drm gpu: bound fe400000.hvs (ops vc4_hvs_ops [vc4])
[ 5.924246] Registered IR keymap rc-cec
[ 5.924595] rc rc0: vc4 as /devices/platform/soc/fef00700.hdmi/rc/rc0
[ 5.925124] input: vc4 as /devices/platform/soc/fef00700.hdmi/rc/rc0/input1
[ 5.939405] vc4-drm gpu: bound fef00700.hdmi (ops vc4_hdmi_ops [vc4])
[ 5.969206] Registered IR keymap rc-cec
[ 6.047240] brcmfmac: F1 signature read @0x18000000=0x15264345
[ 6.051221] rc rc1: vc4 as /devices/platform/soc/fef05700.hdmi/rc/rc1
[ 6.076149] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 6.077278] input: vc4 as /devices/platform/soc/fef05700.hdmi/rc/rc1/input2
[ 6.111084] usbcore: registered new interface driver brcmfmac
[ 6.269552] vc4-drm gpu: bound fef05700.hdmi (ops vc4_hdmi_ops [vc4])
[ 6.270060] vc4-drm gpu: bound fe004000.txp (ops vc4_txp_ops [vc4])
[ 6.270535] vc4-drm gpu: bound fe206000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 6.270896] vc4-drm gpu: bound fe207000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 6.271255] vc4-drm gpu: bound fe20a000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 6.271551] vc4-drm gpu: bound fe216000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 6.271889] vc4-drm gpu: bound fec12000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 6.312598] [drm] Initialized vc4 0.0.0 20140616 for gpu on minor 1
[ 6.313068] vc4-drm gpu: [drm] Cannot find any crtc or sizes
[ 6.347572] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 6.354166] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Nov 1 2021 00:37:25 version 7.45.241 (1a2f2fa CY) FWID 01-703fd60
[ 6.582149] usb 1-1.2: Found UVC 1.00 device PC Cam (090c:037c)
[ 6.885609] input: PC Cam as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2:1.0/input/input3
[ 6.979751] usbcore: registered new interface driver uvcvideo
[ 7.274235] usbcore: registered new interface driver usbserial_generic
[ 7.293797] usbcore: registered new interface driver cdc_wdm
[ 7.302737] usbserial: USB Serial support registered for generic
[ 7.341610] usbcore: registered new interface driver option
[ 7.341704] usbserial: USB Serial support registered for GSM modem (1-port)
[ 7.389778] cdc_ether 1-1.4:1.4 usb0: register ‘cdc_ether’ at usb-0000:01:00.0-1.4, CDC Ethernet Device, 5e:95:3f:03:8e:01
[ 7.391792] usbcore: registered new interface driver cdc_ether
[ 7.412802] usbcore: registered new interface driver qmi_wwan
[ 7.413257] option 1-1.4:1.0: GSM modem (1-port) converter detected
[ 7.415880] usb 1-1.4: GSM modem (1-port) converter now attached to ttyUSB0
[ 7.416212] option 1-1.4:1.1: GSM modem (1-port) converter detected
[ 7.421111] usb 1-1.4: GSM modem (1-port) converter now attached to ttyUSB1
[ 7.421440] option 1-1.4:1.2: GSM modem (1-port) converter detected
[ 7.422059] usb 1-1.4: GSM modem (1-port) converter now attached to ttyUSB2
[ 7.422311] option 1-1.4:1.3: GSM modem (1-port) converter detected
[ 7.430120] usb 1-1.4: GSM modem (1-port) converter now attached to ttyUSB3
[ 7.871454] uart-pl011 fe201000.serial: no DMA platform data
[ 7.957762] Adding 102396k swap on /var/swap. Priority:-2 extents:1 across:102396k SSFS
[ 9.709342] bcmgenet fd580000.ethernet: configuring instance for external RGMII (RX delay)
[ 9.709992] bcmgenet fd580000.ethernet eth0: Link is Down
[ 9.743489] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[ 10.274009] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[ 13.730513] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[ 13.797296] bcmgenet fd580000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[ 13.797371] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 14.479452] hdmi-audio-codec hdmi-audio-codec.0.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19
[ 14.479485] MAI: soc_pcm_open() failed (-19)
[ 14.480269] hdmi-audio-codec hdmi-audio-codec.0.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19
[ 14.480286] MAI: soc_pcm_open() failed (-19)
[ 14.480794] hdmi-audio-codec hdmi-audio-codec.0.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19
[ 14.480809] MAI: soc_pcm_open() failed (-19)
[ 14.488019] hdmi-audio-codec hdmi-audio-codec.0.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19
[ 14.488093] MAI: soc_pcm_open() failed (-19)
[ 14.488366] hdmi-audio-codec hdmi-audio-codec.0.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19
[ 14.488398] MAI: soc_pcm_open() failed (-19)
[ 14.488610] hdmi-audio-codec hdmi-audio-codec.0.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19
[ 14.488639] MAI: soc_pcm_open() failed (-19)
[ 14.545349] hdmi-audio-codec hdmi-audio-codec.1.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19
[ 14.545408] MAI: soc_pcm_open() failed (-19)
[ 14.546008] hdmi-audio-codec hdmi-audio-codec.1.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19
[ 14.546071] MAI: soc_pcm_open() failed (-19)
[ 14.547105] hdmi-audio-codec hdmi-audio-codec.1.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19
[ 14.547157] MAI: soc_pcm_open() failed (-19)
[ 14.555523] hdmi-audio-codec hdmi-audio-codec.1.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19
[ 14.555600] MAI: soc_pcm_open() failed (-19)
[ 14.555888] hdmi-audio-codec hdmi-audio-codec.1.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19
[ 14.555925] MAI: soc_pcm_open() failed (-19)
[ 14.556161] hdmi-audio-codec hdmi-audio-codec.1.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19
[ 14.556190] MAI: soc_pcm_open() failed (-19)
[ 16.354211] vc4-drm gpu: [drm] Cannot find any crtc or sizes
[ 16.938623] Bluetooth: Core ver 2.22
[ 16.938739] NET: Registered PF_BLUETOOTH protocol family
[ 16.938748] Bluetooth: HCI device and connection manager initialized
[ 16.938769] Bluetooth: HCI socket layer initialized
[ 16.938783] Bluetooth: L2CAP socket layer initialized
[ 16.938806] Bluetooth: SCO socket layer initialized
[ 16.960296] Bluetooth: HCI UART driver ver 2.3
[ 16.960324] Bluetooth: HCI UART protocol H4 registered
[ 16.960418] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 16.960769] Bluetooth: HCI UART protocol Broadcom registered
[ 17.223924] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 17.223943] Bluetooth: BNEP filters: protocol multicast
[ 17.223957] Bluetooth: BNEP socket layer initialized
[ 17.239723] NET: Registered PF_ALG protocol family
[ 17.347649] Bluetooth: RFCOMM TTY layer initialized
[ 17.347678] Bluetooth: RFCOMM socket layer initialized
[ 17.347699] Bluetooth: RFCOMM ver 1.11
[ 18.988090] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 19.448998] capability: warning: `zerotier-one’ uses 32-bit capabilities (legacy support in use)
[ 19.548414] tun: Universal TUN/TAP device driver, 1.6
[ 31.710414] cam-dummy-reg: disabling
[ 77.643425] FS-Cache: Netfs ‘cifs’ registered for caching
[ 77.651149] Key type cifs.spnego registered
[ 77.651176] Key type cifs.idmap registered
[ 77.652906] CIFS: No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3.1.1), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3.1.1 (or even SMB3 or SMB2.1) specify vers=1.0 on mount.
[ 77.652924] CIFS: Attempting to mount \192.168.5.141\data
[ 169.688155] uart-pl011 fe201800.serial: no DMA platform data

These are the things it writes when I execute it but it doesn’t write anything else if i disconnect and reconnect (i don’t know if this can be helpful).

What happens if you connect the CUBE to your PC via USB ?