Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MotionEyeOS multiple video* on RPi ZW and no video in MEyeOS latest Oct 2020 #2560

Closed
mrmichaelhallett opened this issue Oct 28, 2020 · 2 comments
Labels

Comments

@mrmichaelhallett
Copy link

Using username "admin".
Pre-authentication banner message from server:
| Welcome to RaspiCam!
End of banner message from server
admin@192.168.50.113's password:
[root@RaspiCam ~]# ls /dev/video*
/dev/video10 /dev/video11 /dev/video12

No display of camera video in console
Logs in fine and I see Logi Camera though no display because I unplugged it for troubleshooting
Raspi camera connected directly to the Raspberry Pi Zero W camera connector

Wireless connection: WPA_Supplicant.conf worked fine for initial wireless connection

About to re image SD card and start again.
OTG plus Logi QCam Orbit worked fine. Unplugged

Michael

Using username "admin".
Pre-authentication banner message from server:
| Welcome to RaspiCam!
End of banner message from server
admin@192.168.50.113's password:
[root@RaspiCam ~]# dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.19.83 (root@f8defca1b6bb) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1 Sat Jun 6 14:23:22 UTC 2020
[ 0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Raspberry Pi Zero W Rev 1.1
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] cma: Reserved 8 MiB at 0x17400000
[ 0.000000] On node 0 totalpages: 98304
[ 0.000000] Normal zone: 864 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 98304 pages, LIFO batch:31
[ 0.000000] random: get_random_bytes called from start_kernel+0x8c/0x49c with crng_init=0
[ 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: 97440
[ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbswap=1 smsc95xx.macaddr=B8:27:EB:5B:D9:2C vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 dwc_otg.fiq_fix_enable=1 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait ro rootflags=noload panic=10 quiet loglevel=1
[ 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: 369180K/393216K available (7157K kernel code, 657K rwdata, 2136K rodata, 468K init, 797K bss, 15844K reserved, 8192K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xd8800000 - 0xff800000 ( 624 MB)
lowmem : 0xc0000000 - 0xd8000000 ( 384 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.text : 0x(ptrval) - 0x(ptrval) (7158 kB)
.init : 0x(ptrval) - 0x(ptrval) ( 468 kB)
.data : 0x(ptrval) - 0x(ptrval) ( 658 kB)
.bss : 0x(ptrval) - 0x(ptrval) ( 798 kB)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] ftrace: allocating 25729 entries in 76 pages
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000030] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483647500ns
[ 0.000078] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
[ 0.000200] bcm2835: system timer (irq = 27)
[ 0.000605] Console: colour dummy device 80x30
[ 0.000634] console [tty1] enabled
[ 0.000694] Calibrating delay loop... 697.95 BogoMIPS (lpj=3489792)
[ 0.060339] pid_max: default: 32768 minimum: 301
[ 0.060889] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.060912] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.062334] CPU: Testing write buffer coherency: ok
[ 0.063653] Setting up static identity map for 0x8200 - 0x8238
[ 0.065060] devtmpfs: initialized
[ 0.076375] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[ 0.076779] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.076811] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.078159] pinctrl core: initialized pinctrl subsystem
[ 0.079731] NET: Registered protocol family 16
[ 0.083045] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[ 0.090660] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[ 0.090678] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.090823] Serial: AMBA PL011 UART driver
[ 0.094022] bcm2835-mbox 2000b880.mailbox: mailbox enabled
[ 0.139693] bcm2835-dma 20007000.dma: DMA legacy API manager at (ptrval), dmachans=0x1
[ 0.142337] SCSI subsystem initialized
[ 0.142607] usbcore: registered new interface driver usbfs
[ 0.142712] usbcore: registered new interface driver hub
[ 0.142939] usbcore: registered new device driver usb
[ 0.160973] raspberrypi-firmware soc:firmware: Attached to firmware from 2019-11-14 15:27, variant start_x
[ 0.170988] raspberrypi-firmware soc:firmware: Firmware hash is 2354eac70a98807e06bed2149bc0c5613e751c15
[ 0.183435] clocksource: Switched to clocksource timer
[ 0.291692] VFS: Disk quotas dquot_6.6.0
[ 0.291820] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.292146] FS-Cache: Loaded
[ 0.292483] CacheFiles: Loaded
[ 0.311450] NET: Registered protocol family 2
[ 0.312784] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[ 0.312852] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.312936] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.313032] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.313196] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.313232] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.313771] NET: Registered protocol family 1
[ 0.314881] RPC: Registered named UNIX socket transport module.
[ 0.314895] RPC: Registered udp transport module.
[ 0.314901] RPC: Registered tcp transport module.
[ 0.314908] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.316204] hw perfevents: no irqs for PMU, sampling events not supported
[ 0.316268] hw perfevents: enabled with armv6_1176 PMU driver, 3 counters available
[ 0.320507] Initialise system trusted keyrings
[ 0.321062] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[ 0.336576] FS-Cache: Netfs 'nfs' registered for caching
[ 0.337909] NFS: Registering the id_resolver key type
[ 0.337961] Key type id_resolver registered
[ 0.337969] Key type id_legacy registered
[ 0.337997] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.343820] Key type asymmetric registered
[ 0.343837] Asymmetric key parser 'x509' registered
[ 0.343952] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 0.344418] io scheduler noop registered
[ 0.344435] io scheduler deadline registered
[ 0.345049] io scheduler cfq registered (default)
[ 0.345067] io scheduler mq-deadline registered
[ 0.345075] io scheduler kyber registered
[ 0.347910] bcm2708_fb soc:fb: FB found 1 display(s)
[ 0.357106] Console: switching to colour frame buffer device 82x26
[ 0.361904] bcm2708_fb soc:fb: Registered framebuffer for display 0, size 656x416
[ 0.365794] bcm2835-rng 20104000.rng: hwrng registered
[ 0.366273] vc-mem: phys_addr:0x00000000 mem_base=0x1ec00000 mem_size:0x20000000(512 MiB)
[ 0.367418] vc-sm: Videocore shared memory driver
[ 0.368102] gpiomem-bcm2835 20200000.gpiomem: Initialised: Registers at 0x20200000
[ 0.389080] brd: module loaded
[ 0.402817] loop: module loaded
[ 0.403824] Loading iSCSI transport class v2.0-870.
[ 0.404827] usbcore: registered new interface driver smsc95xx
[ 0.404859] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 0.432926] dwc_otg 20980000.usb: base=(ptrval)
[ 0.633391] Core Release: 2.80a
[ 0.633409] Setting default values for core params
[ 0.633527] Finished setting default values for core params
[ 0.833927] Using Buffer DMA mode
[ 0.833942] Periodic Transfer Interrupt Enhancement - disabled
[ 0.833949] Multiprocessor Interrupt Enhancement - disabled
[ 0.833962] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 0.834074] Dedicated Tx FIFOs mode
[ 0.834926] WARN::dwc_otg_hcd_init:1045: FIQ DMA bounce buffers: virt = d7514000 dma = 0x57514000 len=9024
[ 0.834955] FIQ FSM acceleration enabled for :
Non-periodic Split Transactions
Periodic Split Transactions
High-Speed Isochronous Endpoints
Interrupt/Control Split Transaction hack enabled
[ 0.834967] dwc_otg: Microframe scheduler enabled
[ 0.835158] WARN::hcd_init_fiq:457: FIQ on core 0
[ 0.835175] WARN::hcd_init_fiq:458: FIQ ASM at c0525670 length 36
[ 0.835203] WARN::hcd_init_fiq:497: MPHI regs_base at d8810000
[ 0.835236] dwc_otg 20980000.usb: DWC OTG Controller
[ 0.835301] dwc_otg 20980000.usb: new USB bus registered, assigned bus number 1
[ 0.835377] dwc_otg 20980000.usb: irq 56, io mem 0x00000000
[ 0.835433] Init: Port Power? op_state=1
[ 0.835440] Init: Power Port (0)
[ 0.835899] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[ 0.835919] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.835932] usb usb1: Product: DWC OTG Controller
[ 0.835943] usb usb1: Manufacturer: Linux 4.19.83 dwc_otg_hcd
[ 0.835953] usb usb1: SerialNumber: 20980000.usb
[ 0.837090] hub 1-0:1.0: USB hub found
[ 0.837193] hub 1-0:1.0: 1 port detected
[ 0.838262] dwc_otg: FIQ enabled
[ 0.838275] dwc_otg: NAK holdoff enabled
[ 0.838283] dwc_otg: FIQ split-transaction FSM enabled
[ 0.838303] Module dwc_common_port init
[ 0.838844] usbcore: registered new interface driver usb-storage
[ 0.839326] mousedev: PS/2 mouse device common for all mice
[ 0.840728] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[ 0.841225] bcm2835-cpufreq: min=700000 max=1000000
[ 0.841984] sdhci: Secure Digital Host Controller Interface driver
[ 0.841995] sdhci: Copyright(c) Pierre Ossman
[ 0.842643] mmc-bcm2835 20300000.mmcnr: could not get clk, deferring probe
[ 0.843367] sdhost-bcm2835 20202000.mmc: could not get clk, deferring probe
[ 0.843737] sdhci-pltfm: SDHCI platform and OF driver helper
[ 0.844399] ledtrig-cpu: registered to indicate activity on CPUs
[ 0.844545] hidraw: raw HID events driver (C) Jiri Kosina
[ 0.844806] usbcore: registered new interface driver usbhid
[ 0.844816] usbhid: USB HID core driver
[ 0.845943] vchiq: vchiq_init_state: slot_zero = (ptrval), is_master = 0
[ 0.848114] [vc_sm_connected_init]: start
[ 0.857659] [vc_sm_connected_init]: end - returning 0
[ 0.859673] Initializing XFRM netlink socket
[ 0.859752] NET: Registered protocol family 17
[ 0.859913] Key type dns_resolver registered
[ 0.861875] registered taskstats version 1
[ 0.861909] Loading compiled-in X.509 certificates
[ 0.872666] uart-pl011 20201000.serial: cts_event_workaround enabled
[ 0.872810] 20201000.serial: ttyAMA0 at MMIO 0x20201000 (irq = 81, base_baud = 0) is a PL011 rev2
[ 0.875921] mmc-bcm2835 20300000.mmcnr: mmc_debug:0 mmc_debug2:0
[ 0.875942] mmc-bcm2835 20300000.mmcnr: DMA channel allocated
[ 0.904834] sdhost: log_buf @ (ptrval) (57513000)
[ 0.943414] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[ 0.945242] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 0.946972] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 0.950063] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[ 0.954573] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[ 0.956482] of_cfs_init
[ 0.956637] of_cfs_init: OK
[ 0.957796] Waiting for root device /dev/mmcblk0p2...
[ 0.980369] random: fast init done
[ 1.018004] mmc0: host does not support reading read-only switch, assuming write-enable
[ 1.020604] mmc0: new high speed SDHC card at address 0001
[ 1.022778] mmcblk0: mmc0:0001 GB1QT 29.8 GiB
[ 1.026189] mmcblk0: p1 p2 p3
[ 1.051249] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: noload
[ 1.051348] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 1.052692] devtmpfs: mounted
[ 1.057882] Freeing unused kernel memory: 468K
[ 1.057898] This architecture does not have kernel memory protection.
[ 1.057905] Run /sbin/init as init process
[ 1.091436] mmc1: new high speed SDIO card at address 0001
[ 5.281318] EXT4-fs (mmcblk0p3): recovery complete
[ 5.298199] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
[ 6.184479] media: Linux media interface: v0.10
[ 6.221111] videodev: Linux video capture interface: v2.00
[ 6.258362] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[ 6.261196] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[ 6.261217] [vc_sm_connected_init]: start
[ 6.262096] [vc_sm_connected_init]: installed successfully
[ 6.267223] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 6.275220] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[ 7.090889] i2c /dev entries driver
[ 8.303528] udevd[264]: starting version 3.2.7
[ 8.334005] random: udevd: uninitialized urandom read (16 bytes read)
[ 8.336340] random: udevd: uninitialized urandom read (16 bytes read)
[ 8.336521] random: udevd: uninitialized urandom read (16 bytes read)
[ 8.406288] udevd[265]: starting eudev-3.2.7
[ 9.173272] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[ 9.227673] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[ 9.227734] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[ 9.235797] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[ 9.235842] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[ 9.251606] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[ 9.251652] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[ 9.558035] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[ 9.638068] bcm2835_audio soc:audio: card created with 8 channels
[ 9.930953] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 10.631788] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 10.762587] brcmfmac: F1 signature read @0x18000000=0x1541a9a6
[ 10.773784] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[ 10.774122] usbcore: registered new interface driver brcmfmac
[ 10.995698] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[ 10.995865] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
[ 10.996804] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Oct 23 2017 03:55:53 version 7.45.98.38 (r674442 CY) FWID 01-e58d219f
[ 11.483982] random: crng init done
[ 11.484004] random: 1 urandom warning(s) missed due to ratelimiting
[ 12.166343] brcmfmac: power management disabled
[ 12.419737] brcmfmac: power management disabled
[ 15.268198] NET: Registered protocol family 10
[ 15.275235] Segment Routing with IPv6
[ 15.685847] system date is 2020-10-28 18:43:11

