- install kernel header files and build tools
# debian
sudo apt install linux-headers-amd64 build-essentials
# fedora (might not be accurate!)
sudo dnf install kernel-devel<kernel_version>
- check current kernel version
/* Quanta ACER HD User Facing */
{ .match_flags = USB_DEVICE_ID_MATCH_DEVICE
| USB_DEVICE_ID_MATCH_INT_INFO,
.idVendor = 0x0408,
.idProduct = 0x4033,
.bInterfaceClass = USB_CLASS_VIDEO,
.bInterfaceSubClass = 1,
.bInterfaceProtocol = UVC_PC_PROTOCOL_15,
.driver_info = (kernel_ulong_t) &(const struct uvc_device_info ) { .uvc_version = 0x010a, } },
- build module with this command:
make -j4 -C /lib/modules/$(uname -r)/build M=$(pwd) modules
- copy
uvcvideo.ko
file to kernel module path
sudo cp uvcvideo.ko /lib/modules/$(uname -r)/kernel/drivers/media/usb/uvc/
- change directory to
/lib/modules/$(uname -r)/kernel/drivers/media/usb/uvc/
- rename old file from
uvcvideo.ko.xz
to uvcvideo.ko.xz.bak
(if required)
- rename file name from
uvcvideo.ko
to uvcvideo.ko.xz
(if required)
- unload previous module
sudo modprobe -r uvcvideo
- use
modeprobe
command to load kernel module
Randomly stumbled on this upon an Arch user asking for help with their camera... have you contacted upstream about this?