Alexander Heldt 64640e98aa pinwheel: Fix intermittent webcam failure from IPU6 isys oops
On 7.3 the in-tree IPU6 isys driver can be runtime-suspended while
isys_probe() is still running, before it has set drvdata. The suspend
callback then dereferences a NULL isys, oopses, and psys never probes,
so /dev/ipu-psys0 is missing and the camera HAL fails with "Failed to
open PSYS".

Patch the isys runtime PM callbacks to return early when drvdata is
not set yet. The patched module is built on its own from the kernel
source and installed under updates/, so it overrides the in-tree one
without having to rebuild the whole kernel.
2026-11-03 13:46:56 +01:00
2024-09-02 21:07:34 +02:00
2024-09-02 21:07:34 +02:00
2026-11-03 09:50:15 +01:00
2026-10-28 15:10:23 +01:00

config-manager

./config-manager is a module that contains a script to make usage of this flake easier.

To install it

  1. first add the module to the nixOS system connfiguration
  2. set config-manager.flakePath = <path to this flake>
  3. run nixos-rebuild switch --flake .#<configuration> after that cm will be available on $PATH.

Secrets

Secrets are managed by agenix (https://github.com/ryantm/agenix).

Creating new secrets

  1. Update secrets/secrets.nix with the new secret.

  2. When inside ./secrets:

EDITOR=vim agenix -e "some-secret.age"

This will create a new secret. To view its content one can do:

EDITOR=vim agenix -d "some-secret.age" -i ~/.ssh/alex.pinwheel

Or use some other SSH key that is has been used to key the secret.

Test VM

Build the test VM with the command:

cm  --build-test-vm

and test it with:

cm  --run-test-vm
S
Description
No description provided
Readme
1.9 MiB
0 Stars 1 Watchers 0 Forks
Languages
Nix 76.7%
HTML 18.4%
Shell 4%
Emacs Lisp 0.9%