Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: Increase the default count of /dev/videoX
To:
"Kirill A. Korinsky" <kirill@korins.ky>
Cc:
OpenBSD tech <tech@openbsd.org>
Date:
Wed, 8 Jan 2025 09:44:35 +0000

Download raw body.

Thread
Please wait for other comments too, but ok sthen.

On 2025/01/07 21:57, Kirill A. Korinsky wrote:
> tech@
> 
> I suggest increasing the default count of /dev/videoX devices.
> 
> It's quite common for a laptop to have a visible light camera, an
> infrared camera, or both, in addition to a camera connected via USB.
> 
> Here's a patch that increases the count of /dev/videoX devices from 2 to 4.
> 
> We might also consider setting a higher default value, such as 8.
> 
> Thoughts? Ok?
> 
> Index: etc/MAKEDEV.common
> ===================================================================
> RCS file: /home/cvs/src/etc/MAKEDEV.common,v
> diff -u -p -u -p -r1.121 MAKEDEV.common
> --- etc/MAKEDEV.common	3 Sep 2024 09:35:46 -0000	1.121
> +++ etc/MAKEDEV.common	7 Jan 2025 20:00:54 -0000
> @@ -144,7 +144,7 @@ twrget(all, lpt, lpa, 0, 1, 2)dnl
>  target(all, joy, 0, 1)dnl
>  twrget(all, rnd, random)dnl
>  target(all, uk, 0)dnl
> -twrget(all, vi, video, 0, 1)dnl
> +twrget(all, vi, video, 0, 1, 2, 3)dnl
>  twrget(all, speak, speaker)dnl
>  target(all, asc, 0)dnl
>  target(all, radio, 0)dnl
> 
> --
> wbr, Kirill
>