You are not logged in.

#1 2024-01-19 11:30:52

rstanuwijaya
Member
Registered: 2023-08-29
Posts: 12

[SOLVED] No /dev/video0 when webcam is connected, but listed lsusb

Hi, I was trying to connect my webcam to the PC, but noticed that the device is not detected properly.
Graphical apps such as OBS and GNOME Cheese says no webcam is available. So I tried to find out
the cause of this problem.

I used the webcam before, and last time I used it there was no problem with the hardware. It is also
powered on when it is plugged in to my PC, as indicated by the LED light.

Any suggestions to fix this issue is much appreciated.

Thanks,
Stefan

-------------------------------------------------------------------------------------------------------------------------------------------------------

Some logs:

lsusb output:

❯ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 003: ID 3434:0610 Keychron Keychron Q1 Pro
Bus 001 Device 010: ID 1b3f:1147 Generalplus Technology Inc. WEB CAM
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

and /dev/video0 does not exist.

❯ v4l2-ctl --list-devices
Cannot open device /dev/video0, exiting.
❯ ls /dev | grep video

followed the guide here: https://wiki.archlinux.org/title/V4l2loopback
So I tried to reinstall v4l2 and linux + linux-headers, but modprobe still doesn't found the kernel module:

❯ sudo modprobe v4l2loopback
modprobe: FATAL: Module v4l2loopback not found in directory /lib/modules/6.6.10-arch1-1

Last edited by rstanuwijaya (2024-02-21 04:00:33)

Offline

#2 2024-01-19 12:14:29

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,232

Re: [SOLVED] No /dev/video0 when webcam is connected, but listed lsusb

You need to reboot into the 6.7 kernel assuming that's what you actually installed by installing linux(-headers) again.

Last edited by V1del (2024-01-19 12:14:37)

Online

Board footer

Powered by FluxBB