intel / intel/ipu6-drivers

OV2740 camera/webcam sensor on X1 Nano Gen2

Open
#55 20 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
251
Forks
75
PR merge metrics
No merged PRs in 30d

Description

Hi all. Thank you for supporting this hardware on an open source OS. It's beyond appreciated. I've attempted to build your software/DKMS drivers on Arch linux for the Alder Lake IPU6 with the OV2740 sensor. Using the most recently available git packages, I'm unable to load the intel-ipu6-psys and intel-ipu6-isys modules. modprobe for intel-ipu6 itself loads the module and after this I'm able to load the ov2740 module but not with the psys/isys modules.

```
❯ sudo dmesg | grep -i -e 'ipu|mei|ov2|vsc|v4l' | egrep -v audit Tue 18 Oct 2022 12:36:55 PM MDT
egrep: warning: egrep is obsolescent; using grep -E
[ 0.011252] ACPI: SSDT 0x000000008D828000 000150 (v02 LENOVO IpuSsdt 00001000 INTL 20200717)
[ 10.671738] v4l2loopback driver version 0.12.7 loaded
[ 11.812411] mei_me 0000:00:16.0: enabling device (0000 -> 0002)
[ 13.856510] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
[ 13.864941] mei_pxp 0000:00:16.0-fbf6fcf1-96cf-4e2e-a6a6-1bab8cbe36b1: bound 0000:00:02.0 (ops i915_pxp_tee_component_ops [i915])
[ 4543.903121] intel-ipu6 intel-ipu: enabling device (0000 -> 0002)
[ 4543.903288] intel-ipu6 intel-ipu: Device 0x465d (rev: 0x2)
[ 4543.903317] intel-ipu6 intel-ipu: physical base address 0x603c000000
[ 4543.903318] intel-ipu6 intel-ipu: mapped as: 0x00000000abd82859
[ 4543.903365] intel-ipu6 intel-ipu: IPU in secure mode
[ 4543.903366] intel-ipu6 intel-ipu: IPU secure touch = 0x0
[ 4543.903367] intel-ipu6 intel-ipu: IPU camera mask = 0xff
[ 4543.921040] intel-ipu6 intel-ipu: IPC reset done
[ 4543.921042] intel-ipu6 intel-ipu: cpd file name: intel/ipu6ep_fw.bin
[ 4543.922677] intel-ipu6 intel-ipu: FW version: 20220510
[ 4543.922896] RIP: 0010:ipu_pci_probe.cold+0x3fc/0x930 [intel_ipu6]
[ 4543.923008] ipu_init+0x3f/0x1000 [intel_ipu6 cb9a573451b991ba9515d26d3199af1054f2a906]
[ 4543.923070] Modules linked in: intel_ipu6(OE+) videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 videobuf2_common uhid rfcomm cmac algif_hash algif_skcipher af_alg bnep snd_seq_dummy snd_hrtimer snd_seq snd_seq_device bridge stp llc wireguard curve25519_x86_64 libchacha20poly1305 chacha_x86_64 poly1305_x86_64 libcurve25519_generic libchacha ip6_udp_tunnel udp_tunnel uinput snd_ctl_led snd_soc_skl_hda_dsp snd_soc_intel_hda_dsp_common spi_ljca(OE) i2c_ljca(OE) snd_soc_hdac_hdmi snd_sof_probes gpio_ljca(OE) spi_nor snd_soc_dmic joydev mousedev mtd iTCO_wdt intel_pmc_bxt iTCO_vendor_support mei_pxp mei_hdcp mei_wdt pmt_telemetry pmt_class intel_rapl_msr intel_tcc_cooling x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul crc32c_intel polyval_clmulni polyval_generic gf128mul ghash_clmulni_intel aesni_intel crypto_simd cryptd rapl intel_cstate intel_uncore psmouse pcspkr think_lmi firmware_attributes_class wmi_bmof btusb btrtl btbcm btintel
[ 4543.923140] btmtk bluetooth ecdh_generic crc16 ljca(OE) snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_sof_pci_intel_tgl snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda iwlmvm snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils snd_soc_hdac_hda mac80211 snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi soundwire_bus snd_soc_core snd_compress ac97_bus snd_pcm_dmaengine libarc4 snd_hda_intel snd_intel_dspcfg snd_intel_sdw_acpi snd_hda_codec iwlwifi snd_hda_core snd_hwdep snd_pcm cfg80211 spi_intel_pci i2c_i801 spi_intel intel_lpss_pci i2c_smbus snd_timer intel_lpss mei_me idma64 processor_thermal_device_pci processor_thermal_device thunderbolt processor_thermal_rfim ucsi_acpi processor_thermal_mbox typec_ucsi processor_thermal_rapl intel_vsec thinkpad_acpi intel_rapl_common typec igen6_edac roles ledtrig_audio platform_profile rfkill snd mei_vsc(OE) mei soundcore int3403_thermal soc_button_array
[ 4543.923188] int340x_thermal_zone mac_hid ov2740(OE) v4l2_fwnode tpm_crb v4l2_async intel_skl_int3472_tps68470 tps68470_regulator tpm_tis tpm_tis_core clk_tps68470 tpm intel_skl_int3472_discrete intel_hid rng_core sparse_keymap int3400_thermal acpi_thermal_rel acpi_tad acpi_pad vboxnetflt(OE) vboxnetadp(OE) vboxdrv(OE) v4l2loopback(OE) videodev mc dm_multipath dm_mod sg crypto_user fuse acpi_call(OE) bpf_preload ip_tables x_tables serio_raw atkbd xhci_pci xhci_pci_renesas libps2 wmi vivaldi_fmap i8042 serio zram i915 drm_buddy video drm_display_helper cec ttm intel_agp intel_gtt zfs(POE) zunicode(POE) zzstd(OE) zlua(OE) zavl(POE) icp(POE) zcommon(POE) znvpair(POE) spl(OE) nvme nvme_core nvme_common
[ 4543.923464] RIP: 0010:ipu_pci_probe.cold+0x3fc/0x930 [intel_ipu6]
[ 5370.637306] v4l2loopback driver version 0.12.7 loaded
```

I'm uncertain what other feedback to provide as with the module hang I've been unable to get further debug information. I would be very happy to provide any feedback you need to troubleshoot.

Also, are you able to comment on the "intel_iommu=off" kernel option? Is this necessary?

Take care.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.