From c5a52d9779c2020d63d66834ca4a3f83bc3b3b6c Mon Sep 17 00:00:00 2001 From: Mehran Dehghanian Date: Tue, 16 Aug 2022 12:47:01 +0430 Subject: [PATCH] Update 'fake webcam streams ubuntu18' --- fake-webcam-streams-ubuntu18.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/fake-webcam-streams-ubuntu18.md b/fake-webcam-streams-ubuntu18.md index 085f139..0735588 100644 --- a/fake-webcam-streams-ubuntu18.md +++ b/fake-webcam-streams-ubuntu18.md @@ -15,6 +15,18 @@ make install ``` sudo depmod -a ``` + +If you faced error for linux headers we should install them manually +for ubuntu: +``` +apt-get install linux-headers-$(uname -r) +``` +for Debian: +``` +apt-get update +apt-get install linux-image-amd64 linux-headers-amd64 +``` + ### Add Kernel Modules ``` sudo modprobe v4l2loopback card_label="My Fake Webcam" exclusive_caps=1