A. F. Cano
2024-06-04 02:50:01 UTC
I hope this is the proper forum to post this. The more relevant lists
of years ago are no longer active:
https://www.linuxtv.org/lists.php
I'm trying to get these Lorex SR AIS color cameras, that are supposedly
capable of 1024 x 768 max and 728 x 488 NTSC, to work with a bluecherry
TW-220-8 board, identified by lshw as:
Intersil Techwell TW6816 multimedia video controller Rev 10.
The driver (tw68):
The first suspicious thing is that the board is apparently not detected by the
kernel, or not identified as matching what the tw58 driver supports. Before a
manual
modprobe -v tw68
lshw marks all the devices as UNCLAIMED:
*-multimedia:0 UNCLAIMED
description: Multimedia video controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 4
bus info: ***@0000:03:04.0
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3201c00-e3201fff
*-multimedia:1 UNCLAIMED
description: Multimedia video controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 4.1
bus info: ***@0000:03:04.1
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3201800-e3201bff
*-multimedia:2 UNCLAIMED
description: Multimedia video controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 4.2
bus info: ***@0000:03:04.2
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3201400-e32017ff
*-multimedia:3 UNCLAIMED
description: Multimedia video controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 4.3
bus info: ***@0000:03:04.3
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3201000-e32013ff
*-multimedia:4 UNCLAIMED
description: Multimedia controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 4.4
bus info: ***@0000:03:04.4
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3202380-e32023ff
*-multimedia:5 UNCLAIMED
description: Multimedia controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 4.5
bus info: ***@0000:03:04.5
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3202300-e320237f
*-multimedia:6 UNCLAIMED
description: Multimedia controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 4.6
bus info: ***@0000:03:04.6
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3202280-e32022ff
*-multimedia:7 UNCLAIMED
description: Multimedia controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 4.7
bus info: ***@0000:03:04.7
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3202200-e320227f
*-multimedia:8 UNCLAIMED
description: Multimedia video controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 5
bus info: ***@0000:03:05.0
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3200c00-e3200fff
*-multimedia:9 UNCLAIMED
description: Multimedia video controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 5.1
bus info: ***@0000:03:05.1
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3200800-e3200bff
*-multimedia:10 UNCLAIMED
description: Multimedia video controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 5.2
bus info: ***@0000:03:05.2
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3200400-e32007ff
*-multimedia:11 UNCLAIMED
description: Multimedia video controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 5.3
bus info: ***@0000:03:05.3
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3200000-e32003ff
*-multimedia:12 UNCLAIMED
description: Multimedia controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 5.4
bus info: ***@0000:03:05.4
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3202180-e32021ff
*-multimedia:13 UNCLAIMED
description: Multimedia controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 5.5
bus info: ***@0000:03:05.5
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3202100-e320217f
*-multimedia:14 UNCLAIMED
description: Multimedia controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 5.6
bus info: ***@0000:03:05.6
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3202080-e32020ff
*-multimedia:15 UNCLAIMED
description: Multimedia controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 5.7
bus info: ***@0000:03:05.7
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3202000-e320207f
After a manual modprobe installation, devices /dev/video[0-7] are created
crw-rw----+ 1 root video 81, 0 Jun 3 14:19 /dev/video0
crw-rw----+ 1 root video 81, 1 Jun 3 14:19 /dev/video1
crw-rw----+ 1 root video 81, 2 Jun 3 14:19 /dev/video2
crw-rw----+ 1 root video 81, 3 Jun 3 14:19 /dev/video3
crw-rw----+ 1 root video 81, 4 Jun 3 14:19 /dev/video4
crw-rw----+ 1 root video 81, 5 Jun 3 14:19 /dev/video5
crw-rw----+ 1 root video 81, 6 Jun 3 14:19 /dev/video6
crw-rw----+ 1 root video 81, 7 Jun 3 14:19 /dev/video7
and lshw now identifies the video interfaces:
*-multimedia:0
description: Multimedia video controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 4
bus info: ***@0000:03:04.0
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: driver=tw68 latency=32 maxlatency=72 mingnt=32
resources: irq:16 memory:e3201c00-e3201fff
*-multimedia:1
description: Multimedia video controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 4.1
bus info: ***@0000:03:04.1
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: driver=tw68 latency=32 maxlatency=72 mingnt=32
resources: irq:16 memory:e3201800-e3201bff
*-multimedia:2
description: Multimedia video controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 4.2
bus info: ***@0000:03:04.2
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: driver=tw68 latency=32 maxlatency=72 mingnt=32
resources: irq:16 memory:e3201400-e32017ff
*-multimedia:3
description: Multimedia video controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 4.3
bus info: ***@0000:03:04.3
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: driver=tw68 latency=32 maxlatency=72 mingnt=32
resources: irq:16 memory:e3201000-e32013ff
*-multimedia:4 UNCLAIMED
description: Multimedia controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 4.4
bus info: ***@0000:03:04.4
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3202380-e32023ff
*-multimedia:5 UNCLAIMED
description: Multimedia controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 4.5
bus info: ***@0000:03:04.5
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3202300-e320237f
*-multimedia:6 UNCLAIMED
description: Multimedia controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 4.6
bus info: ***@0000:03:04.6
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3202280-e32022ff
*-multimedia:7 UNCLAIMED
description: Multimedia controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 4.7
bus info: ***@0000:03:04.7
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3202200-e320227f
*-multimedia:8
description: Multimedia video controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 5
bus info: ***@0000:03:05.0
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: driver=tw68 latency=32 maxlatency=72 mingnt=32
resources: irq:17 memory:e3200c00-e3200fff
*-multimedia:9
description: Multimedia video controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 5.1
bus info: ***@0000:03:05.1
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: driver=tw68 latency=32 maxlatency=72 mingnt=32
resources: irq:17 memory:e3200800-e3200bff
*-multimedia:10
description: Multimedia video controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 5.2
bus info: ***@0000:03:05.2
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: driver=tw68 latency=32 maxlatency=72 mingnt=32
resources: irq:17 memory:e3200400-e32007ff
*-multimedia:11
description: Multimedia video controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 5.3
bus info: ***@0000:03:05.3
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: driver=tw68 latency=32 maxlatency=72 mingnt=32
resources: irq:17 memory:e3200000-e32003ff
*-multimedia:12 UNCLAIMED
description: Multimedia controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 5.4
bus info: ***@0000:03:05.4
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3202180-e32021ff
*-multimedia:13 UNCLAIMED
description: Multimedia controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 5.5
bus info: ***@0000:03:05.5
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3202100-e320217f
*-multimedia:14 UNCLAIMED
description: Multimedia controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 5.6
bus info: ***@0000:03:05.6
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3202080-e32020ff
*-multimedia:15 UNCLAIMED
description: Multimedia controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 5.7
bus info: ***@0000:03:05.7
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3202000-e320207f
This page:
https://cateee.net/lkddb/web-lkddb/VIDEO_TW68.html
seems to imply that this board is supported.
I understand that only the video interfaces are supported, all the
"UNCLAIMED" devices are for audio. Still, I have plugged in 4 cameras
at a time in the 4 blue coax plugs, labeled VID 1-4, and the 4 green
coax plugs, labeled VID 1-4. and no image shows up when running ffplay
or vlc, on any of the video[0-7] interfaces. I hope it's just the lack
of the proper option.
Ffplay shows this, and no image. Just a black window.
$ ffplay /dev/video0
ffplay version 5.1.4-0+deb12u1 Copyright (c) 2003-2023 the FFmpeg developers
built with gcc 12 (Debian 12.2.0-14)
configuration: --prefix=/usr --extra-version=0+deb12u1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --disable-sndio --enable-libjxl --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo --enable-librav1e --enable-shared
libavutil 57. 28.100 / 57. 28.100
libavcodec 59. 37.100 / 59. 37.100
libavformat 59. 27.100 / 59. 27.100
libavdevice 59. 7.100 / 59. 7.100
libavfilter 8. 44.100 / 8. 44.100
libswscale 6. 7.100 / 6. 7.100
libswresample 4. 7.100 / 4. 7.100
libpostproc 56. 6.100 / 56. 6.100
Input #0, video4linux2,v4l2, from '/dev/video0':B sq= 0B f=0/0
Duration: N/A, start: 628.838851, bitrate: 165888 kb/s
Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 720x576, 165888 kb/s, 25 fps, 25 tbr, 1000k tbn
700.82 M-V: -0.008 fd= 1 aq= 0KB vq= 810KB sq= 0B f=0/0
Apparently ffplay can't make sense of the video data being sent from the
cameras. I Have tried this with 3 lorex cameras and one old AT&T video
conferencing camera, just to make sure it's not something unique to the lorex
cameras. The system load goes up in a manner consistent with processing
analog/NTSC video at 25 fps.
Vlc returns this error:
deinterlace filter error: unknown or incompatible deinterlace mode "x" for
packed format
I have no idea what option I need to set or unset to correct this error . Any
ideas? is there something peculiar to this board that makes it not supported
by this driver? I'd be willing to help debug the driver if this is the case.
I have installed the source code, but I'm hoping it's just a matter of
setting the proper option.
Any suggestions welcome. I would really like to be able to use all these
cameras and board. Is anyone out there using this video capture card
under linux?
Thanks.
Augustine
For completeness, here's the output of lspci -v
03:04.0 Multimedia video controller: Intersil Techwell TW6816 multimedia video controller (rev 10)
Subsystem: Broadcom / LSI TW6816 multimedia video controller
Flags: bus master, fast Back2Back, 66MHz, medium devsel, latency 32, IRQ 9
Memory at e3201c00 (32-bit, non-prefetchable) [size=1K]
Capabilities: [44] Power Management version 2
03:04.1 Multimedia video controller: Intersil Techwell TW6816 multimedia video controller (rev 10)
Subsystem: Broadcom / LSI TW6816 multimedia video controller
Flags: bus master, fast Back2Back, 66MHz, medium devsel, latency 32, IRQ 9
Memory at e3201800 (32-bit, non-prefetchable) [size=1K]
Capabilities: [44] Power Management version 2
03:04.2 Multimedia video controller: Intersil Techwell TW6816 multimedia video controller (rev 10)
Subsystem: Broadcom / LSI TW6816 multimedia video controller
Flags: bus master, fast Back2Back, 66MHz, medium devsel, latency 32, IRQ 9
Memory at e3201400 (32-bit, non-prefetchable) [size=1K]
Capabilities: [44] Power Management version 2
03:04.3 Multimedia video controller: Intersil Techwell TW6816 multimedia video controller (rev 10)
Subsystem: Broadcom / LSI TW6816 multimedia video controller
Flags: bus master, fast Back2Back, 66MHz, medium devsel, latency 32, IRQ 9
Memory at e3201000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [44] Power Management version 2
03:04.4 Multimedia controller: Intersil Techwell TW6816 multimedia video controller (rev 10)
Subsystem: Broadcom / LSI TW6816 multimedia video controller
Flags: bus master, fast Back2Back, 66MHz, medium devsel, latency 32, IRQ 9
Memory at e3202380 (32-bit, non-prefetchable) [size=128]
Capabilities: [44] Power Management version 2
03:04.5 Multimedia controller: Intersil Techwell TW6816 multimedia video controller (rev 10)
Subsystem: Broadcom / LSI TW6816 multimedia video controller
Flags: bus master, fast Back2Back, 66MHz, medium devsel, latency 32, IRQ 9
Memory at e3202300 (32-bit, non-prefetchable) [size=128]
Capabilities: [44] Power Management version 2
03:04.6 Multimedia controller: Intersil Techwell TW6816 multimedia video controller (rev 10)
Subsystem: Broadcom / LSI TW6816 multimedia video controller
Flags: bus master, fast Back2Back, 66MHz, medium devsel, latency 32, IRQ 9
Memory at e3202280 (32-bit, non-prefetchable) [size=128]
Capabilities: [44] Power Management version 2
03:04.7 Multimedia controller: Intersil Techwell TW6816 multimedia video controller (rev 10)
Subsystem: Broadcom / LSI TW6816 multimedia video controller
Flags: bus master, fast Back2Back, 66MHz, medium devsel, latency 32, IRQ 9
Memory at e3202200 (32-bit, non-prefetchable) [size=128]
Capabilities: [44] Power Management version 2
03:05.0 Multimedia video controller: Intersil Techwell TW6816 multimedia video controller (rev 10)
Subsystem: Kolter Electronic TW6816 multimedia video controller
Flags: bus master, fast Back2Back, 66MHz, medium devsel, latency 32, IRQ 9
Memory at e3200c00 (32-bit, non-prefetchable) [size=1K]
Capabilities: [44] Power Management version 2
03:05.1 Multimedia video controller: Intersil Techwell TW6816 multimedia video controller (rev 10)
Subsystem: Kolter Electronic TW6816 multimedia video controller
Flags: bus master, fast Back2Back, 66MHz, medium devsel, latency 32, IRQ 9
Memory at e3200800 (32-bit, non-prefetchable) [size=1K]
Capabilities: [44] Power Management version 2
03:05.2 Multimedia video controller: Intersil Techwell TW6816 multimedia video controller (rev 10)
Subsystem: Kolter Electronic TW6816 multimedia video controller
Flags: bus master, fast Back2Back, 66MHz, medium devsel, latency 32, IRQ 9
Memory at e3200400 (32-bit, non-prefetchable) [size=1K]
Capabilities: [44] Power Management version 2
03:05.3 Multimedia video controller: Intersil Techwell TW6816 multimedia video controller (rev 10)
Subsystem: Kolter Electronic TW6816 multimedia video controller
Flags: bus master, fast Back2Back, 66MHz, medium devsel, latency 32, IRQ 9
Memory at e3200000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [44] Power Management version 2
03:05.4 Multimedia controller: Intersil Techwell TW6816 multimedia video controller (rev 10)
Subsystem: Kolter Electronic TW6816 multimedia video controller
Flags: bus master, fast Back2Back, 66MHz, medium devsel, latency 32, IRQ 9
Memory at e3202180 (32-bit, non-prefetchable) [size=128]
Capabilities: [44] Power Management version 2
03:05.5 Multimedia controller: Intersil Techwell TW6816 multimedia video controller (rev 10)
Subsystem: Kolter Electronic TW6816 multimedia video controller
Flags: bus master, fast Back2Back, 66MHz, medium devsel, latency 32, IRQ 9
Memory at e3202100 (32-bit, non-prefetchable) [size=128]
Capabilities: [44] Power Management version 2
03:05.6 Multimedia controller: Intersil Techwell TW6816 multimedia video controller (rev 10)
Subsystem: Kolter Electronic TW6816 multimedia video controller
Flags: bus master, fast Back2Back, 66MHz, medium devsel, latency 32, IRQ 9
Memory at e3202080 (32-bit, non-prefetchable) [size=128]
Capabilities: [44] Power Management version 2
03:05.7 Multimedia controller: Intersil Techwell TW6816 multimedia video controller (rev 10)
Subsystem: Kolter Electronic TW6816 multimedia video controller
Flags: bus master, fast Back2Back, 66MHz, medium devsel, latency 32, IRQ 9
Memory at e3202000 (32-bit, non-prefetchable) [size=128]
Capabilities: [44] Power Management version 2
of years ago are no longer active:
https://www.linuxtv.org/lists.php
I'm trying to get these Lorex SR AIS color cameras, that are supposedly
capable of 1024 x 768 max and 728 x 488 NTSC, to work with a bluecherry
TW-220-8 board, identified by lshw as:
Intersil Techwell TW6816 multimedia video controller Rev 10.
The driver (tw68):
The first suspicious thing is that the board is apparently not detected by the
kernel, or not identified as matching what the tw58 driver supports. Before a
manual
modprobe -v tw68
lshw marks all the devices as UNCLAIMED:
*-multimedia:0 UNCLAIMED
description: Multimedia video controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 4
bus info: ***@0000:03:04.0
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3201c00-e3201fff
*-multimedia:1 UNCLAIMED
description: Multimedia video controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 4.1
bus info: ***@0000:03:04.1
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3201800-e3201bff
*-multimedia:2 UNCLAIMED
description: Multimedia video controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 4.2
bus info: ***@0000:03:04.2
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3201400-e32017ff
*-multimedia:3 UNCLAIMED
description: Multimedia video controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 4.3
bus info: ***@0000:03:04.3
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3201000-e32013ff
*-multimedia:4 UNCLAIMED
description: Multimedia controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 4.4
bus info: ***@0000:03:04.4
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3202380-e32023ff
*-multimedia:5 UNCLAIMED
description: Multimedia controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 4.5
bus info: ***@0000:03:04.5
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3202300-e320237f
*-multimedia:6 UNCLAIMED
description: Multimedia controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 4.6
bus info: ***@0000:03:04.6
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3202280-e32022ff
*-multimedia:7 UNCLAIMED
description: Multimedia controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 4.7
bus info: ***@0000:03:04.7
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3202200-e320227f
*-multimedia:8 UNCLAIMED
description: Multimedia video controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 5
bus info: ***@0000:03:05.0
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3200c00-e3200fff
*-multimedia:9 UNCLAIMED
description: Multimedia video controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 5.1
bus info: ***@0000:03:05.1
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3200800-e3200bff
*-multimedia:10 UNCLAIMED
description: Multimedia video controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 5.2
bus info: ***@0000:03:05.2
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3200400-e32007ff
*-multimedia:11 UNCLAIMED
description: Multimedia video controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 5.3
bus info: ***@0000:03:05.3
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3200000-e32003ff
*-multimedia:12 UNCLAIMED
description: Multimedia controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 5.4
bus info: ***@0000:03:05.4
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3202180-e32021ff
*-multimedia:13 UNCLAIMED
description: Multimedia controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 5.5
bus info: ***@0000:03:05.5
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3202100-e320217f
*-multimedia:14 UNCLAIMED
description: Multimedia controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 5.6
bus info: ***@0000:03:05.6
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3202080-e32020ff
*-multimedia:15 UNCLAIMED
description: Multimedia controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 5.7
bus info: ***@0000:03:05.7
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3202000-e320207f
After a manual modprobe installation, devices /dev/video[0-7] are created
crw-rw----+ 1 root video 81, 0 Jun 3 14:19 /dev/video0
crw-rw----+ 1 root video 81, 1 Jun 3 14:19 /dev/video1
crw-rw----+ 1 root video 81, 2 Jun 3 14:19 /dev/video2
crw-rw----+ 1 root video 81, 3 Jun 3 14:19 /dev/video3
crw-rw----+ 1 root video 81, 4 Jun 3 14:19 /dev/video4
crw-rw----+ 1 root video 81, 5 Jun 3 14:19 /dev/video5
crw-rw----+ 1 root video 81, 6 Jun 3 14:19 /dev/video6
crw-rw----+ 1 root video 81, 7 Jun 3 14:19 /dev/video7
and lshw now identifies the video interfaces:
*-multimedia:0
description: Multimedia video controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 4
bus info: ***@0000:03:04.0
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: driver=tw68 latency=32 maxlatency=72 mingnt=32
resources: irq:16 memory:e3201c00-e3201fff
*-multimedia:1
description: Multimedia video controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 4.1
bus info: ***@0000:03:04.1
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: driver=tw68 latency=32 maxlatency=72 mingnt=32
resources: irq:16 memory:e3201800-e3201bff
*-multimedia:2
description: Multimedia video controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 4.2
bus info: ***@0000:03:04.2
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: driver=tw68 latency=32 maxlatency=72 mingnt=32
resources: irq:16 memory:e3201400-e32017ff
*-multimedia:3
description: Multimedia video controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 4.3
bus info: ***@0000:03:04.3
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: driver=tw68 latency=32 maxlatency=72 mingnt=32
resources: irq:16 memory:e3201000-e32013ff
*-multimedia:4 UNCLAIMED
description: Multimedia controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 4.4
bus info: ***@0000:03:04.4
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3202380-e32023ff
*-multimedia:5 UNCLAIMED
description: Multimedia controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 4.5
bus info: ***@0000:03:04.5
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3202300-e320237f
*-multimedia:6 UNCLAIMED
description: Multimedia controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 4.6
bus info: ***@0000:03:04.6
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3202280-e32022ff
*-multimedia:7 UNCLAIMED
description: Multimedia controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 4.7
bus info: ***@0000:03:04.7
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3202200-e320227f
*-multimedia:8
description: Multimedia video controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 5
bus info: ***@0000:03:05.0
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: driver=tw68 latency=32 maxlatency=72 mingnt=32
resources: irq:17 memory:e3200c00-e3200fff
*-multimedia:9
description: Multimedia video controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 5.1
bus info: ***@0000:03:05.1
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: driver=tw68 latency=32 maxlatency=72 mingnt=32
resources: irq:17 memory:e3200800-e3200bff
*-multimedia:10
description: Multimedia video controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 5.2
bus info: ***@0000:03:05.2
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: driver=tw68 latency=32 maxlatency=72 mingnt=32
resources: irq:17 memory:e3200400-e32007ff
*-multimedia:11
description: Multimedia video controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 5.3
bus info: ***@0000:03:05.3
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: driver=tw68 latency=32 maxlatency=72 mingnt=32
resources: irq:17 memory:e3200000-e32003ff
*-multimedia:12 UNCLAIMED
description: Multimedia controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 5.4
bus info: ***@0000:03:05.4
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3202180-e32021ff
*-multimedia:13 UNCLAIMED
description: Multimedia controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 5.5
bus info: ***@0000:03:05.5
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3202100-e320217f
*-multimedia:14 UNCLAIMED
description: Multimedia controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 5.6
bus info: ***@0000:03:05.6
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3202080-e32020ff
*-multimedia:15 UNCLAIMED
description: Multimedia controller
product: TW6816 multimedia video controller
vendor: Intersil Techwell
physical id: 5.7
bus info: ***@0000:03:05.7
version: 10
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list
configuration: latency=32 maxlatency=72 mingnt=32
resources: memory:e3202000-e320207f
This page:
https://cateee.net/lkddb/web-lkddb/VIDEO_TW68.html
seems to imply that this board is supported.
I understand that only the video interfaces are supported, all the
"UNCLAIMED" devices are for audio. Still, I have plugged in 4 cameras
at a time in the 4 blue coax plugs, labeled VID 1-4, and the 4 green
coax plugs, labeled VID 1-4. and no image shows up when running ffplay
or vlc, on any of the video[0-7] interfaces. I hope it's just the lack
of the proper option.
Ffplay shows this, and no image. Just a black window.
$ ffplay /dev/video0
ffplay version 5.1.4-0+deb12u1 Copyright (c) 2003-2023 the FFmpeg developers
built with gcc 12 (Debian 12.2.0-14)
configuration: --prefix=/usr --extra-version=0+deb12u1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --disable-sndio --enable-libjxl --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo --enable-librav1e --enable-shared
libavutil 57. 28.100 / 57. 28.100
libavcodec 59. 37.100 / 59. 37.100
libavformat 59. 27.100 / 59. 27.100
libavdevice 59. 7.100 / 59. 7.100
libavfilter 8. 44.100 / 8. 44.100
libswscale 6. 7.100 / 6. 7.100
libswresample 4. 7.100 / 4. 7.100
libpostproc 56. 6.100 / 56. 6.100
Input #0, video4linux2,v4l2, from '/dev/video0':B sq= 0B f=0/0
Duration: N/A, start: 628.838851, bitrate: 165888 kb/s
Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 720x576, 165888 kb/s, 25 fps, 25 tbr, 1000k tbn
700.82 M-V: -0.008 fd= 1 aq= 0KB vq= 810KB sq= 0B f=0/0
Apparently ffplay can't make sense of the video data being sent from the
cameras. I Have tried this with 3 lorex cameras and one old AT&T video
conferencing camera, just to make sure it's not something unique to the lorex
cameras. The system load goes up in a manner consistent with processing
analog/NTSC video at 25 fps.
Vlc returns this error:
deinterlace filter error: unknown or incompatible deinterlace mode "x" for
packed format
I have no idea what option I need to set or unset to correct this error . Any
ideas? is there something peculiar to this board that makes it not supported
by this driver? I'd be willing to help debug the driver if this is the case.
I have installed the source code, but I'm hoping it's just a matter of
setting the proper option.
Any suggestions welcome. I would really like to be able to use all these
cameras and board. Is anyone out there using this video capture card
under linux?
Thanks.
Augustine
For completeness, here's the output of lspci -v
03:04.0 Multimedia video controller: Intersil Techwell TW6816 multimedia video controller (rev 10)
Subsystem: Broadcom / LSI TW6816 multimedia video controller
Flags: bus master, fast Back2Back, 66MHz, medium devsel, latency 32, IRQ 9
Memory at e3201c00 (32-bit, non-prefetchable) [size=1K]
Capabilities: [44] Power Management version 2
03:04.1 Multimedia video controller: Intersil Techwell TW6816 multimedia video controller (rev 10)
Subsystem: Broadcom / LSI TW6816 multimedia video controller
Flags: bus master, fast Back2Back, 66MHz, medium devsel, latency 32, IRQ 9
Memory at e3201800 (32-bit, non-prefetchable) [size=1K]
Capabilities: [44] Power Management version 2
03:04.2 Multimedia video controller: Intersil Techwell TW6816 multimedia video controller (rev 10)
Subsystem: Broadcom / LSI TW6816 multimedia video controller
Flags: bus master, fast Back2Back, 66MHz, medium devsel, latency 32, IRQ 9
Memory at e3201400 (32-bit, non-prefetchable) [size=1K]
Capabilities: [44] Power Management version 2
03:04.3 Multimedia video controller: Intersil Techwell TW6816 multimedia video controller (rev 10)
Subsystem: Broadcom / LSI TW6816 multimedia video controller
Flags: bus master, fast Back2Back, 66MHz, medium devsel, latency 32, IRQ 9
Memory at e3201000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [44] Power Management version 2
03:04.4 Multimedia controller: Intersil Techwell TW6816 multimedia video controller (rev 10)
Subsystem: Broadcom / LSI TW6816 multimedia video controller
Flags: bus master, fast Back2Back, 66MHz, medium devsel, latency 32, IRQ 9
Memory at e3202380 (32-bit, non-prefetchable) [size=128]
Capabilities: [44] Power Management version 2
03:04.5 Multimedia controller: Intersil Techwell TW6816 multimedia video controller (rev 10)
Subsystem: Broadcom / LSI TW6816 multimedia video controller
Flags: bus master, fast Back2Back, 66MHz, medium devsel, latency 32, IRQ 9
Memory at e3202300 (32-bit, non-prefetchable) [size=128]
Capabilities: [44] Power Management version 2
03:04.6 Multimedia controller: Intersil Techwell TW6816 multimedia video controller (rev 10)
Subsystem: Broadcom / LSI TW6816 multimedia video controller
Flags: bus master, fast Back2Back, 66MHz, medium devsel, latency 32, IRQ 9
Memory at e3202280 (32-bit, non-prefetchable) [size=128]
Capabilities: [44] Power Management version 2
03:04.7 Multimedia controller: Intersil Techwell TW6816 multimedia video controller (rev 10)
Subsystem: Broadcom / LSI TW6816 multimedia video controller
Flags: bus master, fast Back2Back, 66MHz, medium devsel, latency 32, IRQ 9
Memory at e3202200 (32-bit, non-prefetchable) [size=128]
Capabilities: [44] Power Management version 2
03:05.0 Multimedia video controller: Intersil Techwell TW6816 multimedia video controller (rev 10)
Subsystem: Kolter Electronic TW6816 multimedia video controller
Flags: bus master, fast Back2Back, 66MHz, medium devsel, latency 32, IRQ 9
Memory at e3200c00 (32-bit, non-prefetchable) [size=1K]
Capabilities: [44] Power Management version 2
03:05.1 Multimedia video controller: Intersil Techwell TW6816 multimedia video controller (rev 10)
Subsystem: Kolter Electronic TW6816 multimedia video controller
Flags: bus master, fast Back2Back, 66MHz, medium devsel, latency 32, IRQ 9
Memory at e3200800 (32-bit, non-prefetchable) [size=1K]
Capabilities: [44] Power Management version 2
03:05.2 Multimedia video controller: Intersil Techwell TW6816 multimedia video controller (rev 10)
Subsystem: Kolter Electronic TW6816 multimedia video controller
Flags: bus master, fast Back2Back, 66MHz, medium devsel, latency 32, IRQ 9
Memory at e3200400 (32-bit, non-prefetchable) [size=1K]
Capabilities: [44] Power Management version 2
03:05.3 Multimedia video controller: Intersil Techwell TW6816 multimedia video controller (rev 10)
Subsystem: Kolter Electronic TW6816 multimedia video controller
Flags: bus master, fast Back2Back, 66MHz, medium devsel, latency 32, IRQ 9
Memory at e3200000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [44] Power Management version 2
03:05.4 Multimedia controller: Intersil Techwell TW6816 multimedia video controller (rev 10)
Subsystem: Kolter Electronic TW6816 multimedia video controller
Flags: bus master, fast Back2Back, 66MHz, medium devsel, latency 32, IRQ 9
Memory at e3202180 (32-bit, non-prefetchable) [size=128]
Capabilities: [44] Power Management version 2
03:05.5 Multimedia controller: Intersil Techwell TW6816 multimedia video controller (rev 10)
Subsystem: Kolter Electronic TW6816 multimedia video controller
Flags: bus master, fast Back2Back, 66MHz, medium devsel, latency 32, IRQ 9
Memory at e3202100 (32-bit, non-prefetchable) [size=128]
Capabilities: [44] Power Management version 2
03:05.6 Multimedia controller: Intersil Techwell TW6816 multimedia video controller (rev 10)
Subsystem: Kolter Electronic TW6816 multimedia video controller
Flags: bus master, fast Back2Back, 66MHz, medium devsel, latency 32, IRQ 9
Memory at e3202080 (32-bit, non-prefetchable) [size=128]
Capabilities: [44] Power Management version 2
03:05.7 Multimedia controller: Intersil Techwell TW6816 multimedia video controller (rev 10)
Subsystem: Kolter Electronic TW6816 multimedia video controller
Flags: bus master, fast Back2Back, 66MHz, medium devsel, latency 32, IRQ 9
Memory at e3202000 (32-bit, non-prefetchable) [size=128]
Capabilities: [44] Power Management version 2