I bought a Acer Nitro 5 AN517-55 with Quanta ACER HD User Facing', USB 0408:4035.
The camera is reported to have problems by many users: https://linux-hardware.org/?id=usb:0408-4035
The uvc camera Quanta 0408:4035 does not work with ubuntu 22,04. the camera is “recongized” but fails installation.
PROPOSED SOLUTION
I got in contact with <email address hidden> and with <email address hidden> , and subscribed to https://www.linuxtv.org/lists. And <email address hidden> mailinglist.
Laurent proposed me a fix and I modified the 5,15 uvc_driver.c version, and loaded it on github
BUT the linux-source that I found installed seems to be different
tgiuliano@Astra2A:/usr/src$ ls -al linux-so*
lrwxrwxrwx 1 root root 47 nov 22 16:08 linux-source-5.15.0.tar.bz2 -> linux-source-5.15.0/linux-source-5.15.0.tar.bz2
I expanded the tar file, configured the IDE and compiled without error any errors…
I manually copied the uvcvideo.ko in
/lib/modules/5.15.0-56-
sudo cp…...
then tryed to intall the new uvcvideo.ko module
sudo rmmod uvcvideo && sudo modprobe uvcvideo
BUT… IT FAILS
giuliano@Astra2A:~$ sudo rmmod uvcvideo && sudo modprobe uvcvideo
modprobe: ERROR: could not insert 'uvcvideo': Exec format error
and dmesg shows
[25961.151982] usbcore: registered new interface driver uvcvideo
[26323.125534] usbcore: deregistering interface driver uvcvideo
[26323.189294] uvcvideo: disagrees about version of symbol module_layout
These are the TWO modinfo from the old and new uvcvideo modules https://pastebin.com/tSj8Exm6
Basically
OLD module: vermagic: 5.15.0-56-generic SMP mod_unload modversions
NEW module: vermagic: 5.15.64 SMP mod_unload modversions
-kindly ASK
HOW can FORCE the uvcdriver.c to match mi kernel version ?
Have I got OTHER ways to make the kernel module I’m compiling, match my running system ?
I would like to test the module so to confirm the patch and let it enter the kernel main stream...
BR
Giuliano
PS
btw…. to allow Eclipse to compile the kernel, I had to pass this commands
scripts/config --disable CONFIG_SYSTEM_REVOCATION_KEYS
scripts/config --disable SYSTEM_REVOCATION_KEYS
scripts/config --disable SYSTEM_TRUSTED_KEYS
hope that this does not affect the module layout & checking
I bought a Acer Nitro 5 AN517-55 with Quanta ACER HD User Facing', USB 0408:4035.
The camera is reported to have problems by many users: /linux- hardware. org/?id= usb:0408- 4035
https:/
The uvc camera Quanta 0408:4035 does not work with ubuntu 22,04. the camera is “recongized” but fails installation.
My console commands report similar info to other users: /unix.stackexch ange.com/ questions/ 723504/ integrated- camera- not-detected- working- on-acer- nitro-5- an515-58
https:/
PROPOSED SOLUTION /www.linuxtv. org/lists. And <email address hidden> mailinglist.
I got in contact with <email address hidden> and with <email address hidden> , and subscribed to https:/
Laurent proposed me a fix and I modified the 5,15 uvc_driver.c version, and loaded it on github
https:/ /github. com/Giuliano69/ uvc_driver- for-Quanta- HD-User- Facing- 0x0408- 0x4035- /blob/main/ uvc_driver. c
I offered to test the fix, so I tried to compile the module with the new source.
COMPILING PROBLEMS Astra2A: /usr/src$ cat /proc/version_ signature 56.62-generic 5.15.64
I’m running **Ubuntu 22.04.1 LTS, with kernel
giuliano@
Ubuntu 5.15.0-
BUT the linux-source that I found installed seems to be different Astra2A: /usr/src$ ls -al linux-so* 5.15.0. tar.bz2 -> linux-source- 5.15.0/ linux-source- 5.15.0. tar.bz2
tgiuliano@
lrwxrwxrwx 1 root root 47 nov 22 16:08 linux-source-
I expanded the tar file, configured the IDE and compiled without error any errors… 5.15.0- 56-
I manually copied the uvcvideo.ko in
/lib/modules/
sudo cp…...
then tryed to intall the new uvcvideo.ko module
sudo rmmod uvcvideo && sudo modprobe uvcvideo
BUT… IT FAILS
giuliano@Astra2A:~$ sudo rmmod uvcvideo && sudo modprobe uvcvideo
modprobe: ERROR: could not insert 'uvcvideo': Exec format error
and dmesg shows
[25961.151982] usbcore: registered new interface driver uvcvideo
[26323.125534] usbcore: deregistering interface driver uvcvideo
[26323.189294] uvcvideo: disagrees about version of symbol module_layout
These are the TWO modinfo from the old and new uvcvideo modules /pastebin. com/tSj8Exm6
https:/
Basically
OLD module: vermagic: 5.15.0-56-generic SMP mod_unload modversions
NEW module: vermagic: 5.15.64 SMP mod_unload modversions
-kindly ASK
HOW can FORCE the uvcdriver.c to match mi kernel version ?
Have I got OTHER ways to make the kernel module I’m compiling, match my running system ?
I would like to test the module so to confirm the patch and let it enter the kernel main stream...
BR
Giuliano
PS SYSTEM_ REVOCATION_ KEYS REVOCATION_ KEYS
btw…. to allow Eclipse to compile the kernel, I had to pass this commands
scripts/config --disable CONFIG_
scripts/config --disable SYSTEM_
scripts/config --disable SYSTEM_TRUSTED_KEYS
hope that this does not affect the module layout & checking