Closed gaul closed 1 year ago
Ok, lets see if we can get to the bottom of this.
dmesg > dmesg.txt
lsmod > lsmod.txt
rpm -qa | grep ipu6 > ipu6-rpms.txt
ls -l /sys/bus/i2c/devices > i2c-devices.txt
ls -l /dev/video* > video-devices.txt
And then attach the generated dmesg.txt
, lsmod.txt
, ipu6-rpms.txt
, i2c-devices.txt
and video-devices.txt
files here.
sudo systemctl stop v4l2-relayd.service
gst-launch-1.0 icamerasrc buffer-count=7 ! video/x-raw,format=NV12,width=1280,height=720 ! videoconvert ! xvimagesink
After this please:
2.1 copy and paste the output of the gst-launch-1.0
command in a comment here
2.2 run dmesg > dmesg2.txt
and attach the generated dmesg2.txt
file here
2.3 Add a note here if the camera worked with the gst-launch-1.0
command (or not) ?
I attached the requested output:
dmesg.txt dmesg2.txt i2c-devices.txt ipu6-rpms.txt lsmod.txt video-devices.txt
Critically there do not appear to be any video devices:
ls: cannot access '/dev/video*': No such file or directory
The gstlaunch command also fails due to this:
$ gst-launch-1.0 icamerasrc buffer-count=7 ! video/x-raw,format=NV12,width=1280,height=720 ! videoconvert ! xvimagesink
Setting pipeline to PAUSED ...
[08-23 07:45:42.92] CamHAL[INF] aiqb file name ov13b10.aiqb
[08-23 07:45:42.92] CamHAL[ERR] there is no aiqb file:ov13b10
[08-23 07:45:42.92] CamHAL[INF] aiqb file name ov13b10.aiqb
[08-23 07:45:42.92] CamHAL[ERR] there is no aiqb file:ov13b10
[08-23 07:45:42.92] CamHAL[INF] aiqb file name ov8856.aiqb
[08-23 07:45:42.92] CamHAL[ERR] there is no aiqb file:ov8856
[08-23 07:45:42.92] CamHAL[INF] aiqb file name ov8856.aiqb
[08-23 07:45:42.92] CamHAL[ERR] there is no aiqb file:ov8856
[08-23 07:45:42.92] CamHAL[INF] aiqb file name ov01a10.aiqb
[08-23 07:45:42.101] CamHAL[INF] aiqb file name ov01a10.aiqb
[08-23 07:45:42.101] CamHAL[INF] aiqb file name ov01a10.aiqb
[08-23 07:45:42.102] CamHAL[INF] aiqb file name ov01a10.aiqb
[08-23 07:45:42.102] CamHAL[INF] aiqb file name OV02C10_1BG203N3_ADL.aiqb
[08-23 07:45:42.116] CamHAL[INF] aiqb file name OV02C10_1BG203N3_ADL.aiqb
[08-23 07:45:42.116] CamHAL[INF] aiqb file name OV02C10_1SG204N3_ADL.aiqb
[08-23 07:45:42.124] CamHAL[INF] aiqb file name OV02C10_1SG204N3_ADL.aiqb
[08-23 07:45:42.124] CamHAL[INF] aiqb file name OV02C10_CIFME14_ADL.aiqb
[08-23 07:45:42.131] CamHAL[INF] aiqb file name OV02C10_CIFME14_ADL.aiqb
[08-23 07:45:42.132] CamHAL[INF] aiqb file name OV2740_CJFLE23_ADL.aiqb
[08-23 07:45:42.140] CamHAL[INF] aiqb file name OV2740_CJFLE23_ADL.aiqb
[08-23 07:45:42.140] CamHAL[INF] aiqb file name HM2170_1SG205N3_ADL.aiqb
[08-23 07:45:42.148] CamHAL[INF] aiqb file name HM2170_1SG205N3_ADL.aiqb
[08-23 07:45:42.148] CamHAL[INF] aiqb file name HM2170_CJFME18_ADL.aiqb
[08-23 07:45:42.156] CamHAL[INF] aiqb file name HM2170_CJFME18_ADL.aiqb
[08-23 07:45:42.156] CamHAL[INF] aiqb file name HI556_1BG502T3_ADL.aiqb
[08-23 07:45:42.165] CamHAL[INF] aiqb file name HI556_1BG502T3_ADL.aiqb
[08-23 07:45:42.165] CamHAL[INF] aiqb file name HI556_CJFLE25_ADL.aiqb
[08-23 07:45:42.172] CamHAL[INF] aiqb file name HI556_CJFLE25_ADL.aiqb
[08-23 07:45:42.172] CamHAL[INF] aiqb file name ov01a1s.aiqb
[08-23 07:45:42.180] CamHAL[INF] aiqb file name ov01a1s.aiqb
[08-23 07:45:42.180] CamHAL[ERR] Failed to find DevName for cameraId: 0, get video node: ov13b10 , devname: /dev/v4l-subdev1
[08-23 07:45:42.188] CamHAL[ERR] MediaControl init failed
Failed to set pipeline to PAUSED.
Setting pipeline to NULL ...
Freeing pipeline ...
I never previously tried to configure the camera -- I only used the blog post instructions. However I tried these a few months ago and they didn't work and have dnf update
d a few times since then.
@gaul, sorry for being a bit slow with getting back to you.
The issue seems to be that you are using secureboot and you have not generated + added a local certificate for signing locally build kernel modules like the IPU6 kernel modules:
[ 5.750066] Loading of module with unavailable key is rejected
[ 5.795896] Loading of module with unavailable key is rejected
etc.
There are ways to fix this:
Please give this a try and let me know if it helps.
I followed the instructions at https://hansdegoede.livejournal.com/27276.html but the camera still does not work on my XPS 9315. @jwrdegoede