Index | Thread | Search

From:
Marcus Glocker <marcus@nazgul.ch>
Subject:
Re: Increase the default count of /dev/videoX
To:
"Kirill A. Korinsky" <kirill@korins.ky>
Cc:
tech@openbsd.org
Date:
Wed, 8 Jan 2025 12:23:17 +0100

Download raw body.

Thread
On Tue, Jan 07, 2025 at 09:57:06PM GMT, 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?

I'm OK with 4, and that would align us with /dev/audio* what I can
see.
 
> 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
>