You are not logged in.

#1 2024-12-12 11:29:09

ashuotaku
Member
Registered: 2024-12-12
Posts: 8

My webcam is not working, i have tried everything to solve it

the camera of my external webcam is not getting detected by my archlinux but the microphone in the webcam is working perfectly, and webcam is completely perfect because it is working in fedora and windows, i have tried everything and nothing seems to work, please help me

Offline

#2 2024-12-12 11:44:44

philo
Member
Registered: 2015-01-26
Posts: 272

Re: My webcam is not working, i have tried everything to solve it

What exactly did you try? Did you read:

https://wiki.archlinux.org/title/Webcam_setup

Offline

#3 2024-12-12 11:54:01

ashuotaku
Member
Registered: 2024-12-12
Posts: 8

Re: My webcam is not working, i have tried everything to solve it

Yeah, i have read that but nothing worked

Offline

#4 2024-12-13 10:02:06

philo
Member
Registered: 2015-01-26
Posts: 272

Re: My webcam is not working, i have tried everything to solve it

You do not provide any useful info to get help.

Offline

#5 2024-12-14 05:23:08

ashuotaku
Member
Registered: 2024-12-12
Posts: 8

Re: My webcam is not working, i have tried everything to solve it

my webcam is appearing in lsusb, but the /dev/video file is not created, the webcam is working perfectly in fedora but not in arch, i have tried the wiki but nothing worked, is it a wayland problem or something else, i don't know, even the journalctl says that it is connected successfully

Offline

#6 2024-12-14 16:05:07

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,293

Re: My webcam is not working, i have tried everything to solve it

Very well, what is the output of v4l2-ctl --list-devices
?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#7 2024-12-15 07:00:16

ashuotaku
Member
Registered: 2024-12-12
Posts: 8

Re: My webcam is not working, i have tried everything to solve it

ewaller wrote:

Very well, what is the output of v4l2-ctl --list-devices
?

This is the output:

Cannot open device /dev/video0, exiting.

Offline

#8 2024-12-15 08:43:21

seth
Member
Registered: 2012-09-03
Posts: 60,298

Re: My webcam is not working, i have tried everything to solve it

Read https://bbs.archlinux.org/viewtopic.php?id=57855
Then try this again - start w/ identifying your cam, ie. posting the "lsusb" output

Repeating "its does nots works buts works otherwise lols" won't get anywhere.
Also 3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.

Offline

#9 2024-12-18 09:26:42

ashuotaku
Member
Registered: 2024-12-12
Posts: 8

Re: My webcam is not working, i have tried everything to solve it

seth wrote:

Read https://bbs.archlinux.org/viewtopic.php?id=57855
Then try this again - start w/ identifying your cam, ie. posting the "lsusb" output

Repeating "its does nots works buts works otherwise lols" won't get anywhere.
Also 3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.

Here's all the things that you wanted me to do:

My lsusb output: https://pastebin.com/danY1cvt
My journalctl output: https://pastebin.com/q238d3E6
I have also disabled the fast startup in windows and rebooted twice as you said.

I am using hyprland as my window manager. I have a triple boot with windows, fedora and arch.
The mic of webcam works perfectly but the camera is not detectable(in fedora it works perfectly).
Now, tell me what I have to do make it work?

Offline

#10 2024-12-18 09:43:24

seth
Member
Registered: 2012-09-03
Posts: 60,298

Re: My webcam is not working, i have tried everything to solve it

Dec 18 14:45:16 arch kernel: usb 1-3: USB disconnect, device number 4
Dec 18 14:45:19 arch kernel: usb 1-3: new high-speed USB device number 9 using xhci_hcd
Dec 18 14:45:19 arch kernel: usb 1-3: config 1 interface 0 altsetting 0 endpoint 0x83 has an invalid bInterval 32, changing to 9
Dec 18 14:45:19 arch kernel: usb 1-3: New USB device found, idVendor=1c3f, idProduct=2002, bcdDevice= 1.00
Dec 18 14:45:19 arch kernel: usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Dec 18 14:45:19 arch kernel: usb 1-3: Product: WEB CAM
Dec 18 14:45:19 arch kernel: usb 1-3: Manufacturer: WCM_USB
Dec 18 14:45:19 arch kernel: usb 1-3: Found multiple Units with ID 5
Dec 18 14:45:19 arch kernel: usb 1-3: Warning! Unlikely big volume range (=5120), cval->res is probably wrong.
Dec 18 14:45:19 arch kernel: usb 1-3: [5] FU [Mic Capture Volume] ch = 1, val = 7680/12800/1
Dec 18 14:45:19 arch mtp-probe[3260]: checking bus 1, device 9: "/sys/devices/pci0000:00/0000:00:15.0/usb1/1-3"
Dec 18 14:45:19 arch mtp-probe[3260]: bus: 1, device: 9 was not an MTP device
Dec 18 14:45:19 arch systemd[573]: Reached target Sound Card.
Dec 18 14:45:19 arch mtp-probe[3264]: checking bus 1, device 9: "/sys/devices/pci0000:00/0000:00:15.0/usb1/1-3"
Dec 18 14:45:19 arch mtp-probe[3264]: bus: 1, device: 9 was not an MTP device

Now, tell me what I have to do make it work?

Start by adjusting your tone. Away from the entitled demanding commands.

That thing is all over the place, according to https://forums.linuxmint.com/viewtopic.php?t=360457 it's supposed to be uvcvideo but that module doesn't seem to be loaded for you?

lsmod | grep uvcvideo
modinfo uvcvideo
modprobe -v uvcvideo
modprobe -c | grep -v alias | grep uvcvideo

And please illustrate the behavior on fedora (ie. what driver picks it up there)

Offline

#11 2024-12-18 10:40:48

ashuotaku
Member
Registered: 2024-12-12
Posts: 8

Re: My webcam is not working, i have tried everything to solve it

seth wrote:

Start by adjusting your tone. Away from the entitled demanding commands.

Ohh, sorry if I sounded rude but that was not my intention, sorry.

Here is the output of all the commands:

1. lsmod | grep uvcvideo: https://pastebin.com/2r95yGDY
2. modinfo uvcvideo: https://pastebin.com/0vUmsQ6F
3. modprobe -v uvcvideo: No output
4. modprobe -c | grep -v alias | grep uvcvideo: No output

And, how can i illustrate the behavior on fedora on which driver it picks (sorry I am still a beginner).

Offline

#12 2024-12-18 14:37:20

seth
Member
Registered: 2012-09-03
Posts: 60,298

Re: My webcam is not working, i have tried everything to solve it

uvcvideo is at least loaded by something…

Does the camera not show up in

v4l2-ctl --list-devices
ls -l /dev/video*

Also

the camera of my external webcam is not getting detected by my archlinux

Please elaborate on the actual test-scenario.
Does https://wiki.archlinux.org/title/Webcam_setup#mpv work?

And, how can i illustrate the behavior on fedora on which driver

Just run "sudo journalctl -f", plug the camera and post the tail generated by that.

Offline

#13 2024-12-19 12:32:20

ashuotaku
Member
Registered: 2024-12-12
Posts: 8

Re: My webcam is not working, i have tried everything to solve it

seth wrote:

uvcvideo is at least loaded by something…
Does the camera not show up in

The first command output was this:

Cannot open device /dev/video0, exiting. 

And, i have checked and I found that /dev/video does not exist in my system, i dunno why?

And, the output of fedora journalctl was this: https://pastebin.com/MMTqtbtA

Offline

#14 2024-12-19 18:21:31

seth
Member
Registered: 2012-09-03
Posts: 60,298

Re: My webcam is not working, i have tried everything to solve it

/dev/video won't exists,

Cannot open device /dev/video0, exiting.

sounds like access rights, please post the ls -l output.
Generally please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855
You can also add

getfacl /dev/video0

Offline

#15 2024-12-20 22:29:21

gerwazy
Member
Registered: 2024-03-09
Posts: 28

Re: My webcam is not working, i have tried everything to solve it

I have a similar problem. Today, I realized that my camera suddenly stopped working as well. The video doesn't work, but the sound works. Everything was fine before. Below are some logs.

getfacl /dev/video0

# file: dev/video0
# owner: root
# group: root
user::rw-
group::rw-
other::rw-
ls -l /dev/video0

crw-rw-rw- 1 root root 81, 0 12-20 21:28 /dev/video0
v4l2-ctl --list-devices

Unable to detect what device /dev/video0 is, exiting.
lsusb                 

Bus 001 Device 008: ID 1b3f:2002 Generalplus Technology Inc. 808 Camera
sudo journalctl -f


gru 20 23:26:11 Linux kernel: usb 1-1: new high-speed USB device number 8 using xhci_hcd
gru 20 23:26:11 Linux kernel: usb 1-1: config 1 interface 0 altsetting 0 endpoint 0x83 has an invalid bInterval 32, changing to 9
gru 20 23:26:11 Linux kernel: usb 1-1: New USB device found, idVendor=1b3f, idProduct=2002, bcdDevice= 1.00
gru 20 23:26:16 Linux kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
gru 20 23:26:16 Linux kernel: usb 1-1: Product: GENERAL WEBCAM
gru 20 23:26:16 Linux kernel: usb 1-1: Manufacturer: GENERAL
gru 20 23:26:16 Linux kernel: usb 1-1: Found multiple Units with ID 5
gru 20 23:26:16 Linux mtp-probe[13951]: checking bus 1, device 8: "/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-1"
gru 20 23:26:16 Linux mtp-probe[13951]: bus: 1, device: 8 was not an MTP device
gru 20 23:26:16 Linux mtp-probe[13955]: checking bus 1, device 8: "/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-1"
gru 20 23:26:16 Linux mtp-probe[13955]: bus: 1, device: 8 was not an MTP device

