tvl-depot/users/flokli/ipu6-softisp
Florian Klink c499e424d8 feat(users/flokli/ipu6-softisp): provide example closure
This introduces a NixOS configuration using config.nix as a NixOS
module, and also checks the firmware is present in the location it's
expected to.

Change-Id: I3ec4333d73fe1b28e10c589c1cf351c59372bb99
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11099
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
2024-03-07 14:43:02 +00:00
..
kernel fix(users/flokli/ipu6-softisp): skip subdirs from readTree 2024-03-07 14:29:17 +00:00
libcamera fix(users/flokli/ipu6-softisp): skip subdirs from readTree 2024-03-07 14:29:17 +00:00
config.nix chore(users/flokli/ipu6-softisp): align with linux-firmware 2024-03-07 13:56:33 +00:00
default.nix feat(users/flokli/ipu6-softisp): provide example closure 2024-03-07 14:43:02 +00:00
README.md feat(users/flokli/ipu6-softisp): init 2024-01-30 09:54:24 +00:00

ipu6-softisp

This code adds support for the ipu6 webcams via libcamera, based on the work in https://copr.fedorainfracloud.org/coprs/jwrdegoede/ipu6-softisp/.

It's supposed to be included in your NixOS configuration imports, and will:

  • Add some patches to your kernel, which should apply on 6.7.x
  • Add the ipu6-camera-bins firmware (still needed)
  • Enable some kernel config options
  • Add an udev rule so libcamera can do DMABUF things
  • Override services.pipewire.package and services.pipewire.wireplumber.package to use a pipewire built with a libcamera with support for this webcam.

Please make sure you don't have any of the hardware.ipu6 options still enabled, as they use the closed-source userspace stack and will conflict.

The testing instructions from https://copr.fedorainfracloud.org/coprs/jwrdegoede/ipu6-softisp/ still apply.

qcam can be found in libcamera-qcam (pending on https://github.com/NixOS/nixpkgs/pull/284964 to trickle into master).

Thanks to Hans de Goede for helping me bringing this up, as well as to puckipedia for sorting out some pipewire-related confusion.