Dell Latitude 7440 camera not found

Hi all,

Apologies if this has been covered already - I’ve read the replies and tried all the proposed solution but I am still unable to make the camera work.

I am using Ubuntu 22.04. LTS on a Dell Latitude 7440. Is there a step-by-step guide I can try to make the camera work on Chrome (Cheese and other Apps are not a priority in my case, I am testing it using MS Teams on Chrome).

I tried various proposed solutions and now I’ve run the purge commands to cleanup everything, to try again.

Here is my current state:

Kernel:

$ uname -r
6.8.0-52-generic

Installed packages (also no Intel ivsc related modules are installed):

$ dpkg --list | grep ipu6
ii  linux-modules-ipu6-6.8.0-40-generic        6.8.0-40.40~22.04.3                               amd64        Linux kernel ipu6 modules for version 6.8.0-40
ii  linux-modules-ipu6-6.8.0-52-generic        6.8.0-52.53~22.04.1                               amd64        Linux kernel ipu6 modules for version 6.8.0-52
ii  linux-modules-ipu6-generic-hwe-22.04       6.8.0-52.53~22.04.1                               amd64        Extra drivers for ipu6 for the generic flavour

$ dpkg --list | grep usbio
ii  linux-modules-usbio-6.8.0-52-generic       6.8.0-52.53~22.04.1                               amd64        Linux kernel usbio modules for version 6.8.0-52
ii  linux-modules-usbio-generic-hwe-22.04      6.8.0-52.53~22.04.1                               amd64        Extra drivers for usbio for the generic flavour

Current repos:

$ add-apt-repository --list
deb http://gr.archive.ubuntu.com/ubuntu/ jammy multiverse main restricted universe
deb http://gr.archive.ubuntu.com/ubuntu/ jammy-updates multiverse main restricted universe
deb http://gr.archive.ubuntu.com/ubuntu/ jammy-backports multiverse main restricted universe
deb http://security.ubuntu.com/ubuntu jammy-security multiverse main restricted universe

Drivers list (although the package itself is not installed):

$ ubuntu-drivers list
oem-somerville-lapras-meta

Here is a screenshot from the “Additional Drivers”:

I think that brings the device at a clean state.

Could someone guide me through the proper installation of the required packages, for me to test?

Any help would be greatly appreciated.

Thank you!

1 Like

Hi @eliasps,
It seems to me that you are left with purging the ipu6/7 packages and installing the metapackage.

Here's how to purge
sudo apt autopurge oem-*-meta libia-* libgcss* libipu* libcamhal*
sudo apt autopurge lib*ipu6*
sudo apt autopurge lib*ipu7*
sudo apt-get update #update cache and rep list
sudo ubuntu-drivers list
[If  the OEM metapackage is still there alone]
sudo apt install oem-somerville-lapras-meta
[install also the others if listed]
reboot

I am not sure you need these now.

Have you installed the whole list of drivers?

Thanks for the reply @federicarike!

Installed the package and any other driver listed under “ubuntu-drivers” (libcamhal0 and Disable i915 PSR cabability). Also tried using the “oem-somerville-lapras-meta” as well. The camera has been recognized by the OS but there is no image.

A member above on the same model made it work like that, I am starting to think that the camera may have another problem itself. I will confirm that the camera is ok by installing Windows before running any other tests to make it work on Ubuntu, and I will reply back once done.

Thanks again!

Moved to a separate topic to avoid confusion

Alright, keep me posted!

It can also be a cheese bug. This may help

GST_V4L2_USE_LIBV4L2=1 gst-launch-1.0 v4l2src ! xvimagesink

Glad to help!

3 posts were merged into an existing topic: Dell XPS 13 9320 camera not found

Hi @federicarike,

I got the camera working. There is only one detail that separates the 7440 from other models with the MIPI camera issue, on Jammy.

Here are the steps followed, in case anyone runs into the same issue on the 7440 (this does not apply on other models, as it seems):

  1. Use the purge commands to clean up leftover packages for previous trials:
sudo apt autopurge oem-*-meta libia-* libgcss* libipu* libcamhal*
sudo apt autopurge lib*ipu6*
sudo apt autopurge lib*ipu7*
  1. Install: linux-generic-hwe-22.04, linux-modules-ipu6-generic-hwe-22.04, linux-modules-usbio-generic-hwe-22.04:
sudo apt-get install --no-install-recommends --yes \
    linux-generic-hwe-22.04 \
    linux-modules-ipu6-generic-hwe-22.04 \
    linux-modules-usbio-generic-hwe-22.04
  1. Install “ubuntu-oem-keyring”:
sudo apt-get install ubuntu-oem-keyring
  1. Install “oem-somerville-lapras-meta”:
sudo apt-get install oem-somerville-lapras-meta
  1. After the installation of the “oem-somerville-lapras-meta”, you will have the following options on the “Additional Drivers” GUI for the initial “Intel Corporation: Unknown” device:
    a) Use “oem-somerville-lapras-meta”, or
    b) Use “oem-fix-misc-cnl-i915-disable-psr”.
    Use the “oem-fix-misc-cnl-i915-disable-psr”.
  2. On the second “Intel Corporation: Unknown” device you will have the option to use “libcamhal0”. DO NOT SELECT IT YET.
  3. The detail that made the process work: After the installation of the OEM package (step 4), two new repos have been enabled from https://dell.archive.canonical.com: “somerville” and “somerville-lapras”, on the repositories tab. Disable the “somerville-lapras” entry (uncheck it). Keep only the “somerville” repo checked and update the repository package lists.
  4. Then, select to use “libcamhal0” for the other device on “Additional Drivers”.
  5. Reboot.

If you install “oem-somerville-lapras-meta”, then use the “oem-fix-misc-cnl-i915-disable-psr” and then use “libcamhal0” directly, without first disabling the “somerville-lapras” repo, the camera will be recognized, but the image will be blank.

I guess keeping that repo enabled as well, would install a dependency from that repo, that will not work, but it works from the other one. So make sure that before installing “libcamhal0”, you disable the “somerville-lapras” repo. I haven’t yet tried to see what/why this happens. I’m just happy the camera works.

It works with Zoom / Teams apps, Firefox and Chrome.

@federicarike thanks very much for your help on this issue!

Best regards,
Elias

1 Like

@eliasps Wow! Great job! Thanks a lot for the detailed solution! :confetti_ball:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.