From 75e2a3d2e6e56067d9fa047c540671d6c7a6706c Mon Sep 17 00:00:00 2001 From: Jeff Moe Date: Tue, 23 Aug 2022 19:55:18 -0600 Subject: [PATCH] Notes on libre The Imaging Source install --- README-TIS.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/README-TIS.md b/README-TIS.md index f2670d0..6064bd3 100644 --- a/README-TIS.md +++ b/README-TIS.md @@ -45,6 +45,15 @@ Linux USB Firmware Update Tool # Build Build tools thusly. +**XXX NOTE XXX** + +The first process may involve some non-libre files. +Further investigation is needed. After compile, see: + +`./build/src/v4l2/CMakeFiles/tcam-backend-v4l2.dir` + +The second process listed below may avoid the blobs. + ``` git clone https://github.com/TheImagingSource/tiscamera cd tiscamera @@ -54,10 +63,34 @@ mkdir build cd build/ cmake -DTCAM_BUILD_ARAVIS=ON -DTCAM_BUILD_TOOLS=ON -DTCAM_BUILD_V4L2=ON \ -DTCAM_BUILD_LIBUSB=ON -DTCAM_BUILD_DOCUMENTATION=ON .. +# The following will potentially download some non-libre `.o` files. make +# The following will potentially install some non-libre `.o` files. sudo make install ``` +Perhaps to avoid the non-free bits and keep the final installation +libre, it could be done something like this: + +``` +git clone https://github.com/TheImagingSource/tiscamera +cd tiscamera +# Review command, runs with sudo: +./scripts/dependency-manager install +mkdir build +cd build/ +cmake -DTCAM_BUILD_ARAVIS=ON -DTCAM_BUILD_TOOLS=ON -DTCAM_BUILD_V4L2=ON \ + -DTCAM_BUILD_LIBUSB=ON -DTCAM_BUILD_DOCUMENTATION=ON .. +# The following will potentially download some non-libre `.o` files. +make +sudo mkdir -p /usr/share/theimagingsource/tiscamera/uvc-extension/ +sudo cp ./data/uvc-extensions/usb33.json /usr/share/theimagingsource/tiscamera/uvc-extension/ +sudo cp ./build/data/udev/80-theimagingsource-cameras.rules /etc/udev/rules.d/ +sudo cp ./build/bin/tcam-gigetool /usr/bin/ +sudo cp ./build/bin/tcam-uvc-extension-loader /usr/bin/ +``` + + # stvid Works with `stvid` and a configuration snippet like this: