Linux UVC Video module patch for legacy dino-lite cameras. The patch enables controlling LED light through uvcvideo.
The project uses DKMS (Dynamic kernel module system) to automatically build the patched module after the kernel was updated.
The repository contains the config, the prebuild script, and the patch that need to be copied into /usr/src/
Original patch | UVC | DKMS
Kernel: >5.15 | UVCVideo: 1.1.1
-
Download the zip file from this repository and extract to
/usr/src/uvcvideo-1.1.1-dinolite -
Install
dkms,wget,xz-utils,linux-headers-genericand rundkms install uvcvideo/1.1.1-dinoliteIfuname -rdoes not match the kernel headers found in/lib/modules/, usedkms install -k <x.y.z-tag> uvcvideo/1.1.1-dinolite -
Test the patched UVC module using:
Turn on LED
uvcdynctrl -S 4:3 8001f1Turn off LED
uvcdynctrl -S 4:3 8001f0`