Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update end-to-end-demo.md #112

Merged
merged 6 commits into from
Nov 19, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/end-to-end-demo.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ carry out one or the other, then continue on with the rest of the steps.
curl http://deb.debian.org/debian/pool/main/v/v4l2loopback/v4l2loopback-dkms_0.12.5-1_all.deb -o v4l2loopback-dkms_0.12.5-1_all.deb
sudo dpkg -i v4l2loopback-dkms_0.12.5-1_all.deb
```
1. Install the prerequisites of v4l2loopback: it needs to be loaded simultaneously with the other kernel module 'videodev' contained in linux-modules-extra
Copy link
Contributor

@kate-goldenring kate-goldenring Nov 12, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add this to the previous step to reduce the total number of steps, maybe editing the step to say "Install a kernel module and its prerequisites..."?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, one more request. Testing this on fresh Ubuntu 20.04, package list needs to be updated and dkms installed. Can you please include these:

sudo apt update
sudo apt -y install linux-modules-extra-$(uname -r)
sudo apt -y install dkms

```sh
sudo apt install -y linux-modules-extra-$(uname -r)
```
1. Insert the kernel module, creating /dev/video1 and /dev/video2 devnodes. To create different number video devices modify the `video_nr` argument.
```sh
sudo modprobe v4l2loopback exclusive_caps=1 video_nr=1,2
Expand Down