Skip to content

linux-omarchy: add Latitude 7320 camera power and privacy indicator support - #787

Draft
mattwolfgang wants to merge 2 commits into
omacom:masterfrom
mattwolfgang:dell-7320-rear-camera
Draft

mattwolfgang wants to merge 2 commits into
omacom:masterfrom
mattwolfgang:dell-7320-rear-camera

Conversation

@mattwolfgang

@mattwolfgang mattwolfgang commented Oct 4, 2026 •

Copy link
Copy Markdown

The Dell Latitude 7320 Detachable rear camera fails to probe with the stock OV8856 ACPI power path. The DW9714 focus motor also receives a dummy vcc supply and focus writes fail. This draft adds PMIC board data, model-specific rear sensor/lens power handling, and a front privacy-indicator policy tested on one Latitude 7320 Detachable.

Changes:

  • Carry Sahan Nissanka and Charles Drolet's existing v2 TPS68470 board-data patch unchanged, preserving its attribution and sign-offs. It creates the PMIC rails and the front reset/supply mappings needed to enumerate the cameras. Original submission.
  • Enable OV8856 clock/regulator/reset handling for the exact Dell model and rear sensor device, using the real VSIO/ANA/CORE rails and active-low reset GPIO 9. Reject dummy supplies.
  • Connect the exact rear DW9714 device to the real VCM rail.
  • Enable sensor runtime PM before async registration so the bridge can create the lens, avoid powering off an already suspended sensor on removal, and fix the probe debug message's access to an uninitialized cur_mode.
  • Control the front privacy indicator through OV5675: verify TPS68470 ILEDA before starting capture, reject indicator errors/short faults, and disable it only after successful sensor standby or reset/power-down. Preserve output B and expose no userspace brightness control. The exact Dell OVTI5678 device is gated; this does not add its pending ACPI ID/format support.
  • Add the patches and BLAKE2/SHA256 checksums to linux-omarchy, advancing pkgrel from 6 to 7.

Validation:

  • All three patches apply cleanly to the affected upstream Linux v7.2.5 sources.
  • Patched OV8856, DW9714 and upstream OV5675 modules compile against 7.2.5-3-omarchy headers; the patched PMIC board-data module also compiles with the existing local TPS68470 wrapper.
  • New media patches pass kernel checkpatch (0 errors/warnings, sign-off check excluded).
  • PKGBUILD syntax, all 97 local BLAKE2/SHA256 hashes, source/checksum array alignment, applied-source/PKGBUILD whitespace checks, and repository pinned-source checks pass.
  • The local driver changes produced actual rear frames and working focus controls. Front/rear capture worked concurrently through a private libcamera build. The user confirmed that ILEDA lights the physical front indicator; the patched local OV5675 delivered 90 changing frames at 26.13 fps with no repeated frames. The indicator driver is installed locally through DKMS 0.5, with the boot image rebuilt.

Additional local validation: the equivalent DKMS driver changes have since been rebooted and used with on-demand capture. Direct front/rear streaming, simultaneous capture, independent stop/reopen, and PipeWire capture from both processed feeds passed. Both sensors suspend after clients close, and Howdy's recorder still wakes and releases the front sensor. These checks exercise the locally installed driver/userspace combination; they do not establish an in-tree package boot or suspend/resume result.

Still draft: a complete kernel package build, boot with these in-tree patches, and suspend/resume testing have not been performed. The board-data submission records an earlier rear suspend regression, so this needs explicit verification. The direct regulator-name lookups, sensor-owned GPIO table and front-sensor PMIC lookup are downstream workarounds; maintainer review should decide whether to move them into board-data mappings. New patch signatures should be supplied by an authorized package maintainer before release; existing signature verification is retained.

This does not provide complete front-camera support or a default desktop camera feed. The front OVTI5678 RGB-IR format/processing changes, rear libcamera tuning, virtual-camera service, launchers, and Howdy configuration are separate userspace work. No personal captures or biometric data are included.

The complete opt-in downstream camera-stack package is now proposed separately in #790, including RGB-IR processing, remaining front enablement, named front/rear loopback feeds, and on-demand/discovery handling. Cam Stream #12 fixes its producer-held loopback busy check. This PR remains the focused in-tree power/privacy proposal; no further kernel code changes were required for the userspace lifecycle/discovery fixes.

@mattwolfgang mattwolfgang changed the title linux-omarchy: enable Latitude 7320 Detachable rear camera linux-omarchy: add Latitude 7320 camera power and privacy indicator support Oct 4, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant