-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to find DevName for cameraId: 0 || setup Link ov13b10 [-1:0] ==> Intel IPU6 CSI-2 [-1x0] enable 1 failed #26
Comments
Can you provide more details about your environment first, please? |
Sure thing! Sorry for not doing that right away... HardwareDell XPS 13 9320 (Alder Lake)
SoftwareOS: Fedora 36 Built and installed from git revisions:
Kernel modules:
|
Sorry, I don't even have a good idea about my sensor/type, let alone how to add a new config file. The |
The relevant part of
|
Hello, did you ever get this fixed ? I'm in a same situation. The touchpad of my xps 9320 failed, so i now got an identical replacement laptop. I installed ubuntu, just like on the previous one. On the previous one ipu6 worked fine, the new one fails with the error messages as listed here. Completely puzzled why one works and the other one fails, maybe the camera module is of a new hw revision ...
|
No, unfortunately, this
still applies. |
The place to start debugging is to identify the hardware. Here is a useful command that prints out all ACPI IDs except some known generic (and therefore irrelevant) ones:
Please paste its output. |
this is the output here:
the output is identical on the working and non-working xps13 plus. I still have the nonworking one for two weeks before dell picks it up, i'm going to do some more tests to find exactly what is different between the two:
this is the dmesg output for the working system:
this is the dmesg output for the non-working system:
both have userspace 0 is there anything else i could do to dig deeper into why i get the failure on the new machine ? |
My output is here:
|
I get the same fail with DevName for cameraId after building through all the steps. Device: Lenovo X1 Carbon gen 10
What would be my sensor from this list? |
@alesrebec The IR sensor is OV9234 (unsupported), and the RGB sensor is OV2740. |
Thanks for the answer @patrakov |
I have the same ACPI output as @alesrebec. My hw is Lenovo ThinkPad X1 Gen 10, model 21CB007WCK. While trying to get webcam working on Fedora 38 (kernel 6.2.14-300.fc38.x86_64), following SO comment https://askubuntu.com/a/1461869, I'm getting similar error(s) as the author of this issue:
@patrakov does it mean that until IR sensor OV9234 is supported, we won't be able to get RGB working neither ? |
No, it doesn't mean this. |
I have added more debugging into code to figure out what those errors mean.. Here are the findings, but unfortunatelly, no conclusion.
Code is trying to find a device with name $ grep . /sys/class/video4linux/v4l-subdev*/name
/sys/class/video4linux/v4l-subdev0/name:Intel IPU6 CSI-2 0
/sys/class/video4linux/v4l-subdev1/name:Intel IPU6 CSI-2 1
/sys/class/video4linux/v4l-subdev2/name:Intel IPU6 CSI-2 2
/sys/class/video4linux/v4l-subdev3/name:Intel IPU6 CSI-2 3
/sys/class/video4linux/v4l-subdev4/name:Intel IPU6 CSI-2 4
/sys/class/video4linux/v4l-subdev5/name:Intel IPU6 CSI-2 5
/sys/class/video4linux/v4l-subdev6/name:Intel IPU6 CSI-2 6
/sys/class/video4linux/v4l-subdev7/name:Intel IPU6 CSI-2 7
/sys/class/video4linux/v4l-subdev8/name:Intel IPU6 CSI2 BE SOC 0 Those names looks totally different to
It looks to me that code is iterating over the list of formats from this XML: https://github.com/intel/ipu6-camera-hal/blob/main/config/linux/ipu6ep/sensors/ov2740-uf.xml#L20-L22. First two formats map to entity id So, where is the Also, format names in the xml file don't match names in-memory:
I find it suspicious that those two which mapped to -1, also have
Later, the code will iterate over "links", which looks like coming from this XML: https://github.com/intel/ipu6-camera-hal/blob/main/config/linux/ipu6ep/sensors/ov2740-uf.xml#L24-L26. That code will fail here as well, because the links reference entities that were mapped to id |
Hi @zarnovican I'm debugging the same issue as you with ov08x40 driver from a Lenovo X1 Carbon Gen 12 which has ov08x40 and SMO55F0 IR. |
I'm afraind I won't be able to help, @jersteth. I gave up and Instead of following Intel's instructions step-by-step, I used a pre-packaged solution. See Hans de Goede blog series on https://hansdegoede.livejournal.com/. That worked for a while, but I could not get it working again on later Fedora. 😞 There is still some progress on getting IPU6 support to Linux (see FOSDEM 2024 video). I would also suggest to subscribe to intel/ipu6-drivers#22, where people occasionally post updates. |
I experience the same issue on my Dell XPS13 9315 after the following update of my Xubuntu 22.04 on 15.08.2024:
This suggests two potential causes:
Both updates came from Ubuntu's official package source After a rollback of the update above (downgrade back to 6.5.0-45), my webcam is working again. Obviously, this is a temporary workaround only and not a fix. |
This is the output I get when trying to use the
icamerasrc
plugin the way suggested for Alder Lake devices in the README:I have no idea what the problem is or even where to start looking/debugging. I tried checking
ldd /usr/lib64/gstreamer-1.0/libgsticamerasrc.so
and there are no missing libraries. I also tried runninggst-launch-1.0
withstrace
, but I didn't see any obvious error there. 😞The text was updated successfully, but these errors were encountered: