Intel MIPI camera not found

Glad to help!

Alright, keep an eye on that list in the next days, @roberto-derenzi

We have to give some time to the developers to fix all the issues, I guess.

Hey everyone,

I have been trying to fix mine for a few hours this time around but it looks like dkms cannot build for the latest kernel. Here is the root cause:

drivers/media/i2c/ov08a10.c:4:10: fatal error: asm/unaligned.h: No such file or directory
    4 | #include <asm/unaligned.h>
      |          ^~~~~~~~~~~~~~~~~
drivers/media/i2c/ov01a1s.c:4:10: fatal error: asm/unaligned.h: No such file or directory
    4 | #include <asm/unaligned.h>
      |          ^~~~~~~~~~~~~~~~~
drivers/media/i2c/hm11b1.c:4:10: fatal error: asm/unaligned.h: No such file or directory
    4 | #include <asm/unaligned.h>
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.
compilation terminated.
compilation terminated.
drivers/media/i2c/ov02c10.c:4:10: fatal error: asm/unaligned.h: No such file or directory
    4 | #include <asm/unaligned.h>
      |          ^~~~~~~~~~~~~~~~~

If anyone hears about the intel-ipu6-dkms module being patched, it would be great.

Hi @annalito,
a number of people successfully made the camera work by totally removing the intel-ipu6-dkms actually.

sudo apt-get remove --purge intel-ipu6-dkms
sudo apt-get autoclean 
sudo apt-get autoremove
sudo apt-get update
sudo apt-get upgrade
ubuntu-drivers list

There should be another driver listed that is not an oem-metapackage and not a dkms. If so, please install that one. Also, if you have installed libcamhal0, please purge it too.

1 Like

I guess I missed the part about removing both the other drivers @federicarike ! thanks for the help. my issue is solved now !

1 Like

