daedalus-v4l2{,-dkms}: f55b2cd -> f0cd29a — Linux 6.18 compat #38

Merged
marfrit merged 1 commits from claude-noether/marfrit-packages:noether/daedalus-v4l2-kernel-6.18-compat into main 2026-05-20 08:24:19 +00:00
Owner

DKMS build for daedalus_v4l2 fails against kernel 6.18+ with:

daedalus_v4l2_main.c:1049: error: too few arguments to function
'v4l2_fh_add'
v4l2-fh.h:97: void v4l2_fh_add(struct v4l2_fh *fh, struct file *filp);

(same for v4l2_fh_del). Signature changed exactly at v6.18 — verified
v6.13–v6.17 still use the one-arg form via raw.githubusercontent.com
tag walk.

Upstream commit f0cd29a wraps the calls with LINUX_VERSION_CODE so the
module keeps building against:

  • 6.12 LTS / RPi 6.12.75 (one-arg) — hertz
  • 6.12.88+deb13-arm64 (one-arg)
  • 6.18.29+rpt-rpi-2712 (file* arg) — higgs running kernel

Higgs (Pi CM5) was hitting this: daedalus-v4l2-dkms 0.1.0+r16+gf55b2cd
showed 'installed' in dpkg but DKMS autoinstall failed for the running
6.18.29 kernel. Re-running 'dkms autoinstall' after this bump succeeds

  • /dev/daedalus-v4l2 appears.

Also widens debian/daedalus-v4l2-dkms Recommends from
linux-headers-generic | linux-headers
to
linux-headers-rpi-2712 | linux-headers-rpi | linux-headers-generic | linux-headers
so apt pulls the right metapackage on Raspberry Pi OS / RPi-2712
kernels by default.

Userspace pkgver bumps in lockstep (no userspace change in f0cd29a, but
keeps daedalus-v4l2 + daedalus-v4l2-dkms versions matching for
LIBVA_DRIVER_NAME selection sanity).

Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

DKMS build for daedalus_v4l2 fails against kernel 6.18+ with: daedalus_v4l2_main.c:1049: error: too few arguments to function 'v4l2_fh_add' v4l2-fh.h:97: void v4l2_fh_add(struct v4l2_fh *fh, struct file *filp); (same for v4l2_fh_del). Signature changed exactly at v6.18 — verified v6.13–v6.17 still use the one-arg form via raw.githubusercontent.com tag walk. Upstream commit f0cd29a wraps the calls with LINUX_VERSION_CODE so the module keeps building against: * 6.12 LTS / RPi 6.12.75 (one-arg) — hertz * 6.12.88+deb13-arm64 (one-arg) * 6.18.29+rpt-rpi-2712 (file* arg) — higgs running kernel Higgs (Pi CM5) was hitting this: daedalus-v4l2-dkms 0.1.0+r16+gf55b2cd showed 'installed' in dpkg but DKMS autoinstall failed for the running 6.18.29 kernel. Re-running 'dkms autoinstall' after this bump succeeds + /dev/daedalus-v4l2 appears. Also widens debian/daedalus-v4l2-dkms Recommends from linux-headers-generic | linux-headers to linux-headers-rpi-2712 | linux-headers-rpi | linux-headers-generic | linux-headers so apt pulls the right metapackage on Raspberry Pi OS / RPi-2712 kernels by default. Userspace pkgver bumps in lockstep (no userspace change in f0cd29a, but keeps daedalus-v4l2 + daedalus-v4l2-dkms versions matching for LIBVA_DRIVER_NAME selection sanity). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
marfrit added 1 commit 2026-05-20 08:24:11 +00:00
DKMS build for daedalus_v4l2 fails against kernel 6.18+ with:

  daedalus_v4l2_main.c:1049: error: too few arguments to function
                            'v4l2_fh_add'
  v4l2-fh.h:97: void v4l2_fh_add(struct v4l2_fh *fh, struct file *filp);

(same for v4l2_fh_del).  Signature changed exactly at v6.18 — verified
v6.13–v6.17 still use the one-arg form via raw.githubusercontent.com
tag walk.

Upstream commit f0cd29a wraps the calls with LINUX_VERSION_CODE so the
module keeps building against:
  * 6.12 LTS / RPi 6.12.75 (one-arg)        — hertz
  * 6.12.88+deb13-arm64 (one-arg)
  * 6.18.29+rpt-rpi-2712 (file* arg)        — higgs running kernel

Higgs (Pi CM5) was hitting this: daedalus-v4l2-dkms 0.1.0+r16+gf55b2cd
showed 'installed' in dpkg but DKMS autoinstall failed for the running
6.18.29 kernel.  Re-running 'dkms autoinstall' after this bump succeeds
+ /dev/daedalus-v4l2 appears.

Also widens debian/daedalus-v4l2-dkms Recommends from
  linux-headers-generic | linux-headers
to
  linux-headers-rpi-2712 | linux-headers-rpi | linux-headers-generic | linux-headers
so apt pulls the right metapackage on Raspberry Pi OS / RPi-2712
kernels by default.

Userspace pkgver bumps in lockstep (no userspace change in f0cd29a, but
keeps daedalus-v4l2 + daedalus-v4l2-dkms versions matching for
LIBVA_DRIVER_NAME selection sanity).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
marfrit merged commit e8a5490d44 into main 2026-05-20 08:24:19 +00:00
marfrit deleted branch noether/daedalus-v4l2-kernel-6.18-compat 2026-05-20 08:24:19 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: marfrit/marfrit-packages#38