fus0g / Quanta-HD-User-Facing-0x0408-0x4035_linux

Linux Kernel uvc driver for Quanta-HD-User-Facing-0x0408,0x4035 usually found on acer laptops
42 stars 6 forks source link

Not able to install the drivers on fedora 40 #5

Open Kemphire opened 2 months ago

Kemphire commented 2 months ago

After cloning the repo followed the following steps

but i'm getting the following error Job for loaduvc.service failed because the control process exited with error code. See "systemctl status loaduvc.service" and "journalctl -xeu loaduvc.service" for details.

Output of systemctl status loaduvc.service

`× loaduvc.service - loads custom uvc driver Loaded: loaded (/etc/systemd/system/loaduvc.service; enabled; preset: disabled) Drop-In: /usr/lib/systemd/system/service.d └─10-timeout-abort.conf Active: failed (Result: exit-code) since Mon 2024-05-13 18:33:47 IST; 2min 47s ago Process: 32969 ExecStart=/usr/bin/loaduvc.sh (code=exited, status=1/FAILURE) Main PID: 32969 (code=exited, status=1/FAILURE) CPU: 52ms

May 13 18:33:47 shahi systemd[1]: Starting loaduvc.service - loads custom uvc driver... May 13 18:33:47 shahi loaduvc.sh[32970]: rmmod: ERROR: Module uvcvideo is not currently l> May 13 18:33:47 shahi loaduvc.sh[32971]: insmod: ERROR: could not insert module /usr/lib/> May 13 18:33:47 shahi systemd[1]: loaduvc.service: Main process exited, code=exited, stat> May 13 18:33:47 shahi systemd[1]: loaduvc.service: Failed with result 'exit-code'. May 13 18:33:47 shahi systemd[1]: Failed to start loaduvc.service - loads custom uvc driv>`

And no entries in journalctl -xeu loaduvc.service

fus0g commented 2 months ago

Will take a look

a0x14D commented 2 months ago

@Kemphire

try sudo loaduvc.sh if it works then add it to startup scrips

Kemphire commented 2 months ago

@Kemphire

try sudo loaduvc.sh if it works then add it to startup scrips

rmmod: ERROR: Module uvcvideo is not currently loaded insmod: ERROR: could not insert module /usr/lib/modules/uvcvideo.ko: Key was rejected by service

unfortunately this also doesn't work

a0x14D commented 2 months ago

@Kemphire try sudo loaduvc.sh if it works then add it to startup scrips

rmmod: ERROR: Module uvcvideo is not currently loaded insmod: ERROR: could not insert module /usr/lib/modules/uvcvideo.ko: Key was rejected by service

unfortunately this also doesn't work

maybe try this

git clone https://github.com/a0x14D/Quanta-HD-User-Facing-0x0408-0x4035_linux.git -b no-systemctl 
cd Quanta-HD-User-Facing-0x0408-0x4035_linux
make clean
reboot
make install 

after install

check once sudo loaduvc.sh && mpv /dev/video0

Kemphire commented 2 months ago

image

Still not working, is there any universal driver for webcam something like nouveau which is for all nivdia drivers

pseudowudo commented 1 month ago

I had the same issue. Resolved it just now.

replace the contents of "/usr/src/kernels/6.8.10-300.fc40.x86_64/drivers/media/usb/uvc" with that of PrabhatProxy's Quanta-HD-User-Facing-0x0408-0x4035_linux/src/uvc

then follow the instructions for manual installation from the readme

make -C /lib/modules/$(uname -r)/build M=$(pwd)
sudo rmmod uvcvideo sudo insmod uvcvideo.ko

and you're done.

pseudowudo commented 1 month ago

I had the same issue. Resolved it just now.

replace the contents of "/usr/src/kernels/6.8.10-300.fc40.x86_64/drivers/media/usb/uvc" with that of PrabhatProxy's Quanta-HD-User-Facing-0x0408-0x4035_linux/src/uvc

then follow the instructions for manual installation from the readme

make -C /lib/modules/$(uname -r)/build M=$(pwd) sudo rmmod uvcvideo sudo insmod uvcvideo.ko

and you're done.

and... it unfortunately stops working after a restart

fus0g commented 1 month ago

image

Still not working, is there any universal driver for webcam something like nouveau which is for all nivdia drivers

Is your secure boot enabled? If yes then disable it. I think that's the issue.