this module fixes camera 📷 on bunch of acer laptops 💻 like Acer Nitro 5 running linux.
Special Thanks to @Giuliano69 for the driver reference 🥰
lsusb | grep "Quanta Computer"
if it shows something like this
Bus 003 Device 003: ID 0408:4035 Quanta Computer, Inc.
or
Bus 003 Device 003: ID 0408:4033 Quanta Computer, Inc.
then you can go ahead.
insmod: ERROR: could not insert module /usr/lib/modules/uvcvideo.ko: key was rejected by service
ubuntu
sudo apt install build-essential
This May be Required on some debian based distros
sudo apt-get install gcc-12 g++-12
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 20
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 20
Fedora/Nobara
sudo dnf install kernel-devel
git clone https://github.com/fus0g/Quanta-HD-User-Facing-0x0408-0x4035_linux.git && cd Quanta-HD-User-Facing-0x0408-0x4035_linux
chmod +x install_driver.sh
./install_driver.sh
$ make // previously installed modules remove and install again
$ make clean // clean previous installed modules
$ make install // install the module
Now your camera should be working most probably!
- Get Your Kernel Source
- Navigate to drivers/media/usb/uvc
- Add This code to uvc_driver.c
- compile the module only in the same directory using the command
on ubuntu based distros
make -C /lib/modules/$(uname -r)/build M=$(pwd)
COMPILER_VERSION=$(grep -o 'x86_64-linux-gnu-gcc-[0-9]*' /proc/version | head -n 1) make -C /lib/modules/$(uname -r)/build M=$(pwd) CC="$COMPILER_VERSION"
- If it compiles fine you would get a uvcvideo.ko module in the folder.
- Unload previous version from kernel using
sudo rmmod uvcvideo
- Load new module
Now it should work but change will be removed on reboot:)
sudo insmod uvcvideo.ko
Distro | version |
---|---|
Nobara | 38 |
Nobara | 39 |
Fedora | 39 |
Fedora | 40 |
Ubuntu | 23.10 |
Ubuntu | 24.04 |
Pop_OS! | 22.04 |
Arch Linux | Latest |
Cachy OS | Latest |
Linux Mint | 22 |
OpenSuse Tumbleweed | Latest |
Debian | 12 |
Tell me if it works for you! i will update the readme!