# kernel/ — daedalus-v4l2 Linux kernel module Out-of-tree kernel module providing a V4L2 stateless decoder device that forwards work to a userspace daemon. ## Status Scaffold only. Phase 8.1 not yet started. ## Build (when implemented) ```sh make -C /lib/modules/$(uname -r)/build M=$(pwd) sudo insmod daedalus_v4l2.ko v4l2-ctl --list-devices # confirm /dev/videoNN appears ``` ## Layout (planned) - `Makefile` — kbuild stub - `daedalus_v4l2_main.c` — module init + V4L2 device registration - `daedalus_v4l2_chardev.c` — `/dev/daedalus-v4l2` chardev for daemon communication - `daedalus_v4l2_v4l2.c` — V4L2 ioctl dispatch (stateless controls) ## License GPLv2. Required for kernel module symbol compatibility. ## Phase 8.1 starting point Minimal example: register a /dev/videoNN that returns -ENOSYS on every ioctl. Validates that the kernel build works and v4l2-ctl can see the device.