HomeFreeBSD

uvideo: import quirks infrastructure from OpenBSD

Description

uvideo: import quirks infrastructure from OpenBSD

Import the device quirk system from OpenBSD to handle UVC devices
that need special handling. This includes:

  • UVIDEO_FLAG_ISIGHT_STREAM_HEADER: non-standard streaming header
  • UVIDEO_FLAG_REATTACH: needs reattach after firmware upload
  • UVIDEO_FLAG_VENDOR_CLASS: incorrectly reports as vendor class
  • UVIDEO_FLAG_NOATTACH: device not supported
  • UVIDEO_FLAG_FORMAT_INDEX_IN_BMHINT: format index in bmHint

Add quirks table with known devices and lookup function.
Add iSight stream header decoder for Apple iSight cameras.

Obtained from: OpenBSD

Details

Provenance
baptAuthored on Jul 19 2026, 5:18 PM
Parents
rG5f69e6209e09: uvideo: increase UVIDEO_MAX_PU and UVIDEO_MAX_CT to 32
Branches
Unknown
Tags
Unknown