Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #82873 > unrolled thread

Bug#1074441: linux-image-amd64: Please enable several CONFIG_ options required for IPU6/MIPI cameras

Started byMartin Sofaru <debian-bugs@fhloston.org>
First post2024-06-28 19:10 +0200
Last post2024-08-23 00:00 +0200
Articles 7 — 4 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#1074441: linux-image-amd64: Please enable several CONFIG_ options required for IPU6/MIPI cameras Martin Sofaru <debian-bugs@fhloston.org> - 2024-06-28 19:10 +0200
    Bug#1074441: linux-image-amd64: Please enable several CONFIG_ options required for IPU6/MIPI cameras Stephan Verbücheln <verbuecheln@posteo.de> - 2024-07-28 10:30 +0200
      Bug#1074441: linux-image-amd64: Please enable several CONFIG_ options required for IPU6/MIPI cameras Stephan Verbücheln <verbuecheln@posteo.de> - 2024-07-29 08:40 +0200
    Bug#1074441: linux-image-amd64: Please enable several CONFIG_ options required for IPU6/MIPI cameras Marten van Kerkwijk <mhvk@astro.utoronto.ca> - 2024-08-11 22:20 +0200
    Bug#1074441: marked as done (linux-image-amd64: Please enable  several CONFIG_ options required for IPU6/MIPI cameras) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-08-22 20:20 +0200
    Bug#1074441: marked as done (linux-image-amd64: Please enable  several CONFIG_ options required for IPU6/MIPI cameras) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-08-22 20:20 +0200
    Bug#1074441: linux-image-amd64: Please enable several CONFIG_ options required for IPU6/MIPI cameras Marten van Kerkwijk <mhvk@astro.utoronto.ca> - 2024-08-23 00:00 +0200

#82873 — Bug#1074441: linux-image-amd64: Please enable several CONFIG_ options required for IPU6/MIPI cameras

FromMartin Sofaru <debian-bugs@fhloston.org>
Date2024-06-28 19:10 +0200
SubjectBug#1074441: linux-image-amd64: Please enable several CONFIG_ options required for IPU6/MIPI cameras
Message-ID<IUngJ-6fFC-1@gated-at.bofh.it>
Package: linux-image-amd64
Version: 6.8.12-1
Severity: wishlist
Tags: patch
X-Debbugs-Cc: debian-bugs@fhloston.org

Dear Maintainer,

since kernel 6.8 the ipu6-drivers for IPU6/MIPI cameras require the in-kernel ivsc drivers and the in-kernel ov2740 driver.

Please enable the following config options:

CONFIG_INTEL_MEI_VSC_HW=m
CONFIG_INTEL_MEI_VSC=m
CONFIG_I2C_LJCA=m
CONFIG_SPI_LJCA=m
CONFIG_GPIO_LJCA=m
CONFIG_INTEL_VSC=m
CONFIG_IPU_BRIDGE=m
CONFIG_VIDEO_OV2740=m
CONFIG_USB_LJCA=m


Thank you

Martin

[toc] | [next] | [standalone]


#83259

FromStephan Verbücheln <verbuecheln@posteo.de>
Date2024-07-28 10:30 +0200
Message-ID<J57rX-VGW-3@gated-at.bofh.it>
In reply to#82873

[Multipart message — attachments visible in raw view] — view raw

I support this request. This will bring new webcam support for a lot of
Intel-based laptops, including models that are actively advertised with
Linux support and sold with Ubuntu/Fedora preinstalled.

Example:
https://ubuntu.com/certified/202301-31165

The corresponding system is called Intel Image Processing Unit 6
(IPU6). Until now, this requires to build custom kernel modules and
install firmware from third-party sources on Debian:
https://github.com/intel/ipu6-drivers

Since kernel 6.10, kernel modules are available in the tree and
firmware in the Linux firmware distribution.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/diff/?id=v6.10&id2=v6.9&dt=2

Regards
Stephan

[toc] | [prev] | [next] | [standalone]


#83283

FromStephan Verbücheln <verbuecheln@posteo.de>
Date2024-07-29 08:40 +0200
Message-ID<J5sd3-1c8s-3@gated-at.bofh.it>
In reply to#83259

[Multipart message — attachments visible in raw view] — view raw

Please note that the options are not configured in the current kernel
6.10.1-1~exp1 in Experimental.

