From 9e9fbbc77185e4abf4899d28092fbf819a59193a Mon Sep 17 00:00:00 2001 From: beardhatcode Date: Tue, 14 Apr 2020 11:54:01 +0200 Subject: [PATCH] Add explaination about v4l2 --- README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/README.md b/README.md index 4526ab7..09f6c92 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,7 @@ On your **host** machine: - Any POSIX-shell (e.g. bash) - ffmpeg (with ffplay) - ssh +- Video4Linux loopback kernel module if you want to use `--webcam` On your **reMarkable** nothing is needed, unless you want... @@ -54,6 +55,30 @@ Copy the `lz4` program to your reMarkable with `scp lz4.arm.static root@10.11.99.1:/home/root/lz4`, make it executable with `ssh root@10.11.99.1 'chmod +x /home/root/lz4'` and you're ready to go. +### Video4Linux Loopback + +To set your remarkable as a webcam we need to be able to fake one. This is where the Video4Linux loopback kernel module comes into play. We need both the dkms and util packages. On Ubuntu you need to install: + +``` +apt install v4l2loopback-utils v4l2loopback-dkms +``` + +In some package managers `v4l2loopback-utils` is found in `v4l-utils`. + +After installing the module you must enable it with + +``` +modprobe v4l2loopback +``` + +To verify that this worked, execute: + +``` +v4l2-ctl --list-devices +``` + +The result should contain a line with "platform:v4l2loopback". + ## Troubleshooting Steps you can try if the script isn't working: