Failed to enable camera on Dell XPS 9320: ov01a10 i2c-OVTI01A0:00: failed to check hwcfg: -22
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
ipu6-drivers (Ubuntu) | Status tracked in Oracular | |||||
Noble |
Fix Committed
|
High
|
You-Sheng Yang | |||
Oracular |
Fix Released
|
High
|
You-Sheng Yang |
Bug Description
[SRU Justfication]
[Impact]
Device camera won't work. dmesg has:
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]
For kernels >= 6.8, there are ACPI fixes for MIPI DisCo image in the BIOS, but for older kernels, this has to be worked around by skipping hwcfg checks. The affected device is not in the matching list, so an additional entry to ov01a10 camera sensor driver is required.
[Test Case]
dmesg should no longer have error messages from ov01a10. Instead:
intel-ipu6-isys intel-ipu6-isys0: bind ov01a10 18-0036 nlanes is 1 port is 2
intel-ipu6-isys intel-ipu6-isys0: All sensor registration completed.
[Where problems could occur]
No.
[Other Info]
While this happens to ipu6-drivers/
========== original bug report ==========
```
$ sudo dmesg|grep ov0
[ 5.500462] ov01a10 i2c-OVTI01A0:00: can't get clock frequency
[ 5.500466] ov01a10 i2c-OVTI01A0:00: failed to check hwcfg: -22
[ 5.500578] ov01a10: probe of i2c-OVTI01A0:00 failed with error -22
$ sudo dmidecode
...
System Information
Product Name: XPS 9320
...
```
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CasperMD5json:
{
"result": "skip"
}
DistributionCha
# This is the distribution channel descriptor for the OEM CDs
# For more information see http://
canonical-
DistroRelease: Ubuntu 22.04
InstallationDate: Installed on 2024-07-05 (12 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - somerville-
MachineType: Dell Inc. XPS 9320
Package: ipu6-drivers (not installed)
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageV
linux-
linux-
linux-firmware 20220329.
Tags: jammy
Uname: Linux 6.5.0-1026-oem x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: True
dmi.bios.date: 02/02/2023
dmi.bios.release: 1.0
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.0.0
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.ec.
dmi.modalias: dmi:bvnDellInc.
dmi.product.family: XPS
dmi.product.name: XPS 9320
dmi.product.sku: 0C10
dmi.sys.vendor: Dell Inc.
Changed in ipu6-drivers (Ubuntu Noble): | |
status: | New → In Progress |
Changed in ipu6-drivers (Ubuntu Oracular): | |
status: | New → In Progress |
Changed in ipu6-drivers (Ubuntu Noble): | |
importance: | Undecided → High |
Changed in ipu6-drivers (Ubuntu Oracular): | |
importance: | Undecided → High |
Changed in ipu6-drivers (Ubuntu Noble): | |
assignee: | nobody → You-Sheng Yang (vicamo) |
Changed in ipu6-drivers (Ubuntu Oracular): | |
assignee: | nobody → You-Sheng Yang (vicamo) |
apport information