Comment 126 for bug 2000947

Revision history for this message
Bevz Vasyl (vbevz) wrote :

Hi @Giuliano

Will be good If you could help me.

I have Acer with Quanta 4033 camera
Previously I used your script and camera worked. But yesterday I got update from 6.2 kernel to 6.5 and now it is not working. I saw that you create new commit today but still not working. Error the same as in #123

Here is error
************************************************************************************************
 linux-hwe-6.5-6.5.0/ubuntu/include/README
 linux-hwe-6.5-6.5.0/ubuntu/ubuntu-host/Kconfig
 linux-hwe-6.5-6.5.0/ubuntu/ubuntu-host/Makefile
 linux-hwe-6.5-6.5.0/ubuntu/ubuntu-host/ubuntu-host.c
 linux-hwe-6.5-6.5.0/update-dkms-versions
 linux-hwe-6.5-6.5.0/virt/kvm/vfio.c
--2024-01-16 18:34:02-- https://raw.githubusercontent.com/Giuliano69/uvc_driver-for-Quanta-HD-User-Facing-0x0408-0x4035-/main/uvc_driver.c
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.109.133, 185.199.108.133, 185.199.111.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.109.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 89121 (87K) [text/plain]
Saving to: ‘uvc_driver.c’

uvc_driver.c 100%[================================================================================================================>] 87,03K 538KB/s in 0,2s

2024-01-16 18:34:02 (538 KB/s) - ‘uvc_driver.c’ saved [89121/89121]

make: Entering directory '/usr/src/linux-headers-6.5.0-14-generic'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
  You are using:
  CC [M] /home/vasyl/linux-hwe-6.5-6.5.0/drivers/media/usb/uvc/uvc_driver.o
/bin/sh: 1: gcc-12: not found
make[2]: *** [scripts/Makefile.build:251: /home/vasyl/linux-hwe-6.5-6.5.0/drivers/media/usb/uvc/uvc_driver.o] Error 127
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [/usr/src/linux-headers-6.5.0-14-generic/Makefile:2037: /home/vasyl/linux-hwe-6.5-6.5.0/drivers/media/usb/uvc] Error 2
make: *** [Makefile:234: __sub-make] Error 2
make: Leaving directory '/usr/src/linux-headers-6.5.0-14-generic'
cp: cannot stat 'uvcvideo.ko': No such file or directory
rmmod: ERROR: Module uvcvideo is not currently loaded

****************************************************************************************************
1. I removed all directories in home, which starts from "linux"
2. I removed add documents and archives in home, which starts from "linux"
3. I put your script into home and launch it. (Tested with sudo and without)

Could you help me or tell what to check?