Add explaination about v4l2
This commit is contained in:
parent
e687816421
commit
9e9fbbc771
25
README.md
25
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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user