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

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

module driver needs to be installed each time after reboot #11

Open Aaditya1611 opened 2 months ago

Aaditya1611 commented 2 months ago

compilation occurs without anny errors but everytime i boot the driver needs to be compiled again for the camera to work. i am on fedora 40 with latest kernel version: Linux 6.10.4-200.fc40.x86_64.

fus0g commented 2 months ago

compilation occurs without anny errors but everytime i boot the driver needs to be compiled again for the camera to work. i am on fedora 40 with latest kernel version: Linux 6.10.4-200.fc40.x86_64.

i guess some issue with selinux. can you give the output of systemctl status loaduvc.service

Aaditya1611 commented 2 months ago

Output of systemctl status loaduvc.service:

× loaduvc.service - loads custom uvc driver Loaded: loaded (/etc/systemd/system/loaduvc.service; enabled; preset: disa> Drop-In: /usr/lib/systemd/system/service.d └─10-timeout-abort.conf Active: failed (Result: exit-code) since Mon 2024-08-19 19:10:47 IST; 1 da> Process: 1200 ExecStart=/usr/bin/loaduvc.sh (code=exited, status=1/FAILURE) Main PID: 1200 (code=exited, status=1/FAILURE) CPU: 8ms

Aug 19 19:10:47 fedora systemd[1]: Starting loaduvc.service - loads custom uvc > Aug 19 19:10:47 fedora loaduvc.sh[1211]: rmmod: ERROR: Module uvcvideo is not c> Aug 19 19:10:47 fedora loaduvc.sh[1213]: insmod: ERROR: could not insert module> Aug 19 19:10:47 fedora systemd[1]: loaduvc.service: Main process exited, code=e> Aug 19 19:10:47 fedora systemd[1]: loaduvc.service: Failed with result 'exit-co> Aug 19 19:10:47 fedora systemd[1]: Failed to start loaduvc.service - loads cust> lines 1-15/15 (END)...skipping... × 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-08-19 19:10:47 IST; 1 day 1h ago Process: 1200 ExecStart=/usr/bin/loaduvc.sh (code=exited, status=1/FAILURE) Main PID: 1200 (code=exited, status=1/FAILURE) CPU: 8ms

Aug 19 19:10:47 fedora systemd[1]: Starting loaduvc.service - loads custom uvc driver... Aug 19 19:10:47 fedora loaduvc.sh[1211]: rmmod: ERROR: Module uvcvideo is not currently loaded Aug 19 19:10:47 fedora loaduvc.sh[1213]: insmod: ERROR: could not insert module /usr/lib/modules/uvcvideo.ko: Unknown symbol in module Aug 19 19:10:47 fedora systemd[1]: loaduvc.service: Main process exited, code=exited, status=1/FAILURE Aug 19 19:10:47 fedora systemd[1]: loaduvc.service: Failed with result 'exit-code'. Aug 19 19:10:47 fedora systemd[1]: Failed to start loaduvc.service - loads custom uvc driver.

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-08-19 19:10:47 IST; 1 day 1h ago Process: 1200 ExecStart=/usr/bin/loaduvc.sh (code=exited, status=1/FAILURE) Main PID: 1200 (code=exited, status=1/FAILURE) CPU: 8ms

Aug 19 19:10:47 fedora systemd[1]: Starting loaduvc.service - loads custom uvc driver... Aug 19 19:10:47 fedora loaduvc.sh[1211]: rmmod: ERROR: Module uvcvideo is not currently loaded Aug 19 19:10:47 fedora loaduvc.sh[1213]: insmod: ERROR: could not insert module /usr/lib/modules/uvcvideo.ko: Unknown symbol in module Aug 19 19:10:47 fedora systemd[1]: loaduvc.service: Main process exited, code=exited, status=1/FAILURE Aug 19 19:10:47 fedora systemd[1]: loaduvc.service: Failed with result 'exit-code'. Aug 19 19:10:47 fedora systemd[1]: Failed to start loaduvc.service - loads custom uvc driver. ~ Above is the output after the reboot.

Below here is the output after i installed the driver again after reboot:

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: inactive (dead) since Tue 2024-08-20 21:07:34 IST; 8s ago Process: 388374 ExecStart=/usr/bin/loaduvc.sh (code=exited, status=0/SUCCESS) Main PID: 388374 (code=exited, status=0/SUCCESS) CPU: 18ms

Aug 20 21:07:34 fedora systemd[1]: Starting loaduvc.service - loads custom uvc driver... Aug 20 21:07:34 fedora systemd[1]: loaduvc.service: Deactivated successfully. Aug 20 21:07:34 fedora systemd[1]: Finished loaduvc.service - loads custom uvc driver.

fus0g commented 2 months ago

updated just now. reclone and try to install again.

Aaditya1611 commented 2 months ago

recloned it and installed it again. Still driver is not getting loaded after reboot. output of systemctl status loaduvc.service is changed a little:

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 Tue 2024-08-20 21:29:35 IST; 59s ago Process: 1247 ExecStart=/usr/bin/loaduvc.sh (code=exited, status=1/FAILURE) Main PID: 1247 (code=exited, status=1/FAILURE) CPU: 9ms

Aug 20 21:29:35 fedora systemd[1]: Starting loaduvc.service - loads custom uvc driver... Aug 20 21:29:35 fedora loaduvc.sh[1257]: rmmod: ERROR: Module uvcvideo is not currently loaded Aug 20 21:29:35 fedora loaduvc.sh[1258]: insmod: ERROR: could not insert module /usr/lib/modules/uvcvideo.ko: Unknown symbol in module Aug 20 21:29:35 fedora systemd[1]: loaduvc.service: Main process exited, code=exited, status=1/FAILURE Aug 20 21:29:35 fedora systemd[1]: loaduvc.service: Failed with result 'exit-code'. Aug 20 21:29:35 fedora systemd[1]: Failed to start loaduvc.service - loads custom uvc driver.