media: no sensor driver for Sony IMX681 (Surface Pro 11 Business front camera, ACPI HID SONY0681)
Hi,
The front camera on the Microsoft Surface Pro 11 Business (Intel Lunar Lake / IPU7) does not work on Linux because there is no in-kernel driver matching its ACPI hardware ID, SONY0681. I'd like to report this gap and share diagnostic evidence, in case anyone is already working on it or can point me/the community in the right direction to get a driver written and reviewed properly.
System
------
- Surface Pro for Business 11th Edition with Intel (Intel Lunar Lake, IPU7)
- Kernel: 7.2.2 (Arch Linux, vanilla, CONFIG_VIDEO_INTEL_IPU7=m)
- CONFIG_VIDEO_OV13858=m (rear camera, separate/known sensor)
-
Evidence that the hardware is present and correctly enumerated by firmware, but has no matching driver:
$ ls /sys/bus/acpi/devices/ | grep -i SONY0681 SONY0681:00
$ cat /sys/bus/acpi/devices/SONY0681:00/status 15 (0x0F: present, enabled, shown in UI, functioning - per the ACPI spec meaning for _STA)
$ zgrep -E "IPU7|IMX681|OV13858" /boot/config-$(uname -r) CONFIG_VIDEO_OV13858=m CONFIG_VIDEO_INTEL_IPU7=m (no CONFIG_VIDEO_IMX681 - the Kconfig symbol does not exist upstream)
$ dmesg | grep -iE "ipu|SONY0681" [ 0.010327] ACPI: SSDT 0x0000000071F95000 0000E0 (v02 INTEL IpuSsdt 00001000 INTL 20210105) [ 5.492575] intel_ipu7: module is from the staging directory, the quality is unknown, you have been warned. [ 5.536601] intel-ipu7 0000:00:05.0: enabling device (0000 -> 0002) [ 5.536609] intel-ipu7 0000:00:05.0: Device 0x645d (rev: 0x4) [ 5.908673] intel_ipu7_isys: module is from the staging directory, the quality is unknown, you have been warned. [ 5.927268] intel-ipu7 0000:00:05.0: no subdev found in graph
$ media-ctl -p 2>/dev/null | grep -iE "imx681|entity" (only generic "Intel IPU7 ISYS Capture N" and "Intel IPU7 CSI2 N" entities are present; nothing corresponding to a sensor subdevice)
$ ls /dev/video* (32 video nodes exist from the IPU7 ISYS/CSI2 pipeline itself, but none of them is backed by a working sensor subdev for the front camera)
$ lsmod | grep -iE "ipu|imx|video" intel_ipu7_isys ... intel_ipu7 ... ipu_bridge ... (no "imx681" module - because it does not exist)
Summary of what's confirmed missing
------------------------------------
1. No V4L2 sensor driver in drivers/media/i2c/ matches ACPI HID "SONY0681" (no CONFIG_VIDEO_IMX681 Kconfig symbol exists).
2. drivers/media/pci/intel/ipu-bridge.c's ipu_supported_sensors[] table has no entry for "SONY0681", so even if a driver existed, ipu-bridge would not create the swnode/i2c device for it during IPU7 sensor enumeration.
What's independently known about the hardware
------------------------------------------------
- ACPI HID: SONY0681 (confirmed above)
- Sensor: Sony IMX681 (per ACPI HID naming convention / Windows INF)
- Interface: MIPI CSI-2, handled by IPU7 (Intel Lunar Lake ISP)
- Rear camera on the same machine uses the existing ov13858 driver and ipu-bridge entry "OVTID858", so the front camera is expected to follow the same general enumeration path (ipu-bridge sensor table + i2c sensor driver + ACPI-provided clock-frequency/regulators via int3472), just for a different sensor model.
I don't have exact register-level documentation for the IMX681 to propose a driver myself, and I'm aware there's already some public, independent community work in this area (e.g. an RFC referencing IMX681/Surface Pro front-camera support was posted against the linux-surface kernel tree). I'd rather this be picked up/reviewed by someone with the datasheet or existing register-level knowledge than have me guess at register sequences, so I'm filing this primarily as a hardware-support gap report with reproducible evidence, rather than a patch.
Happy to test on real hardware (boot logs, i2c probing, media-ctl topology, actual image capture) if someone has a driver candidate, in-tree or out-of-tree, that targets ACPI HID SONY0681.
Thanks,
[TODO: German]
[TODO: [email protected]]