Help with webcam for motion server

Re: Help with webcam for motion server

Postby AceCuba » Mon Oct 02, 2023 3:12 pm

:scratch :thinking
You do not have the required permissions to view the files attached to this post.
AceCuba
Donator VIP
Donator VIP
 
Posts: 60
Joined: Sun Aug 06, 2023 4:26 am

Re: Help with webcam for motion server

Postby fvdw » Mon Oct 02, 2023 3:13 pm

Did you losd yhe kernel module?
If yes post output of this command

Code: Select all
lsmod


And
Code: Select all
dmesg
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Help with webcam for motion server

Postby AceCuba » Mon Oct 02, 2023 3:36 pm

root@SegateNas:/ # lsmod
udf 70903 0 - Live 0xbf143000
isofs 22183 0 - Live 0xbf139000
xhci_pci 4310 0 - Live 0xbf0c4000
xhci_plat_hcd 6627 0 - Live 0xbf0be000
xhci_hcd 92012 2 xhci_pci,xhci_plat_hcd, Live 0xbf0a0000
iscsi_tcp 8332 0 - Live 0xbf099000
libiscsi_tcp 11318 1 iscsi_tcp, Live 0xbf092000
libiscsi 32517 2 iscsi_tcp,libiscsi_tcp, Live 0xbf083000
scsi_transport_iscsi 56062 2 iscsi_tcp,libiscsi, Live 0xbf069000
usblp 9326 0 - Live 0xbf062000
usb_storage 39348 0 - Live 0xbf04f000
ehci_orion 3253 0 - Live 0xbf04b000
ehci_hcd 37050 1 ehci_orion, Live 0xbf03c000
usbcore 149784 7 xhci_pci,xhci_plat_hcd,xhci_hcd,usblp,usb_storage,ehci_orion,ehci_hcd, Live 0xbf004000
usb_common 2919 1 usbcore, Live 0xbf000000
root@SegateNas:/ #
AceCuba
Donator VIP
Donator VIP
 
Posts: 60
Joined: Sun Aug 06, 2023 4:26 am

Re: Help with webcam for motion server

Postby AceCuba » Mon Oct 02, 2023 3:37 pm

