intel / ipu7-drivers

GNU General Public License v2.0
1 stars 4 forks source link

Can't make work on Lunar Lake 2024 MSI Prestige 13 AI+ Evo A2VM #17

Open gregoiregentil opened 1 week ago

gregoiregentil commented 1 week ago

I have a compiled 6.12 kernel with those ipu7 drivers. dmesg reports:

[    2.895073] intel-ipu7 intel-ipu7: enabling device (0000 -> 0002)
[    2.895087] intel-ipu7 intel-ipu7: Device 0x645d (rev: 0x4)
[    2.895089] intel-ipu7 intel-ipu7: IPU7 PCI BAR0 base 3014000000 BAR2 base 3016336000
[    2.895135] intel-ipu7 intel-ipu7: IPU7 PCI BAR0 mapped at 00000000ff183e45
[    2.896059] intel-ipu7 intel-ipu7: IPU7 SKU 0 in secure mode mask 0x0
[    2.909991] intel-ipu7 intel-ipu7: firmware cpd file: intel/ipu/ipu7_fw.bin
[    2.922321] intel-ipu7 intel-ipu7: FW binary0 info:
[    2.922324] intel-ipu7 intel-ipu7: Name:  psys
[    2.922325] intel-ipu7 intel-ipu7: Version:  1.1.9.240627135220
[    2.922325] intel-ipu7 intel-ipu7: Timestamp:  build_id:331942702
[    2.922326] intel-ipu7 intel-ipu7: Commit:  commit_id:d84f5c35
[    2.922327] intel-ipu7 intel-ipu7: FW binary1 info:
[    2.922327] intel-ipu7 intel-ipu7: Name:  isys
[    2.922328] intel-ipu7 intel-ipu7: Version:  1.1.9.240627135318
[    2.922328] intel-ipu7 intel-ipu7: Timestamp:  build_id:3823931988
[    2.922329] intel-ipu7 intel-ipu7: Commit:  commit_id:d84f5c35
[    2.924864] intel-ipu7 intel-ipu7: PB interrupt status 0x0 local 0x1
[    2.924868] intel-ipu7 intel-ipu7: Details: 0 0 0 0 0 0 0 0
[    2.926040] intel-ipu7 intel-ipu7: Sending BOOT_LOAD to CSE
[    2.926087] intel-ipu7 intel-ipu7: PB interrupt status 0x0 local 0x1
[    2.926090] intel-ipu7 intel-ipu7: Details: 0 0 0 0 0 0 0 0
[    2.926363] intel-ipu7 intel-ipu7: PB interrupt status 0x0 local 0x1
[    2.926366] intel-ipu7 intel-ipu7: Details: 0 0 0 0 0 0 0 0
[    2.984374] intel-ipu7 intel-ipu7: PB interrupt status 0x0 local 0x1
[    2.984378] intel-ipu7 intel-ipu7: Details: 0 0 0 0 0 0 0 0
[    2.987712] intel-ipu7 intel-ipu7: Sending AUTHENTICATE_RUN to CSE
[    2.987756] intel-ipu7 intel-ipu7: PB interrupt status 0x0 local 0x1
[    2.987760] intel-ipu7 intel-ipu7: Details: 0 0 0 0 0 0 0 0
[    2.987788] intel-ipu7 intel-ipu7: PB interrupt status 0x0 local 0x1
[    2.987791] intel-ipu7 intel-ipu7: Details: 0 0 0 0 0 0 0 0
[    3.019170] intel-ipu7 intel-ipu7: PB interrupt status 0x0 local 0x1
[    3.019175] intel-ipu7 intel-ipu7: Details: 0 0 0 0 0 0 0 0
[    3.019183] intel-ipu7 intel-ipu7: CSE authenticate_run done
[    3.148889] intel-ipu7 intel-ipu7: no subdev found in graph
[    3.174956] intel_ipu7_psys.psys intel_ipu7.psys.40: psys probe minor: 0

I have installed ipu7-camera-bins and compiled ipu7-camera-hal. But nothing works in userspace. /dev/video* are present. But guvcview fails.

I'm not convinced if I have the right sensor compiled for my laptop but I don't know which sensor is included in this laptop. Is there a way to get the sensor name somewhere from the ipu7 kernel-space or user-space framework?

If the sensor driver is not compiled, would intel-ipu7 still load? I don't have Windows anymore so I can't check there.

gregoiregentil commented 1 week ago

The Windows camera driver installation has both ov5675.sys and hm1092.sys files. In my 6.12 kernel, ov5675 is compiled, loaded and used by v4l2_fwnode (as well as intel_ipu7_isys).

That still doesn't fix my issue!