Last edited by gerwazy (2024-12-20 22:31:48)

Offline

#16 2024-12-20 22:46:30

seth
Member
Registered: 2012-09-03
Posts: 60,298

Re: My webcam is not working, i have tried everything to solve it

Slightly different, you've a video0 char device and rw access to it, but

Unable to detect what device /dev/video0 is, exiting.

Everything was fine before.

What changed? Did you update the kernel but not reboot?
Though you'd rather not have a video device node then - you didn't mknod that device into existence, did you?
uvcvideo doesn't get loaded in that journal… does it show up before?

Same problem w/ the LTS kernel?
https://archlinux.org/packages/extra/x86_64/v4l-utils/ wa last updated in August…

Offline

#17 2024-12-20 23:06:37

gerwazy
Member
Registered: 2024-03-09
Posts: 28

Re: My webcam is not working, i have tried everything to solve it

Sorry, you right I try too many solutions...

ls -l /dev/video0
ls: dont' access to  '/dev/video0': file or directory not existing

Everything was fine before.

I mean 1 month ago.

Same problem w/ the LTS kernel?

Yes.

On the old Arch system that hasn't been updated for a few weeks, the camera works.

Offline

#18 2024-12-20 23:29:51

seth
Member
Registered: 2012-09-03
Posts: 60,298

Re: My webcam is not working, i have tried everything to solve it

If it's not the kernel (you could also try to downgrade to 6.11) nor the 4 months old v4l-utils update, my money would be on systemd (udev/hwdb) which moved to 257 10 days ago.

Offline

#19 2024-12-20 23:55:30

loqs
Member
Registered: 2014-03-06
Posts: 18,174

Re: My webcam is not working, i have tried everything to solve it

You can use the ALA to restore all packages to a specific date.  That would allow you to find the first date that introduced the issue and identify what packages were updated on that day.

Online

#20 2024-12-22 06:59:37

ashuotaku
Member
Registered: 2024-12-12
Posts: 8

Re: My webcam is not working, i have tried everything to solve it

seth wrote:

If it's not the kernel (you could also try to downgrade to 6.11) nor the 4 months old v4l-utils update, my money would be on systemd (udev/hwdb) which moved to 257 10 days ago.

so, is it a kernel problem, do i have to downgrade my kernel for that?

Offline

#21 2024-12-22 08:14:31

seth
Member
Registered: 2012-09-03
Posts: 60,298

Re: My webcam is not working, i have tried everything to solve it

https://deepl.com/

We don't know whether it's the kernel - gerwazy said the LTS kernel is also affected, but
1. you should test that for your system (these might be different problems)
2. the compromising commit could have been backported. Downgrading the kernel can verify this.
3. We've still not seen "ls -l /dev/video*; getfacl /dev/video0" from you.

Other than that

my money would be on systemd (udev/hwdb) which moved to 257 10 days ago

Offline

#22 2024-12-25 16:05:41

33Nicolas
Member
Registered: 2024-09-03
Posts: 3

Re: My webcam is not working, i have tried everything to solve it

Same thing here. Can't access /dev/video0 and have tried LTS and Zen, will downgrade to 6.11. This happened after last week's upgrade or the week before.

Offline

#23 2025-01-01 00:36:35

gerwazy
Member
Registered: 2024-03-09
Posts: 28

Re: My webcam is not working, i have tried everything to solve it

There has been no progress on this issue? The developers have not taken any action to resolve it? Given that the system is malfunctioning, why has a solution not been implemented? I require the camera for my job...

Offline

#24 2025-01-01 00:53:13

loqs
Member
Registered: 2014-03-06
Posts: 18,174

Re: My webcam is not working, i have tried everything to solve it

@gerwazy please see posts #19 and #21 which await responses from yourself or other affected users.

Online

#25 2025-01-01 01:38:34

gerwazy
Member
Registered: 2024-03-09
Posts: 28

Re: My webcam is not working, i have tried everything to solve it

I already said the kernel isn't the problem.

I can't roll back the packages because of a error:

nvidia-utils: /usr/lib/libnvidia-egl-xcb.so exists in the file system (owner is egl-x11)

Offline

Board footer

Powered by FluxBB