Re: [PATCH v3 3/4] media: uvcvideo: Introduce allow_privacy_override module parameter

From: Michal Pecio

Date: Tue Mar 24 2026 - 08:14:16 EST


On Thu, 19 Mar 2026 12:43:21 +0100, Ricardo Ribalda wrote:
> > > We can then decide if we need a specialized API for their use
> > > case or a Kconfig option, rather than leaving the current "anyone
> > > can turn off the privacy LED" status quo.
> >
> > Why not just add the specialized API right away?
>
> We don't know the exact use cases yet, and I do not want to design
> an API without understanding the users for it.
>
> At this moment, we have only identified these usecases:
>
> - Disabling the LED to avoid reflections in glasses. (This is
> generally a non-issue with modern hardware).
> - Baby monitors. (I would argue that physical tape is the correct
> solution for a sleep-disturbing light).

Indeed it was a rhetorical question, I suspect this won't go anywhere
beyond the module parameter for lack of interest from users. Apparently
it's a niche thing and it already works well enough for those who care.

Kconfig could make more sense to exclude this whole "filtering" logic
for those who don't care and may not appreciate bloat, e.g. embedded.

> I rely on my LEDs. I know they are wired to the sensor power supply,
> so the LED is definitely on when the camera is in use.
> I want all users to be able to trust their LEDs like I do.

This is objectively impossible without a soldering iron, and trust in
something that's not even real is ralely a good thing.

Ultimately it's just a software controllable LED. Anyone can drive it
through USBFS. You have a point that restricting this in uvcvideo may
keep some sandboxed applications on some HW from behaving in a manner
unexpected by some users, but that's about the limit of it.

And I wish that you enjoyed the same flexibility as those Logitech
camera owners. But you wouldn't want me to try make it happen ;)

Regards,
Michal