Howdoyoudo?
Posts: 8
Joined: Thu Jun 18, 2020 5:25 pm

What am I doing wrong?

Tue Jun 30, 2020 5:14 pm

My Rpi states I have
i@raspberrypi:~ $ ls -ltr /dev/video*
crw-rw----+ 1 root video 81, 0 Jun 29 21:01 /dev/video10
crw-rw----+ 1 root video 81, 1 Jun 29 21:01 /dev/video11
crw-rw----+ 1 root video 81, 2 Jun 29 21:01 /dev/video12
crw-rw----+ 1 root video 81, 5 Jun 30 12:48 /dev/video2
crw-rw----+ 1 root video 81, 6 Jun 30 12:48 /dev/video3
crw-rw----+ 1 root video 81, 3 Jun 30 12:51 /dev/video0
crw-rw----+ 1 root video 81, 4 Jun 30 12:51 /dev/video1
crw-rw----+ 1 root video 81, 7 Jun 30 12:57 /dev/video4
crw-rw----+ 1 root video 81, 8 Jun 30 12:57 /dev/video5

9 cameras hooked up I only have 3 usb cameras hooked up and not one of them displays an image.

pi@raspberrypi:~ $ dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.19.118-v7+ (dom@buildbot) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1311 SMP Mon Apr 27 14:21:24 BST 2020
[ 0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Raspberry Pi 3 Model B Rev 1.2
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] cma: Reserved 8 MiB at 0x3ac00000
[ 0.000000] On node 0 totalpages: 242688
[ 0.000000] Normal zone: 2133 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 242688 pages, LIFO batch:63
[ 0.000000] random: get_random_bytes called from start_kernel+0xac/0x4b4 with crng_init=0
[ 0.000000] percpu: Embedded 16 pages/cpu s36864 r8192 d20480 u65536
[ 0.000000] pcpu-alloc: s36864 r8192 d20480 u65536 alloc=16*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 240555
[ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_headphones=1 bcm2708_fb.fbwidth=1366 bcm2708_fb.fbheight=768 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 939064K/970752K available (8192K kernel code, 656K rwdata, 2232K rodata, 1024K init, 831K bss, 23496K reserved, 8192K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xbb800000 - 0xff800000 (1088 MB)
lowmem : 0x80000000 - 0xbb400000 ( 948 MB)
modules : 0x7f000000 - 0x80000000 ( 16 MB)
.text : 0x(ptrval) - 0x(ptrval) (9184 kB)
.init : 0x(ptrval) - 0x(ptrval) (1024 kB)
.data : 0x(ptrval) - 0x(ptrval) ( 657 kB)
.bss : 0x(ptrval) - 0x(ptrval) ( 832 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] ftrace: allocating 27093 entries in 80 pages
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 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.000007] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[ 0.000019] Switching to timer-based delay loop, resolution 52ns
[ 0.000267] Console: colour dummy device 80x30
[ 0.000287] console [tty1] enabled
[ 0.000329] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[ 0.000343] pid_max: default: 32768 minimum: 301
[ 0.000692] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000708] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.001641] CPU: Testing write buffer coherency: ok
[ 0.002101] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.002759] Setting up static identity map for 0x100000 - 0x10003c
[ 0.002908] rcu: Hierarchical SRCU implementation.
[ 0.003715] smp: Bringing up secondary CPUs ...
[ 0.004608] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.005583] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.006497] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.006609] smp: Brought up 1 node, 4 CPUs
[ 0.006621] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[ 0.006627] CPU: All CPU(s) started in HYP mode.
[ 0.006632] CPU: Virtualization extensions available.
[ 0.007610] devtmpfs: initialized
[ 0.021133] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4
[ 0.021371] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.021391] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.021980] pinctrl core: initialized pinctrl subsystem
[ 0.022837] NET: Registered protocol family 16
[ 0.026109] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[ 0.032103] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.032111] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.032309] Serial: AMBA PL011 UART driver
[ 0.034629] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[ 0.050039] raspberrypi-firmware soc:firmware: Attached to firmware from 2020-04-15 11:43, variant start
[ 0.060051] raspberrypi-firmware soc:firmware: Firmware hash is 82f9bb929ce2186eb1824178c1ae82902ad6275c
[ 0.103343] bcm2835-dma 3f007000.dma: DMA legacy API manager at (ptrval), dmachans=0x1
[ 0.104964] SCSI subsystem initialized
[ 0.105185] usbcore: registered new interface driver usbfs
[ 0.105239] usbcore: registered new interface driver hub
[ 0.105333] usbcore: registered new device driver usb
[ 0.107157] clocksource: Switched to clocksource arch_sys_counter
[ 0.197761] VFS: Disk quotas dquot_6.6.0
[ 0.197842] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.198023] FS-Cache: Loaded
[ 0.198230] CacheFiles: Loaded
[ 0.208283] NET: Registered protocol family 2
[ 0.209121] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[ 0.209157] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.209268] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.209453] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.209590] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.209641] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.209879] NET: Registered protocol family 1
[ 0.210468] RPC: Registered named UNIX socket transport module.
[ 0.210475] RPC: Registered udp transport module.
[ 0.210480] RPC: Registered tcp transport module.
[ 0.210486] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.212398] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available
[ 0.215467] Initialise system trusted keyrings
[ 0.215668] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[ 0.225599] FS-Cache: Netfs 'nfs' registered for caching
[ 0.226171] NFS: Registering the id_resolver key type
[ 0.226201] Key type id_resolver registered
[ 0.226208] Key type id_legacy registered
[ 0.226224] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.231758] Key type asymmetric registered
[ 0.231770] Asymmetric key parser 'x509' registered
[ 0.231828] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 0.231995] io scheduler noop registered
[ 0.232003] io scheduler deadline registered (default)
[ 0.232201] io scheduler cfq registered
[ 0.232209] io scheduler mq-deadline registered (default)
[ 0.232216] io scheduler kyber registered
[ 0.235444] bcm2708_fb soc:fb: FB found 1 display(s)
[ 0.265702] Console: switching to colour frame buffer device 170x48
[ 0.282279] bcm2708_fb soc:fb: Registered framebuffer for display 0, size 1366x768
[ 0.284426] bcm2835-rng 3f104000.rng: hwrng registered
[ 0.284732] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[ 0.285237] vc-sm: Videocore shared memory driver
[ 0.285554] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[ 0.296409] brd: module loaded
[ 0.306712] loop: module loaded
[ 0.307379] Loading iSCSI transport class v2.0-870.
[ 0.308093] libphy: Fixed MDIO Bus: probed
[ 0.308195] usbcore: registered new interface driver lan78xx
[ 0.308251] usbcore: registered new interface driver smsc95xx
[ 0.308268] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 0.336121] dwc_otg 3f980000.usb: base=(ptrval)
[ 0.536375] Core Release: 2.80a
[ 0.536385] Setting default values for core params
[ 0.536416] Finished setting default values for core params
[ 0.736727] Using Buffer DMA mode
[ 0.736735] Periodic Transfer Interrupt Enhancement - disabled
[ 0.736741] Multiprocessor Interrupt Enhancement - disabled
[ 0.736748] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 0.736765] Dedicated Tx FIFOs mode
[ 0.737269] WARN::dwc_otg_hcd_init:1074: FIQ DMA bounce buffers: virt = bad04000 dma = 0xfad04000 len=9024
[ 0.737296] FIQ FSM acceleration enabled for :
Non-periodic Split Transactions
Periodic Split Transactions
High-Speed Isochronous Endpoints
Interrupt/Control Split Transaction hack enabled
[ 0.737304] dwc_otg: Microframe scheduler enabled
[ 0.737355] WARN::hcd_init_fiq:457: FIQ on core 1
[ 0.737364] WARN::hcd_init_fiq:458: FIQ ASM at 8068fda0 length 36
[ 0.737375] WARN::hcd_init_fiq:497: MPHI regs_base at bb810000
[ 0.737392] dwc_otg 3f980000.usb: DWC OTG Controller
[ 0.737457] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[ 0.737497] dwc_otg 3f980000.usb: irq 56, io mem 0x00000000
[ 0.737546] Init: Port Power? op_state=1
[ 0.737553] Init: Power Port (0)
[ 0.737812] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[ 0.737824] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.737833] usb usb1: Product: DWC OTG Controller
[ 0.737842] usb usb1: Manufacturer: Linux 4.19.118-v7+ dwc_otg_hcd
[ 0.737850] usb usb1: SerialNumber: 3f980000.usb
[ 0.738470] hub 1-0:1.0: USB hub found
[ 0.738516] hub 1-0:1.0: 1 port detected
[ 0.739107] dwc_otg: FIQ enabled
[ 0.739112] dwc_otg: NAK holdoff enabled
[ 0.739118] dwc_otg: FIQ split-transaction FSM enabled
[ 0.739128] Module dwc_common_port init
[ 0.739388] usbcore: registered new interface driver usb-storage
[ 0.739566] mousedev: PS/2 mouse device common for all mice
[ 0.740402] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[ 0.740635] bcm2835-cpufreq: min=600000 max=1200000
[ 0.741085] sdhci: Secure Digital Host Controller Interface driver
[ 0.741091] sdhci: Copyright(c) Pierre Ossman
[ 0.741473] mmc-bcm2835 3f300000.mmcnr: could not get clk, deferring probe
[ 0.741876] sdhost-bcm2835 3f202000.mmc: could not get clk, deferring probe
[ 0.742001] sdhci-pltfm: SDHCI platform and OF driver helper
[ 0.743690] ledtrig-cpu: registered to indicate activity on CPUs
[ 0.743882] hidraw: raw HID events driver (C) Jiri Kosina
[ 0.744036] usbcore: registered new interface driver usbhid
[ 0.744041] usbhid: USB HID core driver
[ 0.745000] vchiq: vchiq_init_state: slot_zero = (ptrval), is_master = 0
[ 0.746490] [vc_sm_connected_init]: start
[ 0.755658] [vc_sm_connected_init]: end - returning 0
[ 0.756780] Initializing XFRM netlink socket
[ 0.756806] NET: Registered protocol family 17
[ 0.756931] Key type dns_resolver registered
[ 0.757727] Registering SWP/SWPB emulation handler
[ 0.758381] registered taskstats version 1
[ 0.758398] Loading compiled-in X.509 certificates
[ 0.765117] uart-pl011 3f201000.serial: cts_event_workaround enabled
[ 0.765205] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 81, base_baud = 0) is a PL011 rev2
[ 0.767044] mmc-bcm2835 3f300000.mmcnr: mmc_debug:0 mmc_debug2:0
[ 0.767055] mmc-bcm2835 3f300000.mmcnr: DMA channel allocated
[ 0.793439] sdhost: log_buf @ (ptrval) (fad07000)
[ 0.832969] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[ 0.834546] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 0.836126] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 0.838954] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[ 0.841343] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[ 0.842642] of_cfs_init
[ 0.842737] of_cfs_init: OK
[ 0.843411] Waiting for root device /dev/mmcblk0p7...
[ 0.900725] mmc0: host does not support reading read-only switch, assuming write-enable
[ 0.903382] mmc0: new high speed SDHC card at address 5048
[ 0.904670] mmcblk0: mmc0:5048 SD32G 28.9 GiB
[ 0.908619] mmcblk0: p1 p2 < p5 p6 p7 >
[ 0.912136] random: fast init done
[ 0.945179] EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null)
[ 0.945234] VFS: Mounted root (ext4 filesystem) readonly on device 179:7.
[ 0.954244] devtmpfs: mounted
[ 0.962305] Freeing unused kernel memory: 1024K
[ 0.965503] mmc1: new high speed SDIO card at address 0001
[ 0.967305] Indeed it is in host mode hprt0 = 00021501
[ 1.027708] Run /sbin/init as init process
[ 1.177215] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 1.177362] Indeed it is in host mode hprt0 = 00001101
[ 1.417579] usb 1-1: New USB device found, idVendor=0424, idProduct=9514, bcdDevice= 2.00
[ 1.417605] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1.418302] hub 1-1:1.0: USB hub found
[ 1.418399] hub 1-1:1.0: 5 ports detected
[ 1.638162] systemd[1]: System time before build time, advancing clock.
[ 1.737211] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 1.773813] NET: Registered protocol family 10
[ 1.775121] Segment Routing with IPv6
[ 1.813919] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[ 1.814810] systemd[1]: Detected architecture arm.
[ 1.822818] systemd[1]: Set hostname to <raspberrypi>.
[ 1.867833] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00, bcdDevice= 2.00
[ 1.867852] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1.871014] smsc95xx v1.0.6
[ 1.961784] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:cd:99:84
[ 2.057249] usb 1-1.2: new full-speed USB device number 4 using dwc_otg
[ 2.214243] usb 1-1.2: New USB device found, idVendor=046d, idProduct=c52b, bcdDevice=24.07
[ 2.214259] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.214268] usb 1-1.2: Product: USB Receiver
[ 2.214277] usb 1-1.2: Manufacturer: Logitech
[ 2.357226] usb 1-1.4: new low-speed USB device number 5 using dwc_otg
[ 2.509125] usb 1-1.4: New USB device found, idVendor=0d3d, idProduct=0001, bcdDevice= 0.01
[ 2.509141] usb 1-1.4: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 2.509150] usb 1-1.4: Product: USBPS2
[ 2.527312] input: USBPS2 as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0/0003:0D3D:0001.0004/input/input0
[ 2.598013] hid-generic 0003:0D3D:0001.0004: input,hidraw0: USB HID v1.00 Keyboard [USBPS2] on usb-3f980000.usb-1.4/input0
[ 2.615103] random: systemd: uninitialized urandom read (16 bytes read)
[ 2.618487] input: USBPS2 Mouse as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.1/0003:0D3D:0001.0005/input/input1
[ 2.618964] input: USBPS2 Consumer Control as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.1/0003:0D3D:0001.0005/input/input2
[ 2.626966] random: systemd: uninitialized urandom read (16 bytes read)
[ 2.627865] systemd[1]: Listening on Journal Socket.
[ 2.628449] random: systemd: uninitialized urandom read (16 bytes read)
[ 2.628730] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 2.656559] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
[ 2.665696] systemd[1]: Starting Set the console keyboard layout...
[ 2.668035] systemd[1]: Created slice system-getty.slice.
[ 2.669946] systemd[1]: Created slice User and Session Slice.
[ 2.671294] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 2.687530] input: USBPS2 System Control as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.1/0003:0D3D:0001.0005/input/input3
[ 2.697450] hid-generic 0003:0D3D:0001.0005: input,hidraw1: USB HID v1.00 Mouse [USBPS2] on usb-3f980000.usb-1.4/input1
[ 2.807260] usb 1-1.5: new full-speed USB device number 6 using dwc_otg
[ 2.845347] i2c /dev entries driver
[ 2.939391] usb 1-1.5: New USB device found, idVendor=0451, idProduct=2046, bcdDevice= 1.25
[ 2.939410] usb 1-1.5: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.940406] hub 1-1.5:1.0: USB hub found
[ 2.941020] hub 1-1.5:1.0: 4 ports detected
[ 3.257326] usb 1-1.5.1: new full-speed USB device number 7 using dwc_otg
[ 3.267525] EXT4-fs (mmcblk0p7): re-mounted. Opts: (null)
[ 3.389131] usb 1-1.5.1: config 1 interface 1 altsetting 3 endpoint 0x85 has invalid maxpacket 1024, setting to 1023
[ 3.389150] usb 1-1.5.1: config 1 interface 3 has no altsetting 1
[ 3.390345] usb 1-1.5.1: New USB device found, idVendor=1b3f, idProduct=2202, bcdDevice= 1.00
[ 3.390358] usb 1-1.5.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3.390367] usb 1-1.5.1: Product: GENERAL - UVC
[ 3.390376] usb 1-1.5.1: Manufacturer: GENERAL
[ 3.425111] systemd-journald[115]: Received request to flush runtime journal from PID 1
[ 4.230222] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[ 4.233004] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[ 4.233018] [vc_sm_connected_init]: start
[ 4.239399] [vc_sm_connected_init]: installed successfully
[ 4.260447] media: Linux media interface: v0.10
[ 4.310603] videodev: Linux video capture interface: v2.00
[ 4.351505] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[ 4.365652] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 4.371129] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 4.385909] bcm2835_audio soc:audio: card created with 4 channels
[ 4.389769] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[ 4.394247] bcm2835_audio soc:audio: card created with 4 channels
[ 4.409322] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[ 4.451146] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[ 4.451191] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[ 4.458551] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[ 4.458592] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[ 4.468297] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[ 4.468335] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[ 4.755511] logitech-djreceiver 0003:046D:C52B.0003: hiddev96,hidraw2: USB HID v1.11 Device [Logitech USB Receiver] on usb-3f980000.usb-1.2/input2
[ 4.820566] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 4.880227] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 4.903811] input: Logitech Unifying Device. Wireless PID:400a Mouse as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.2/0003:046D:C52B.0003/0003:046D:400A.0006/input/input4
[ 4.904333] hid-generic 0003:046D:400A.0006: input,hidraw3: USB HID v1.11 Mouse [Logitech Unifying Device. Wireless PID:400a] on usb-3f980000.usb-1.2:1
[ 4.958774] brcmfmac: F1 signature read @0x18000000=0x1541a9a6
[ 4.970989] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[ 4.971336] usbcore: registered new interface driver brcmfmac
[ 5.198696] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[ 5.198814] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
[ 5.199609] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Oct 22 2019 01:59:28 version 7.45.98.94 (r723000 CY) FWID 01-3b33decd
[ 5.806794] uvcvideo: Found UVC 1.00 device GENERAL - UVC (1b3f:2202)
[ 5.815728] uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround.
[ 5.816716] uvcvideo 1-1.5.1:1.0: Entity type for entity Processing 5 was not initialized!
[ 5.816732] uvcvideo 1-1.5.1:1.0: Entity type for entity Selector 4 was not initialized!
[ 5.816744] uvcvideo 1-1.5.1:1.0: Entity type for entity Camera 1 was not initialized!
[ 5.817353] input: GENERAL - UVC : GENERAL - UVC as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5.1/1-1.5.1:1.0/input/input8
[ 5.826146] usbcore: registered new interface driver uvcvideo
[ 5.826157] USB Video Class driver (1.1.1)
[ 5.858240] usbcore: registered new interface driver snd-usb-audio
[ 5.862323] random: crng init done
[ 5.862338] random: 7 urandom warning(s) missed due to ratelimiting
[ 6.114890] input: Logitech M325 as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.2/0003:046D:C52B.0003/0003:046D:400A.0006/input/input9
[ 6.115626] logitech-hidpp-device 0003:046D:400A.0006: input,hidraw3: USB HID v1.11 Mouse [Logitech M325] on usb-3f980000.usb-1.2:1
[ 7.641211] uart-pl011 3f201000.serial: no DMA platform data
[ 7.773273] 8021q: 802.1Q VLAN Support v1.8
[ 7.991812] Adding 102396k swap on /var/swap. Priority:-2 extents:1 across:102396k SSFS
[ 8.326343] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 8.326384] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[ 8.839602] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[ 8.840212] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 9.769415] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 11.189235] ICMPv6: process `dhcpcd' is using deprecated sysctl (syscall) net.ipv6.neigh.wlan0.retrans_time - use net.ipv6.neigh.wlan0.retrans_time_ms instead
[ 11.794085] Bluetooth: Core ver 2.22
[ 11.794193] NET: Registered protocol family 31
[ 11.794196] Bluetooth: HCI device and connection manager initialized
[ 11.796379] Bluetooth: HCI socket layer initialized
[ 11.796390] Bluetooth: L2CAP socket layer initialized
[ 11.796424] Bluetooth: SCO socket layer initialized
[ 11.814757] Bluetooth: HCI UART driver ver 2.3
[ 11.814768] Bluetooth: HCI UART protocol H4 registered
[ 11.814880] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 11.815037] Bluetooth: HCI UART protocol Broadcom registered
[ 12.108312] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 12.108320] Bluetooth: BNEP filters: protocol multicast
[ 12.108336] Bluetooth: BNEP socket layer initialized
[ 12.174427] Bluetooth: RFCOMM TTY layer initialized
[ 12.174467] Bluetooth: RFCOMM socket layer initialized
[ 12.174510] Bluetooth: RFCOMM ver 1.11
[ 13.773083] fuse init (API version 7.27)
[43668.072212] uvcvideo: Failed to query (130) UVC probe control : -32 (exp. 26).
[43668.072958] uvcvideo: Failed to query (130) UVC probe control : -32 (exp. 26).
[43668.073576] uvcvideo: Failed to query (130) UVC probe control : -32 (exp. 26).
[43668.074453] uvcvideo: Failed to query (130) UVC probe control : -32 (exp. 26).
[43668.075078] uvcvideo: Failed to query (130) UVC probe control : -32 (exp. 26).
[43668.078462] uvcvideo: Failed to query (130) UVC probe control : -32 (exp. 26).
[43668.079080] uvcvideo: Failed to query (130) UVC probe control : -32 (exp. 26).
[56780.890593] usb 1-1.5.1: reset full-speed USB device number 7 using dwc_otg
[56781.022656] restoring control 00000000-0000-0000-0000-000000000101/0/2
[56781.022668] restoring control 00000000-0000-0000-0000-000000000101/1/3
[56781.022676] restoring control 00000000-0000-0000-0000-000000000101/2/6
[56781.022683] restoring control 00000000-0000-0000-0000-000000000101/3/7
[56781.022691] restoring control 00000000-0000-0000-0000-000000000101/4/8
[56781.022699] restoring control 00000000-0000-0000-0000-000000000101/5/9
[56781.022706] restoring control 00000000-0000-0000-0000-000000000101/8/1
[56786.270627] usb 1-1.5.1: reset full-speed USB device number 7 using dwc_otg
[56786.402658] restoring control 00000000-0000-0000-0000-000000000101/0/2
[56786.402670] restoring control 00000000-0000-0000-0000-000000000101/1/3
[56786.402678] restoring control 00000000-0000-0000-0000-000000000101/2/6
[56786.402685] restoring control 00000000-0000-0000-0000-000000000101/3/7
[56786.402693] restoring control 00000000-0000-0000-0000-000000000101/4/8
[56786.402700] restoring control 00000000-0000-0000-0000-000000000101/5/9
[56786.402707] restoring control 00000000-0000-0000-0000-000000000101/8/1
[56800.090700] usb 1-1.5.1: reset full-speed USB device number 7 using dwc_otg
[56800.222656] restoring control 00000000-0000-0000-0000-000000000101/0/2
[56800.222669] restoring control 00000000-0000-0000-0000-000000000101/1/3
[56800.222676] restoring control 00000000-0000-0000-0000-000000000101/2/6
[56800.222684] restoring control 00000000-0000-0000-0000-000000000101/3/7
[56800.222691] restoring control 00000000-0000-0000-0000-000000000101/4/8
[56800.222699] restoring control 00000000-0000-0000-0000-000000000101/5/9
[56800.222707] restoring control 00000000-0000-0000-0000-000000000101/8/1
[56802.650715] usb 1-1.5.1: reset full-speed USB device number 7 using dwc_otg
[56802.782775] restoring control 00000000-0000-0000-0000-000000000101/0/2
[56802.782788] restoring control 00000000-0000-0000-0000-000000000101/1/3
[56802.782796] restoring control 00000000-0000-0000-0000-000000000101/2/6
[56802.782803] restoring control 00000000-0000-0000-0000-000000000101/3/7
[56802.782811] restoring control 00000000-0000-0000-0000-000000000101/4/8
[56802.782818] restoring control 00000000-0000-0000-0000-000000000101/5/9
[56802.782825] restoring control 00000000-0000-0000-0000-000000000101/8/1
[56807.520737] usb 1-1.5.2: new full-speed USB device number 8 using dwc_otg
[56817.760795] usb 1-1.5.2: new full-speed USB device number 9 using dwc_otg
[56817.895063] usb 1-1.5.2: config 1 interface 3 has no altsetting 1
[56817.897518] usb 1-1.5.2: New USB device found, idVendor=1b3f, idProduct=2202, bcdDevice= 1.00
[56817.897531] usb 1-1.5.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[56817.897540] usb 1-1.5.2: Product: GENERAL - UVC
[56817.897549] usb 1-1.5.2: Manufacturer: GENERAL
[56817.900404] uvcvideo: Found UVC 1.00 device GENERAL - UVC (1b3f:2202)
[56817.911135] uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround.
[56817.912093] uvcvideo 1-1.5.2:1.0: Entity type for entity Processing 5 was not initialized!
[56817.912110] uvcvideo 1-1.5.2:1.0: Entity type for entity Selector 4 was not initialized!
[56817.912122] uvcvideo 1-1.5.2:1.0: Entity type for entity Camera 1 was not initialized!
[56817.912542] input: GENERAL - UVC : GENERAL - UVC as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5.2/1-1.5.2:1.0/input/input10
[56979.082021] usb 1-1.5-port1: Cannot enable. Maybe the USB cable is bad?
[56979.181673] usb 1-1.5.1: reset full-speed USB device number 7 using dwc_otg
[56979.721672] usb 1-1.5.1: reset full-speed USB device number 7 using dwc_otg
[56980.161669] usb 1-1.5.1: device not accepting address 7, error -22
[56980.261677] usb 1-1.5.1: reset full-speed USB device number 7 using dwc_otg
[56980.701673] usb 1-1.5.1: device not accepting address 7, error -22
[56980.702398] usb 1-1.5.1: USB disconnect, device number 7
[56980.891709] usb 1-1.5.1: new full-speed USB device number 10 using dwc_otg
[56981.023428] usb 1-1.5.1: config 1 interface 1 altsetting 3 endpoint 0x85 has invalid maxpacket 1024, setting to 1023
[56981.023450] usb 1-1.5.1: config 1 interface 3 has no altsetting 1
[56981.024642] usb 1-1.5.1: New USB device found, idVendor=1b3f, idProduct=2202, bcdDevice= 1.00
[56981.024655] usb 1-1.5.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[56981.024664] usb 1-1.5.1: Product: GENERAL - UVC
[56981.024673] usb 1-1.5.1: Manufacturer: GENERAL
[56981.026909] uvcvideo: Found UVC 1.00 device GENERAL - UVC (1b3f:2202)
[56981.030016] uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround.
[56981.030933] uvcvideo 1-1.5.1:1.0: Entity type for entity Processing 5 was not initialized!
[56981.030947] uvcvideo 1-1.5.1:1.0: Entity type for entity Selector 4 was not initialized!
[56981.030959] uvcvideo 1-1.5.1:1.0: Entity type for entity Camera 1 was not initialized!
[56981.031380] input: GENERAL - UVC : GENERAL - UVC as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5.1/1-1.5.1:1.0/input/input11
[56981.141716] usb 1-1.5.2: reset full-speed USB device number 9 using dwc_otg
[56989.322150] usb 1-1.5-port1: Cannot enable. Maybe the USB cable is bad?
[56989.421738] usb 1-1.5.1: reset full-speed USB device number 10 using dwc_otg
[56989.961736] usb 1-1.5.1: reset full-speed USB device number 10 using dwc_otg
[56990.401737] usb 1-1.5.1: device not accepting address 10, error -22
[56990.501746] usb 1-1.5.1: reset full-speed USB device number 10 using dwc_otg
[56990.941736] usb 1-1.5.1: device not accepting address 10, error -22
[56990.942527] usb 1-1.5.1: USB disconnect, device number 10
[56991.151712] usb 1-1.5.1: new full-speed USB device number 11 using dwc_otg
[56991.284640] usb 1-1.5.1: config 1 interface 1 altsetting 3 endpoint 0x85 has invalid maxpacket 1024, setting to 1023
[56991.284651] usb 1-1.5.1: config 1 interface 3 has no altsetting 1
[56991.285745] usb 1-1.5.1: New USB device found, idVendor=1b3f, idProduct=2202, bcdDevice= 1.00
[56991.285752] usb 1-1.5.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[56991.285756] usb 1-1.5.1: Product: GENERAL - UVC
[56991.285761] usb 1-1.5.1: Manufacturer: GENERAL
[56991.287506] uvcvideo: Found UVC 1.00 device GENERAL - UVC (1b3f:2202)
[56991.290618] uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround.
[56991.291305] uvcvideo 1-1.5.1:1.0: Entity type for entity Processing 5 was not initialized!
[56991.291314] uvcvideo 1-1.5.1:1.0: Entity type for entity Selector 4 was not initialized!
[56991.291320] uvcvideo 1-1.5.1:1.0: Entity type for entity Camera 1 was not initialized!
[56991.291537] input: GENERAL - UVC : GENERAL - UVC as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5.1/1-1.5.1:1.0/input/input12
[56996.951776] usb 1-1.5.1: reset full-speed USB device number 11 using dwc_otg
[57002.331811] usb 1-1.5.1: reset full-speed USB device number 11 using dwc_otg
[57004.509126] logitech-hidpp-device 0003:046D:400A.0006: HID++ 2.0 device connected.
[57209.952941] usb 1-1.5.1: reset full-speed USB device number 11 using dwc_otg
[57213.532928] usb 1-1.5.1: reset full-speed USB device number 11 using dwc_otg
[57230.433039] usb 1-1.5.1: reset full-speed USB device number 11 using dwc_otg
[57332.313559] usb 1-1.5.3: new full-speed USB device number 12 using dwc_otg
[57332.455317] usb 1-1.5.3: config 1 interface 3 has no altsetting 1
[57332.459027] usb 1-1.5.3: New USB device found, idVendor=1902, idProduct=3232, bcdDevice= 1.00
[57332.459039] usb 1-1.5.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[57332.459049] usb 1-1.5.3: Product: GENERAL - UVC
[57332.459058] usb 1-1.5.3: Manufacturer: Generic
[57332.474068] uvcvideo: Found UVC 1.00 device GENERAL - UVC (1902:3232)
[57332.483677] uvcvideo 1-1.5.3:1.0: Entity type for entity Processing 5 was not initialized!
[57332.483694] uvcvideo 1-1.5.3:1.0: Entity type for entity Selector 4 was not initialized!
[57332.483706] uvcvideo 1-1.5.3:1.0: Entity type for entity Camera 1 was not initialized!
[57332.484240] input: GENERAL - UVC : GENERAL - UVC as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5.3/1-1.5.3:1.0/input/input13
[57333.210214] usb-storage 1-1.5.3:1.4: USB Mass Storage device detected
[57333.212803] scsi host0: usb-storage 1-1.5.3:1.4
[57333.298285] usbcore: registered new interface driver uas
[57334.217253] scsi 0:0:0:0: Direct-Access Generic Mass-Storage 1.13 PQ: 0 ANSI: 4
[57334.225792] sd 0:0:0:0: [sda] Attached SCSI removable disk
[57334.242570] sd 0:0:0:0: Attached scsi generic sg0 type 0
[57414.045658] uvcvideo: Failed to query (130) UVC probe control : -32 (exp. 26).
[57414.046657] uvcvideo: Failed to query (130) UVC probe control : -32 (exp. 26).
[57414.047396] uvcvideo: Failed to query (130) UVC probe control : -32 (exp. 26).
[57414.048664] uvcvideo: Failed to query (130) UVC probe control : -32 (exp. 26).
[57414.049528] uvcvideo: Failed to query (130) UVC probe control : -32 (exp. 26).
[57414.053148] uvcvideo: Failed to query (130) UVC probe control : -32 (exp. 26).
[57414.053766] uvcvideo: Failed to query (130) UVC probe control : -32 (exp. 26).
[57548.767639] uvcvideo: Failed to query (130) UVC probe control : -32 (exp. 26).
[57548.774000] uvcvideo: Failed to query (130) UVC probe control : -32 (exp. 26).
[57657.244782] uvcvideo: Failed to query (130) UVC probe control : -32 (exp. 26).
[57657.246033] uvcvideo: Failed to query (130) UVC probe control : -32 (exp. 26).
[57657.255850] uvcvideo: Failed to query (130) UVC probe control : -32 (exp. 26).
[57657.257653] uvcvideo: Failed to query (130) UVC probe control : -32 (exp. 26).
[57657.258637] uvcvideo: Failed to query (130) UVC probe control : -32 (exp. 26).
[57657.266562] uvcvideo: Failed to query (130) UVC probe control : -32 (exp. 26).
[57657.267571] uvcvideo: Failed to query (130) UVC probe control : -32 (exp. 26).
pi@raspberrypi:~ $

Any help would be greatly appreciated.

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 8724
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: What am I doing wrong?

Tue Jun 30, 2020 7:15 pm

No, 9 video device nodes, not 9 cameras.

UVC (USB Video Class) devices now support producing both video and metadata. Doing so requires two video device nodes.

/dev/video10 is the memory-to-memory video decoder.
/dev/video11 is the memory-to-memory video encoder.
/dev/video12 is the memory-to-memory video processor (scaling and format conversion).

Most likely you'll be wanting /dev/video0, 2, and 4 as the devices producing images from your cameras.
What software are you trying to use to view the cameras?
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

Howdoyoudo?
Posts: 8
Joined: Thu Jun 18, 2020 5:25 pm

Re: What am I doing wrong?

Sat Jul 04, 2020 9:13 am

pi@raspberrypi:~ $ ls -1 /dev/v4l/by-id/
usb-GENERAL_GENERAL_-_UVC-video-index0
usb-GENERAL_GENERAL_-_UVC-video-index1

found em'

Now how do you get em' to work?

Howdoyoudo?
Posts: 8
Joined: Thu Jun 18, 2020 5:25 pm

Re: What am I doing wrong?

Sat Jul 04, 2020 9:23 am

Bus 001 Device 009: ID 1b3f:2202 Generalplus Technology Inc.
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 2
bDeviceProtocol 1 Interface Association
bMaxPacketSize0 64
idVendor 0x1b3f Generalplus Technology Inc.
idProduct 0x2202
bcdDevice 1.00
iManufacturer 1
iProduct 2
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0142
bNumInterfaces 4
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 100mA
Interface Association:
bLength 8
bDescriptorType 11
bFirstInterface 0
bInterfaceCount 2
bFunctionClass 14 Video
bFunctionSubClass 3 Video Interface Collection
bFunctionProtocol 0
iFunction 2
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 1 Video Control
bInterfaceProtocol 0
iInterface 2
VideoControl Interface Descriptor:
bLength 13
bDescriptorType 36
bDescriptorSubtype 1 (HEADER)
bcdUVC 1.00
wTotalLength 0x0039
dwClockFrequency 6.000000MHz
bInCollection 1
baInterfaceNr( 0) 1
VideoControl Interface Descriptor:
bLength 17
bDescriptorType 36
bDescriptorSubtype 2 (INPUT_TERMINAL)
bTerminalID 1
wTerminalType 0x0201 Camera Sensor
bAssocTerminal 0
iTerminal 0
wObjectiveFocalLengthMin 0
wObjectiveFocalLengthMax 0
wOcularFocalLength 0
bControlSize 2
bmControls 0x00000000
VideoControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (OUTPUT_TERMINAL)
bTerminalID 3
wTerminalType 0x0101 USB Streaming
bAssocTerminal 0
bSourceID 5
iTerminal 4
VideoControl Interface Descriptor:
bLength 7
bDescriptorType 36
bDescriptorSubtype 4 (SELECTOR_UNIT)
bUnitID 4
bNrInPins 1
baSource( 0) 1
iSelector 0
VideoControl Interface Descriptor:
bLength 11
bDescriptorType 36
bDescriptorSubtype 5 (PROCESSING_UNIT)
Warning: Descriptor too short
bUnitID 5
bSourceID 4
wMaxMultiplier 0
bControlSize 2
bmControls 0x0000013f
Brightness
Contrast
Hue
Saturation
Sharpness
Gamma
Backlight Compensation
iProcessing 0
bmVideoStandards 0x00
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0020 1x 32 bytes
bInterval 32
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
VideoStreaming Interface Descriptor:
bLength 14
bDescriptorType 36
bDescriptorSubtype 1 (INPUT_HEADER)
bNumFormats 1
wTotalLength 0x003f
bEndPointAddress 133
bmInfo 0
bTerminalLink 3
bStillCaptureMethod 1
bTriggerSupport 1
bTriggerUsage 0
bControlSize 1
bmaControls( 0) 0
VideoStreaming Interface Descriptor:
bLength 11
bDescriptorType 36
bDescriptorSubtype 6 (FORMAT_MJPEG)
bFormatIndex 1
bNumFrameDescriptors 1
bFlags 1
Fixed-size samples: Yes
bDefaultFrameIndex 1
bAspectRatioX 0
bAspectRatioY 0
bmInterlaceFlags 0x00
Interlaced stream or variable: No
Fields per frame: 1 fields
Field 1 first: No
Field pattern: Field 1 only
bCopyProtect 0
VideoStreaming Interface Descriptor:
bLength 38
bDescriptorType 36
bDescriptorSubtype 7 (FRAME_MJPEG)
bFrameIndex 1
bmCapabilities 0x01
Still image supported
wWidth 1280
wHeight 720
dwMinBitRate 912384
dwMaxBitRate 912384
dwMaxVideoFrameBufferSize 1843200
dwDefaultFrameInterval 333333
bFrameIntervalType 0
dwMinFrameInterval 333333
dwMaxFrameInterval 333333
dwFrameIntervalStep 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 1
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x85 EP 5 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0100 1x 256 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 2
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x85 EP 5 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 3
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x85 EP 5 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 1
Interface Association:
bLength 8
bDescriptorType 11
bFirstInterface 2
bInterfaceCount 2
bFunctionClass 1 Audio
bFunctionSubClass 0
bFunctionProtocol 0
iFunction 4
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 1 Audio
bInterfaceSubClass 1 Control Device
bInterfaceProtocol 0
iInterface 4
AudioControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 1 (HEADER)
bcdADC 1.00
wTotalLength 0x0026
bInCollection 1
baInterfaceNr(0) 3
AudioControl Interface Descriptor:
bLength 12
bDescriptorType 36
bDescriptorSubtype 2 (INPUT_TERMINAL)
bTerminalID 3
wTerminalType 0x0201 Microphone
bAssocTerminal 0
bNrChannels 1
wChannelConfig 0x0000
iChannelNames 0
iTerminal 0
AudioControl Interface Descriptor:
bLength 8
bDescriptorType 36
bDescriptorSubtype 6 (FEATURE_UNIT)
bUnitID 5
bSourceID 3
bControlSize 1
bmaControls(0) 0x03
Mute Control
Volume Control
iFeature 0
AudioControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (OUTPUT_TERMINAL)
bTerminalID 4
wTerminalType 0x0101 USB Streaming
bAssocTerminal 0
bSourceID 5
iTerminal 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 3
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 1 Audio
bInterfaceSubClass 2 Streaming
bInterfaceProtocol 0
iInterface 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 3
bAlternateSetting 5
bNumEndpoints 1
bInterfaceClass 1 Audio
bInterfaceSubClass 2 Streaming
bInterfaceProtocol 0
iInterface 0
AudioStreaming Interface Descriptor:
bLength 7
bDescriptorType 36
bDescriptorSubtype 1 (AS_GENERAL)
bTerminalLink 4
bDelay 1 frames
wFormatTag 0x0001 PCM
AudioStreaming Interface Descriptor:
bLength 11
bDescriptorType 36
bDescriptorSubtype 2 (FORMAT_TYPE)
bFormatType 1 (FORMAT_TYPE_I)
bNrChannels 1
bSubframeSize 2
bBitResolution 16
bSamFreqType 1 Discrete
tSamFreq[ 0] 32000
Endpoint Descriptor:
bLength 9
bDescriptorType 5
bEndpointAddress 0x87 EP 7 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0100 1x 256 bytes
bInterval 4
bRefresh 0
bSynchAddress 0
AudioStreaming Endpoint Descriptor:
bLength 7
bDescriptorType 37
bDescriptorSubtype 1 (EP_GENERAL)
bmAttributes 0x00
bLockDelayUnits 0 Undefined
wLockDelay 0x0000

Bus 001 Device 008: ID 1b3f:2202 Generalplus Technology Inc.
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 2
bDeviceProtocol 1 Interface Association
bMaxPacketSize0 64
idVendor 0x1b3f Generalplus Technology Inc.
idProduct 0x2202
bcdDevice 1.00
iManufacturer 1
iProduct 2
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0142
bNumInterfaces 4
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 100mA
Interface Association:
bLength 8
bDescriptorType 11
bFirstInterface 0
bInterfaceCount 2
bFunctionClass 14 Video
bFunctionSubClass 3 Video Interface Collection
bFunctionProtocol 0
iFunction 2
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 1 Video Control
bInterfaceProtocol 0
iInterface 2
VideoControl Interface Descriptor:
bLength 13
bDescriptorType 36
bDescriptorSubtype 1 (HEADER)
bcdUVC 1.00
wTotalLength 0x0039
dwClockFrequency 6.000000MHz
bInCollection 1
baInterfaceNr( 0) 1
VideoControl Interface Descriptor:
bLength 17
bDescriptorType 36
bDescriptorSubtype 2 (INPUT_TERMINAL)
bTerminalID 1
wTerminalType 0x0201 Camera Sensor
bAssocTerminal 0
iTerminal 0
wObjectiveFocalLengthMin 0
wObjectiveFocalLengthMax 0
wOcularFocalLength 0
bControlSize 2
bmControls 0x00000000
VideoControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (OUTPUT_TERMINAL)
bTerminalID 3
wTerminalType 0x0101 USB Streaming
bAssocTerminal 0
bSourceID 5
iTerminal 4
VideoControl Interface Descriptor:
bLength 7
bDescriptorType 36
bDescriptorSubtype 4 (SELECTOR_UNIT)
bUnitID 4
bNrInPins 1
baSource( 0) 1
iSelector 0
VideoControl Interface Descriptor:
bLength 11
bDescriptorType 36
bDescriptorSubtype 5 (PROCESSING_UNIT)
Warning: Descriptor too short
bUnitID 5
bSourceID 4
wMaxMultiplier 0
bControlSize 2
bmControls 0x0000013f
Brightness
Contrast
Hue
Saturation
Sharpness
Gamma
Backlight Compensation
iProcessing 0
bmVideoStandards 0x00
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0020 1x 32 bytes
bInterval 32
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
VideoStreaming Interface Descriptor:
bLength 14
bDescriptorType 36
bDescriptorSubtype 1 (INPUT_HEADER)
bNumFormats 1
wTotalLength 0x003f
bEndPointAddress 133
bmInfo 0
bTerminalLink 3
bStillCaptureMethod 1
bTriggerSupport 1
bTriggerUsage 0
bControlSize 1
bmaControls( 0) 0
VideoStreaming Interface Descriptor:
bLength 11
bDescriptorType 36
bDescriptorSubtype 6 (FORMAT_MJPEG)
bFormatIndex 1
bNumFrameDescriptors 1
bFlags 1
Fixed-size samples: Yes
bDefaultFrameIndex 1
bAspectRatioX 0
bAspectRatioY 0
bmInterlaceFlags 0x00
Interlaced stream or variable: No
Fields per frame: 1 fields
Field 1 first: No
Field pattern: Field 1 only
bCopyProtect 0
VideoStreaming Interface Descriptor:
bLength 38
bDescriptorType 36
bDescriptorSubtype 7 (FRAME_MJPEG)
bFrameIndex 1
bmCapabilities 0x01
Still image supported
wWidth 1280
wHeight 720
dwMinBitRate 912384
dwMaxBitRate 912384
dwMaxVideoFrameBufferSize 1843200
dwDefaultFrameInterval 333333
bFrameIntervalType 0
dwMinFrameInterval 333333
dwMaxFrameInterval 333333
dwFrameIntervalStep 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 1
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x85 EP 5 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0100 1x 256 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 2
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x85 EP 5 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 3
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x85 EP 5 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 1
Interface Association:
bLength 8
bDescriptorType 11
bFirstInterface 2
bInterfaceCount 2
bFunctionClass 1 Audio
bFunctionSubClass 0
bFunctionProtocol 0
iFunction 4
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 1 Audio
bInterfaceSubClass 1 Control Device
bInterfaceProtocol 0
iInterface 4
AudioControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 1 (HEADER)
bcdADC 1.00
wTotalLength 0x0026
bInCollection 1
baInterfaceNr(0) 3
AudioControl Interface Descriptor:
bLength 12
bDescriptorType 36
bDescriptorSubtype 2 (INPUT_TERMINAL)
bTerminalID 3
wTerminalType 0x0201 Microphone
bAssocTerminal 0
bNrChannels 1
wChannelConfig 0x0000
iChannelNames 0
iTerminal 0
AudioControl Interface Descriptor:
bLength 8
bDescriptorType 36
bDescriptorSubtype 6 (FEATURE_UNIT)
bUnitID 5
bSourceID 3
bControlSize 1
bmaControls(0) 0x03
Mute Control
Volume Control
iFeature 0
AudioControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (OUTPUT_TERMINAL)
bTerminalID 4
wTerminalType 0x0101 USB Streaming
bAssocTerminal 0
bSourceID 5
iTerminal 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 3
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 1 Audio
bInterfaceSubClass 2 Streaming
bInterfaceProtocol 0
iInterface 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 3
bAlternateSetting 5
bNumEndpoints 1
bInterfaceClass 1 Audio
bInterfaceSubClass 2 Streaming
bInterfaceProtocol 0
iInterface 0
AudioStreaming Interface Descriptor:
bLength 7
bDescriptorType 36
bDescriptorSubtype 1 (AS_GENERAL)
bTerminalLink 4
bDelay 1 frames
wFormatTag 0x0001 PCM
AudioStreaming Interface Descriptor:
bLength 11
bDescriptorType 36
bDescriptorSubtype 2 (FORMAT_TYPE)
bFormatType 1 (FORMAT_TYPE_I)
bNrChannels 1
bSubframeSize 2
bBitResolution 16
bSamFreqType 1 Discrete
tSamFreq[ 0] 32000
Endpoint Descriptor:
bLength 9
bDescriptorType 5
bEndpointAddress 0x87 EP 7 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0100 1x 256 bytes
bInterval 4
bRefresh 0
bSynchAddress 0
AudioStreaming Endpoint Descriptor:
bLength 7
bDescriptorType 37
bDescriptorSubtype 1 (EP_GENERAL)
bmAttributes 0x00
bLockDelayUnits 0 Undefined
wLockDelay 0x0000

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 8724
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: What am I doing wrong?

Sat Jul 04, 2020 11:30 am

Try qv4l2 or similar.
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

Howdoyoudo?
Posts: 8
Joined: Thu Jun 18, 2020 5:25 pm

Re: What am I doing wrong?

Sun Jul 05, 2020 9:16 pm

6by9 wrote:
Sat Jul 04, 2020 11:30 am
Try qv4l2 or similar.
not to sure what this means, As I am a complete noob and just trying to understand

Howdoyoudo?
Posts: 8
Joined: Thu Jun 18, 2020 5:25 pm

Re: What am I doing wrong?

Mon Jul 06, 2020 2:19 am

Howdoyoudo? wrote:
Sun Jul 05, 2020 9:16 pm
6by9 wrote:
Sat Jul 04, 2020 11:30 am
Try qv4l2 or similar.
not to sure what this means, As I am a complete noob and just trying to understand
ok I tried

#!/bin/bash
qv4l2 --device=/dev/video0
and got
22:18:33: This is Geany 1.33.
22:18:33: Failed to load one or more session files.
22:18:33: File /home/pi/Desktop/v4 opened(1).

Return to “Graphics, sound and multimedia”