I tried to apt remove also oem-somerville-treecko-meta and all ‘libcamhal’ libraries, besides `intel-ipu6-dkms’, and actually the output of

ubuntu-drivers list

changed (same oem-somerville-treecko-meta but different libcamhal-ipu6epmtl, same intel-ipu6-dkms. Still, after reinstalling these and checking

v4l2-ctl --list-devices

Intel MIPI Camera (platform:v4l2loopback-000):

/dev/video0

the result is a blank screen on

ffplay -f video4linux2 /dev/video0

Glad you solved, @annalito ! :partying_face:

Hi @roberto-derenzi,

so what did you reinstall? Only the oem metapackage and the libcamhal-ipu6epmtl ?

Please do NOT reinstall the dkms one (and if you did, please purge it).

Hi @feredicarike, thanks for your prompt reply! Yes I just redid the following:

sudo apt purge oem-somerville-treecko-meta
sudo apt purge intel-ipu6-dkms
sudo apt purge libcamhal-ipu6epmtl
sudo apt purge intel-ipu6-dkms

Actuially, when I sudo apt install again all four, on the dkms step I get an error for the 6.14 kernel (I do not know how to remove completely that kernel, even if I purge its source and headers something tells apt to include it in the module compilation)

Building for 6.11.0-29-generic 6.14.0-27-generic
Building initial module for 6.11.0-29-generic
Done.


ov8856.ko.zst:
Running module version sanity check.
Module version for ov8856.ko.zst
exactly matches what is already found in kernel 6.11.0-29-generic.
DKMS will not replace this module.
You may override by specifying --force.
ov08x40.ko.zst:
Running module version sanity check.

  • Original module
  • Installation
  • Installing to /lib/modules/6.11.0-29-generic/updates/dkms/
    depmod

    Building initial module for 6.14.0-27-generic
    ERROR: Cannot create report: [Errno 17] File exists: ‘/var/crash/intel-ipu6-dkms
    .0.crash’
    Error! Bad return status for module build on kernel: 6.14.0-27-generic (x86_64)
    Consult /var/lib/dkms/ipu6-drivers/0~git202406240945.aecec2aa-0ubuntu2~24.04.3/b
    uild/make.log for more information.
    dpkg: error processing package intel-ipu6-dkms (–configure):
    installed intel-ipu6-dkms package post-installation script subprocess returned
    error exit status 10
    Processing triggers for man-db (2.12.0-4build2) 

    Errors were encountered while processing:
    intel-ipu6-dkms
    E: Sub-process /usr/bin/dpkg returned an error code (1)

I hope this does not interfere with vital 6.11 module compilation. Then I reboot and ffplay produces a blank screen.

P:S. I am running 6.11.0-29-generic, of course

Wait so you downgraded to the previous kernel version?

We stayed with the 6.14 and purged the dkms.

@federicarike thanks for all your help in this long thread! Unfortunately I’m still struggling to get my camera to work under 6.14 on a Dell XPS 13 9350 with Ubuntu 24.04.

I tried to follow the initial instructions to purge all those repositories and libraries, and then install the Drivers shown in the output of ubuntu-drivers list. Then I tried removing libcamhal0 and intel-ipu6-dkms but no success. I’d appreciate if you could help me here please - I am a bit lost and trying to follow these steps which have evolved a bit since the beginning of the thread, but I don’t really know what I am doing
 This is my Drivers list output:

$ ubuntu-drivers list
udevadm hwdb is deprecated. Use systemd-hwdb instead.
udevadm hwdb is deprecated. Use systemd-hwdb instead.
udevadm hwdb is deprecated. Use systemd-hwdb instead.
oem-somerville-tyrogue-meta
libcamhal-ipu7x
intel-usbio-dkms

Thank you

1 Like

Hi,
I’m having a seemingly similar problem on my Dell Latitude 5490, running Linux Mint 22.2 Zara (fresh install).
Base: Ubuntu 24.04 noble
Kernel: 6.14.0-29-generic arch: x86_64 bits
Desktop: Xfce v: 4.18.1

The camera screen is always black, and the light does not light up.

I tried

ubuntu-drivers list

which gives



devadm hwdb is deprecated. Use systemd-hwdb instead.
oem-somerville-oricorio-meta
nvidia-driver-580-open, (kernel modules provided by linux-modules-nvidia-580-open-generic-hwe-24.04)
nvidia-driver-570-open, (kernel modules provided by linux-modules-nvidia-570-open-generic-hwe-24.04)
nvidia-driver-550, (kernel modules provided by linux-modules-nvidia-550-generic-hwe-24.04)
nvidia-driver-535, (kernel modules provided by linux-modules-nvidia-535-generic-hwe-24.04)
nvidia-driver-580, (kernel modules provided by linux-modules-nvidia-580-generic-hwe-24.04)
nvidia-driver-570, (kernel modules provided by linux-modules-nvidia-570-generic-hwe-24.04)
nvidia-driver-535-server, (kernel modules provided by linux-modules-nvidia-535-server-generic-hwe-24.04)
nvidia-driver-580-server-open, (kernel modules provided by linux-modules-nvidia-580-server-open-generic-hwe-24.04)
nvidia-driver-570-server-open, (kernel modules provided by linux-modules-nvidia-570-server-open-generic-hwe-24.04)
nvidia-driver-550-open, (kernel modules provided by linux-modules-nvidia-550-open-generic-hwe-24.04)
nvidia-driver-535-open, (kernel modules provided by linux-modules-nvidia-535-open-generic-hwe-24.04)
nvidia-driver-580-server, (kernel modules provided by linux-modules-nvidia-580-server-generic-hwe-24.04)
nvidia-driver-570-server, (kernel modules provided by linux-modules-nvidia-570-server-generic-hwe-24.04)
nvidia-driver-535-server-open, (kernel modules provided by linux-modules-nvidia-535-server-open-generic-hwe-24.04)
libfprint-2-tod1-broadcom-cv3plus
libcamhal-ipu6epmtl
intel-ipu6-dkms

Then I tried

sudo apt-get remove libcamhal0
sudo apt-get remove --purge  intel-ipu6-dkms 
sudo apt-get autoclean
sudo apt-get autoremove

But after re-asking

ubuntu-drivers list

I still get



libfprint-2-tod1-broadcom-cv3plus
libcamhal-ipu6epmtl
intel-ipu6-dkms

Does it make sense?

Then, I reinstalled

sudo apt-get install libcamhal-ipu6epmtl

And after restart, the camera is still black


What can I do?

Hi @rafaguedes,

Sorry for the late reply!

If I understand correctly, you purged all the ppa repositories and packages, then updated and upgraded and you got that list. Correct?

Have you then installed the oem-somerville-tyrogue-meta and the libcamhal-ipu7x ?

Also, can you please post a list of your repositories?

Thanks a lot!

Hi @motterouge,

Sorry for the late reply!

In your last list of the post I cannot see the oem metapackage, did you install it?

It should be
oem-somerville-oricorio-meta

Also, before installing the package, can you post your list of repositories?

Thanks a lot.

Hi @federicarike , thank you for your reply,

The camera worked after I updated some firmware.

Thanks

1 Like

Thank you @federicarike

I get the following:

> cat /etc/apt/sources.list /etc/apt/sources.list.d/*
deb http://dell.archive.canonical.com/ noble somerville
deb http://download.opensuse.org/repositories/home:/fawz:/libetebase/xUbuntu_24.04/ /
deb https://mirrors.univ-reims.fr/mint zara main upstream import backport 


deb http://mirrors.ircam.fr/pub/ubuntu/archive noble main restricted universe multiverse
deb http://mirrors.ircam.fr/pub/ubuntu/archive noble-updates main restricted universe multiverse
deb http://mirrors.ircam.fr/pub/ubuntu/archive noble-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse
Types: deb



Then

sudo apt-get install  oem-somerville-oricorio-meta


but the problem remains the same.

1 Like

Glad to hear you solved! :sunglasses:

Alright, what about repeating all the troubleshooting commands in the wiki?

Here: Troubleshooting steps

:warning: In the wiki should be apt purge <Long_list_of_packages_with*>

then installing the two packages

oem-somerville-oricorio-meta

libcamhal-ipu6epmtl

in your list? Let me know what happens.

I think I had tried before; anyway, I retried, and no change.
Note that the last command was a little strange:

sudo apt-get install libcamhal-ipu6epmtl
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait      
libcamhal-ipu6epmtl est déjà la version la plus récente (0~git202501070628.8346d93~ubuntu24.04.2).
libcamhal-ipu6epmtl passé en « installé manuellement ».
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.

so it was already installed, even though I thought I had purged everything before?

Also, the list of enabled drivers (beside nvidia-driver-580-open):

Capture d’écran_2025-09-22_20-10-37

Hi @motterouge, and thanks for the screenshots!

I do not know why you have it already installed, if you purged using

sudo apt purge oem-*-meta libia-* libgcss* libipu* libcamhal*

I usually do also sudo apt-get autopurge and sudo apt-get autoremove to remove all dependencies.
Then I proceed by installing the required packages.

There is a large pool of people (including me) who solved by removing the intel-ipu6-dkms. In my case, I had to remove also libcamhal0.

Other issues were automatically solved, as they updated the firmware.