Fedora Account System
Red Hat Associate
Red Hat Customer
1. Please describe the problem: I have been advised to report this as a bug from Ask Fedora. This is the first time that I have reported a bug so please let me know if you need any more information. The front and back ipu3 cameras have been working on my surface go tablet for the last few years using the standard Fedora kernel. Following the last dnf upgrade, I get the message “no cameras found” in gnome camera and libcamera also fails to show and cameras in the terminal. If I boot from the previous 6.18 kernel the cameras start working again. lsmod shows the cameras are still detected by the 6.19 kernel. Not sure if this is related but when I first updated to Fedora 43, the front and back cameras both produced an image. Recently, the front camera produces an image as soon as I open Gnome Camera but the rear camera only shows a green image until I restart pipewire, the rear image is then shown normally. 2. What is the Version-Release number of the kernel: 6.19.7-200.fc43.x86_64 3. Did it work previously in Fedora? If so, what kernel version did the issue *first* appear? Old kernels are available for download at https://koji.fedoraproject.org/koji/packageinfo?packageID=8 : Yes. Works with Linux fedora 6.18.16-200.fc43.x86_64 4. Can you reproduce this issue? If so, please provide the steps to reproduce the issue below: 5. Does this problem occur with the latest Rawhide kernel? To install the Rawhide kernel, run ``sudo dnf install fedora-repos-rawhide`` followed by ``sudo dnf update --enablerepo=rawhide kernel``: 6. Are you running any modules that not shipped with directly Fedora's kernel?: no 7. Please attach the kernel logs. You can get the complete kernel log for a boot with ``journalctl --no-hostname -k > dmesg.txt``. If the issue occurred on a previous boot, use the journalctl ``-b`` flag.
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.