Skip to content

Instantly share code, notes, and snippets.

@marble
Forked from okapies/INSTALL.md
Created March 6, 2021 11:45
Show Gist options
  • Save marble/48013893c6e124aad994a086106902d1 to your computer and use it in GitHub Desktop.
Save marble/48013893c6e124aad994a086106902d1 to your computer and use it in GitHub Desktop.
How to install akvcam on Ubuntu 18.04

Install DKMS

$ apt install dkms

Prepare for signing kernel modules

TODO

Install

Download the source code.

$ git clone https://github.com/webcamoid/akvcam.git
$ cd akvcam
$ git checkout refs/tags/1.0.3

Check that there are no problem when building the module:

$ cd akvcam/src
$ make
$ make clean

Place the source under /usr/src.

$ make -p /usr/src/akvcam-1.0.3
$ cp -ar src/* /usr/src/akvcam-1.0.3

Install the module

$ dkms install akvcam/1.0.3

Creating symlink /var/lib/dkms/akvcam/1.0.3/source ->
                 /usr/src/akvcam-1.0.3

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
make -j8 KERNELRELEASE=5.3.0-40-generic KERNEL_DIR=/lib/modules/5.3.0-40-generic/build all...
Signing module:
 - /var/lib/dkms/akvcam/1.0.3/5.3.0-40-generic/x86_64/module/akvcam.ko
Nothing to do.
cleaning build area...

DKMS: build completed.

akvcam.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.3.0-40-generic/updates/dkms/

depmod...

DKMS: install completed.

Configuration

https://github.com/webcamoid/akvcam/wiki/Configure-the-cameras

It can also be configured via Webcamoid.

$ sudo mkdir -p /etc/akvcam
$ sudo touch /etc/akvcam/config.ini
$ sudo chmod -vf 600 /etc/akvcam/config.ini

Load as module

$ modprobe akvcam
$ lsmod | grep akvcam
akvcam                131072  0
videodev              208896  4 videobuf2_v4l2,uvcvideo,videobuf2_common,akvcam
$ modinfo akvcam
filename:       /lib/modules/5.3.0-40-generic/updates/dkms/akvcam.ko
version:        1.0.1
description:    AkVCam Virtual Camera
author:         Gonzalo Exequiel Pedone
...

Ref.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment