omarchy icon indicating copy to clipboard operation
omarchy copied to clipboard

XPS 14 (Panther Lake): Windows Hello IR camera (Himax HM1092) has no Linux driver

Open jorgemanrubia opened this issue 3 months ago • 10 comments

The XPS 14 (DA14260, Panther Lake) has two cameras. The RGB one works — OV08X40, mainline driver, Intel IPU7 stack. The Windows Hello IR one doesn't work at all. It's a Himax HM1092 (ACPI HIMX1092), and there's no Linux driver for it anywhere. Not mainline. Not intel/ipu6-drivers (it has the siblings — HM11B1, HM2170, HM2172 — just not this one). Not intel/ipu7-drivers. Same wall others are hitting on Dell machines: intel/ipu7-drivers#26.

I tried writing the driver myself, adapted from the sibling Himax drivers. It compiles, binds, and powers the INT3472 PMICs — but the sensor never answers on i2c. My read: power or ownership is gated by the Intel CVS controller (INTC10E1), not INT3472 alone. And the HM1092 init/mode registers aren't public, so even a powered sensor can't produce frames.

Two things would fix this, in order:

  1. Dell/Intel upstream an HM1092 driver plus the one-line ipu-bridge entry for the HIMX1092 HID. They've done exactly this for the sibling parts.
  2. Short of that: the register-level datasheet/init sequence and the CVS power-on sequence. I'll finish the driver and submit it upstream myself.

cc @spencerbull — you suspected a Panther Lake MIPI enablement gap not yet tackled upstream, and asked for this issue. Here it is. Happy to test on real hardware and share everything: driver source, ACPI findings, logs.

Omarchy 4.0.0-1, kernel 7.1.8-arch1-2-ptl.

jorgemanrubia avatar Aug 27 '26 17:08 jorgemanrubia

https://github.com/cooparo/nixos-hardware/pull/2

mirh avatar Sep 22 '26 14:09 mirh

Related:

kwilczynski avatar Sep 27 '26 16:09 kwilczynski

Related:

  • https://github.com/omacom/omarchy/discussions/12441

kwilczynski avatar Sep 27 '26 17:09 kwilczynski

Related:

  • https://github.com/omacom/omarchy-pkgs/issues/366

kwilczynski avatar Sep 27 '26 17:09 kwilczynski

For other XPS 14 (DA14260) owners: the HM1092 IR camera works on Omarchy 4.0.4 (kernel 7.2.5-3-omarchy) without replacing Omarchy's camera stack.

The IR sensor is wired straight to IPU7 CSI2 port 2, not through the CVS chip (ACPI LNK0 has no _DEP on CVSS). So it only needs:

intel-cvs 1.0.6 and the webcam are untouched. Howdy face unlock then works in the dark for sudo, polkit and the lock screen.

Scripts, notes and caveats (one-kernel pin, no suspend/resume testing yet): https://github.com/kenners22/omarchy-xps14-face-unlock. Details for packaging are in omacom/omarchy-pkgs#366.

Don't install the full fix pack on Omarchy: its ipu-bridge/intel_cvs copies break the webcam path.

kenners22 avatar Oct 02 '26 19:10 kenners22

To add some of these drivers that are often referenced:

  • https://github.com/meros/hm1092-linux
  • https://github.com/Webb-L/hm1092-howdy-fedora
  • https://github.com/jibsta210/nixos-ipu7-ir
  • https://github.com/HritwikSinghal/svp7500-camera-fix-pack (from @kenners22, thank you!)

kwilczynski avatar Oct 02 '26 21:10 kwilczynski

Following up on kenners22's comment above. Set it up on my XPS 14 (DA14260) today and it works well, sudo, polkit and the lock screen by face.

One thing for anyone using it outside: in direct sun it failed every time. The IR frames were ~95% saturated and Howdy found no face. The HM1092 has no auto-exposure, and the hm1092 driver from the fix pack drops every control written outside a stream (hm1092_set_ctrl() returns early while !streaming, and stream-on applies the controls before it sets that flag). So every scan runs at one fixed exposure, fine indoors and far too long in sunlight.

Added auto-exposure in userspace, to the Howdy IR reader and to the warm service. It settles in ~0.3 s and the next scan starts where the last one ended. PR: https://github.com/kenners22/omarchy-xps14-face-unlock/pull/3

Two more things that helped:

  • If you wear glasses, enrol a second face model outside (sudo howdy add). My indoor model scored 6.3 to 6.6 in the sun against the 3.5 limit, because the lenses go dark.
  • The AUR python-dlib builds a CUDA variant by default and pulls in ~2.4 GB of CUDA tooling just to build it. Without an NVIDIA GPU, set _build_cuda=0 in its PKGBUILD first.

The driver on linux-media (v6) doesn't have the control bug, it applies controls once the sensor is powered. Auto-exposure is still up to userspace there.

xsi-dbachmann avatar Oct 06 '26 12:10 xsi-dbachmann

Thank you @xsi-dbachmann for the report!

I think, @spencerbull is working on something to wire some of these up.

If not, then a DKMS-style package could be in order.

kwilczynski avatar Oct 06 '26 12:10 kwilczynski

Same hardware here (XPS 14 DA14260, Omarchy 4.5.0, kernel 7.2.15-1-omarchy) — +1 for IR face unlock support.

Question about the kernel side: 0543-media-laptop-cameras.patch adds the HIMX1092 entry to ipu-bridge, but 0552-ipu-bridge-revert-himax-hm1092.patch removes it again (added in omarchy-pkgs 4ccdc0e, the 7.2.14-1 update). The commit doesn't say why. Was it causing problems, e.g. the RGB camera stalling while the IPU graph waits on the unbound HM1092 sensor?

Knowing the reason would help anyone weighing the community hm1092 driver + ipu-bridge rebuild (e.g. kenners22/omarchy-xps14-face-unlock), since on current kernels that now means overriding an entry Omarchy deliberately removed. If there's a plan to ship hm1092 as a DKMS package as suggested above, I'd be happy to test on this machine.

SteffenFrey avatar Nov 12 '26 12:11 SteffenFrey

Data point from another DA14260, since I'm running exactly the combination you describe: Omarchy 4.5, kernel 7.2.15-2-omarchy, with kenners22's setup still in place.

DKMS rebuilt both modules for the new kernel, so updates/dkms/ipu-bridge.ko (source from 7.2.5-3, with the HIMX1092 entry) overrides Omarchy's reverted one. With hm1092 bound, both cameras work: the IR sensor streams, Howdy unlocks sudo by face, and the RGB camera via v4l2-relayd@ipu7 comes up with no ov08x40 errors. So I don't see a stall when the sensor driver is there.

My guess is the revert is about stock installs, where the bridge entry exists but nothing binds HM1092. Can't confirm that, so the actual reason from the commit author would still be good to have.

One caveat for anyone copying this: the DKMS ipu-bridge is the 7.2.5 source rebuilt on newer kernels, so it silently drops any later upstream changes to that module. Fine for now, but it's another reason a packaged hm1092 plus a conditional bridge entry would be cleaner. Happy to test that here too.

xsi-dbachmann avatar Nov 12 '26 13:11 xsi-dbachmann