@ivuser
today I made a new install, deleting the old directoryes and files.
Many messages are in italian, but as you can see The driver was created and 
installed correctly...

(base) giuliano@Astra2A:~$ ./uvc_quanta.sh 
[sudo] password di giuliano: 
I seguenti pacchetti sono stati mantenuti alla versione attuale:
  gjs libgjs0g python3-update-manager update-manager update-manager-core
0 aggiornati, 0 installati, 0 da rimuovere e 5 non aggiornati.
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze... Fatto
Lettura informazioni sullo stato... Fatto   
build-essential è già alla versione più recente (12.9ubuntu3).
I seguenti pacchetti sono stati installati automaticamente e non sono più 
richiesti:
  libaccinj64-11.5 libcub-dev libcublas11 libcublaslt11 libcudart11.0 
libcufft10 libcufftw10 libcupti-dev libcupti-doc
  libcupti11.5 libcurand10 libcusolver11 libcusolvermg11 libcusparse11 
libgl1-mesa-dev libllvm13 libllvm13:i386 libnppc11
  libnppial11 libnppicc11 libnppidei11 libnppif11 libnppig11 libnppim11 
libnppist11 libnppisu11 libnppitc11 libnpps11 libnvblas11
  libnvjpeg11 libnvrtc-builtins11.5 libnvrtc11.2 libnvtoolsext1 libnvvm4 
liborcus-0.17-0 liborcus-parser-0.17-0 libtbb-dev
  libthrust-dev libvdpau-dev libwmf0.2-7 libxmlsec1 libxmlsec1-nss 
node-html5shiv nsight-compute nsight-compute-target
  nvidia-cuda-gdb nvidia-cuda-toolkit-doc nvidia-opencl-dev ocl-icd-opencl-dev 
opencl-c-headers opencl-clhpp-headers
Usare "sudo apt autoremove" per rimuoverli.
0 aggiornati, 0 installati, 0 da rimuovere e 5 non aggiornati.
Lettura elenco dei pacchetti... Fatto
Scelto "linux-hwe-6.2" come pacchetto sorgente al posto di 
"linux-modules-extra-6.2.0-39-generic"
Nota: il processo di pacchettizzazione di "linux-hwe-6.2" è mantenuto
all'interno del sistema di controllo della versione "Git" presso:
git://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/jammy
Utilizzare:
git clone git://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/jammy
per recuperare gli ultimi (forse non rilasciati) aggiornamenti del pacchetto.
È necessario scaricare 229 MB di sorgenti.
Scaricamento di:1 http://it.archive.ubuntu.com/ubuntu jammy-updates/main 
linux-hwe-6.2 6.2.0-39.40~22.04.1 (dsc) [8.838 B]
Scaricamento di:2 http://it.archive.ubuntu.com/ubuntu jammy-updates/main 
linux-hwe-6.2 6.2.0-39.40~22.04.1 (tar) [219 MB]
Scaricamento di:3 http://it.archive.ubuntu.com/ubuntu jammy-updates/main 
linux-hwe-6.2 6.2.0-39.40~22.04.1 (diff) [10,5 MB]                              
                   
Recuperati 229 MB in 13s (17,8 MB/s)                                            
                                                                                
            
dpkg-source: Informazioni: extracting linux-hwe-6.2 in linux-hwe-6.2-6.2.0
dpkg-source: Informazioni: unpacking linux-hwe-6.2_6.2.0.orig.tar.gz
dpkg-source: Informazioni: applying linux-hwe-6.2_6.2.0-39.40~22.04.1.diff.gz
patching file Documentation/ABI/testing/configfs-usb-gadget-uvc
patching file Documentation/ABI/testing/ima_policy
patching file Documentation/ABI/testing/sysfs-devices-system-cpu
patching file Documentation/ABI/testing/sysfs-driver-eud
patching file Documentation/ABI/testing/sysfs-module
patching file Documentation/Makefile
patching file Documentation/accounting/psi.rst
patching file Documentation/admin-guide/cgroup-v1/memory.rst
patching file Documentation/admin-guide/hw-vuln/gather_data_sampling.rst
patching file Documentation/admin-guide/hw-vuln/index.rst
patching file Documentation/admin-guide/hw-vuln/spectre.rst
patching file Documentation/admin-guide/hw-vuln/srso.rst
patching file Documentation/admin-guide/kdump/gdbmacros.txt
patching file Documentation/admin-guide/kernel-parameters.rst
patching file Documentation/admin-guide/kernel-parameters.txt
patching file Documentation/admin-guide/security-bugs.rst
patching file Documentation/admin-guide/sysctl/kernel.rst
patching file Documentation/arm64/silicon-errata.rst
patching file Documentation/bpf/instruction-set.rst
patching file Documentation/cgroups/namespace.txt
patching file Documentation/dev-tools/gdb-kernel-debugging.rst
patching file Documentation/devicetree/bindings/ata/ceva,ahci-1v84.yaml
patching file 
Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml
patching file 
Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml
patching file 
Documentation/devicetree/bindings/iio/adc/renesas,rcar-gyroadc.yaml
patching file Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml
patching file Documentation/devicetree/bindings/power/reset/qcom,pon.yaml
patching file Documentation/devicetree/bindings/serial/nxp,sc16is7xx.txt
patching file Documentation/devicetree/bindings/serial/renesas,scif.yaml
patching file Documentation/devicetree/bindings/sound/amlogic,gx-sound-card.yaml
patching file Documentation/devicetree/bindings/sound/cirrus,cs35l41.yaml
patching file Documentation/devicetree/bindings/sound/qcom,lpass-rx-macro.yaml
patching file Documentation/devicetree/bindings/sound/tas2562.yaml
patch: **** Can't create file 
Documentation/devicetree/bindings/sound/tas2562.yaml.dpkg-orig : Too many open 
files
dpkg-source: Errore: LC_ALL=C patch -t -F 0 -N -p1 -u -V never -b -z .dpkg-orig 
< ./linux-hwe-6.2_6.2.0-39.40~22.04.1.diff.gz subprocess returned exit status 2
E: Comando di estrazione "dpkg-source --no-check -x 
linux-hwe-6.2_6.2.0-39.40~22.04.1.dsc" non riuscito.
N: Verificare che il pacchetto "dpkg-dev" sia installato.
--2023-12-20 07:12:42--  
https://raw.githubusercontent.com/Giuliano69/uvc_driver-for-Quanta-HD-User-Facing-0x0408-0x4035-/main/uvc_driver.c
Risoluzione di raw.githubusercontent.com (raw.githubusercontent.com)... 
185.199.109.133, 185.199.110.133, 185.199.111.133, ...
Connessione a raw.githubusercontent.com 
(raw.githubusercontent.com)|185.199.109.133|:443... connesso.
Richiesta HTTP inviata, in attesa di risposta... 200 OK
Lunghezza: 85917 (84K) [text/plain]
Salvataggio in: ‘uvc_driver.c’

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
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.pinch...@ideasonboard.com   and with 
riba...@chromium.org , and subscribed to https://www.linuxtv.org/lists. And  
me...@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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to