Ubuntu 24.04.1 does not recognize the camera

Hello! I am having an issue with Ubuntu using the built-in camera. :cold_sweat:

I have an Acer Aspire 5 by the way, brand new if that can help.

The system knows it exists (Firmware Updater can find it easily) but no software can make it work. I have looked up online and these are all the fixes that I tried, unsuccessfully so far:

  • Install Cheese
  • systemctl --user restart pipewire
  • sudo usermod -aG video $USER
  • sudo apt-get install v4l-utils
  • dmesg | grep -i webcam
  • sudo modprobe -v uvcvideo
  • sudo apt install guvcview
  • lots of reboots

The thing is that while using Windows, the camera works just fine. I was able to have a video call a couple of hours ago, so it's not a hardware issue.

Please help me, I do not know what to do... :pleading_face:

Do you have a file showing as

/dev/video0

Please provide the report from the following command (use Live CD to obtain and send if necessary):

inxi -F -xxx

This will give the Community a full picture of what you are dealing with.

System:
  Host: marcolino Kernel: 6.8.0-48-generic arch: x86_64 bits: 64 compiler: gcc
    v: 13.2.0 clocksource: tsc
  Desktop: MATE v: 1.26.2 wm: marco v: 1.26.2 with: mate-panel
    tools: mate-screensaver vt: 7 dm: LightDM v: 1.30.0 Distro: MATE 24.04.1
    LTS (Noble Numbat) base: Ubuntu
Machine:
  Type: Laptop System: Acer product: Aspire A515-57G v: V1.27
    serial: <superuser required>
  Mobo: ADL model: Ganymede_ADU v: V1.27 serial: <superuser required>
    part-nu: 0000000000000000 uuid: <superuser required> UEFI: Insyde v: 1.27
    date: 02/15/2024
Battery:
  ID-1: BAT1 charge: 53.7 Wh (100.0%) condition: 53.7/52.8 Wh (101.7%)
    volts: 12.8 min: 11.2 model: SMP AP23A7L type: Li-ion serial: 4820
    status: full
