updated client/server for video

This commit is contained in:
Brad Stein 2025-06-25 07:52:18 -05:00
parent fb7d93ce9a
commit 09ddb37b28

View File

@ -33,7 +33,7 @@ echo "==> 2b. Predictable /dev names for each capture card"
# probe all v4l2 devices, keep only the two GC311 capture cards
mapfile -t TAGS < <(
for v in /dev/video*; do
if udevadm info -q property -n "$v" | grep -q 'ID_USB_VENDOR_ID=07ca'; then
if udevadm info -q property -n "$v" | grep 'ID_USB_VENDOR_ID=07ca'; then
# extract the stable port token (ID_PATH_TAG=…)
udevadm info -q property -n "$v" |
awk -F= '/^ID_PATH_TAG=/{print $2}'