Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Multiple module parameters are allowed in a single line in modern kernel.
  • Loading branch information
fangfufu authored and umlaeute committed Nov 17, 2023
1 parent 719af83 commit 29d8abf
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -331,14 +331,13 @@ If needed, one can specify default module options by creating
`/etc/modprobe.d/v4l2loopback.conf` in the following form:

~~~
options v4l2loopback video_nr=3,4,7
options v4l2loopback card_label="device number 3,the number four,the last one"
options v4l2loopback video_nr=3,4,7 card_label="device number 3,the number four,the last one"
~~~

One can only add one option per line. These options also become the defaults when
manually calling `modprobe v4l2loopback`. Note that the double quotes can only
be used at the beginning and the end of the option's value, as opposed to when
they are specified on the command line.
These options also become the defaults when manually calling
`modprobe v4l2loopback`. Note that the double quotes can only be used at the
beginning and the end of the option's value, as opposed to when they are
specified on the command line.

If your system boots with an initial ramdisk, which is the case for most
modern distributions, you need to update this ramdisk with the settings above,
Expand Down

0 comments on commit 29d8abf

Please sign in to comment.