Skip to content

Instantly share code, notes, and snippets.

@aRmanNM
Created February 7, 2024 06:37
Show Gist options
  • Save aRmanNM/722eed098a35fa70b22063518a48c46f to your computer and use it in GitHub Desktop.
Save aRmanNM/722eed098a35fa70b22063518a48c46f to your computer and use it in GitHub Desktop.
Acer A515-57G Quanta Webcam 0x4033 Fix On Linux
  • 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
uname -a
	/* 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
sudo modprobe uvcvideo
@V1del
Copy link

V1del commented Apr 23, 2024

Randomly stumbled on this upon an Arch user asking for help with their camera... have you contacted upstream about this?

@aRmanNM
Copy link
Author

aRmanNM commented Apr 24, 2024

was following this issue on launchpad and kernel developers also reacted to it so guess they are aware of that
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2000947
didn't contacted anyone myself

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment