понедельник

[Bug 2000947] Re: UVC Quanta 0408:4035 camera PROBLEM

** Attachment added: "modinfo.txt"
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2000947/+attachment/5832533/+files/modinfo.txt

--
You received this bug notification because you are subscribed to linux
in Ubuntu.
Matching subscriptions: Bgg, Bmail, Nb
https://bugs.launchpad.net/bugs/2000947

Title:
UVC Quanta 0408:4035 camera PROBLEM

Status in linux package in Ubuntu:
Confirmed

Bug description:
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.

My console commands report similar info to other users:
https://unix.stackexchange.com/questions/723504/integrated-camera-not-detected-working-on-acer-nitro-5-an515-58


PROPOSED SOLUTION
I got in contact with laurent.pinchart@ideasonboard.com and with ribalda@chromium.org , and subscribed to https://www.linuxtv.org/lists. And media@vger.kernel.org mailinglist.

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
I'm running **Ubuntu 22.04.1 LTS, with kernel
giuliano@Astra2A:/usr/src$ cat /proc/version_signature
Ubuntu 5.15.0-56.62-generic 5.15.64

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
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu82.3
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC1: giuliano 2142 F.... pulseaudio
/dev/snd/pcmC1D0p: giuliano 2142 F...m pulseaudio
/dev/snd/controlC0: giuliano 2142 F.... pulseaudio
CRDA: N/A
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 22.04
InstallationDate: Installed on 2022-11-03 (66 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
MachineType: Acer Nitro AN517-55
NonfreeKernelModules: nvidia_modeset nvidia
Package: linux (not installed)
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=it_IT.UTF-8
SHELL=/bin/bash
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.15.0-57-generic root=UUID=f07e25f9-07e7-4a29-a15e-f481aa0ee0f2 ro rootflags=subvol=@ quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 5.15.0-57.63-generic 5.15.74
RelatedPackageVersions:
linux-restricted-modules-5.15.0-57-generic N/A
linux-backports-modules-5.15.0-57-generic N/A
linux-firmware 20220329.git681281e4-0ubuntu3.9
Tags: jammy
Uname: Linux 5.15.0-57-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo wireshark
_MarkForUpload: True
dmi.bios.date: 04/20/2022
dmi.bios.release: 1.6
dmi.bios.vendor: Insyde Corp.
dmi.bios.version: V1.06
dmi.board.asset.tag: Type2 - Board Asset Tag
dmi.board.name: Ignis_ADH
dmi.board.vendor: ADL
dmi.board.version: V1.06
dmi.chassis.type: 10
dmi.chassis.vendor: Acer
dmi.chassis.version: V1.06
dmi.ec.firmware.release: 1.6
dmi.modalias: dmi:bvnInsydeCorp.:bvrV1.06:bd04/20/2022:br1.6:efr1.6:svnAcer:pnNitroAN517-55:pvrV1.06:rvnADL:rnIgnis_ADH:rvrV1.06:cvnAcer:ct10:cvrV1.06:sku0000000000000000:
dmi.product.family: Nitro 5
dmi.product.name: Nitro AN517-55
dmi.product.sku: 0000000000000000
dmi.product.version: V1.06
dmi.sys.vendor: Acer
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu82.3
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC1: giuliano 2142 F.... pulseaudio
/dev/snd/pcmC1D0p: giuliano 2142 F...m pulseaudio
/dev/snd/controlC0: giuliano 2142 F.... pulseaudio
CRDA: N/A
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 22.04
InstallationDate: Installed on 2022-11-03 (66 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
MachineType: Acer Nitro AN517-55
NonfreeKernelModules: nvidia_modeset nvidia
Package: linux (not installed)
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=it_IT.UTF-8
SHELL=/bin/bash
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.15.0-57-generic root=UUID=f07e25f9-07e7-4a29-a15e-f481aa0ee0f2 ro rootflags=subvol=@ quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 5.15.0-57.63-generic 5.15.74
RelatedPackageVersions:
linux-restricted-modules-5.15.0-57-generic N/A
linux-backports-modules-5.15.0-57-generic N/A
linux-firmware 20220329.git681281e4-0ubuntu3.9
Tags: jammy
Uname: Linux 5.15.0-57-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo wireshark
_MarkForUpload: True
dmi.bios.date: 04/20/2022
dmi.bios.release: 1.6
dmi.bios.vendor: Insyde Corp.
dmi.bios.version: V1.06
dmi.board.asset.tag: Type2 - Board Asset Tag
dmi.board.name: Ignis_ADH
dmi.board.vendor: ADL
dmi.board.version: V1.06
dmi.chassis.type: 10
dmi.chassis.vendor: Acer
dmi.chassis.version: V1.06
dmi.ec.firmware.release: 1.6
dmi.modalias: dmi:bvnInsydeCorp.:bvrV1.06:bd04/20/2022:br1.6:efr1.6:svnAcer:pnNitroAN517-55:pvrV1.06:rvnADL:rnIgnis_ADH:rvrV1.06:cvnAcer:ct10:cvrV1.06:sku0000000000000000:
dmi.product.family: Nitro 5
dmi.product.name: Nitro AN517-55
dmi.product.sku: 0000000000000000
dmi.product.version: V1.06
dmi.sys.vendor: Acer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2000947/+subscriptions

Комментариев нет:

Отправить комментарий