[Bug 2137700] Re: migrate to in-tree ov08x40 camera sensor driver
You-Sheng Yang
2137700 at bugs.launchpad.net
Mon Jan 12 08:04:56 UTC 2026
** Description changed:
- OV08X40 was added as a fork from v6.9 because some of its
- settings/features are either not available in the upstream kernel
+ [ SRU Justification ]
+
+ [ Impact ]
+
+ usbio-drivers >= upstream WW44.4_25_ptl_pv tag release breaks ov08x40
+ driver in ipu6-drivers.
+
+ ov08x40 i2c-OVTI08F4:00: Failed regs transferred: -22
+ ov08x40 i2c-OVTI08F4:00: ov08x40_start_streaming failed to set regs
+ ov08x40 i2c-OVTI08F4:00: Failed regs transferred: -22
+ ov08x40 i2c-OVTI08F4:00: ov08x40_start_streaming failed to set regs
+
+ The upstream (>= v6.16) 0v08x40 driver should be used instead.
+
+ [ Test Plan ]
+
+ 1. Install intel-ipu6-dkms from -proposed pocket. This should automatically build the corresponding drivers of the present running kernel. If not, do:
+ ```
+ $ sudo dkms install --force ipu6-drivers/0~git202511120800.9766e218 -k $(uname -r)
+ ```
+
+ 2. Reboot to same kernel. The error messages for ov08x40 should
+ disappear, and camera video streaming should become working again.
+
+ [ Where problems could occur ]
+
+ This builds in-tree kernel driver instead.
+
+ [ Other Info ]
+
+ While we still need a patch from v6.18, which is also being backported
+ in bug 2116170, for kernels >= v6.18, ipu6-drivers will not install its
+ own build of ov08x40 driver; otherwise, the ov08x40 is built and
+ installed.
+
+ ========== original bug report ==========
+
+ OV08X40 in ipu6-drivers was added as a fork from v6.9 because some of
+ its settings/features are either not available in the upstream kernel
driver, or conflicting with general uses in other embedded systems. This
forked driver than receive updates many times and finally in bug 2134604
we should be able to use the in-tree driver with the latest usbio-
drivers updates.
Note, when using the usbio-drivers >= WW44.4_25_ptl_pv, which maps to
Ubuntu version 0~git202510282139.ee221eca-0ubuntu1, the in-tree ov08x40
should be used. And when the in-tree ov08x40 is in use, the usbio-
drivers version must also be >= WW44.4_25_ptl_pv. That's because the
previous hacks for bug 2084059, 2/4 lanes support at 1500 Mbps,
conflicts with the latest usbio-drivers, leaving following error
messages in dmesg:
- ov08x40 i2c-OVTI08F4:00: Failed regs transferred: -22
- ov08x40 i2c-OVTI08F4:00: ov08x40_start_streaming failed to set regs
- ov08x40 i2c-OVTI08F4:00: Failed regs transferred: -22
- ov08x40 i2c-OVTI08F4:00: ov08x40_start_streaming failed to set regs
+ ov08x40 i2c-OVTI08F4:00: Failed regs transferred: -22
+ ov08x40 i2c-OVTI08F4:00: ov08x40_start_streaming failed to set regs
+ ov08x40 i2c-OVTI08F4:00: Failed regs transferred: -22
+ ov08x40 i2c-OVTI08F4:00: ov08x40_start_streaming failed to set regs
This is a follow-up for bug 2134604.
--
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2137700
Title:
migrate to in-tree ov08x40 camera sensor driver
Status in ipu6-drivers package in Ubuntu:
In Progress
Status in ipu6-drivers source package in Resolute:
In Progress
Bug description:
[ SRU Justification ]
[ Impact ]
usbio-drivers >= upstream WW44.4_25_ptl_pv tag release breaks ov08x40
driver in ipu6-drivers.
ov08x40 i2c-OVTI08F4:00: Failed regs transferred: -22
ov08x40 i2c-OVTI08F4:00: ov08x40_start_streaming failed to set regs
ov08x40 i2c-OVTI08F4:00: Failed regs transferred: -22
ov08x40 i2c-OVTI08F4:00: ov08x40_start_streaming failed to set regs
The upstream (>= v6.16) 0v08x40 driver should be used instead.
[ Test Plan ]
1. Install intel-ipu6-dkms from -proposed pocket. This should automatically build the corresponding drivers of the present running kernel. If not, do:
```
$ sudo dkms install --force ipu6-drivers/0~git202511120800.9766e218 -k $(uname -r)
```
2. Reboot to same kernel. The error messages for ov08x40 should
disappear, and camera video streaming should become working again.
[ Where problems could occur ]
This builds in-tree kernel driver instead.
[ Other Info ]
While we still need a patch from v6.18, which is also being backported
in bug 2116170, for kernels >= v6.18, ipu6-drivers will not install
its own build of ov08x40 driver; otherwise, the ov08x40 is built and
installed.
========== original bug report ==========
OV08X40 in ipu6-drivers was added as a fork from v6.9 because some of
its settings/features are either not available in the upstream kernel
driver, or conflicting with general uses in other embedded systems.
This forked driver than receive updates many times and finally in bug
2134604 we should be able to use the in-tree driver with the latest
usbio-drivers updates.
Note, when using the usbio-drivers >= WW44.4_25_ptl_pv, which maps to
Ubuntu version 0~git202510282139.ee221eca-0ubuntu1, the in-tree
ov08x40 should be used. And when the in-tree ov08x40 is in use, the
usbio-drivers version must also be >= WW44.4_25_ptl_pv. That's because
the previous hacks for bug 2084059, 2/4 lanes support at 1500 Mbps,
conflicts with the latest usbio-drivers, leaving following error
messages in dmesg:
ov08x40 i2c-OVTI08F4:00: Failed regs transferred: -22
ov08x40 i2c-OVTI08F4:00: ov08x40_start_streaming failed to set regs
ov08x40 i2c-OVTI08F4:00: Failed regs transferred: -22
ov08x40 i2c-OVTI08F4:00: ov08x40_start_streaming failed to set regs
This is a follow-up for bug 2134604.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ipu6-drivers/+bug/2137700/+subscriptions
More information about the Ubuntu-sponsors
mailing list