Intel MIPI camera not found

Thanks @federicarike.
But I had tried this already, and it all remains the same.
here is the list of commands:

sudo add-apt-repository --remove ppa:oem-solutions-group/intel-ipu6
sudo add-apt-repository --remove ppa:oem-solutions-group/intel-ipu7 
sudo apt autopurge oem-*-meta libia-* libgcss* libipu* libcamhal*
sudo apt autopurge lib*ipu6*
sudo apt autopurge lib*ipu7*
sudo apt autopurge oem-*-meta libia-* libgcss* libipu* libcamhal*
sudo apt-get autopurge
sudo apt-get autoremove

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

Note that the last command says libcamhal-ipu6epmtl was already installed, even though I thought I had purged everything before, which sounds odd, as mentioned in my earlier post.

Could you please check dependencies with

apt rdepends <package_name>

Could you also please purge libcamhal-ipu6epmtl using

sudo apt-get remove --purge <package_name>

or sudo apt purge <package_name> && sudo apt autoremove

and then reinstall it again?

Let me know what happens! @motterouge

Also, was the camera functioning at some point ?

Check dependencies for which package?

And, no, the camera didn’t work, this is a fresh install, initially the camera was “recognized” but remained black, and no light is shown.

1 Like

I just tried

apt rdepends libcamhal-ipu6epmtl
libcamhal-ipu6epmtl
Reverse Depends:
  oem-somerville-magmar-meta
  oem-somerville-treecko-meta
  oem-somerville-oricorio-meta
  oem-somerville-oddish13-meta
  oem-somerville-oddish-meta

Thanks for the list.

Could you please remove the intel-ipu6-dkms as I did and try if the camera works then?

sudo apt-get remove --purge intel-ipu6-dkms

So I tried these commands:

sudo add-apt-repository --remove ppa:oem-solutions-group/intel-ipu6
sudo add-apt-repository --remove ppa:oem-solutions-group/intel-ipu7 
sudo apt autopurge oem-*-meta libia-* libgcss* libipu* libcamhal*
sudo apt autopurge lib*ipu6*
sudo apt autopurge lib*ipu7*
sudo apt autopurge oem-*-meta libia-* libgcss* libipu* libcamhal*
sudo apt-get remove --purge intel-ipu6-dkms
sudo apt-get autopurge
sudo apt-get autoremove

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


No effect.

1 Like

First off, I guess there is a mistake in the wiki: The three line of code purging packages should start with

sudo apt purge or sudo apt remove --purge (but not autopurge!)

Then with the corrected code (below) you should be able to purge all the packages listed, and not having the problem with the package installed already.

sudo add-apt-repository --remove ppa:oem-solutions-group/intel-ipu6
sudo add-apt-repository --remove ppa:oem-solutions-group/intel-ipu7 
sudo apt purge oem-*-meta libia-* libgcss* libipu* libcamhal*
sudo apt purge lib*ipu6*
sudo apt purge lib*ipu7*
sudo apt-get remove --purge intel-ipu6-dkms
sudo apt-get autopurge
sudo apt-get autoremove

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

Done as suggested but the problem remains the same.
In particular, I still get

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.

meaning libcamhal-ipu6epmtl was already installed.

Do you have any user-specific configurations in your home, or did you install that package with a different package manager the first time?

Have you tried searching for solutions on the Linux Mint forum?

Maybe somebody had the same issue with Mint and solved.

@federicarike
This was helpful, in that it removed a compilation error on the ipu6 kernel modules that was plaguing my attempts. It was an intel-ipu6-dkms module, still mentioned in ubuntu-drivers list. Do I understand correctly that it is not required?

So now I have the correct Additional drivers selected automatically:

  1. Intel Corporation: Unknown Using Dynamic loading plugin for IPU6 camera (ipu6epmtl) from libcamhal-ipu6epmtl (open source)
  2. Meteor Lake-P SMBus controller Using hardware support for Dell XPS 13 9340 from oem-somerville-treecko-meta (open source)

Unfortunately ffplay -f video4linux2 /dev/video0 still produces a black screen.
You already told me that I must wait patiently


Yes @roberto-derenzi , there is a large group of people who solved by removing the dkms (including me).
I also purged libcamhal0.

In the wiki there is a command and an url to test the camera. Have you also tried them?

https://wiki.ubuntu.com/IntelMIPICamera#Test_the_Intel_MIPI_camera

Hi @federicarike, thanks again, I further purged libcamhal0 and I tried with the same result that I obtain with ffplay, ie gUM prints Success! but the screen is black.

Hi,

I have the issue with my camera on my thinkpad ubuntu 22.04.
I have tried the solution presented here and it doesn’t work.
I have also tried the solution from the ubuntu website, which follows these few beginning steps:
sudo apt install ubuntu-oem-keyring
sudo add-apt-repository “deb http://dell.archive.canonical.com/ noble somerville”
ubuntu-drivers list

But it also doesn’t work. Basically, I see nothing when I do:
ubuntu-drivers list or sudo ubuntu-drivers list

Any help is appriciated