Pi Camera 3 not working with Lunar

Bug #2024434 reported by Juerg Haefliger
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-raspi (Ubuntu)
Fix Released
Undecided
Unassigned
Lunar
Fix Released
Undecided
Unassigned

Bug Description

[Impact]

Attempting to use a Pi Camera 3 with Lunar results in:

$ sudo libcamera-hello
Made X/EGL preview window
[0:01:28.143741115] [2014] INFO Camera camera_manager.cpp:299 libcamera v0.0.4
[0:01:28.200294746] [2018] ERROR RPI raspberrypi.cpp:1279 Failed to register camera imx708: -2
ERROR: *** no cameras available ***

When using the v8 raspberrypi kernel on Lunar, the camera works just fine so the Lunar raspi kernel is missing some required config options and/or patches.

[Test Case]

See above.

[Fix]

Enable missing config option.

[Where Problems Could Occur]

This is a newly enabled module which is only used in combination with Pi Camera 3. A buggy module could lead to all sorts of problems (freeze, hang, crash, ...).

CVE References

Juerg Haefliger (juergh)
description: updated
description: updated
Juerg Haefliger (juergh)
Changed in linux-raspi (Ubuntu Lunar):
status: New → Fix Committed
Changed in linux-raspi (Ubuntu):
status: New → Invalid
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-raspi/6.2.0-1008.10 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-lunar' to 'verification-done-lunar'. If the problem still exists, change the tag 'verification-needed-lunar' to 'verification-failed-lunar'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-lunar-linux-raspi verification-needed-lunar
Revision history for this message
Dave Jones (waveform) wrote :

Verified on a fresh lunar desktop card with a v3 camera module. One still has to work around LP: #1923363 by adding the user to the "video" group, but once this is done the camera shows up in "cam --list" and works to show a preview and capture images.

tags: added: verification-done-lunar
removed: verification-needed-lunar
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (10.9 KiB)

This bug was fixed in the package linux-raspi - 6.2.0-1008.10

---------------
linux-raspi (6.2.0-1008.10) lunar; urgency=medium

  * lunar/linux-raspi: 6.2.0-1008.10 -proposed tracker (LP: #2025455)

  * Packaging resync (LP: #1786013)
    - [Packaging] update Ubuntu.md
    - [Packaging] update annotations scripts

  * raspi-nolpae flavor is pointless nowadays (LP: #2023359)
    - [Packaging] raspi: Remove raspi-nolpae armhf flavor

  * Pi Camera 3 not working with Lunar (LP: #2024434)
    - [Config] raspi: Set VIDEO_DW9807_VCM=m

  * i2c devices missing in lunar (LP: #2019320)
    - [Config] raspi: Set I2C_CHARDEV=y

  [ Ubuntu: 6.2.0-25.25 ]

  * lunar/linux: 6.2.0-25.25 -proposed tracker (LP: #2024167)
  * ftrace in ubuntu_kernel_selftests failed with "check if duplicate events are
    caught" on J-5.15 P9 / J-kvm / L-kvm (LP: #1977827)
    - SAUCE: selftests/ftrace: Add test dependency
  * Add microphone support of the front headphone port on P3 Tower
    (LP: #2023650)
    - ALSA: hda/realtek: Add Lenovo P3 Tower platform
  * Add audio support for ThinkPad P1 Gen 6 and Z16 Gen 2 (LP: #2023539)
    - ALSA: hda/realtek: Add quirk for ThinkPad P1 Gen 6
  * Fix Disable thunderbolt clx make edp-monitor garbage while moving the
    touchpad (LP: #2023004)
    - drm/i915: Use 18 fast wake AUX sync len
  * Fix Monitor lost after replug WD19TBS to SUT port with VGA/DVI to type-C
    dongle (LP: #2021949)
    - thunderbolt: Increase timeout of DP OUT adapter handshake
    - thunderbolt: Do not touch CL state configuration during discovery
    - thunderbolt: Increase DisplayPort Connection Manager handshake timeout
  * Enable Tracing Configs for OSNOISE and TIMERLAT (LP: #2018591)
    - [Config] Enable OSNOISE_TRACER and TIMERLAT_TRACER configs
  * Fix only reach PC3 when ethernet is plugged r8169 (LP: #1946433)
    - r8169: use spinlock to protect mac ocp register access
    - r8169: use spinlock to protect access to registers Config2 and Config5
    - r8169: enable cfg9346 config register access in atomic context
    - r8169: prepare rtl_hw_aspm_clkreq_enable for usage in atomic context
    - r8169: disable ASPM during NAPI poll
    - r8169: remove ASPM restrictions now that ASPM is disabled during NAPI poll
  * introduce do_lib_rust=true|false to enable/disable linux-lib-rust package
    (LP: #2021605)
    - [Packaging] introduce do_lib_rust and enable it only on generic amd64
  * System either hang with black screen or rebooted on entering suspend on AMD
    Ryzen 9 PRO 7940HS w/ Radeon 780M Graphics (LP: #2020685)
    - drm/amdgpu: refine get gpu clock counter method
    - drm/amdgpu/gfx11: update gpu_clock_counter logic
  * generate linux-lib-rust only on amd64 (LP: #2020356)
    - [Packaging] generate linux-lib-rust only on amd64
  * No HDMI/DP audio output on dock(Nvidia GPU) (LP: #2020062)
    - ALSA: hda: Add NVIDIA codec IDs a3 through a7 to patch table
  * Add support for mdev_set_iommu_device() kABI in Ubuntu 22.10 kernel
    (LP: #1988806)
    - SAUCE: Add mdev_set_iommu_device() kABI.
  * Enable audio LEDs on HP laptops (LP: #2019915)
    - ALSA: hda/realtek: Fix mute and micmute LEDs for an HP laptop
    - ALSA: hda/realtek: Fix m...

Changed in linux-raspi (Ubuntu Lunar):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (9.8 KiB)

This bug was fixed in the package linux-raspi - 6.5.0-1002.2

---------------
linux-raspi (6.5.0-1002.2) mantic; urgency=medium

  * mantic/linux-raspi: 6.5.0-1002.2 -proposed tracker (LP: #2033637)

  * Packaging resync (LP: #1786013)
    - [Packaging] update update.conf

  * Miscellaneous Ubuntu changes
    - [Config] raspi: Add notes to configs that differ from master
    - [Config] raspi: Set CONFIG_ARM_ERRATA_<foo>=n
    - [Config] raspi: Set PREEMPT_DYNAMIC=y
    - [Config] raspi: Set STAGING_MEDIA_DEPRECATED=n
    - [Config] raspi: Set EFI=n
    - [Config] raspi: Set POWER_RESET_GPIO_RESTART=n
    - [Config] raspi: Set HID_BPF=n
    - [Config] raspi: Set COMMON_CLK_FIXED_MMIO=n
    - [Config] raspi: Set PWM_STMPE=n
    - [Config] raspi: Set LEDS_SYSCON=n
    - [Packaging] raspi: Include bcm2835_smi module in linux-modules
    - SAUCE: (no-up) Disable FIQ split-transaction FSM in dwc_otg

  * Miscellaneous upstream changes
    - drivers: media: imx296: Updated imx296 driver for external trigger
    - char: broadcom: vc_mem: Fix preprocessor conditional
    - drivers: dwc_otg: Fix fallthrough warnings
    - vc04_services/vc-sm-cma: Switch one-bit bitfields to bool
    - media: i2c: ov2311: Fix uninitialized variable usage
    - drm/panel: Fix default values for Waveshare 7.9 inch DSI touchscreen (#5565)
    - dtoverlays: Add i2c bus overrides to edt-ft5406 overlay
    - dtoverlays: Fix README text for i2c-fan
    - drivers: irqchip: irq-bcm2835: Concurrency fix
    - defconfigs: Add TINYDRM_ILI9486 to defconfigs
    - dtoverlays: Add drm option to piscreen overlay
    - drm/ili9486: Resolve clash in spi_device_id names
    - input: ads7846: Add missing spi_device_id strings
    - staging: bcm2835-codec: Downgrade the level for a debug message
    - configs: Raise 8250 UART limit to 5 on BCM2711

  [ Ubuntu: 6.5.0-5.5 ]

  * mantic/linux: 6.5.0-5.5 -proposed tracker (LP: #2034546)
  * Packaging resync (LP: #1786013)
    - [Packaging] update helper scripts
    - debian/dkms-versions -- update from kernel-versions (main/d2023.08.23)

  [ Ubuntu: 6.5.0-4.4 ]

  * mantic/linux: 6.5.0-4.4 -proposed tracker (LP: #2034042)
  * Packaging resync (LP: #1786013)
    - debian/dkms-versions -- update from kernel-versions (main/d2023.08.23)

  [ Ubuntu: 6.5.0-3.3 ]

  * mantic/linux: 6.5.0-3.3 -proposed tracker (LP: #2033904)
  * Packaging resync (LP: #1786013)
    - debian/dkms-versions -- update from kernel-versions (main/d2023.08.23)
  * [23.10] Please test secure-boot and lockdown on the early 6.5 kernel (s390x)
    (LP: #2026833)
    - [Packaging] re-enable signing for s390x
  * Miscellaneous upstream changes
    - module/decompress: use vmalloc() for zstd decompression workspace

  [ Ubuntu: 6.5.0-2.2 ]

  * mantic/linux: 6.5.0-2.2 -proposed tracker (LP: #2033240)
  * Soundwire support for Dell SKU0C87 devices (LP: #2029281)
    - SAUCE: ASoC: Intel: soc-acpi: add support for Dell SKU0C87 devices
  * Fix numerous AER related issues (LP: #2033025)
    - SAUCE: PCI/AER: Disable AER service during suspend, again
    - SAUCE: PCI/DPC: Disable DPC service during suspend, again
  * Support Realtek RTL8852CE WiFi 6E/BT Combo (LP: #2025672)
    - wifi: r...

Changed in linux-raspi (Ubuntu):
status: Invalid → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.