WSL2-Linux-Kernel | Linux kernel used in Windows Subsystem
kandi X-RAY | WSL2-Linux-Kernel Summary
kandi X-RAY | WSL2-Linux-Kernel Summary
There are several guides for kernel developers and users. These guides can be rendered in a number of formats, like HTML and PDF. Please read Documentation/admin-guide/README.rst first.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of WSL2-Linux-Kernel
WSL2-Linux-Kernel Key Features
WSL2-Linux-Kernel Examples and Code Snippets
Community Discussions
Trending Discussions on WSL2-Linux-Kernel
QUESTION
I am currently struggling with v4l2loopback
installation on WSL2.
Some context:
Recently, I have read about create a virtual video device in Linux and then mock its output from an image or video file.
This is quite important for testing or developing purposes, for example in order to attach a virtual webcam that reproduces a video file as a loop to the android emulator.
After some research I got to the conclusion I don't want to use desktop applications and it might be easy to run even in a CI or similar, therefore v4l2loopback looks nice, but I am currently a Windows user.
I enabled WSL2 on my machine, downloaded the repo, and tried to execute make
command like in the repo description.
ANSWER
Answered 2020-Aug-01 at 23:28I am not familiar with WSL...
-- Ah, it appears WSL doesn't have a linux kernel at all: see https://unix.stackexchange.com/questions/594470/wsl-2-does-not-have-lib-modules . So it's useless building the v4l2loopback mod; even if you'd be able to build it, there's nothing, no kernel, to load it!
Maybe an alternative for you might be running Virtualbox (it's free, and available for Windows) on your windows machine, and load a real Linux distro of your own choice in it. Then build the v4l2loop module, after installing the kernel development headers, and install the mod (after building, as root do insmod v4l2loop.ko
) and play with it.
Thus, you are on your way. Far more elegant, and far easier. Also will have you make an enormous and important climb on the 'getting familiar with Linux' ladder, as well as maybe familiarize yourself with a virtual machine(?).
I'd definitely go for that.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install WSL2-Linux-Kernel
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page