Preliminary Docs

I confirm that I have read the CONTRIBUTING guide before opening this issue.

I confirm that I have read the FAQ before opening this issue.

motionEyeOS Version

I am running motionEyeOS version: (insert your version here, e.g. 20180314).

Board Model

I am using the following board/model: (insert your board model here, e.g. Raspberry PI 3B+).

Camera

I am using the following type of camera: (choose from V4L2, MMAL, Network Camera, Fast Network Camera and Simple MJPEG Camera).

My camera model is: (insert your camera model, e.g. Logitech C290).

Network Connection

My motionEyeOS unit is connected to the network via: (choose your network connection, e.g. WiFi, Ethernet).

Peripherals

I am using the following peripherals that I consider relevant to this issue:

  • (e.g. USB WiFi adapter)
  • (e.g. External Hard Disk)

Log Files

I consider the following log files relevant to this issue:

  • (attach e.g. motioneye.log)
  • (attach e.g. boot.log)
@starbasessd
Copy link

starbasessd commented Oct 28, 2020 via email

@mrmichaelhallett
Copy link
Author

Not sure how to close this out.
Got the RaspiCam and logitech USB cam working.
Had to do a manual modprobe and (have the cables attached to the RPi zero W camera connector and camera board (duh!)
Then modprobe, then found Video 0 eventually after a couple of reboots

For the Logitech QuickCam Orbit I found 3 video devices automagically created Video 10,11,12 none worked
Kept installing cameras with the defaults then the last one chose Video ) and worked (halleleuya)

Then I read about how to mount as rw and edit the config (didnt do it)
but saw that some had edited one of the camera conf (ig) files and changed the device.
Rebooted after replugging the USB and found device Video 1 had been created
oh a whim tried changing the Camera1.conf video device to Video1 instead of Video 10 (edited with nano and saved)
reboot and both are showing

I will probably reflash and set them up again as an exercise and to get them as Camera 1 and 2

In case it helps anyone.
Michael

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants