failed to probe camera sensor on Dell XPS 9315: ov01a10 i2c-OVTI01A0:00: failed to check hwcfg: -22

Bug #2070251 reported by You-Sheng Yang
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ipu6-drivers (Ubuntu)
Status tracked in Oracular
Jammy
Invalid
Undecided
Unassigned
Noble
Fix Released
High
You-Sheng Yang
Oracular
Fix Released
High
You-Sheng Yang
linux (Ubuntu)
Status tracked in Oracular
Jammy
Invalid
Undecided
Unassigned
Noble
Fix Committed
Medium
You-Sheng Yang
Oracular
Triaged
Undecided
Unassigned
linux-oem-6.10 (Ubuntu)
Status tracked in Oracular
Jammy
Invalid
Undecided
Unassigned
Noble
In Progress
High
You-Sheng Yang
Oracular
Invalid
Undecided
Unassigned
linux-oem-6.5 (Ubuntu)
Status tracked in Oracular
Jammy
Invalid
High
You-Sheng Yang
Noble
Invalid
Undecided
Unassigned
Oracular
Invalid
Undecided
Unassigned
linux-oem-6.8 (Ubuntu)
Status tracked in Oracular
Jammy
Invalid
Undecided
Unassigned
Noble
Fix Released
High
You-Sheng Yang
Oracular
Invalid
Undecided
Unassigned

Bug Description

[SRU Justification]

[Impact]

Multiple early IPU6 platforms may not have formal MIPI DisCo data
embedded in ACPI, and they may confuse latter driver and fail device
probing:

  ov01a10 i2c-OVTI01A0:00: can't get clock frequency
  ov01a10 i2c-OVTI01A0:00: failed to check hwcfg: -22
  ov01a10: probe of i2c-OVTI01A0:00 failed with error -22

[Fix]

A few commits from mainline kernel up to v6.10-rc5.

[Test Case]

Camera sensor device should then be probed correctly.

[Where problems could occur]

These fixes are based on MIPI DisCo support that is only available since
v6.8. For older kernels, the ipu6-drivers either has no hwcfg checking
implemented, or patched with DMI info to skip it.

[Other Info]

While the patches are from v6.10-rc5, only Noble and OEM-6.8 will be
nominated for fixing.

========== original bug report ==========

[ 5.630239] ov01a10 i2c-OVTI01A0:00: can't get clock frequency
[ 5.630248] ov01a10 i2c-OVTI01A0:00: failed to check hwcfg: -22
[ 5.631760] ov01a10: probe of i2c-OVTI01A0:00 failed with error -22

Supposed to be fixed in upstream v6.9 commit 5bd4edbbf920 ("ACPI: property: Ignore bad graph port nodes on Dell XPS 9315").
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CRDA: N/A
CasperMD5CheckResult: pass
DistributionChannelDescriptor:
 # This is the distribution channel descriptor for the OEM CDs
 # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
 canonical-oem-somerville-jammy-amd64-20220425-25+jellyfish-edge-alloem-init+X34
DistroRelease: Ubuntu 22.04
InstallationDate: Installed on 2023-10-23 (245 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - somerville-jammy-amd64-20220425-25
IwConfig:
 lo no wireless extensions.

 enxa0cec8d68afe no wireless extensions.
MachineType: Dell Inc. XPS 9315
Package: linux-oem-6.8
ProcFB: 0 EFI VGA
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.5.0-9024-oem root=UUID=739f24ca-e488-4c9b-86e1-73d3ab581bcb ro nomodeset automatic-oem-config quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 6.5.0-9024.25+exp.46-oem 6.5.13
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-6.5.0-9024-oem N/A
 linux-backports-modules-6.5.0-9024-oem N/A
 linux-firmware 20220329.git681281e4-0ubuntu3.31
RfKill:
 0: hci0: Bluetooth
  Soft blocked: no
  Hard blocked: no
Tags: jammy
Uname: Linux 6.5.0-9024-oem x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: True
dmi.bios.date: 06/12/2023
dmi.bios.release: 1.12
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.12.0
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr1.12.0:bd06/12/2023:br1.12:svnDellInc.:pnXPS9315:pvr:rvnDellInc.:rn:rvr:cvnDellInc.:ct10:cvr:sku0B14:
dmi.product.family: XPS
dmi.product.name: XPS 9315
dmi.product.sku: 0B14
dmi.sys.vendor: Dell Inc.

Revision history for this message
You-Sheng Yang (vicamo) wrote : AlsaInfo.txt

apport information

no longer affects: ipu6-drivers (Ubuntu)
description: updated
Changed in linux (Ubuntu Oracular):
status: New → Fix Released
Changed in linux-oem-6.8 (Ubuntu Oracular):
status: New → Invalid
Changed in linux-oem-6.8 (Ubuntu Noble):
status: New → In Progress
Changed in linux (Ubuntu Noble):
status: New → In Progress
importance: Undecided → High
assignee: nobody → You-Sheng Yang (vicamo)
Changed in linux-oem-6.8 (Ubuntu Noble):
importance: Undecided → High
assignee: nobody → You-Sheng Yang (vicamo)
tags: added: apport-collected jammy
description: updated
Revision history for this message
You-Sheng Yang (vicamo) wrote : CurrentDmesg.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : Lspci.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : Lspci-vt.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : Lsusb.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : Lsusb-t.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : Lsusb-v.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : PaInfo.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : ProcEnviron.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : ProcInterrupts.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : ProcModules.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : UdevDb.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : WifiSyslog.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote : acpidump.txt

apport information

Revision history for this message
You-Sheng Yang (vicamo) wrote :
description: updated
Revision history for this message
You-Sheng Yang (vicamo) wrote :

ipu6-drivers SRU is in progress in https://bugs.launchpad.net/bugs/2067364

no longer affects: linux-oem-6.8 (Ubuntu)
no longer affects: linux-oem-6.8 (Ubuntu Noble)
no longer affects: linux-oem-6.8 (Ubuntu Oracular)
Changed in ipu6-drivers (Ubuntu Jammy):
status: New → Invalid
Changed in ipu6-drivers (Ubuntu Noble):
assignee: nobody → You-Sheng Yang (vicamo)
importance: Undecided → High
status: New → In Progress
Changed in ipu6-drivers (Ubuntu Oracular):
assignee: nobody → You-Sheng Yang (vicamo)
importance: Undecided → High
status: New → In Progress
Changed in linux (Ubuntu Jammy):
status: New → Invalid
Changed in linux-oem-6.10 (Ubuntu Oracular):
status: New → Invalid
Changed in linux-oem-6.5 (Ubuntu Oracular):
status: New → Invalid
Changed in linux-oem-6.5 (Ubuntu Noble):
status: New → Invalid
Changed in linux-oem-6.10 (Ubuntu Jammy):
status: New → Invalid
You-Sheng Yang (vicamo)
no longer affects: linux-oem-6.5 (Ubuntu Oracular)
no longer affects: ipu6-drivers (Ubuntu Oracular)
no longer affects: linux-oem-6.10 (Ubuntu Oracular)
no longer affects: linux-oem-6.5 (Ubuntu Noble)
no longer affects: linux-oem-6.10 (Ubuntu Noble)
no longer affects: linux (Ubuntu Oracular)
no longer affects: linux (Ubuntu Noble)
no longer affects: ipu6-drivers (Ubuntu Noble)
Changed in ipu6-drivers (Ubuntu Noble):
assignee: nobody → You-Sheng Yang (vicamo)
importance: Undecided → High
status: New → In Progress
Revision history for this message
You-Sheng Yang (vicamo) wrote :

linux/oracular is still at 6.8.

Changed in linux (Ubuntu Noble):
assignee: nobody → You-Sheng Yang (vicamo)
importance: Undecided → High
status: New → In Progress
Changed in linux (Ubuntu Oracular):
status: Fix Released → Triaged
Changed in linux-oem-6.10 (Ubuntu Noble):
assignee: nobody → You-Sheng Yang (vicamo)
importance: Undecided → High
status: New → In Progress
Changed in linux-oem-6.5 (Ubuntu Jammy):
assignee: nobody → You-Sheng Yang (vicamo)
importance: Undecided → High
status: New → In Progress
Changed in linux-oem-6.5 (Ubuntu Noble):
status: New → Invalid
Changed in linux-oem-6.8 (Ubuntu Jammy):
status: New → Invalid
Changed in linux-oem-6.8 (Ubuntu Noble):
assignee: nobody → You-Sheng Yang (vicamo)
importance: Undecided → High
status: New → In Progress
Changed in linux-oem-6.8 (Ubuntu Oracular):
status: New → Invalid
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ipu6-drivers - 0~git202406240945.aecec2aa-0ubuntu1

---------------
ipu6-drivers (0~git202406240945.aecec2aa-0ubuntu1) oracular; urgency=medium

  [ You-Sheng Yang ]
  * upstream Release_20240624 release (LP: #2067364)
  * UBUNTU: SAUCE: [IPU6] skip hwcfg checking for platforms with none/broken
    graph port nodes (LP: #2070251)
  * UBUNTU: SAUCE: media: ipu6: Fix compilation with kernels >= 6.10
  * ov08x40: add back driver source (LP: #2060101)

 -- You-Sheng Yang <email address hidden> Mon, 24 Jun 2024 22:01:05 +0800

Changed in ipu6-drivers (Ubuntu Oracular):
status: In Progress → Fix Released
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

too late for oem-6.5, let's focus on noble: linux/hwe-6.8

Changed in linux-oem-6.5 (Ubuntu Jammy):
status: In Progress → Won't Fix
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello You-Sheng, or anyone else affected,

Accepted ipu6-drivers into noble-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ipu6-drivers/0~git202406240945.aecec2aa-0ubuntu1~22.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-noble to verification-done-noble. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-noble. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in ipu6-drivers (Ubuntu Noble):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-noble
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

oem-6.5 doesn't actually need these

Changed in linux-oem-6.5 (Ubuntu Jammy):
status: Won't Fix → Invalid
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Hello You-Sheng, or anyone else affected,

Accepted ipu6-drivers into noble-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ipu6-drivers/0~git202406240945.aecec2aa-0ubuntu1~24.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-noble to verification-done-noble. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-noble. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

LEE KUAN-YING (kyyc0426)
Changed in linux-oem-6.8 (Ubuntu Noble):
status: In Progress → Fix Committed
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-oem-6.8/6.8.0-1008.8 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-noble-linux-oem-6.8' to 'verification-done-noble-linux-oem-6.8'. If the problem still exists, change the tag 'verification-needed-noble-linux-oem-6.8' to 'verification-failed-noble-linux-oem-6.8'.

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-noble-linux-oem-6.8-v2 verification-needed-noble-linux-oem-6.8
Stefan Bader (smb)
Changed in linux (Ubuntu Noble):
status: In Progress → Fix Committed
importance: High → Medium
Revision history for this message
You-Sheng Yang (vicamo) wrote :

Verified linux-oem-6.8/noble-proposed version 6.8.0-1008.8 and linux-oem-6.5/jammy-proposed version 6.5.0-1026.27 that were built against ipu6-drivers/noble-proposed version 0~git202406240945.aecec2aa-0ubuntu1~24.04.1 on the platform with ov08x40 camera sensor.

tags: added: verification-done verification-done-noble verification-done-noble-linux-oem-6.8
removed: verification-needed verification-needed-noble verification-needed-noble-linux-oem-6.8
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ipu6-drivers - 0~git202406240945.aecec2aa-0ubuntu1~24.04.1

---------------
ipu6-drivers (0~git202406240945.aecec2aa-0ubuntu1~24.04.1) noble; urgency=medium

  [ You-Sheng Yang ]
  * upstream Release_20240624 release (LP: #2067364)
  * UBUNTU: SAUCE: [IPU6] skip hwcfg checking for platforms with none/broken
    graph port nodes (LP: #2070251)
  * UBUNTU: SAUCE: media: ipu6: Fix compilation with kernels >= 6.10
  * ov08x40: add back driver source (LP: #2060101)

 -- You-Sheng Yang <email address hidden> Mon, 24 Jun 2024 22:01:05 +0800

Changed in ipu6-drivers (Ubuntu Noble):
status: Fix Committed → Fix Released
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Update Released

The verification of the Stable Release Update for ipu6-drivers has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (51.8 KiB)

This bug was fixed in the package linux-oem-6.8 - 6.8.0-1008.8

---------------
linux-oem-6.8 (6.8.0-1008.8) noble; urgency=medium

  * noble/linux-oem-6.8: 6.8.0-1008.8 -proposed tracker (LP: #2068307)

  * failed to enable IPU6 camera sensor on kernel >= 6.8: ivsc_ace
    intel_vsc-5db76cf6-0a68-4ed6-9b78-0361635e2447: switch camera to host
    failed: -110 (LP: #2067364)
    - mei: vsc: Don't stop/restart mei device during system suspend/resume
    - SAUCE: media: ivsc: csi: don't count privacy on as error
    - SAUCE: media: ivsc: csi: add separate lock for v4l2 control handler
    - SAUCE: media: ivsc: csi: remove privacy status in struct mei_csi
    - SAUCE: mei: vsc: Enhance IVSC chipset stability during warm reboot
    - SAUCE: mei: vsc: Enhance SPI transfer of IVSC rom
    - SAUCE: mei: vsc: Utilize the appropriate byte order swap function
    - SAUCE: mei: vsc: Prevent timeout error with added delay post-firmware
      download

  * failed to probe camera sensor on Dell XPS 9315: ov01a10 i2c-OVTI01A0:00:
    failed to check hwcfg: -22 (LP: #2070251)
    - ACPI: utils: Make acpi_handle_path() not static
    - ACPI: property: Ignore bad graph port nodes on Dell XPS 9315
    - ACPI: property: Polish ignoring bad data nodes
    - ACPI: scan: Ignore camera graph port nodes on all Dell Tiger, Alder and
      Raptor Lake models

  * Packaging resync (LP: #1786013)
    - debian.oem/dkms-versions -- manual update for ipu6

  [ Ubuntu: 6.8.0-38.38 ]

  * noble/linux: 6.8.0-38.38 -proposed tracker (LP: #2068318)
  * race_sched in ubuntu_stress_smoke_test will cause kernel panic on 6.8 with
    Azure Standard_A2_v2 instance (LP: #2068024)
    - sched/eevdf: Prevent vlag from going out of bounds in reweight_eevdf()
  * Noble: btrfs: re-introduce 'norecovery' mount option (LP: #2068591)
    - btrfs: re-introduce 'norecovery' mount option
  * Fix system hang while entering suspend with AMD Navi3x graphics
    (LP: #2063417)
    - drm/amdgpu/mes: fix use-after-free issue
  * Noble update: v6.8.8 upstream stable release (LP: #2068087)
    - io_uring: Fix io_cqring_wait() not restoring sigmask on get_timespec64()
      failure
    - drm/i915/cdclk: Fix voltage_level programming edge case
    - Revert "vmgenid: emit uevent when VMGENID updates"
    - SUNRPC: Fix rpcgss_context trace event acceptor field
    - selftests/ftrace: Limit length in subsystem-enable tests
    - random: handle creditable entropy from atomic process context
    - scsi: core: Fix handling of SCMD_FAIL_IF_RECOVERING
    - net: usb: ax88179_178a: avoid writing the mac address before first reading
    - btrfs: do not wait for short bulk allocation
    - btrfs: zoned: do not flag ZEROOUT on non-dirty extent buffer
    - r8169: fix LED-related deadlock on module removal
    - r8169: add missing conditional compiling for call to r8169_remove_leds
    - scsi: ufs: qcom: Add missing interconnect bandwidth values for Gear 5
    - netfilter: nf_tables: Fix potential data-race in __nft_expr_type_get()
    - netfilter: nf_tables: Fix potential data-race in __nft_obj_type_get()
    - netfilter: br_netfilter: skip conntrack input hook for promisc packets
    - netfilter: nft_set_pipapo: cons...

Changed in linux-oem-6.8 (Ubuntu Noble):
status: Fix Committed → 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.