Bug 2447694
| Summary: | Regression Ipu3 cameras not working after upgrade to kernel 6.19 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Michael Anthony <manthony.nw> | ||||
| Component: | kernel | Assignee: | Justin M. Forbes <jforbes> | ||||
| Status: | CLOSED COMPLETED | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 43 | CC: | acaringi, adscvr, airlied, eric.lemoussu+bugzilla, hans, hpa, jforbes, kernel-maint, linville, masami256, mchehab, midhig, nickolasjcarr, ptalbert, robin.a.meade, sjmac2000, steved, suraj.ghimire7, xperia.782980292 | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | --- | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2026-11-11 17:20:48 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Michael Anthony
2026-03-15 10:54:37 UTC
Created attachment 2133509 [details]
boot log
I think this issue may have been caused by a change to the kernel:- media: ipu3-imgu: Drop struct imgu_device v4l2_file_ops field Commit: a66191c590b3b58eaff05d2277971f854772bd5b But I am not sure how to verify this. Thanks for confirming this, I experienced the same on my Surface Go 2 with same kernel versions. Tried 7.0 rc5 with no luck, only 6.18.16 have working camera. I reported to the Linux kernel and have received this reply but don't know how to test
Subject: [PATCH 1/1] media: dw9719: Add back the I²C device id table
The I²C device id table is necessary as the device may be, besides through
system firmware, also instantiated in the IPU bridge so matching takes
place using the I²C device id table. Add back the table, with ids for all
supported devices.
drivers/media/i2c/dw9719.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/drivers/media/i2c/dw9719.c b/drivers/media/i2c/dw9719.c
index 59558335989e..3b7ba88fd67c 100644
--- a/drivers/media/i2c/dw9719.c
+++ b/drivers/media/i2c/dw9719.c
@@ -439,6 +439,15 @@ static void dw9719_remove(struct i2c_client *client)
pm_runtime_set_suspended(&client->dev);
}
+static const struct i2c_device_id dw9719_id_table[] = {
+ { .name = "dw9718s", .driver_data = (kernel_ulong_t)DW9718S },
+ { .name = "dw9719", .driver_data = (kernel_ulong_t)DW9719 },
+ { .name = "dw9761", .driver_data = (kernel_ulong_t)DW9761 },
+ { .name = "dw9800k", .driver_data = (kernel_ulong_t)DW9800K },
+ { }
+};
+MODULE_DEVICE_TABLE(i2c, dw9719_id_table);
+
static const struct of_device_id dw9719_of_table[] = {
{ .compatible = "dongwoon,dw9718s", .data = (const void *)DW9718S },
{ .compatible = "dongwoon,dw9719", .data = (const void *)DW9719 },
@@ -459,6 +468,7 @@ static struct i2c_driver dw9719_i2c_driver = {
},
.probe = dw9719_probe,
.remove = dw9719_remove,
+ .id_table = dw9719_id_table,
};
module_i2c_driver(dw9719_i2c_driver);
--
2.47.3
Thank you for reporting this here and upstream. I've started a Fedora test kernel build with the dw9719 patch you got from Sakari applied to it: https://koji.fedoraproject.org/koji/taskinfo?taskID=143771571 Note this is still building atm, it should be done in a couple of hours. See here for instructions to install a (test) kernel build directly from koji (Fedora's buildsystem): https://fedorapeople.org/~jwrdegoede/kernel-test-instructions.txt Please give this kernel a test and let Sakari know if the suggested fix works, then Sakari can take that fix upstream. Thanks for your help Hans. I have installed the kernel following your instructions and can confirm that it resolved the issue. I have replied to the original email from Sakari to confirm the suggested fix is working for me. I have Fedora running on my Microsoft Surface Book 1. My first install was release 42 and the camera did work with the stock fedora kernel. I opened the gnome camera and the front bezel camera image was displayed. I noticed that the camera was not working while I was using release 43. I've updated to f44 this week, and the repo kernels (currently 7.0.8-200.fc44.x86_64) still do not allow the camera to be recognised in, for example, the gnome camera app which shows the message "No camera is available". I have followed these instructions to recompile the kernel with the patch given above: https://docs.fedoraproject.org/en-US/quick-docs/kernel-build-custom/ fedpkg local --with baseonly sudo dnf install x86_64/kernel-7.0.8*.rpm x86_64/kernel-core-7.0.8*.rpm x86_64/kernel-modules-7.0.8*.rpm x86_64/kernel-modules-core-7.0.8*.rpm The patch needed to be regenerated to account for new line numbers. With the patch applied to the fedora 7.0.8 kernel the front camera works again as it did in f42. (The rear camera shows only a green screen if I select it in the camera app, but I can't remember if this worked before). I do not see any further discussion about taking this back into the mainline kernel: https://linux-commits-search.typesense.org/?commits%5Bquery%5D=dw9719%20device%20id%20table Is there any update on getting the dw9719 fix formally submitted to the linux-media mailing list? It's been a few months since the patch was tested and confirmed working (see comment 6), but I can't find it posted upstream under a patch subject/thread on lore.kernel.org, so it doesn't seem to have entered the normal review/merge process yet. Would it be possible for someone to submit it formally so it can be reviewed and merged? Happy to test again if a new version is needed. Thanks for all the work on this so far! The fix has been merged into kernel 7.2rc. It was too late for version 7.1. I've used the Software application to update my fedora v44 and I now have the front bezel camera available and showing a picture on my Surface Book 1 with fedora kernel 7.1.8-200.fc44.x86_64 #1 SMP PREEMPT_DYNAMIC (In reply to busywait from comment #10) > I've used the Software application to update my fedora v44 and I now have > the front bezel camera available and showing a picture on my Surface Book 1 > with fedora kernel 7.1.8-200.fc44.x86_64 #1 SMP PREEMPT_DYNAMIC Same for me here. Back camera only shows green panel. This message is a reminder that Fedora Linux 43 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 43 on 2026-12-02. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '43'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see it. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 43 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed. |