# CONFIG_VIDEO_IPU3_CIO2 is not set
# CONFIG_VIDEO_INTEL_IPU6 is not set
# CONFIG_INTEL_VSC is not set
# CONFIG_IPU_BRIDGE is not set

Regards
Stephan

[toc] | [prev] | [next] | [standalone]


#83460

FromMarten van Kerkwijk <mhvk@astro.utoronto.ca>
Date2024-08-11 22:20 +0200
Message-ID<JancJ-4mll-1@gated-at.bofh.it>
In reply to#82873
Hi,

It would indeed be nice if the options for IPU6 support were enabled.
I tried compiling a new kernel using linux-source-6.10.  Starting with
/boot/config-6.10.3-amd64, I used make menuconfig to search for the
relevant configuration names and then set those to module.  Turned out
one needs to set just four:

CONFIG_VIDEO_OV2740=m
CONFIG_USB_LJCA=m
CONFIG_INTEL_MEI_VSC_HW=m
CONFIG_INTEL_MEI_VSC=m

The other ones listed above get set automatically.

On my lenovo x1 yoga gen 8, things are not quite stable: e.g., I have to
remove and reload the ov2740 module after boot for the camera to be
recognized.  The same is true when I use the fedora kernel provided at
https://copr.fedorainfracloud.org/coprs/jwrdegoede/ipu6-softisp/
Unlike with that kernel, though, I cannot yet use the camera in any way
with the new 6.10 one I built.

All the best,

Marten

[toc] | [prev] | [next] | [standalone]


#83623 — Bug#1074441: marked as done (linux-image-amd64: Please enable several CONFIG_ options required for IPU6/MIPI cameras)

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2024-08-22 20:20 +0200
SubjectBug#1074441: marked as done (linux-image-amd64: Please enable several CONFIG_ options required for IPU6/MIPI cameras)
Message-ID<JekzD-6Qf2-17@gated-at.bofh.it>
In reply to#82873

[Multipart message — attachments visible in raw view] — view raw

Your message dated Thu, 22 Aug 2024 18:07:00 +0000
with message-id <E1shCD6-001rdn-DI@fasolo.debian.org>
and subject line Bug#1074441: fixed in linux 6.11~rc4-1~exp1
has caused the Debian Bug report #1074441,
regarding linux-image-amd64: Please enable several CONFIG_ options required for IPU6/MIPI cameras
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1074441: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1074441
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#83624 — Bug#1074441: marked as done (linux-image-amd64: Please enable several CONFIG_ options required for IPU6/MIPI cameras)

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2024-08-22 20:20 +0200
SubjectBug#1074441: marked as done (linux-image-amd64: Please enable several CONFIG_ options required for IPU6/MIPI cameras)
Message-ID<JekzD-6Qf2-19@gated-at.bofh.it>
In reply to#82873

[Multipart message — attachments visible in raw view] — view raw

Your message dated Thu, 22 Aug 2024 18:07:00 +0000
with message-id <E1shCD6-001rds-F8@fasolo.debian.org>
and subject line Bug#1078170: fixed in linux 6.11~rc4-1~exp1
has caused the Debian Bug report #1078170,
regarding linux-image-amd64: Please enable several CONFIG_ options required for IPU6/MIPI cameras
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1078170: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1078170
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#83629

FromMarten van Kerkwijk <mhvk@astro.utoronto.ca>
Date2024-08-23 00:00 +0200
Message-ID<Jeo0x-6Sau-1@gated-at.bofh.it>
In reply to#82873
Hi,

Upon further testing, I got things to work!

1. One needs libcamera-0.3.1-2, otherwise simpleimage is not enabled;

2. libcamera requires DMAHEAP, so beyond the settings mentioned above,
   one also has to enable DMABUF_HEAPS (and possibly DMABUF_HEAPS_SYSTEM
   options; I just set bot to y);

3. To use the camera as a regular user (not root), one needs a version
   of systemd that includes 
   https://github.com/systemd/systemd/pull/33738/files
   (not yet in Debian).  One can just edit the relevant file.

Note that, as mentioned above, sometimes the ov2740 module does not get
initialized properly and one has to reload it.  Furthermore, the camera
also does not always get initialized properly if using qcam; one has to
stop and start capture a few times.

Hope this helps others too,

Marten

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web