CPU:
  Info: 10-core (2-mt/8-st) model: 12th Gen Intel Core i5-1235U bits: 64
    type: MST AMCP smt: enabled arch: Alder Lake rev: 4 cache: L1: 928 KiB
    L2: 6.5 MiB L3: 12 MiB
  Speed (MHz): avg: 448 high: 612 min/max: 400/4400:3300 cores: 1: 400
    2: 612 3: 600 4: 400 5: 567 6: 400 7: 400 8: 400 9: 400 10: 400 11: 400
    12: 400 bogomips: 59904
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel Alder Lake-UP3 GT2 [UHD Graphics]
    vendor: Acer Incorporated ALI driver: i915 v: kernel arch: Gen-12.2 ports:
    active: eDP-1 empty: DP-1,DP-2,HDMI-A-1 bus-ID: 0000:00:02.0
    chip-ID: 8086:4628 class-ID: 0300
  Device-2: NVIDIA GA107M [GeForce RTX 2050] vendor: Acer Incorporated ALI
    driver: nvidia v: 550.120 arch: Turing bus-ID: 0000:01:00.0
    chip-ID: 10de:25a9 class-ID: 0302
  Device-3: Quanta ACER HD User Facing driver: N/A type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 bus-ID: 1-7:3 chip-ID: 0408:4033 class-ID: fe01
    serial: 01.00.00
  Display: x11 server: X.Org v: 21.1.11 compositor: marco v: 1.26.2 driver:
    X: loaded: modesetting,nvidia unloaded: fbdev,nouveau,vesa dri: iris
    gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 98 s-size: 499x280mm (19.65x11.02")
    s-diag: 572mm (22.53")
  Monitor-1: eDP-1 model: ChiMei InnoLux 0x15e7 res: 1920x1080 hz: 60
    dpi: 142 size: 344x193mm (13.54x7.6") diag: 394mm (15.5") modes: 1920x1080
  API: EGL v: 1.5 hw: drv: intel iris drv: nvidia platforms: device: 0
    drv: nvidia device: 2 drv: iris device: 3 drv: swrast gbm: drv: nvidia
    surfaceless: drv: nvidia x11: drv: iris inactive: wayland,device-1
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa v: 24.0.9-0ubuntu0.2
    glx-v: 1.4 direct-render: yes renderer: Mesa Intel Graphics (ADL GT2)
    device-ID: 8086:4628
Audio:
  Device-1: Intel Alder Lake PCH-P High Definition Audio
    vendor: Acer Incorporated ALI driver: sof-audio-pci-intel-tgl
    bus-ID: 0000:00:1f.3 chip-ID: 8086:51c8 class-ID: 0401
  API: ALSA v: k6.8.0-48-generic status: kernel-api
  Server-1: PipeWire v: 1.0.5 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active
Network:
  Device-1: Intel Alder Lake-P PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 0000:00:14.3 chip-ID: 8086:51f0 class-ID: 0280
  IF: wlp0s20f3 state: up mac: dc:97:ba:3a:f4:21
  Device-2: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Acer Incorporated ALI RTL8111/8168/8411 driver: r8169 v: kernel
    port: 3000 bus-ID: 0000:2b:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp43s0 state: down mac: 40:c2:ba:fa:d4:86
Bluetooth:
  Device-1: Intel AX201 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 bus-ID: 1-10:5 chip-ID: 8087:0026 class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 2 state: up address: DC:97:BA:3A:F4:25
    bt-v: 5.2 lmp-v: 11 sub-v: 363c hci-v: 11 rev: 363c class-ID: 7c010c
RAID:
  Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd
    v: 0.6 port: N/A bus-ID: 0000:00:0e.0 chip-ID: 8086:467f rev: class-ID: 0104
Drives:
  Local Storage: total: 476.94 GiB used: 17.57 GiB (3.7%)
  ID-1: /dev/nvme0n1 vendor: Micron model: 2450 MTFDKBA512TFK
    size: 476.94 GiB speed: 63.2 Gb/s lanes: 4 tech: SSD serial: 235045941545
    fw-rev: V5MA010 temp: 23.9 C scheme: GPT
Partition:
  ID-1: / size: 97.87 GiB used: 17.5 GiB (17.9%) fs: ext4 dev: /dev/nvme0n1p5
  ID-2: /boot/efi size: 256 MiB used: 62 MiB (24.2%) fs: vfat
    dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: file size: 4 GiB used: 0 KiB (0.0%) priority: -2
    file: /swap.img
Sensors:
  System Temperatures: cpu: 39.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 16 GiB note: est. available: 15.33 GiB used: 4.16 GiB (27.1%)
  Processes: 330 Power: uptime: 2h 15m states: freeze,mem suspend: s2idle
    wakeups: 0 hibernate: disabled Init: systemd v: 255 target: graphical (5)
    default: graphical
  Packages: 2218 pm: dpkg pkgs: 2205 pm: snap pkgs: 13 Compilers:
    gcc: 13.2.0 Shell: Bash v: 5.2.21 running-in: mate-terminal inxi: 3.3.34

Would you mind also giving the report from

lsdev
Device            DMA   IRQ  I/O Ports
------------------------------------------------
 3  ELAN0524:01         169 
0000:00:02.0                   0000-0000
0000:00:1f.4                   0000-0000
0000:01:00.0                     0000-0000
0000:2b:00.0                     0000-0000
acpi                      9 
ACPI                           0000-0000   0000-0000   0000-0000   0000-0000   0000-0000
AudioDSP                206 
cascade             4       
dma                            0000-0000
dma1                           0000-0000
dma2                           0000-0000
dmar0                   120 
dmar1                   121 
EC                               0000-0000     0000-0000
enp43s0                 168 
fpu                            0000-0000
i2c_designware.0         27 
i2c_designware.1         40 
i2c_designware.2         31 
i2c_designware.3         32 
i801_smbus                       0000-0000
i8042                     1 
i915                    204 
INTC1055:00              14 
iTCO_wdt                       0000-0000
iwlwifi:default_queue        190 
iwlwifi:exception        203 
iwlwifi:queue_1         191 
iwlwifi:queue_10        200 
iwlwifi:queue_11        201 
iwlwifi:queue_12        202 
iwlwifi:queue_2         192 
iwlwifi:queue_3         193 
iwlwifi:queue_4         194 
iwlwifi:queue_5         195 
iwlwifi:queue_6         196 
iwlwifi:queue_7         197 
iwlwifi:queue_8         198 
iwlwifi:queue_9         199 
keyboard                       0000-0000   0000-0000
mei_me                  189 
nvidia                  205 
PCI                          0000-0000 0000-0000 0000-0000   0000-0000   0000-0000   0000-0000
PCIe PME              122 124 
PCIe PME, pciehp        123 
pic1                           0000-0000
pic2                           0000-0000
pnp                            0000-0000   0000-0000   0000-0000   0000-0000   0000-0000
PNP0C09:00                     0000-0000   0000-0000
processor_thermal_device_pci         16 
rtc0                      8    0000-0000
thunderbolt           144 145 
timer0                         0000-0000
timer1                         0000-0000
VMD-MSI  126  ahci[10000:e0:17.0]        171 
VMD-MSI  126  PCIe PME        170 
VMD-MSI  127  nvme0q0        180 
VMD-MSI  128  nvme0q1        181 
VMD-MSI  129  nvme0q2        182 
VMD-MSI  130  nvme0q3        183 
VMD-MSI  131  nvme0q4        184 
VMD-MSI  132  nvme0q5        185 
VMD-MSI  133  nvme0q6        186 
VMD-MSI  134  nvme0q7        187 
VMD-MSI  135  nvme0q8        188 
vmd0                  125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 
xhci_hcd              160 172 

Well, I'm not an expert, but I don't recognize any of those as a video device. Maybe someone else has the insights to recognize it.

I also found this posting on AskUbuntu which might give you some other suggestions and insights that might help.

The command they use

v4l2-ctl --list-devices

might be a good start, to see what it gives you.

NOTE: I myself do not have a video camera on my computer.


----- edit -----

Is there any chance that you video camera's cable got disconnected at some point?


----- edit 2 -----

There is also the following, which reports all devices in a more compact fashion:

lspci
1 Like

Good day akaichi, welcome to the community!

inxi -F -xxx already showed what your webcam is, which is as follows:

  Device-3: Quanta ACER HD User Facing driver: N/A type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 bus-ID: 1-7:3 chip-ID: 0408:4033 class-ID: fe01
    serial: 01.00.00

If you were able to read the details, it says:

driver: N/A

This is because the drivers are yet to be added to the kernel under this issue, which is a pending open task. See the details here.

I've seen some members of the Arch community (and its close derivatives) who have successfully made this device work. However, it seems to me that you have to compile a kernel module for this one, which isn't an easy feat either.

P.S. I've found a Github repository which should make it easier for you, from the same people in the Arch community who've worked on it. View the repository here. Please follow the instructions very carefully. Have a good one!

5 Likes

Thanks for the help, Keiaa =)

1 Like

interesting for me as I had similar issue, turns out for me that there is a Function key that enables the camera on my laptop. It actually removes the camera on the hardware level.

2 Likes