UVC Quanta 0408:4035 camera PROBLEM
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
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:/
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:/
PROPOSED SOLUTION
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
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@
Ubuntu 5.15.0-
BUT the linux-source that I found installed seems to be different
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…
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
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
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
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu82.3
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/pcmC1D0p: giuliano 2142 F...m pulseaudio
/dev/snd/
CRDA: N/A
CasperMD5CheckR
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
NonfreeKernelMo
Package: linux (not installed)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=it_IT.UTF-8
SHELL=/bin/bash
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 20220329.
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.
dmi.board.name: Ignis_ADH
dmi.board.vendor: ADL
dmi.board.version: V1.06
dmi.chassis.type: 10
dmi.chassis.vendor: Acer
dmi.chassis.
dmi.ec.
dmi.modalias: dmi:bvnInsydeCo
dmi.product.family: Nitro 5
dmi.product.name: Nitro AN517-55
dmi.product.sku: 0000000000000000
dmi.product.
dmi.sys.vendor: Acer
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu82.3
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/pcmC1D0p: giuliano 2142 F...m pulseaudio
/dev/snd/
CRDA: N/A
CasperMD5CheckR
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
NonfreeKernelMo
Package: linux (not installed)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=it_IT.UTF-8
SHELL=/bin/bash
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 20220329.
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.
dmi.board.name: Ignis_ADH
dmi.board.vendor: ADL
dmi.board.version: V1.06
dmi.chassis.type: 10
dmi.chassis.vendor: Acer
dmi.chassis.
dmi.ec.
dmi.modalias: dmi:bvnInsydeCo
dmi.product.family: Nitro 5
dmi.product.name: Nitro AN517-55
dmi.product.sku: 0000000000000000
dmi.product.
dmi.sys.vendor: Acer
Giuliano Lotta (giuliano69) wrote : | #1 |
tags: | added: patch |
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs. | #2 |
Changed in linux (Ubuntu): | |
status: | New → Incomplete |
tags: | added: apport-collected jammy |
description: | updated |
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
Giuliano Lotta (giuliano69) wrote : AlsaInfo.txt | #3 |
description: | updated |
Giuliano Lotta (giuliano69) wrote : CurrentDmesg.txt | #4 |
Giuliano Lotta (giuliano69) wrote : IwConfig.txt | #5 |
Giuliano Lotta (giuliano69) wrote : Lspci.txt | #6 |
Giuliano Lotta (giuliano69) wrote : Lspci-vt.txt | #7 |
Giuliano Lotta (giuliano69) wrote : Lsusb.txt | #8 |
Giuliano Lotta (giuliano69) wrote : Lsusb-t.txt | #9 |
Giuliano Lotta (giuliano69) wrote : Lsusb-v.txt | #10 |
Giuliano Lotta (giuliano69) wrote : PaInfo.txt | #11 |
Giuliano Lotta (giuliano69) wrote : ProcCpuinfo.txt | #12 |
Giuliano Lotta (giuliano69) wrote : ProcCpuinfoMinimal.txt | #13 |
Giuliano Lotta (giuliano69) wrote : ProcInterrupts.txt | #14 |
Giuliano Lotta (giuliano69) wrote : ProcModules.txt | #15 |
Giuliano Lotta (giuliano69) wrote : PulseList.txt | #16 |
Giuliano Lotta (giuliano69) wrote : RfKill.txt | #17 |
Giuliano Lotta (giuliano69) wrote : | #18 |
I made a bash script to show the exact way I proceed in the compiling the module with the Pinchard code.
https:/
BUT I'm facing problem loading the module in the kernel.
with the said bash script, the dmesg after modproble failure shows "failed to validate module [uvcvideo] BTF: -22"
I would gladly test the patched module, but I'm facing difficulties in compiling it.
Does the bash script shows what am I missing ?
I see also that modinfo and cat /proc/version_
I you could help me in compiling the module, I would be quick in testing it .-))
Jeremy (wa113y3s) wrote : | #19 |
First, enable source code repositories, then fetch the source code with the following in terminal
apt-get source linux-modules-
Then navigate to the /drivers/
make -j4 -C /lib/modules/
sudo cp uvcvideo.ko /lib/modules/
Then see if it works
Giuliano Lotta (giuliano69) wrote : | #20 |
Thanks Jeremy, you help solved my issues with compiling the module with Laurent Pinchart modification.
installing with modprobe, the dmesg shows:
[103970.912878] usb 3-6: Found UVC 1.50 device ACER HD User Facing (0408:4035)
[103970.912882] usb 3-6: Forcing UVC version to 1.0a
[103970.949432] input: ACER HD User Facing: ACER HD Us as /devices/
[103970.949630] usbcore: registered new interface driver uvcvideo
Cheese video is working.
BUT audio is NOT working..... any idea ?
Giuliano Lotta (giuliano69) wrote : | #21 |
UPDATE:
after resuming the nobebook, the system crashed with the following message:
usb 3-6: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4)
uvcvideo 3-6:1.0: reset_resume error -5
WHERE / HOW may I find other useful information to debug the problem ?
Giuliano
Kolbjorn Blix Dahle (kolbjorn) wrote : [Kernel-packages] [Bug 2000947] Re: UVC Quanta 0408:4035 camera PROBLEM | #22 |
Just to inform you that the patched also works with ID 0408:4033 Quanta
Computer, Inc. ACER HD User Facing after changing 4035 to 4033.
Sandrino Patrulescu (sandrinopatrulescu) wrote : | #23 |
#19 fixed the problem for me.
I wasn't sure where should I run the make command, so I ran it inside the uvc directory.
I also get the following messages in dmesg when resuming from sleep, but it did not crash or anything:
usb 3-6: Failed to query (SET_CUR) UVC control 4 on unit 1: -32 (exp. 4)
uvcvideo 3-6:1.0: reset_resume error -5
Not sure it is related to this, but my webcam still not working. Here's some info from dmesg and guvcview: https:/
Nonetheless, thank you very much!
Giuliano Lotta (giuliano69) wrote : | #24 |
@Sandrino
Thanks for your reply
-From your pastebin I can NOT understand if your Quanta camera is 0408:4035. Could you check the ID
?
-After copying the module file in the appropriate directory AND giving the command
sudo rmmod uvcvideo && sudo modprobe uvcvideo
the camera worked untill first suspend &resume. I
had the said error message and the system halted. The halt problem could anyway been generated from the nvidia RTX driver that are also showing some incompatibilities wit wayland....
- At next reboot the new module did NOT worked. Trying with modprobe it didn t load, and dmesg was not giving info.
Very strangely, I resolved using the command
sudo insmod uvcvideo.ko
straight from the directory where the module has been copied.
AFAIK , the modprobe command should use "internally" the insmod command, but clearly something is different.
I'm currently using the camera with zoom and Google Meet
BR
Giuliano
Sandrino Patrulescu (sandrinopatrulescu) wrote : | #25 |
@giuliano69
My builtin camera is indeed 0408:4035 Quanta Computer, Inc. ACER HD User Facing and now it's working.
I was talking about an external (I should have specified that) webcam in the paste.
Laurent Pinchart (laurent-pinchart-ideasonboard) wrote : | #26 |
@kolbjorn could you please provide the output of `lsusb -v -d 0408:4033` (running as root, for instance with sudo, if possible) ? Attaching a file would be preferred to avoid messing up formatting.
Giuliano Lotta (giuliano69) wrote : | #27 |
@jeremy
Hi Jeremy.
with new kernel 5.15.0-58-generic, I removed the linux5.15.0 dir, got the apt-get source linux-modules-
Everything is working fine BUT the dmesg claims about not signed module/tainted
[ 3.560011] uvcvideo: loading out-of-tree module taints kernel.
[ 3.560159] uvcvideo: module verification failed: signature and/or required key missing - tainting kernel
Have you any advice on how to sign the module, so to prevent the tainted kernel ?
May the /usr/src/
BR
Giuliano
io (no-such-user) wrote : | #28 |
Douglas (douglas-rauber) wrote : | #29 |
Same problema here!
I bougth a new Acer Nitro 5, and this problem is very boring.
Giuliano Lotta (giuliano69) wrote : | #30 |
@Douglas
Please follow message #19, download, compile and install the patched usbvideo driver.
The patch is working perfectly (with zoom, chees, skyupe, goggle meet,...)
Don't know when it will be included in the official kernel...
BR
Giuliano
Douglas (douglas-rauber) wrote : | #31 |
Thanks for your support @giuliano69
With a broken heart, I ended up deciding to kiss Linux goodbye. At least for a while.
This process of compiling and searching for solutions does not fit into my day-to-day life.
In addition to the webcam problem, the headset microphone does not work, the video card depends on complex configuration to run on the notebook monitor and on the secondary monitor, the boot had to be corrected in txts, and even so it kept showing the annoying message " not enougth memory".
I need to use MS Teams for my work, and it works with limitations on Linux. So, bye linux, at least for now.
Today linux has -1
:(
Giuliano Lotta (giuliano69) wrote : | #32 |
@Laurent
so far, uvcvideo patch seems fine & working.
which kernel version will "officially" include UVC Quanta 0408:4035 ?
BR
Giuliano
Marcos Bernardo Jr (mxreloaded) wrote : | #33 |
Same problem...
I have an Aspire A515-57 and i am running into the same issue :/
I have tried replicating the steps from #19, but didn't manage to fix it. Probably due to my lack of experience using Linux. Mine is the 0408:4033
BTW could any of you gentlemen do a more detailed step-by-step or video for the layman such as myself?
Thanks in advance!
BR
Marcos
Giuliano Lotta (giuliano69) wrote : | #34 |
Well, you camera model is 0408:4033, so it is NOT 0408:4035....
So it will bot be recognized by the uvc driver... You could try to download and modify
https:/
al line 2676, and changing the line accordingly:
.idProduct = 0x4033
Then compile and install as explained above at #19
Probably it should work.
Let us know.
BR
Giuliano
Marcos Bernardo Jr (mxreloaded) wrote : | #35 |
It worked like a charm, @giuliano69
After modifying said line, i compiled and installed, and then ran "sudo rmmod uvcvideo && sudo modprobe uvcvideo" as said in #24, and boom.
I`ll do my part and share this solution on every other page where i`ve seen this problem reported.
Thanks for the help (and for the quick answer!)
BR
Marcos
Joseph (josephm6754) wrote : | #36 |
@giuliano69, thank you a lot for you work!
So, i also have the same problem in Acer Aspire 5 A515-57
I have Linux Mint 21.1 5.15.0-69-generic
And try to run commands in #19, but i have problems when i try to compile the file
I think that i did it in bad directory
Can you explain me this path /drivers/
I don`t have this path or i found it in bad way
I found answers in Google, but... May be i don`t understand something
I also have .idProduct = 0x4033, but i didn`t change it in .c file `cause i need to find the right way to download the file from github
Pls help me, i don`t want to use Windows, but i really need my laptop webcam :D
Giuliano Lotta (giuliano69) wrote : | #37 |
Hi Joseph
here are the needed bash command, you need to insert in a terminal window. You can also save these commands in a update_video.sh command file, so to update the video driver each time system is updated (in that case you probably need to delete the old ~/linux-* directory first, so not to mess something...) .
Each line is commented with #, so you know what you are doing... :-))
BR
#!/bin/bash
cd ~ # change to your home directory
apt-get source linux-modules-
cd ~/linux-
mv uvc_driver.c uvc_driver.old # rename/backup the uvc driver soruce file, that need to be updated
wget https:/
make -j4 -C /lib/modules/
sudo cp uvcvideo.ko /lib/modules/
reboot #reboot to check your camera is working
Joseph (josephm6754) wrote (last edit ): | #38 |
Thank you very much!
All commands were execute succesfully, but the webcam still didn`t work
Cheese said me that device not found
I changed the line with x4035 with x4033, but nothing
May be i need to install additional drivers?
I tried a lot of methods before and may be i can delete any useful packages
I also can reinstall OS again and start from 0
Giuliano Lotta (giuliano69) wrote : | #39 |
mmm... some questions..
did you reboot ?
did you changed .idProduct = 0x4033 (the 0 is important)
Maybe Marcos Bernardos Jr, who has the same camera, may help.. @mxreloaded
What are reporting the commands:
sudo dmesg | grep uvc
sudo rmmod uvcvideo && sudo modprobe uvcvideo -vv
uname -r
PS
reinstalling the OS again will have no help... we have to change and recompile the kernel driver for the new camera, as Bernardo did...
Joseph (josephm6754) wrote : | #40 |
yes, i did both reboot and changed .idProduct to 0x4033
reporting is:
sudo dmesg | grep uvc
[ 5.090901] uvcvideo: loading out-of-tree module taints kernel.
[ 5.090985] uvcvideo: module verification failed: signature and/or required key missing - tainting kernel
sudo rmmod uvcvideo && sudo modprobe uvcvideo -vv
rmmod: ERROR: Module uvcvideo is not currently loaded
uname -r
5.15.0-69-generic
as i see, something get wrong with module uvcvideo
Do I need to get rights for file uvcvideo.ko?
Giuliano Lotta (giuliano69) wrote : | #41 |
Well,
the tainted kernel is a normal message if the module has not been signed.
I've have that message too, but it is loaded.
Which vermagic version shows the current installed uvcvideo module ? Just type
modinfo uvcvideo
What happens if you manually force the loading of the new driver ?
sudo modprobe uvcvideo -vv
@Jeremy
what else could be ended wrong ?
Marcos Bernardo Jr (mxreloaded) wrote (last edit ): | #42 |
Hey there, sorry for the late reply!
I don't know if i can do much to help, but i can affirm that me and Joseph probably have the same laptop model, and the main difference may be that he's on Mint 21, and i'm on Ubuntu 22.
Anyways, to provide means to a comparison, here are my outputs for the following commands:
sudo dmesg | grep uvc
[ 2.979919] uvcvideo: loading out-of-tree module taints kernel.
[ 2.999972] uvcvideo: module verification failed: signature and/or required key missing - tainting kernel
[ 3.037895] usbcore: registered new interface driver uvcvideo
sudo rmmod uvcvideo && sudo modprobe uvcvideo -vv
modprobe: INFO: ../libkmod/
insmod /lib/modules/
modprobe: INFO: ../libkmod/
uname -r
5.19.0-38-generic
vermagic version (modinfo uvcvideo)
5.19.0-38-generic SMP preempt mod_unload modversions
If there's anything i can do to give you guys more info on how to solve this, just let me know!
BlindB0 (blindb0) wrote : | #43 |
Hi!
I have same problem.
UVC Quanta 0408:4035 on Acer Nitro 5 AN515-58.
Kubuntu 23.04, kernel 6.2.0.
I cannot build this patch with 6.2.0 kernel, because of initial driver file uvc_driver.c in 6.2.0 have many changes.
I found maybe suitable driver for 6.x kernel (???).
https:/
But after building it I have only:
"modprobe: ERROR: could not insert 'uvcvideo': Exec format error" in dmesg.
Maybe it errors in driver, mayby I do something wrong.
Can you, please, make correct driver for 6.2 kernel?
Joseph (josephm6754) wrote : | #44 |
- modinfo.txt Edit (4.2 KiB, text/plain)
@giuliano69
So, "modinfo uvcvideo" output is attached and "sudo modprobe uvcvideo -vv" output is:
modprobe: INFO: ../libkmod/
insmod /lib/modules/
modprobe: INFO: ../libkmod/
modprobe: ERROR: could not insert 'uvcvideo': Exec format error
modprobe: INFO: ../libkmod/
BlindB0 (blindb0) wrote : | #45 |
I finaly compile https:/
Simply by:
git checkout HEAD~1 (first commit for 6.2 kernel, last for 6.3 kernel)
make
sudo rmmod uvcvideo
sudo insmod ./uvcvideo.ko
(No kernel sources, just add build-essential from ubuntu repo)
All works like a charm on Acer Nitro 5 AN515-58.
wtq (wtq-wtq) wrote : | #46 |
@blindbO
hello!
I meet the same problem , my computer is same with you , and also is ubuntu 23.04.
but when I compile the https:/
"fatal error: linux/usb/uvc.h: no such file or directory"
and i also put the "uvc" directory into the linux-6.
BlindB0 (blindb0) wrote : | #47 |
@wtq (wtq-wtq)
Hi!
I made this build on clean ubuntu-server 23.04 in VirtualBox.
All I have to do after setup OS:
sudo apt-get install build-essential
git clone https:/
cd ./uvc/
git checkout 5ea688c
make
After that I copy uvcvideo.ko to laptop.
If you still have troubles, I can share lib that I build:
https:/
Giuliano Lotta (giuliano69) wrote : | #48 |
@blind0
EACH kernel version requires a new build of the module.
Not only for Major release, but also for minor realese...
Which is your kernel version ?
uname -r
Giuliano Lotta (giuliano69) wrote : | #49 |
Sorry,
it was for @wtq (wtq-wtq)
Samer Attrah (samerattrah) wrote (last edit ): | #50 |
Hello,
I have the same problem and I followed the instructions in #19 and rebooted but the camera still not working.
I have: acer aspire A715-51G and the camera is: 0408:4033 Quanta Computer, Inc. ACER HD User Facing and ubuntu 22.04
and what I get on the following commands are:
sudo dmesg | grep uvc
# nothing
sudo rmmod uvcvideo && sudo modprobe uvcvideo -vv
rmmod: ERROR: Module uvcvideo is not currently loaded
uname -r
5.19.0-42-generic
Please help, I need my camera so much and will be happy to provide more details if needed
Giuliano Lotta (giuliano69) wrote : | #51 |
@Samer
please download the script at
https:/
give it right permission and run it.
I use it for every kernel update and it works.
Samer Attrah (samerattrah) wrote : | #52 |
@Giuliano
thanks, but I just did and the camera still not working after reboot.
Any other ideas, or what to do now?
Giuliano Lotta (giuliano69) wrote : | #53 |
@Samer
I see you have camera 0408:4033 (mine is 0408:4035)
I've now included also your model in the .c source file.
Please download again the *.c file from github and recompile it using the bash script *.sh (I also updated the script yesterday)
BR
Giuliano
Samer Attrah (samerattrah) wrote : | #54 |
Hello Giuliano,
thank you so much, I have downloaded the new script and run it with the new *.c file but the camera is still not working.
also, I checked the commands in #50, and it still has the same output.
please if there are any other thoughts I will be happy to work on them.
Kind regards
Samer Attrah
Giuliano Lotta (giuliano69) wrote : | #55 |
@ Samer
does your system find the camera with
lsusb -v -d 0408:4033
Samer Attrah (samerattrah) wrote : | #56 |
- lsusb -v -d 0408:4033 output.pdf Edit (32.6 KiB, application/pdf)
@Giuliano
Yes, sure it does, please find attached the full output of the command if you wish to check it.
I will be looking forward to the next steps.
Kind regards
Samer Attrah
Samer Attrah (samerattrah) wrote : | #57 |
Hello Giuliano,
It's been some time since the last contact, I wonder if you lost interest in the case?
Kind regards
Samer Attrah
Giuliano Lotta (giuliano69) wrote : | #58 |
@Samer
for what I see in the V4L documentation, you camera is NOT reported in the supported camera list
https:/
I see ONLY camera 4034 and 4035; but I also see that kolbjorn managed to make it work.
I updated the uvc_video.c file to test also your camera 4033.
Please download it again and restart the compiling process from the beginning,
@kolbjorn
could you give some help to Samer ?
@Laurent
Are the 4035 and 4033 Quanta cameras been added to the official uvc_video.c source file ?
I see NONE of them in the Linus kernel files
https:/
WHERE have them been added ?
BR
Samer Attrah (samerattrah) wrote : | #59 |
@Giuliano
Hello,
Thanks for your reply, I have compiled the uvc_video.c file today and the camera is still not working,
I will be looking forward to other instructions from you and others, I hope for the camera to start
functioning earliest possible.
Kind regards
Samer Attrah
Giuliano Lotta (giuliano69) wrote : | #60 |
@<email address hidden>
I see your have a ID 0408:4033 Quanta Computer, Inc. ACER HD, like @samer has.
Which ubuntu version, and kernel version are you using ?
Can you provide Samer with some better instructions on how to make it work ?
BR
raj (rajnagar) wrote : | #61 |
@Giuliano
I have same problem my kernel is 6.2.0-20-generic and ubuntu version is 23.04
for same camera Mode No is - 0408:4033 Quanta Computer, Inc. ACER HD User Facing I have issues webcam not working can you provide better solutions with clear instructions
Giuliano Lotta (giuliano69) wrote : | #62 |
@raj
As you are using kernel version 6.x, consider using solution at #45 fron @BlindBo
My kernel version is 5.x
follow @blindBo instructions at #45
Also change camera to 4033 model in the source of uvc_driver.c.
Let us know if it work.
Giuliano
raj (rajnagar) wrote : | #63 |
showing me error
The kernel was built by: x86_64-
You are using: gcc-12 (Ubuntu 12.2.0-17ubuntu1) 12.2.0
CC [M] /home/raj/
/home/raj/
17 | #include <linux/usb/uvc.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
Giuliano Lotta (giuliano69) wrote : | #64 |
@raj
better ask BlindBO some help, as only you two have 04033 version and kernel 6.x
BuildBO ask to install build-essential from ubuntu repo)
Did you install it ?
raj (rajnagar) wrote : | #65 |
@BlindBO
I have same problem my kernel is 6.2.0-20-generic and ubuntu version is 23.04
for same camera Mode No is - 0408:4033 Quanta Computer, Inc. ACER HD User Facing I have issues webcam not working can you provide better solutions with clear instructions
I follow your instructions and give me error
showing me error
The kernel was built by: x86_64-
You are using: gcc-12 (Ubuntu 12.2.0-17ubuntu1) 12.2.0
CC [M] /home/raj/
/home/raj/
17 | #include <linux/usb/uvc.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
Samer Attrah (samerattrah) wrote : | #66 |
@raj
Hello,
If I may say, I also had this same error when I was trying to work with the instructions in #19 before Giuliano provided the Bash script.
What caused the error from my experience is that I was running the wget command and compiling in the wrong directory.
I think checking which are the correct directories to work in will solve the error because that is what happened in my case.
I hope that helps
Kind regards
Samer Attrah
BlindB0 (blindb0) wrote : | #67 |
@raj
Hi, did you do step-by-step from home folder?
sudo apt-get install build-essential
git clone https:/
cd ./uvc/
git checkout 5ea688c
make
(may be you must change cam id in uvc_driver.c (2471 line) for 4033 model.
If you still have an error, later I can make dockerfile for building module in docker (if you familiar with it).
raj (rajnagar) wrote : | #68 |
@BlindB0
Thanks for this camera working but there is problem
When I restart the system need to run commands from home/uvc
sudo rmmod uvcvideo
sudo insmod ./uvcvideo.ko
then again it will work
do you have any idea so we do need to run these commands everytime
BlindB0 (blindb0) wrote : | #69 |
@raj
You can do it via:
sudo cp /lib/modules/
sudo cp ~/uvc/uvcvideo.ko /lib/modules/
sudo reboot
Giuliano Lotta (giuliano69) wrote : | #70 |
@raj
my compile bash script, DOES CREATE and download and compile the source files in a the following directory:
(bash script line 4)
cd ~/linux-
where “~” is a legal placeholder for /home/myuser directory
Now, Looking BETTER at terminal messages, it is evident that he is using a DIFFERENT directory
/home/raj/
17 | #include <linux/usb/uvc.h>
| ^~~~~~~~~~~~~~~~~
the directory should have been something like
/home/raj/
Are you using my script or giving commands by hands ?
I ran the script ad every kernel update, and it works flawlessy.
Each time BEFORE to run the script, I also DELETE ANY /home/myuser/
Deleting them, ensure me that the wget will create the ONY ~/linux-* in which the script will run...
raj (rajnagar) wrote : | #71 |
@BlindB0
Thank you very much its stops me buying external camera working fine now
Igor Andrianov (andrianovigor) wrote : | #72 |
Hello colleagues. I confirm the successful solution of this problem also for camera model 0408:4033 (Acer Acer Aspire A515-57, Ubuntu 22.04, kernel 5.19.0-45-generic) by simply changing in one place 4035 to 4033 in uvc_driver.c before compiling.
I have no problems with sound. Everything works great.
Thank you for your attention, have a nice day everyone!
Giuliano Lotta (giuliano69) wrote : | #73 |
@andrianovigor
Hi Igor !
the https:/
Which uvc_drriver.c did you download ?
Did you launch the bash file ? It directly download all the necessary files, compile and install them...
The script is to be launched each time the kernel get updated (you need to recompile the driver to follow the new kernel version...)
By
Giuliano
raj (rajnagar) wrote (last edit ): | #74 |
@BlindB0 (blindb0)
HI ,
I Installed fresh Ubuntu and again camera not working I followed #67 your steps as previous but this time showing me
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-
You are using: gcc-12 (Ubuntu 12.2.0-17ubuntu1) 12.2.0
CC [M] /home/raj/
CC [M] /home/raj/
CC [M] /home/raj/
CC [M] /home/raj/
CC [M] /home/raj/
CC [M] /home/raj/
CC [M] /home/raj/
CC [M] /home/raj/
CC [M] /home/raj/
CC [M] /home/raj/
LD [M] /home/raj/
MODPOST /home/raj/
CC [M] /home/raj/
LD [M] /home/raj/
BTF [M] /home/raj/
Skipping BTF generation for /home/raj/
make[1]: Leaving directory '/usr/src/
Then when I run
sudo rmmod uvcvideo
error is ----> mmod: ERROR: Module uvcvideo is not currently loaded
Earlier it was working for 4033 Quanta cameras but this time not can you provide solutions as before you provided
Thanks
raj (rajnagar) wrote : | #75 |
@BlindB0
Hello Sir ,
Any Feedback
raj (rajnagar) wrote : | #76 |
@Giuliano Lotta (giuliano69)
Can you help me
BlindB0 (blindb0) wrote : | #77 |
@raj
I just try to compile driver on clean Ubuntu 23.04 with 6.2.0-23-generic kernel.
Got the same error. With quick googling found this solution:
apt install dwarves
cp /sys/kernel/
So, with this steps I can compile it without errors:
sudo apt-get install dwarves build-essential
sudo cp /sys/kernel/
git clone https:/
cd ./uvc/
git checkout 5ea688c
make
Hope it help you.
raj (rajnagar) wrote : | #78 |
@BlindB0
I installed Ubuntu 22 Lts version and now showing me this
ake -C /lib/modules/
make[1]: Entering directory '/usr/src/
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-
You are using: gcc (Ubuntu 11.3.0-
CC [M] /home/raj/
/home/raj/
23 | #include <media/v4l2-uvc.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/
make[1]: *** [Makefile:1857: /home/raj/uvc] Error 2
make[1]: Leaving directory '/usr/src/
make: *** [Makefile:8: all] Error 2
BlindB0 (blindb0) wrote : | #79 |
@raj
Ubuntu 22 comes with 5.19 kernel.
Driver https:/
Try to use @giuliano69 #0 sulution with his bash script. Or try to use #19 solution and below posts.
I only try to compile this module on 6.2.0 kernel.
raj (rajnagar) wrote : | #80 |
@giuliano69
HI, Sir
Now I have linux-headers-
THanks
Giuliano Lotta (giuliano69) wrote : | #81 |
@raj
just visit
https:/
Then download the file compile_module.sh , set permission and run it.
It will install the necessary tools and headers, will compile the new driver and install it. Then it will reboot
No need to type any command other than the bash file command above.
Hope this is not a limit... :-)
BR
PS
This will work with 5.19 kernel... NOT the 6.x serie...
Samer Attrah (samerattrah) wrote : | #82 |
Hello,
I still can not get my camera to work and, for reference please check this probe: https:/
I hope it helps to diagnose the issue.
Kind regards
Samer Attrah
Giuliano Lotta (giuliano69) wrote : | #83 |
@Raj
What are reporting the following commands:
uname -a
lsusb -v -d 0408:4033
sudo dmesg | grep uvc
sudo rmmod uvcvideo
sudo modprobe uvcvideo -vv
modinfo uvcvideo
ls ~/linux-
raj (rajnagar) wrote : | #84 |
@Giuliano Lotta (giuliano69)
Its will happen if we reinstall again so I buy the USB WEBCAM
David (david-tabatadze) wrote (last edit ): | #85 |
@Samer Attrah (samerattrah)
I had exactly the same problem that you have, I solved it by disabling secure boot from bios.
(to have permission to disable secure boot I also had to set a supervisory password from bios as well).
Samer Attrah (samerattrah) wrote : | #86 |
@David @Giuliano
Hello,
Thank you so much, I just stopped the secure boot and run Giuliano's script and it worked perfectly.
thanks, David
thanks, Giuliano
Kind regards
Samer Attrah
David (david-tabatadze) wrote : | #87 |
It works great but requires reinstalling every time I do Ubuntu update.
I mean even just minor updates which don't involve kernel version change.
Do you guys have a suggestion to persist it across updates (if kernel version has not changed).
Giuliano Lotta (giuliano69) wrote : | #88 |
Starting from last 22.04 update, the kernel has moved to 6.2.
I had to update the source code to keep compatible with new kernel.
@david
the bash script I made, test for current kernel version, and in case dowload new source and compile it.
I read about a procedure to make the script run at each reboot, so it may automate the driver upgrade.
Marcos Bernardo Jr (mxreloaded) wrote : | #89 |
- script_log.txt Edit (4.7 KiB, text/plain)
After the 22.04 update, the bash script stopped working on my machine, even after your update on the source code. I'll leave a log with all of the info from the script, and if possible, i would appreciate some help into fixing this issue.
raj (rajnagar) wrote : | #90 |
@David @Giuliano
Same issue for me I updated kernal version 6.1.... and run your compile.sh again but showing me error same as @Marcos script do you have any solution for that
Samer Attrah (samerattrah) wrote : | #91 |
@Giuliano
Hello,
I am also having the same error as @Marcos and @raj, so please help.
Kind regards
Samer Attrah
Giuliano Lotta (giuliano69) wrote : | #92 |
@raj @Samer
the cd error is due to the fact that you have many linux-*** directory in your home directory.
This prevent the change of dir and the problems follows.
The linx directory name changed from linux-generic-5.*** to linux-hwe-6.***
BUT
there are more problem
When deleted the old linux-* dirs, and restart compile script, it shows that new kernel version lack the vmlinux.gz file.
Skipping BTF generation for /home/giuliano/
The problem prevent the compiling of the driver.
There are some complain on the new 6.2 kernel (even kernel panic).
@Jeremy (wa113y3s)
May you help us in understanding how to change the compiling process, due to the main version kernel change ?
Giuliano Lotta (giuliano69) wrote : | #93 |
UPDATE
even without the BPF Type Format (BTF), the compiling process of uvcvideo.ko DOES work
The problem with Type format seems not to prevent the new driver to became working (teste right now)
Giuliano Lotta (giuliano69) wrote : | #94 |
UPDATE 2
It seems that to solve the BTF problem, we can copy the current version of vmlinux, in the appropriate directory:
sudo cp /sys/kernel/
THEN
Compiling the driver, the claim about BTF is no more raised
Samer Attrah (samerattrah) wrote (last edit ): | #95 |
- output.txt Edit (5.0 KiB, text/plain)
@Giuliano
thanks so much for your effort.
but, I deleted the old linux-generic-5.*** directory from my home directory, and now I only have
linux-hwe-6.2-6.2.0
also, run the command sudo cp /sys/kernel/
before running the script.
and it still gives the same error, you can find it in the file attached with a few different lines.
Kind regards
Samer Attrah
Giuliano Lotta (giuliano69) wrote : | #96 |
@Samer
Problem 1: /bin/sh: 1: pahole: not found
solution to problem 1: you need to install
sudo apt install dwarves
(dwarves will also install pahole)
Problem 2: [Makefile:1943: modules] Error 2
Solution (possibile) to problem2 : DELETE (please DO delete !)
- all the files inux-hwe-
- AS WELL AS the DIRECTORY linux-hwe-6.2-6.2.0
the first time you run make, it (the make program) changes some makefile inside the dirtree so that the configuration is not “vanilla” as we need it
Samer Attrah (samerattrah) wrote : | #97 |
@Giuliano
Once again it works, you are awesome, thanks a lot.
Kind regards
Samer Attrah
kur1977 (kur1977) wrote : | #98 |
Hi there.
Kernel 6.2.0-31.31
I did
sudo apt-get install build-essential
git clone https:/
cd ./uvc/
git checkout 5ea688c
make
It makes well
after that I did
sudo rmmod uvcvideo
sudo insmod ./uvcvideo.ko
But webcam still not working ((((
kur1977 (kur1977) wrote : | #99 |
@Giuliano
Trying to start you script and got this error (((
home/serg/
254 | strscpy(
| ^~
/home/serg/
255 | sizeof(
| ^~
/home/serg/
260 | snprintf(
| ^~
/home/serg/
260 | snprintf(
| ^~
/home/serg/
273 | strscpy(
| ^~
/home/serg/
274 | sizeof(
kur1977 (kur1977) wrote : | #100 |
Got 0x4033 webcam to work.
First of all install 6.3 kernel with Mainline Kernels software.
than
sudo apt-get install dwarves build-essential
sudo cp /sys/kernel/
git clone https:/
cd ./uvc/
than change 4035 to 4033 in uvc_driver.c
make
sudo cp /lib/modules/
sudo cp uvcvideo.ko /lib/modules/
sudo reboot
Voila. Camera works
Yash Oswal (yashoswalyo) wrote : | #101 |
Hi @giuliano69 I followed the steps from #19 for Fedora 38 (linux kernel 6.4).
I got it working by just replacing the code part for `usb_device_id uvc_ids[]`, but after reboot it gets removed and I have to do insmod ./path_
Giuliano Lotta (giuliano69) wrote : | #102 |
@Kur1977 @yash
AFAIK
version users with version 22.04 (born with kernel 5.x) are supposed to follow my approach on github
version users with version >= 23.x (with kernel 6.x) are supposed to follow the https:/
Strange thing, is that now 22.04 is using kernel 6.2, but still works with "old" approach...
Takshak Mudgal (takshak) wrote : | #103 |
# Here is a README file for people who will need it to install the driver correctly, this guide is made for Fedora users but other Linux users can also adopt it as per their distros. Make sure to change the code for the driver as per your lsusb output.
1. Open **terminal** and do: `cd $HOME`
2. Then run this command: `dnf download --source kernel-
3. Then run unzip command to extract the source: `unzip kernel-
4. Then extract the **linux-*.tar.xz**: `tar -xvf linux-*.tar.xz;`
5. Then change directory _replace x here_ : `cd linux-x.
6. Then Type : `gnome-text-editor uvc_driver.c`
7. Now search for this line with `ctrl+f` **static const struct usb_device_id uvc_ids[] = {**
8. Add the following on the next line:
```
/* Quanta ACER HD User Facing 4033 - Experimental !! */
{ .match_flags = USB_DEVICE_
.idVendor = 0x0408,
.idProduct = 0x4033,
.bInterface
.bInterface
.bInterface
.driver_info = (kernel_ulong_t) &(const struct uvc_device_info ) {
```
9. Save this file.
10. Run: `sudo make -j4 -C /lib/modules/
11. Now run: `sudo rmmod uvcvideo.ko`
12. Then run: `sudo insmod ./uvcvideo.ko`
Takshak Mudgal (takshak) wrote : | #104 |
- Fedora Camera Fix.pdf Edit (38.8 KiB, application/pdf)
Here is a README file for people who will need it to install the driver correctly.
Souvik Kumar (souvikkumar) wrote : | #105 |
make: Entering directory '/usr/src/
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-
You are using: gcc-11 (Ubuntu 11.4.0-
scripts/
make[1]: *** No rule to make target '/home/
make: *** [Makefile:2026: /home/souvik] Error 2
make: Leaving directory '/usr/src/
cp: cannot stat 'uvcvideo.ko': No such file or directory
This error while running your script @giuliano69
Giuliano Lotta (giuliano69) wrote : | #106 |
@Souvik
It's a typical error that happens when:
-you have already run once the compiler (each run delete the makefile, so ... "no rule to make target"
-or your have many directory linux* in your home directory....
in the both situations DELETE all the linux-* directory and linux-* files in your homedir, and run once again the script.
Devika B S (devyca) wrote : | #107 |
Hi
@giuliano
I followed the steps from #37, and they worked initially. However, after a recent update, my kernel changed to 6.2.0-33, and now it no longer functions properly. When I attempted to retrace the steps from #37, I encountered error #99, even though I had deleted all the files created during each execution of the commands.
I have an Acer Aspire A515-57G laptop with the camera identified as '0408:4033 Quanta Computer, Inc. ACER HD User Facing,' running Ubuntu 22.04.3 LTS.
Giuliano Lotta (giuliano69) wrote : | #108 |
@devyca
Hi, truly speaking, Ubuntu 22.04 uses are NOT supposed to follow #37 ...
they are supposed to use ONLY
https:/
I understand your problem, but cannot follow each particular method users are choosing to patch the camera...
sorry :-(
Giulano
Douglas (douglas-rauber) wrote : Re: [Bug 2000947] Re: UVC Quanta 0408:4035 camera PROBLEM | #109 |
Hello Brothers!
Shouldn't Quanta or Acer accurately propose a patch to make your device
work natively on recent kernels?
Or do they do this but the team that maintains the kernel takes a while to
accept the changes?
[]s
Em sex., 29 de set. de 2023 às 09:00, Giuliano Lotta <
<email address hidden>> escreveu:
> @devyca
>
> Hi, truly speaking, Ubuntu 22.04 uses are NOT supposed to follow #37 ...
>
> they are supposed to use ONLY
>
> https:/
>
> I understand your problem, but cannot follow each particular method users
> are choosing to patch the camera...
> sorry :-(
>
>
> Giulano
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> 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:/
> 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:/
>
>
> PROPOSED SOLUTION
> I got in contact with <email address hidden> and with
> <email address hidden> , and subscribed to https:/
> 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
>
> https:/
> Facing-
>
> 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@
> Ubuntu 5.15.0-
>
> BUT the linux-source that I found installed seems to be different
> tgiuliano@
> lrwxrwxrwx 1 root root 47 nov 22 16:08 linux-source-
> linux-source-
>
> I expanded the tar file, configured the IDE and compiled without error
> any errors…
> 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
> https:/
> Basically
> ...
Devika B S (devyca) wrote : | #110 |
- compile_module.sh Edit (1.3 KiB, text/x-sh)
@giuliano
Thank you for sharing the link. I found the solution there. Have a great day!
Souvik Kumar (souvikkumar) wrote : | #112 |
Giuliano, can you please guide me through teamviewer? That issue is still not getting fixed.
Souvik Kumar (souvikkumar) wrote : | #113 |
or anydesk please ? talking regarding #106 & #108
Moncif Bounif (backslash04) wrote : | #114 |
Tested with the compile file used by Devika on post #110
working like a charm
My laptop is Acer AN515-58
Linux distribution: Ubuntu 22.04.3 LTS
ivuser (ivuser12) wrote (last edit ): | #115 |
I used compile_module.sh from #110 and got message: "cp: cannot stat 'uvcvideo.ko': No such file or directory".
I have Acer Nitro 5 AN515-57 and same problem happened when executing post #19.
This is whole problem:
make: Entering directory '/usr/src/
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-
You are using: gcc-11 (Ubuntu 11.4.0-
scripts/
make[1]: *** No rule to make target '/home/$(uname -r)/Makefile'. Stop.
make: *** [Makefile:2026: /home/$(uname -r)] Error 2
make: Leaving directory '/usr/src/
cp: cannot stat 'uvcvideo.ko': No such file or directory
What should I do?
Giuliano Lotta (giuliano69) wrote : | #116 |
@Ivuser
are you using the script from your home directory, or running each command manually ?
BR
ivuser (ivuser12) wrote (last edit ): | #117 |
@giuliano69,
when I was following post #19, each command was separately run in terminal.
I got message from post #115 when I compiled script from directory ("./compile_
EDIT:
If I type "modinfo uvcvideo", this is the output:
filename: /lib/modules/
Also tried:
"~$ sudo modprobe -r uvcvideo
~$ sudo modprobe uvcvideo",
but no effect
ivuser (ivuser12) wrote : | #118 |
Does anyone have an idea how this problem could be solved?
I'm trying to set up the camera for this week's meetings. Thanks in advance.
Giuliano Lotta (giuliano69) wrote : | #119 |
maybe a directory problem
find in your home directory, each "old" downloaded dir as "linux-****", and delete them
Delete also old linux-***.gz files.
then run again the script.
Maybe multiple "linux-**" directory presence, makes automatic dir change to fail.
Giuliano
ivuser (ivuser12) wrote (last edit ): | #120 |
Thanks, I did, but same thing happens. Before error written in post #115, I got this message, that seems fine:
./compile_
mv: cannot stat 'uvc_driver.c': No such file or directory
--2023-12-13 09:50:21-- https:/
Resolving raw.githubuserc
Connecting to raw.githubuserc
HTTP request sent, awaiting response... 200 OK
Length: 85917 (84K) [text/plain]
Saving to: ‘uvc_driver.c’
Giuliano Lotta (giuliano69) wrote : | #121 |
@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-
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-
libthrust-dev libvdpau-dev libwmf0.2-7 libxmlsec1 libxmlsec1-nss node-html5shiv nsight-compute nsight-
nvidia-cuda-gdb nvidia-
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-
Nota: il processo di pacchettizzazione di "linux-hwe-6.2" è mantenuto
all'interno del sistema di controllo della versione "Git" presso:
git://git.
Utilizzare:
git clone git://git.
per recuperare gli ultimi (forse non rilasciati) aggiornamenti del pacchetto.
È necessario scaricare 229 MB di sorgenti.
Scaricamento di:1 http://
Scaricamento di:2 http://
Scaricamento di:3 http://
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-
dpkg-source: Informazioni: applying linux-hwe-
patching file Documentation/
patching file Documentation/
patching file Documentation/
patching file Documentation/
patching file Documentation/A...
Devika B S (devyca) wrote : | #122 |
@giuliano
Hi, recently, I updated to 6.5.0-14-generic, and the bash file you mentioned in #108 is not working. I have attached the error file if you would like to take a look.
Thanks in advance.
Pedro Tibúrcio Pires de Oliveira (pedrotpo) wrote : | #123 |
@giuliano69,
Newest kernel update (6.5.0-14-generic) seems to have broken both approaches (yours and https:/
While trying to compile I get this:
make -C /lib/modules/
make[1]: Entering directory '/usr/src/
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-
You are using:
CC [M] /home/pedro/
/bin/sh: 1: gcc-12: not found
make[3]: *** [scripts/
make[2]: *** [/usr/src/
make[1]: *** [Makefile:234: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/
make: *** [Makefile:10: all] Error 2
It was working fine up until that last kernel update. Any idea on a possible fix?
Giuliano Lotta (giuliano69) wrote : | #124 |
@Devica, @Pedro
Actually the 6.5 kernel uvc driver source has changed and it is NOT compatible with 6.2 ...
Needed to update the uvc_driver.c file on github
Tested and Now it seems to work.
Please, have a try
BR
Giuliano
Devika B S (devyca) wrote : | #125 |
@Giuliano
Thanks a lot for the update. It resolved the camera issues.
BR
Devika
Bevz Vasyl (vbevz) wrote : | #126 |
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-
linux-
linux-
linux-
linux-
linux-
--2024-01-16 18:34:02-- https:/
Resolving raw.githubuserc
Connecting to raw.githubuserc
HTTP request sent, awaiting response... 200 OK
Length: 89121 (87K) [text/plain]
Saving to: ‘uvc_driver.c’
uvc_driver.c 100%[==
2024-01-16 18:34:02 (538 KB/s) - ‘uvc_driver.c’ saved [89121/89121]
make: Entering directory '/usr/src/
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-
You are using:
CC [M] /home/vasyl/
/bin/sh: 1: gcc-12: not found
make[2]: *** [scripts/
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [/usr/src/
make: *** [Makefile:234: __sub-make] Error 2
make: Leaving directory '/usr/src/
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?
Giuliano Lotta (giuliano69) wrote : | #127 |
@Bevz
I tested again the script with the new code from github and it works
For what I can see from your consolle output:
- there is a "file not found" error (Error 127), so that no driver is compiled nor installed
- make is NOT running in your home directory but in the root (/) directory, ("make: Leaving directory '/usr/src/
please check better where and how you are running the script
BR
Giuliano
Bevz Vasyl (vbevz) wrote : | #128 |
@Giuliano
Still in progress ...
1. Installed: sudo apt install gcc-12
2. Then: sudo apt install dwarves
3. Then: cp /sys/kernel/
4. Made reinstall kernell: sudo apt-get install --reinstall linux-image-
5. Deleted all version "linux" in home directory
And now have Error: Failed to parse base BTF 'vmlinux': -22
Could you give me some more ideas to fix this?
Below Error from terminal after started "make"
*******
make: Entering directory '/usr/src/
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-
You are using: gcc-12 (Ubuntu 12.3.0-
CC [M] /home/vasyl/
CC [M] /home/vasyl/
CC [M] /home/vasyl/
CC [M] /home/vasyl/
CC [M] /home/vasyl/
CC [M] /home/vasyl/
CC [M] /home/vasyl/
CC [M] /home/vasyl/
CC [M] /home/vasyl/
CC [M] /home/vasyl/
LD [M] /home/vasyl/
MODPOST /home/vasyl/
CC [M] /home/vasyl/
LD [M] /home/vasyl/
BTF [M] /home/vasyl/
Failed to parse base BTF 'vmlinux': -22
make[2]: *** [scripts/
make[2]: *** Deleting file '/home/
make[1]: *** [/usr/src/
make: *** [Makefile:234: __sub-make] Error 2
make: Leaving directory '/usr/src/
cp: cannot stat 'uvcvideo.ko': No such file or directory
rmmod: ERROR: Module uvcvideo is not currently loaded
*******
arman naeimi (arman-nm) wrote : | #129 |
hi
i made a simple gist file to document steps:
https:/
notes:
- source code is for 0x4033 model
- tested on debian and fedora (optional steps required on fedora)
- with every kernel update you have to repeat this process
Daniel Tang (daniel-z-tg) wrote : | #130 |
Is there any progress upstreaming this patch?
Daniel Tang (daniel-z-tg) wrote : | #131 |
@arman-nm I converted your gist into a bash script: https:/
Giuliano Lotta (giuliano69) wrote : | #132 |
Just to inform that
Very Kindly, Richardo Ribalda has confirmed the patch to the UVC Quanta 0408:4035 camera, allowing it to join the official source code.
Hope that in few releases the uvc driver will be normally recognising the camera.
BR
PS
Seems that it should also apply to UVC Quanta 0408:4033 camera
Luís Louro (lapisdecor) wrote : | #133 |
Still affects my two acer Laptops.
Giuliano Lotta (giuliano69) wrote : | #134 |
AFAIK the kernel 6.11 should get the patch as official update.... which kernel version are you using ?
raj (rajnagar) wrote : | #135 |
@Giuliano I am using this kernel - 6.5.0-44-generic and have camera Quanta-
It's not working again can you provide a solution?
gourav raghuwanshi (gouravraghu) wrote : | #136 |
i found it guys, i found the best solutions which works on the latest versions
https:/
here is the batch file
Giuliano Lotta (giuliano69) wrote : | #137 |
Seems the fix in now on the current kernel source
https:/
Luís Louro (lapisdecor) wrote : | #138 |
my webcam is:
Bus 001 Device 003: ID 0408:4033 Quanta Computer, Inc. ACER HD User Facing
so for me the problem isn't solved. I'm opening a new bug report.
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 2000947
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.