Code: Select all
root@SegateNas:/ # dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.133 (root@fvdwsl-5big2.local) (gcc version 4.9.3 (GCC)) #1 Sun Jul 28 15:49:01 CEST 2019
[    0.000000] CPU: ARMv7 Processor [561f5811] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: Seagate Personal Cloud (Cumulus, SRN21C)
[    0.000000] Memory policy: Data cache writeback
[    0.000000] On node 0 totalpages: 131072
[    0.000000] free_area_init_node: node 0, pgdat c08ae2e8, node_mem_map dfb7a000
[    0.000000]   Normal zone: 1152 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 131072 pages, LIFO batch:31
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129920
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sda7
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 509836K/524288K available (6409K kernel code, 277K rwdata, 1732K rodata, 220K init, 407K bss, 14452K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc064a978   (6411 kB)
[    0.000000]       .init : 0xc0833000 - 0xc086a000   ( 220 kB)
[    0.000000]       .data : 0xc086a000 - 0xc08af7e0   ( 278 kB)
[    0.000000]        .bss : 0xc08b7cc4 - 0xc091dba4   ( 408 kB)
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] L2C: DT/platform modifies aux control register: 0x12086302 -> 0x1a086302
[    0.000000] Aurora cache controller enabled, 4 ways, 256 kB
[    0.000000] Aurora: CACHE_ID 0x00000100, AUX_CTRL 0x1a086302
[    0.000000] Switching to timer-based delay loop, resolution 48ns
[    0.000007] sched_clock: 32 bits at 20MHz, resolution 48ns, wraps every 103356786663ns
[    0.000024] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 91987540234 ns
[    0.000354] Console: colour dummy device 80x30
[    0.000375] Calibrating delay loop (skipped), value calculated using timer frequency.. 41.55 BogoMIPS (lpj=207773)
[    0.000389] pid_max: default: 32768 minimum: 301
[    0.000541] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000555] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001084] CPU: Testing write buffer coherency: ok
[    0.001558] Setting up static identity map for 0x8200 - 0x8260
[    0.001850] mvebu-soc-id: MVEBU SoC ID=0x6710, Rev=0x1
[    0.001946] mvebu-pmsu: Initializing Power Management Service Unit
[    0.004976] random: get_random_u32 called from bucket_table_alloc+0x14c/0x198                                                                                         with crng_init=0
[    0.005198] VFP support v0.3: implementor 56 architecture 2 part 20 variant 9                                                                                         rev 6
[    0.005363] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma                                                                                        x_idle_ns: 19112604462750000 ns
[    0.005387] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.005458] xor: measuring software checksum speed
[    0.100064]    arm4regs  :   919.600 MB/sec
[    0.200062]    8regs     :   776.400 MB/sec
[    0.300063]    32regs    :   882.000 MB/sec
[    0.300070] xor: using function: arm4regs (919.600 MB/sec)
[    0.300082] pinctrl core: initialized pinctrl subsystem
[    0.300570] NET: Registered protocol family 16
[    0.301039] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.301742] No ATAGs?
[    0.301750] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.301852] mvebu-pmsu: CPU idle is currently broken: disabling
[    0.480370] raid6: int32x1  gen()   142 MB/s
[    0.650226] raid6: int32x1  xor()   136 MB/s
[    0.820127] raid6: int32x2  gen()   213 MB/s
[    0.990210] raid6: int32x2  xor()   155 MB/s
[    1.160122] raid6: int32x4  gen()   179 MB/s
[    1.330171] raid6: int32x4  xor()   140 MB/s
[    1.500411] raid6: int32x8  gen()   172 MB/s
[    1.670104] raid6: int32x8  xor()   116 MB/s
[    1.670110] raid6: using algorithm int32x2 gen() 213 MB/s
[    1.670116] raid6: .... xor() 155 MB/s, rmw enabled
[    1.670123] raid6: using intx1 recovery algorithm
[    1.670696] SCSI subsystem initialized
[    1.670878] libata version 3.00 loaded.
[    1.672072] clocksource: Switched to clocksource armada_370_xp_clocksource
[    1.672260] FS-Cache: Loaded
[    1.676346] NET: Registered protocol family 2
[    1.676811] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    1.676849] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    1.676885] TCP: Hash tables configured (established 4096 bind 4096)
[    1.676973] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    1.676988] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    1.677086] NET: Registered protocol family 1
[    1.677415] RPC: Registered named UNIX socket transport module.
[    1.677425] RPC: Registered udp transport module.
[    1.677431] RPC: Registered tcp transport module.
[    1.677437] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.677446] PCI: CLS 0 bytes, default 64
[    1.677704] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    1.678615] Initialise system trusted keyrings
[    1.678762] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    1.679030] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.679265] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.679617] ntfs: driver 2.1.32 [Flags: R/W].
[    1.679652] fuse init (API version 7.26)
[    1.679868] JFS: nTxBlock = 3983, nTxLock = 31864
[    1.685752] async_tx: api initialized (async)
[    1.685766] Key type asymmetric registered
[    1.685773] Asymmetric key parser 'x509' registered
[    1.685823] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2                                                                                        50)
[    1.685832] io scheduler noop registered
[    1.685838] io scheduler deadline registered
[    1.685882] io scheduler cfq registered (default)
[    1.686548] armada-370-pinctrl f1018000.pin-ctrl: registered pinctrl driver
[    1.688249] mvebu-pcie soc:pcie@82000000: PCI host bridge to bus 0000:00
[    1.688267] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    1.688278] pci_bus 0000:00: root bus resource [mem 0xf8000000-0xffdfffff]
[    1.688289] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.688320] pci 0000:00:01.0: [11ab:6710] type 01 class 0x060400
[    1.688513] PCI: bus0: Fast back to back transfers disabled
[    1.688526] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.688643] pci 0000:01:00.0: [1b21:1142] type 00 class 0x0c0330
[    1.688678] pci 0000:01:00.0: reg 0x10: [mem 0x40000000-0x40007fff 64bit]
[    1.712100] PCI: bus1: Fast back to back transfers disabled
[    1.712117] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.712149] pci 0000:00:01.0: BAR 8: assigned [mem 0xf8000000-0xf80fffff]
[    1.712164] pci 0000:01:00.0: BAR 0: assigned [mem 0xf8000000-0xf8007fff 64bit]
[    1.712183] pci 0000:00:01.0: PCI bridge to [bus 01]
[    1.712196] pci 0000:00:01.0:   bridge window [mem 0xf8000000-0xf80fffff]
[    1.712271] pcieport 0000:00:01.0: enabling device (0140 -> 0142)
[    1.712762] mv_xor f1060800.xor: Marvell shared XOR driver
[    1.772977] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr)
[    1.774138] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.832966] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr                                                                                         )
[    1.834224] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.835163] console [ttyS0] disabled
[    1.855290] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 19, base_baud =                                                                                         12500000) is a 16550A
[    2.525937] console [ttyS0] enabled
[    2.536932] brd: module loaded
[    2.543213] loop: module loaded
[    2.546768] sata_mv f10a0000.sata: version 1.28
[    2.546923] sata_mv f10a0000.sata: slots 32 ports 1
[    2.552725] scsi host0: sata_mv
[    2.556052] ata1: SATA max UDMA/133 irq 27
[    2.561562] m25p80 spi0.0: mx25l8005 (1024 Kbytes)
[    2.566424] 1 ofpart partitions found on MTD device spi0.0
[    2.571936] Creating 1 MTD partitions on "spi0.0":
[    2.576770] 0x000000000000-0x000000100000 : "u-boot"
[    2.582578] libphy: Fixed MDIO Bus: probed
[    2.587026] tun: Universal TUN/TAP device driver, 1.6
[    2.592198] ipddp.c:v0.01 8/28/97 Bradford W. Johnson <johns393@maroon.tc.umn.edu>
[    2.600151] ipddp0: Appletalk-IP Encap. mode by Bradford W. Johnson <johns393@maroon.tc.umn.edu>
[    2.609233] libphy: orion_mdio_bus: probed
[    2.615404] mvneta f1074000.ethernet eth0: Using hardware mac address 00:10:75:58:86:15
[    2.623596] PPP generic driver version 2.4.2
[    2.627974] PPP Deflate Compression module registered
[    2.633074] PPP MPPE Compression module registered
[    2.637887] NET: Registered protocol family 24
[    2.642662] aoe: cannot create debugfs directory
[    2.647482] aoe: AoE v85 initialised.
[    2.651448] rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0
[    2.669148] (NULL device *): hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[    2.681897] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) initialised: dm-devel@redhat.com
[    2.690633] device-mapper: multipath round-robin: version 1.2.0 loaded
[    2.697208] device-mapper: multipath queue-length: version 0.2.0 loaded
[    2.703862] device-mapper: multipath service-time: version 0.3.0 loaded
[    2.710541] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    2.716674] device-mapper: raid: Loading target version 1.13.0
[    2.723171] ledtrig-cpu: registered to indicate activity on CPUs
[    2.730684] marvell-cesa f1090000.crypto: CESA device successfully registered
[    2.738029] hidraw: raw HID events driver (C) Jiri Kosina
[    2.743667] Netfilter messages via NETLINK v0.30.
[    2.748405] nfnl_acct: registering with nfnetlink.
[    2.753351] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)
[    2.759787] ipip: IPv4 and MPLS over IPv4 tunneling driver
[    2.765730] ip_tables: (C) 2000-2006 Netfilter Core Team
[    2.771208] NET: Registered protocol family 10
[    2.776560] Segment Routing with IPv6
[    2.780309] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    2.785792] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.792246] NET: Registered protocol family 17
[    2.796752] Bridge firewalling registered
[    2.800782] NET: Registered protocol family 5
[    2.805256] Key type dns_resolver registered
[    2.809868] registered taskstats version 1
[    2.814004] Loading compiled-in X.509 certificates
[    2.819536] console [netcon0] enabled
[    2.823241] netconsole: network logging started
[    2.828310] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    2.835238] rtc-mv f1010300.rtc: setting system clock to 2023-10-02 16:07:25 UTC (1696262845)
[    3.122157] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    3.130755] ata1.00: ATA-9: ST1000DM003-1ER162, CC45, max UDMA/133
[    3.136983] ata1.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    3.148277] ata1.00: configured for UDMA/133
[    3.152892] scsi 0:0:0:0: Direct-Access     ATA      ST1000DM003-1ER1 CC45 PQ: 0 ANSI: 5
[    3.161857] sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[    3.169581] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    3.174895] sd 0:0:0:0: [sda] Write Protect is off
[    3.179714] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    3.179802] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    3.252447]  sda: sda1 sda2 sda3 sda4 sda5 sda6 sda7 sda8
[    3.259372] sd 0:0:0:0: [sda] Attached SCSI disk
[    3.264104] md: Skipping autodetection of RAID arrays. (raid=autodetect will force)
[    3.302201] EXT4-fs (sda7): mounting ext3 file system using the ext4 subsystem
[    3.324416] EXT4-fs (sda7): mounted filesystem with ordered data mode. Opts:                                                                                         (null)
[    3.332176] VFS: Mounted root (ext3 filesystem) readonly on device 8:7.
[    3.339128] Freeing unused kernel memory: 220K
[    3.343606] This architecture does not have kernel memory protection.
[    3.481998] random: fast init done
[    3.700961] EXT4-fs (sda7): warning: maximal mount count reached, running e2f                                                                                        sck is recommended
[    3.744321] EXT4-fs (sda7): re-mounted. Opts: (null)
[    3.991876] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsyste                                                                                        m
[    4.792283] EXT4-fs (sda1): recovery complete
[    4.822144] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts:                                                                                         (null)
[    5.115355] EXT4-fs (sda1): re-mounted. Opts: (null)
[    6.150351] usbcore: registered new interface driver usbfs
[    6.155959] usbcore: registered new interface driver hub
[    6.161355] usbcore: registered new device driver usb
[    6.168413] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.175516] ehci-orion: EHCI orion driver
[    6.179713] orion-ehci f1050000.usb: EHCI Host Controller
[    6.185190] orion-ehci f1050000.usb: new USB bus registered, assigned bus num                                                                                        ber 1
[    6.192914] orion-ehci f1050000.usb: irq 25, io mem 0xf1050000
[    6.222084] orion-ehci f1050000.usb: USB 2.0 started, EHCI 1.00
[    6.228181] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    6.235023] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=                                                                                        1
[    6.242291] usb usb1: Product: EHCI Host Controller
[    6.247192] usb usb1: Manufacturer: Linux 4.14.133 ehci_hcd
[    6.252800] usb usb1: SerialNumber: f1050000.usb
[    6.257825] hub 1-0:1.0: USB hub found
[    6.261626] hub 1-0:1.0: 1 port detected
[    6.279176] usbcore: registered new interface driver usb-storage
[    6.296400] usbcore: registered new interface driver usblp
[    6.327446] Loading iSCSI transport class v2.0-870.
[    6.336591] iscsi: registered transport (tcp)
[    6.632161] usb 1-1: new full-speed USB device number 2 using orion-ehci
[    6.750308] EXT4-fs (sda5): mounting ext3 file system using the ext4 subsyste                                                                                        m
[    6.847888] usb 1-1: New USB device found, idVendor=045e, idProduct=00f7
[    6.854653] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    6.861829] usb 1-1: Product: USB camera
[    7.102425] EXT4-fs (sda5): warning: maximal mount count reached, running e2f                                                                                        sck is recommended
[    7.142302] EXT4-fs (sda5): recovery complete
[    7.174254] EXT4-fs (sda5): mounted filesystem with ordered data mode. Opts:                                                                                         (null)
[    7.270216] random: mkswap: uninitialized urandom read (16 bytes read)
[    7.320005] Adding 524284k swap on /dev/sda3.  Priority:-2 extents:1 across:5                                                                                        24284k
[    7.401638] random: dropbear: uninitialized urandom read (32 bytes read)
[   19.158527] udevd (334): /proc/334/oom_adj is deprecated, please use /proc/33                                                                                        4/oom_score_adj instead.
[   19.167924] udev: starting version 130
[   19.865317] xhci_hcd 0000:01:00.0: xHCI Host Controller
[   19.870597] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus numbe                                                                                        r 2
[   19.938578] xhci_hcd 0000:01:00.0: hcc params 0x0200e081 hci version 0x100 qu                                                                                        irks 0x0000000010000410
[   20.317239] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[   20.324105] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=                                                                                        1
[   20.331362] usb usb2: Product: xHCI Host Controller
[   20.336282] usb usb2: Manufacturer: Linux 4.14.133 xhci-hcd
[   20.341881] usb usb2: SerialNumber: 0000:01:00.0
[   20.347612] hub 2-0:1.0: USB hub found
[   20.351976] hub 2-0:1.0: 2 ports detected
[   20.356481] xhci_hcd 0000:01:00.0: xHCI Host Controller
[   20.361747] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 3
[   20.369209] xhci_hcd 0000:01:00.0: Host supports USB 3.0  SuperSpeed
[   20.376621] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[   20.384884] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003
[   20.391709] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   20.398981] usb usb3: Product: xHCI Host Controller
[   20.403894] usb usb3: Manufacturer: Linux 4.14.133 xhci-hcd
[   20.409494] usb usb3: SerialNumber: 0000:01:00.0
[   20.415132] hub 3-0:1.0: USB hub found
[   20.419443] hub 3-0:1.0: 2 ports detected
[   25.532147] random: crng init done
[   28.708563] EXT4-fs (sda8): warning: maximal mount count reached, running e2fsck is recommended
[   28.826792] EXT4-fs (sda8): recovery complete
[   28.864268] EXT4-fs (sda8): mounted filesystem with ordered data mode. Opts:user_xattr,acl,nodelalloc
[   30.303141] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   34.562816] mvneta f1074000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   34.570890] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   43.355254] capability: warning: `proftpd' uses 32-bit capabilities (legacy support in use)
root@SegateNas:/ #
AceCuba
Donator VIP
Donator VIP
 
Posts: 60
Joined: Sun Aug 06, 2023 4:26 am

Re: Help with webcam for motion server

Postby fvdw » Mon Oct 02, 2023 3:48 pm

From lsmod command it appears that sonixj driver is not loaded.
I forgot that seagate personal cloud has another kernel than the lacie kirkwood based devices. I will need to compile a kernel module for this kernel.

Ps did you get an error message when loading the (incorrect) module?
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Help with webcam for motion server

Postby AceCuba » Mon Oct 02, 2023 3:51 pm

nop no error
AceCuba
Donator VIP
Donator VIP
 
Posts: 60
Joined: Sun Aug 06, 2023 4:26 am

Re: Help with webcam for motion server

Postby fvdw » Mon Oct 02, 2023 4:44 pm

But is not loaded. Anyhow I found the issue the current kernel on your seagate pc has no support for multimedia. Therefor webcams won't work. I need to recompile the kernel to include. I will try to compile it this evening
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Help with webcam for motion server

Postby AceCuba » Mon Oct 02, 2023 5:05 pm

thankss
AceCuba
Donator VIP
Donator VIP
 
Posts: 60
Joined: Sun Aug 06, 2023 4:26 am

Re: Help with webcam for motion server

Postby fvdw » Tue Oct 03, 2023 2:04 pm

Kernel is compiled, besides the new kernel also kernel modules must be updated because of configuration changes made in the kernel.
Attached two archives:

1. UIMAGE-414133-ARMADA370_SRN21C-3.zip
This archive contains two files
The new kernel:
UIMAGE-414133-ARMADA370_SRN21C-3

A file containing the md5sum of the kernel file:
md5sum-UIMAGE-414133-ARMADA370_SRN21C-3
This md5sum can be used to check if the kernel has not gone corrupt during download, this because of crappy internet connection in Cuba :whistle

2. linux-4.14.133-armada-370-cc493-modules-3.tar.gz
This archive contains the update kernel modules.

How to install.
1. Install the new kernel
Put the zip archive in the fvdw share and extract it to get the two files.
Connect via ssh server
Go to the fvdw share
Code: Select all
cd /direct-usb/fvdw

Check the md5sum of the kernel
Code: Select all
md5sum UIMAGE-414133-ARMADA370_SRN21C-3

Compare the md5sum with the one in the txt file. If the same the kernel is ok and can be written to disk.
Code: Select all
dd if=UIMAGE-414133-ARMADA370_SRN21C-3 of=/dev/sda6

Notes:
Be sure you type /dev/sda6 otherwise the kernel is written to wrong position and the nas may become not functional or even loose your dat stored on the nas
If md5sum is not the same do not write the kernel to disk as it won't run.

2. Update the kernel modules
Put the tar.gz file in the fvdw share
Connect via ssh and change to fvdw share as described above (if not already done)
Unpack the archive
Code: Select all
tar -xzvf linux-4.14.133-armada-370-cc493-modules-3.tar.gz -C /lib/modules/4.14.133

Check if new modules are present in the directory /lib/modules/4.14.133 by looking to the date of files new modules will have dat 2 october 2023

If all ok than reboot your nas and the magic should happen, your webcams should be able to use.

PS I tested the kernel on my seagate pc nas and it worked just fine.
You do not have the required permissions to view the files attached to this post.
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Help with webcam for motion server

Postby AceCuba » Wed Oct 04, 2023 2:20 am

ok updt ok nas come back no issues webcam present , but now if i start motion , the pictures show but motion hangs after 3 to 5 sec of streeming . the 2 webcams same result
AceCuba
Donator VIP
Donator VIP
 
Posts: 60
Joined: Sun Aug 06, 2023 4:26 am

PreviousNext

Return to Seagate personal cloud

Who is online

Users browsing this forum: No registered users and 2 guests