question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

After installing, error when running

See original GitHub issue

Just as the title says, when I run the program just pop an error, I have already installed all the dependencies, restarted my machine and just to say, I install the program from AUR using yay so, don’t know why the issue.

The error is: PANIC Failed to create V4L2 device with id 50

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:14 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
ShayBoxcommented, Oct 21, 2020

You have to install the kernel headers for your kernel to get dkms modules to work on archlinux

You also don’t compile from source on archlinux, you use a pkgbuild always, otherwise the package manager doesn’t track the files and keep them up to date.

1reaction
rlad78commented, Feb 27, 2021

For those of you running into this on Arch, not knowing how to do this:

You have to install the kernel headers for your kernel to get dkms modules to work on archlinux

Find the linux kernel you’re using: uname -r

Then, using yay (or pacman -S with the specific package name), install the package that matches your kernel version: yay linux-headers should give you something like:

8 core/linux59-headers 5.9.16-1 (9.7 MiB 48.3 MiB) 
    Header files and scripts for building modules for Linux59 kernel
7 core/linux54-headers 5.4.97-1 (9.4 MiB 46.9 MiB) 
    Header files and scripts for building modules for Linux54 kernel
6 core/linux511-headers 5.11.rc7.d0207.g92bf226-1 (9.6 MiB 48.7 MiB) 
    Header files and scripts for building modules for Linux511 kernel
5 core/linux510-headers 5.10.15-1 (9.5 MiB 47.7 MiB) 
    Header files and scripts for building modules for Linux510 kernel
4 core/linux49-headers 4.9.257-1 (7.4 MiB 37.0 MiB) 
    Header files and scripts for building modules for Linux49 kernel
3 core/linux44-headers 4.4.257-1 (6.7 MiB 33.8 MiB) 
    Header files and scripts for building modules for Linux44 kernel
2 core/linux419-headers 4.19.175-1 (8.8 MiB 44.3 MiB) 
    Header files and scripts for building modules for Linux419 kernel
1 core/linux414-headers 4.14.221-1 (8.1 MiB 41.0 MiB) 
    Header files and scripts for building modules for Linux414 kernel
==> Packages to install (eg: 1 2 3, 1-3 or ^4)

Since I’m using 5.10, I chose linux510-headers. Installed the package and mon2cam worked perfectly afterwards.

Thanks @ShayBox !

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to troubleshoot Windows Installer errors - Microsoft Support
Click Start, click Run, type cmd, and then click Command Prompt. · At the command prompt, type the following, and then press Enter...
Read more >
Fix Another Installation is in Progress Error on Windows
1. Restart the Windows Installer service · Press the Windows key + R to start Run, type services.msc, and press Enter or click...
Read more >
If an error occurred while updating or installing macOS
If an error occurred while updating or installing macOS · Check your internet connection · Install in safe mode · Install after repairing...
Read more >
9 Ways to Fix an Error Occurred While Preparing the Installation
This makes it important for us to be ready to tackle any error. An installation error that reads 'an error occurred while preparing...
Read more >
Troubleshooting — Anaconda documentation
Cannot get conda to run after installing; Recovering your Anaconda installation ... The 403 error you are receiving may look like the following:....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found