4749e2e703
The firmware files ended up in linux-firmware, and https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=dbc294d3e49aa63a61bb4026b5784bae5b75aa2b moved them to a ipu/ subpath, so update our patches to find them there, and stop using the pkgs.ipu6-camera-bins package. https://github.com/NixOS/nixpkgs/pull/290216 bumped our linux-firmware image past this, so this should work for people tracking nixos-unstable. Change-Id: Ic3eb9fb364c93ee0d10951451a59f7e98888b5d7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11097 Autosubmit: flokli <flokli@flokli.de> Tested-by: BuildkiteCI Reviewed-by: flokli <flokli@flokli.de> |
||
---|---|---|
.. | ||
kernel | ||
libcamera | ||
config.nix | ||
README.md |
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
andservices.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.