sudo apt update && sudo apt upgrade -y
sudo apt install build-essential -y
sudo apt install gcc-12 -y
cd ~ # change to your home directory
apt-get source linux-modules-extra-$(uname -r)
cd ~/linux-*/drivers/media/usb/uvc
mv uvc_driver.c uvc_driver.old
Download my version for AN515-58 Kernel 6.2
wget https://raw.githubusercontent.com/rexionmars/Nitro5-AN515-58-WebCam-Module/master/uvc_driver_kernel_6.2/uvc_driver.c
Compile new module
make -j4 -C /lib/modules/$(uname -r)/build M=$(pwd) modules
sudo cp uvcvideo.ko /lib/modules/$(uname -r)/kernel/drivers/media/usb/uvc/
Finaly
sudo reboot
sudo apt update && sudo apt upgrade -y
sudo apt install build-essential -y
sudo apt install gcc-12 -y
cd ~ # change to your home directory
apt-get source linux-modules-extra-$(uname -r)
cd ~/linux-*/drivers/media/usb/uvc
mv uvc_driver.c uvc_driver.old
Download my version for AN515-58 Kernel 6.5
wget https://raw.githubusercontent.com/rexionmars/Nitro5-AN515-58-WebCam-Module/master/ubuntu_22-04_kernel_6.5/v4l2-uvc.h
wget https://raw.githubusercontent.com/rexionmars/Nitro5-AN515-58-WebCam-Module/master/ubuntu_22-04_kernel_6.5/uvc_driver.c
Compile new module
make -j4 -C /lib/modules/$(uname -r)/build M=$(pwd) modules
sudo cp uvcvideo.ko /lib/modules/$(uname -r)/kernel/drivers/media/usb/uvc/
Finaly
sudo reboot
Please, report any doubts or issues you may be experiencing with Linux to the following email addresses: [email protected] or [email protected]. I will assist as soon as possible.