From nobody Mon Aug 10 16:01:51 2026 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4hJfdv1dgwz6p08q for ; Mon, 10 Aug 2026 16:02:11 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-oi1-x234.google.com (mail-oi1-x234.google.com [IPv6:2607:f8b0:4864:20::234]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hJfds4K8bz3pPs for ; Mon, 10 Aug 2026 16:02:09 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-oi1-x234.google.com with SMTP id 5614622812f47-4a4836dc117so206340b6e.1 for ; Mon, 10 Aug 2026 09:02:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1786377724; cv=none; d=google.com; s=arc-20260327; b=FDiw2eKJclBLRcZhbEJdlZzZ7TnNycWuCU8R9/QZ8jTzrduYYuWxwCGjyy79ZCHdzz upxyaRUbqjL5AeuSgBybgOMjuaDjfzSz+gfPUXfirMeFUR+zzdOzYEElJ1v+pjLIPSAH PsBWf4lbl5vTI5hItpvQfmHlEhavSIXIuMv2H0ImpsAkEdkuqbBqVvgV0KYDOplHSIqh zesNuGWiMIHAGMlgM8CrthSXDQ7l6+BGGX8nRtylI3CvNSCfv1NlA5+AaLWyxRDydvdB zA0rnDogq2b7+q4/svScQyiqDoFnjWJUEqHElHbC9wmYFcx6+geHmomf03I5XDAH4RnE j+rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=EbWQ/LGItFgfllvdAH6vdX0/SrAFfSsu+bjthSNfOlQ=; fh=+8vDjGovuNVi8n11BwbLFU1hKzfcxphDtUcytkl0udM=; b=ZS+UOtPNPs9z4fnyKiu6iDaeq0baXvaOYrlbqSrgVCOx3uHMoa29etfpySakyDTp9Z f3+ZAYjOsWDTTUc8vbjs0SJLTO9YSdUNujZvfuJ+yZ/pYAI10DBQgNWA51mcs2SPbtGJ yYCAEpmHEjhYXKssBNejCngvan8VWsmktIu6DJo5SMCBdCqEtgn2OY7OWDaSaEf68GM2 1UJo8QSTvbgSOGmNWohu4jOTdzEhMQDds8uzPndjkdKBoBiAruMYNLsKw88/p+kN4x8S eZ19jcB0qn2zMJcE1hTqCaBhAHLHKByVc6jgp/K1u0z6oRo+qjpayK2lkB7Z6GePrf+L NayQ==; darn=freebsd.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1786377724; x=1786982524; darn=freebsd.org; h=content-type:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:from:to:cc:subject:date:message-id:reply-to :content-type; bh=EbWQ/LGItFgfllvdAH6vdX0/SrAFfSsu+bjthSNfOlQ=; b=MXq3Zzil0fnuZNX/G+Lw2ZWSn6QKHn6D7+jfCTxhO9SS4xUye0IBhoa2dTXpvz8Lc2 4aqhpQMfDyrljL9Rh0w2TSAqP7eYcguwQZvm8VTjNLJONhfoCS03g0dmHAyjfVBT6ODn cpry3Ey2pcUvqG9mnnIFd50xTsZbD+/sGqz6m80rGgMVNyjPeDMADayqi9QrjKjyNEUl mH/Mb/ZhXrRzLaFFDH8NI48QrNSFryY4/POsuvxqXxQjiOEXE8H1NMldz4ialNmXtOCX /LCcxY0vwLGnh8s0FbQaF6DyH2xkhUrJDrGVx6ana5bZ0HPoVDi92g38xSFj5eXnvSMg 4zhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786377724; x=1786982524; h=content-type:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to:content-type; bh=EbWQ/LGItFgfllvdAH6vdX0/SrAFfSsu+bjthSNfOlQ=; b=C2e9jRY7O/W0ZZtFPcleRnZSw0uroFvh4gZWaYQx6rpYToBWaethgIsaHbpeuAwvy2 otEp+NOzGf2iopY3Jz2HPYWKz9KTVnHQAJ3GkYNOlkNxIturR0xG+fmWT3vYSXFiTB2p +gLL8BI+kccFdeMOmiyYc78wnKvvqZ32wcx9oiizKu9++HZhB0yrsUugzqxkAcIDMKme mFQzMkC8RTDDfQdR3x7FyN6CbztdVu0DkXuNJQSRdgF4Ym9DaZfA5x8FcsvJvSP3/i46 YKcgO76BBjdmbUnKUWOabjvKN1bi5Ov/47Vw64PAPxik3smKSEQGX2Ka5znHk2+ruzyU UY9g== X-Gm-Message-State: AOJu0YwgdlbqSYDFjwvFmz+hU8HAF+u3SRGC1VkLKqBKkZi/8Esc7lbX wswV3S+VZRLFt39QXuZa1+lDJcc2TB97xTn6A3WrYQkWWWls5SIQH3jyhZgbXfk+g8V8QS9kePP Z37jq8C1Rb/3h7wW178Bg+u5G+bciwVYRCrAM X-Gm-Gg: AR+sD12vV8DQnPKIy3e1jgXoS+a4EmdhSVHRK9vMrJTaxrgsaTacul+pqiTOU179baD KTO1mpsyeZ4IxrQ0B4uGQDb0RDE9iC9bUmUSOqeKrV5KLAWi1hA5xNPa6542VlGG5JOD7Ou917M JkW3lRRbHFmVDk44lK/aal7c8RKp5jlCy8FfgEaFCMkPiabhkpLiU58yaPem5IuvhpSEJuYxX78 0MzCHfwuxCeWUsMsNmRr1Yg0vlib1PqAzO9jKM9ngU3l+mqfqW/sgf2SgDc1UQzHJbrzp69+uCi PChsxr6N/iiL5zyizFTfEpZtbTx62BjMmE9kfyrD46peJmgmLmQLNyQ4ZwVUO1L3BXr6wN6jvko = X-Received: by 2002:a05:6808:14c5:b0:497:df42:1e04 with SMTP id 5614622812f47-4afae15ab7bmr23011155b6e.18.1786377723288; Mon, 10 Aug 2026 09:02:03 -0700 (PDT) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 References: <734bb4c2-50d0-4fca-b587-56d8dc404dc1@app.fastmail.com> In-Reply-To: <734bb4c2-50d0-4fca-b587-56d8dc404dc1@app.fastmail.com> From: =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= Date: Mon, 10 Aug 2026 18:01:51 +0200 X-Gm-Features: AUfX_mwuaalh3SboASV9TnYv3tT6hxmk2WO4orRZsbUem1bofPaEWpOZiPKRu14 Message-ID: Subject: Re: video(4) landed. "No webcam driver" is dead. To: Abdelkader Boudih Cc: freebsd-hackers@freebsd.org Content-Type: multipart/alternative; boundary="000000000000a1a2ab0658b379f6" X-Rspamd-Queue-Id: 4hJfds4K8bz3pPs X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Spamd-Bar: ---- --000000000000a1a2ab0658b379f6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Aug 9, 2026 at 11:41=E2=80=AFPM Abdelkader Boudih wrote: > For years, the go-to move for dodging a video call was "well, I run > FreeBSD, and there's no webcam driver, so." > > Camera stays off, nobody questions it, everyone assumes a serious systems > person and not someone hiding from a standup. That excuse is now retired. > By Adrian Chadd, Baptiste Daroussin, and me. > We did this. On purpose. I don't know what we were thinking. > > video(4) is a new kernel-side capture framework: > a common device model for things that produce frames, instead of every > capture driver reinventing /dev/videoN from scratch. > > Initial consumers: > > - uvideo(4): USB Video Class webcams, converted onto the new > framework. Most of the hard logic here was already done for us - OpenB= SD's > Robert Nagy and Marcus Glocker wrote the original driver years ago, > Baptiste ported it to FreeBSD. > - fwcam(4): Apple firewire camera. work perfectly for me, but > Australian mode (upside down) for Adrian. > > Where its been tested: > > - across basically the whole Apple fleet here : MacBooks, iMacs, Every > one of those machines is now missing exactly one thing (WiFi, still > catching up on some chipsets). > - Also tested on regular Laptops with integrated webcams, which mostly > just worked . > > Diffs for the design: D58367-D58369 > > What's coming next: > > - PCI capture cards - the "I have a real capture card, not a webcam". > - SBC-class cameras (think Raspberry Pi camera modules) - CSI-ish > targets, for anyone doing embedded/SBC work on FreeBSD > > I'd love it if you: > > - Threw a UVC device at uvideo(4) that has those non generic cameras. > (especially 2k, 4k, thermal cameras, ect). > - Have an firewire webcam > > *Once a few more hackers have tested this, I will post it to > freebsd-current@.* > Thank you all for this! I tested it a few weeks ago in current. It worked fine when using Google Meet but it does not work fine with pwcview. I tested again in FreeBSD hammer 16.0-CURRENT FreeBSD 16.0-CURRENT #8 main-n288009-d025b84268ec and pwcview (1.4.1_9) does not work properly, it looks like the image is quadrupled in four columns... It's difficult to explain, but I can provide a screenshot if necessary :-). This was run on a laptop with an embedded webcam. Similar effect in pwcview for a Logitech USB camera: ugen0.6: at usbus0 uvideo1 on uhub0 uvideo1: on usbus0 uvideo1: 2 format(s), iface_index=3D1, endpoint=3D0x81, psize=3D3060, isoc uvideo1: default format: pixfmt=3D0x56595559, 640x480, max_fbuf=3D2457600 uvideo1: UVC camera on /dev/video1 This camera works fine in Google Meet, it does not with pwcview. pwcview worked fine with webcamd, though. Please, feel free to reach out should you need more details. Thanks! > > As for meetings: the next generation of excuse is already in production. > "Sorry, can't turn my camera on, I'm running TempleOS this week, it's > between me and God." Untestable & Unfalsifiable. Nobody's going to ask > follow-up questions. You're welcome. > > *Sent from HolyC Internet Missionary.* > --000000000000a1a2ab0658b379f6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Sun, Aug 9, = 2026 at 11:41=E2=80=AFPM Abdelkader Boudih <freebsd@seuros.com> wrote:
For years, the go-to mov= e for dodging a video call was "well, I run FreeBSD, and there's no webcam driver, so."

=
Camera stays off, nobody questions it, everyone assumes a serious systems person and not someone hiding from a standup. That excuse is now retired.
By Adrian Chadd, Baptiste Daroussin, and me.
We did thi= s. On purpose. I don't know what we were thinking.

video(4) is a new kernel-side capture framework:
a = common device model for things that produce frames, instead of every capture driver reinventing /dev/videoN from scratch.

=C2=A0Initial consumers:
  • uvideo(4): USB Video C= lass webcams, converted onto the new framework. Most of the hard logic here was already done for us - OpenBSD's Robert Nagy and Marcus Glocker wrote the original driver years ago, Baptiste ported it to FreeBSD.
  • fwcam(4): Apple firewire = camera. work perfectly=C2=A0for me, but Australian mode (upside down)= for Adrian.
Where its been tested: <= /div>
  • across basically the whole Apple fleet here :=C2=A0MacBooks, iMacs, Every one of those machines=C2=A0is now missing ex= actly one thing (WiFi, still catching up on some chipsets).
  • Also tested on regular Laptops with integr= ated webcams, which mostly just worked .
Diffs for the design: D58367-D58369

What's coming next:
  • PCI capture cards - the "I= have a real capture card, not a webcam".
  • SBC-class cameras (think Raspberry Pi camera modules)= - CSI-ish targets, for anyone doing embedded/SBC work on FreeBSD
= I'd love it if you:
  • Threw a UVC device= at uvideo(4) that has those non generic cameras. (especially 2k, 4k, therm= al cameras, ect).
  • Have an firewire webcam
Once a few more hackers have tested this, I will p= ost it to freebsd-current@.

Thank you all for this!

I tested it a few weeks a= go in current. It worked fine when using Google Meet but it does not work f= ine with pwcview.
I
=C2=A0tested again in=C2=A0FreeBSD = hammer 16.0-CURRENT FreeBSD 16.0-CURRENT #8 main-n288009-d025b84268ec and p= wcview (1.4.1_9) does not work properly, it looks like the image is quadrup= led in four columns... It's difficult to explain, but I can provide a s= creenshot if necessary :-). This was run on a laptop with an embedded webca= m.

Similar effect in pwcview for a Logitech USB ca= mera:

ugen0.6: <vendor 0x046d C270 HD WEBCAM>= ; at usbus0
uvideo1 on uhub0
uvideo1: <vendor 0x046d C270 HD WEBCA= M, class 239/2, rev 2.00/0.21, addr 7> on usbus0
uvideo1: 2 format(s)= , iface_index=3D1, endpoint=3D0x81, psize=3D3060, isoc
uvideo1: default = format: pixfmt=3D0x56595559, 640x480, max_fbuf=3D2457600
uvideo1: UVC ca= mera on /dev/video1

This camera works fine in Google Meet= , it does not with pwcview.

pwcview worked fine with webc= amd, though.

Please, feel free to reach out should= you need more details.

Thanks!

=C2=A0
<= div>
As for meetings: the next generation of excuse is = already in production. "Sorry, can't turn my camera on, I'm running Templ= eOS this week, it's between me and God." Untestable & Unfalsifiabl= e. Nobody's going to ask follow-up questions. You're welcome.

Sent from HolyC Inter= net Missionary.
--000000000000a1a2ab0658b379f6--