Skip to content

Add HP EliteBook X G2i hardware support - #6596

Open
meirdick wants to merge 14 commits into
omacom:quattrofrom
meirdick:hp-elitebook-x-g2i
Open

meirdick wants to merge 14 commits into
omacom:quattrofrom
meirdick:hp-elitebook-x-g2i

Conversation

@meirdick

@meirdick meirdick commented Aug 7, 2026 •

Copy link
Copy Markdown
Contributor

Adds hardware support for the HP EliteBook X G2i, a Panther Lake laptop. On a
stock install it has no working speakers, microphone or webcam.

The packages are in omacom/omarchy-pkgs#124. This PR installs them, puts the
machine on the kernel they need, and adds the speaker tuning.

What this changes

install/hardware/intel/ptl-kernel.sh is widened so this machine also gets
linux-ptl:

if omarchy-hw-intel-ptl && { omarchy-hw-match "XPS" || omarchy-hw-match "EliteBook X G2i"; }; then

The audio and camera fixes for this machine are patches to files the kernel
already ships, and they live in linux-ptl alongside the existing XPS ones.
Both machines the gate now covers have no working speakers on a stock kernel.

bin/omarchy-hw-acpi-present is new, and install/hardware/intel/ipu7-camera.sh
now uses it. A DSDT can declare hardware the machine was never built with: this
laptop carries OVTI08F4 and OVTI01AF nodes alongside its actual OV05C10,
both reporting _STA 0. Matching the ACPI ID alone therefore installed
intel-ipu7-camera for a sensor that is not there, and since the camera package
for this machine conflicts with it, a fresh install failed. The helper reads the
present bit instead. Machines that genuinely have the sensor are unaffected.

install/hardware/hp/elitebook-x-g2i.sh is new, following the existing asus/,
apple/, lenovo/ layout. Audio applies to the whole model line; the camera
also needs the OV05C10 sensor to be fitted, so an EliteBook with a different
camera module does not get it.

default/audio/tunings/hp-elitebook-x-g2i/ is new, same shape as
dell-xps-2026. A 100 Hz high-pass, thirteen biquads and a limiter in front of
the speaker sink, matched on match_dmi=("EliteBook X G2i"). The coefficients
are HP's own factory DTS values, decoded from the machine's Windows partition.
They are derived values; no vendor file is included.

Measurements

All four fields docs/AUDIO-TUNING.md asks for, measured on the machine.

Field Value
magnitude_rms_db 0.01
bass_group_delay_swing_ms 5.5
limiter_headroom_db −2.1
dynamic_range_delta_lu 0.0

The last two are not typos. See the comment below.

Testing

All gates match correctly on the reference machine, SKU D4DU1UT#ABA, and the
XPS gate correctly does not. Speakers, microphone and webcam work after a cold
boot on linux-ptl 7.1.8.arch1-2, the version built from
omacom/omarchy-pkgs#124. The tuning applies and measures as above.

Copilot AI balanced review requested due to automatic review settings August 7, 2026 05:06

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds targeted HP EliteBook X G2i support for audio, webcam, speaker tuning, and fingerprint detection.

Changes:

  • Installs model-specific audio and camera packages.
  • Adds SKU-gated PipeWire speaker tuning.
  • Detects Elan ARM-M4 fingerprint readers.

Tip

If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
install/hardware/hp/elitebook-x-g2i.sh Adds HP hardware detection and package installation.
install/hardware/all.sh Runs the new HP setup leaf.
default/audio/tunings/hp-elitebook-x-g2i/tuning.conf Defines tuning matching and metadata.
default/audio/tunings/hp-elitebook-x-g2i/README.md Documents tuning provenance and activation.
default/audio/tunings/hp-elitebook-x-g2i/filter-chain.conf Implements the stereo EQ and limiter graph.
bin/omarchy-hw-fingerprint Recognizes Elan ARM-M4 readers.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +30 to +31
derived_from="HP/DTS factory tuning blob dts_gpeq_mode1 (SSID 8E86103C), decoded"
validated_hardware="HP EliteBook X G2i (D4DU1UT#ABA, SSID 8E86103C)"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now updated and resovled using the omarchy tuning

Comment on lines +33 to +36
## Headroom: the EQ cascade (high-pass included) peaks at +3.66 dB at 1.86 kHz
## on the 48 kHz bank. The limiter input gain of -4.66 dB places a full-scale
## sine at that frequency exactly at the -1 dBFS limiter threshold.
limiter_headroom_db="0.0"
Comment on lines +33 to +34
Established by decoding both sample-rate variants of every mode to mutually
consistent curves (see `../decode_dts_gpeq.py`):
Comment on lines +94 to +101
## Install

```
sudo cp -r audio-tuning/hp-elitebook-x-g2i /usr/share/omarchy/default/audio/tunings/
omarchy-audio-tuning on
```

Requires `lsp-plugins-lv2` for the limiter.
@meirdick
meirdick marked this pull request as draft August 7, 2026 11:25
@meirdick
meirdick marked this pull request as ready for review August 7, 2026 11:27
@meirdick
meirdick marked this pull request as draft August 7, 2026 13:07
@meirdick
meirdick force-pushed the hp-elitebook-x-g2i branch from 37bf125 to 273279e Compare August 11, 2026 18:55
@meirdick

Copy link
Copy Markdown
Contributor Author

Background on a few things that will otherwise raise questions.

limiter_headroom_db is negative on purpose. The 48 kHz bank has exactly
0.0 dB of headroom by design. The 44.1 kHz bank as DTS ships it is 2.12 dB
hotter, which puts a full-scale sine above the limiter threshold. Nothing clips,
because that is what the limiter is for, but the tuning is not transparent at
that rate and the number should say so. Flattening the 44.1 kHz bank would make
it zero, at the cost of no longer carrying HP's coefficients exactly. That
changes how the machine sounds, so I left it as a decision rather than making it.

dynamic_range_delta_lu is 0.0 from three runs, which gave 15.0 vs 15.1 and
then 15.0 vs 15.0 twice. ebur128 reports to 0.1 LU, so the limiter's effect is at
or below what the measurement can resolve.

Why the tuning gate is a DMI name and not a SKU. The obvious gate is the
product SKU, and it is wrong here: this machine reports D4DU1UT#ABA, and #ABA
is HP's country code for the US. The same laptop sold elsewhere has a different
SKU, so a SKU match would have left every non-US owner with working speakers and
none of the voicing. What actually keys the tuning is the audio board, HP
subsystem ID 8E86103C, which is also the ID the factory DTS blob is named for.
That would be the precise gate, but match_command is invoked as a bare single
word, so using it would mean shipping an executable next to what are otherwise
two data files. The product name is region-independent and specific enough.
Measured on one SKU; other units are covered on the assumption they have the same
speaker hardware, which is written down in tuning.conf rather than implied, the
same distinction dell-xps-2026 draws between the XPS 14 it measured and the
XPS 16 it covers on report.

The camera works through a userspace pipeline that costs about 4.4 CPU cores,
because Intel's hardware ISP does not produce usable frames on this machine. That
cost is inherent to doing the ISP in software. It is documented in the package
rather than glossed over, and it is the only path that has ever produced an image
here.

The fingerprint change is not in this PR; it is already yours. It was stacked
on #6578, which merged on 2026-08-09, so rebasing removed it automatically and
bin/omarchy-hw-fingerprint here is identical to quattro. Confirmed still
working on this machine: the reader shows up as 04f3:0ca8 ELAN:ARM-M4 and is
detected by the elan:arm-m4 match that PR added.

Two review comments from the previous revision are addressed. The decoder
reference pointed at a path that does not exist in this repo; it is a one-off
tool that reads a vendor blob this repository does not carry, so the README now
says where it lives instead. And the install section told people to copy files
over the package-managed /usr/share/omarchy tree; the profile already ships
through default/**, so it documents activation only.

@meirdick
meirdick force-pushed the hp-elitebook-x-g2i branch from 273279e to f107497 Compare August 11, 2026 20:51
@meirdick

Copy link
Copy Markdown
Contributor Author

Validation update, rebased on current quattro.

Gates, run on the reference machine:

omarchy-hw-match "EliteBook X G2i"        ok
omarchy-hw-match "XPS"                    correctly does not match
omarchy-hw-intel-ptl                      ok
grep OVTI05C1 /sys/bus/acpi/devices/*/hid ok

The tuning that ships is the tuning that plays. The filter chain loaded into
PipeWire on this machine is byte-identical to filter-chain.conf in this PR,
with only omarchy's own @SPEAKER_SINK@ substitution applied. So the four
measured figures describe the graph in this diff and not a local variant of it.

Audio no longer depends on any DKMS module. The match-table entry and the
TAS2783A component name are kernel patches in omacom/omarchy-pkgs#124, and
with them the card reports spk:tas2783 cfg-amp:4. The out-of-tree module that
the earlier revision of this work carried has been removed from the machine.

Camera cost is unchanged and still the honest number: about 4.4 CPU cores,
because the ISP work happens in software. The package README now also records
that libcamera's simple pipeline handler drives this sensor at 0.8 cores, what
is missing before that can replace the current path, and the measurements taken
along the way. That is a follow-up, not part of this PR.

@meirdick

Copy link
Copy Markdown
Contributor Author

Two things that will otherwise raise questions.

The ACPI change fixes a bug that is not ours. install/hardware/intel/ipu7-camera.sh
matched OVTI08F4 by grepping the ACPI IDs. This laptop's DSDT declares that ID
for a camera it does not have:

OVTI05C1:00  status=15  present, enabled, functioning  -> the actual camera
OVTI08F4:00  status=0   declared, not fitted
OVTI01AF:00  status=0   declared, not fitted

That gate runs before the HP one, so a fresh install pulled in
intel-ipu7-camera for the absent sensor, and the camera package for this
machine conflicts with it. The install failed — and only on a clean machine,
which is where nobody is watching. Any Panther Lake machine with a stub
OVTI08F4 has been getting a camera stack for hardware it does not have.
Machines that genuinely have the sensor report the present bit and behave
exactly as before.

limiter_headroom_db is negative on purpose. The 48 kHz bank has exactly
0.0 dB of headroom by design. The 44.1 kHz bank as DTS ships it is 2.12 dB
hotter, which puts a full-scale sine above the limiter threshold. Nothing clips,
because that is what the limiter is for, but the tuning is not transparent at
that rate and the number should say so. Flattening the 44.1 kHz bank would make
it zero, at the cost of no longer carrying HP's coefficients exactly. That
changes how the machine sounds, so I left it as a decision rather than making it.

dynamic_range_delta_lu is 0.0 from three runs, which gave 15.0 vs 15.1 and
then 15.0 vs 15.0 twice. ebur128 reports to 0.1 LU, so the limiter's effect is at
or below what the measurement can resolve.

Why the tuning gate is a DMI name and not a SKU. The obvious gate is the
product SKU, and it is wrong here: this machine reports D4DU1UT#ABA, and #ABA
is HP's country code for the US. The same laptop sold elsewhere has a different
SKU, so a SKU match would have left every non-US owner with working speakers and
none of the voicing. What actually keys the tuning is the audio board, HP
subsystem ID 8E86103C, which is also the ID the factory DTS blob is named for.
That would be the precise gate, but match_command is invoked as a bare single
word, so using it would mean shipping an executable next to what are otherwise
two data files. The product name is region-independent and specific enough.
Measured on one SKU; other units are covered on the assumption they have the same
speaker hardware, which is written down in tuning.conf rather than implied.

The camera costs about 0.33 of one CPU core, down from 4.4 in an earlier
revision of this work, because the ISP now runs on the GPU through libcamera
rather than in software. Details are in omacom/omarchy-pkgs#124.

The fingerprint change is not in this PR; it is already yours. It was stacked
on #6578, which merged on 2026-08-09, so rebasing removed it automatically and
bin/omarchy-hw-fingerprint here is identical to quattro. Still working on
this machine: the reader shows up as 04f3:0ca8 ELAN:ARM-M4.

@meirdick
meirdick marked this pull request as ready for review August 12, 2026 16:08
Copilot AI review requested due to automatic review settings August 12, 2026 16:08

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 8 changed files in this pull request and generated no new comments.

Suppressed comments (3)

install/hardware/hp/elitebook-x-g2i.sh:27

  • This package is installed during target finalization but is absent from install/omarchy-other.packages, which the ISO builder uses to make conditional hardware packages available (for example, intel-ipu7-camera is listed there). An offline fresh install can therefore fail at this call. Add hp-elitebook-x-g2i-audio to that package list.
  omarchy-pkg-add hp-elitebook-x-g2i-audio

install/hardware/hp/elitebook-x-g2i.sh:34

  • hp-elitebook-x-g2i-camera is also missing from install/omarchy-other.packages. Since this conditional package must be cached for ISO target finalization just like intel-ipu7-camera, offline installation can fail here. Add the camera package to the ISO package list.
    omarchy-pkg-add hp-elitebook-x-g2i-camera

install/hardware/hp/elitebook-x-g2i.sh:35

  • This does not repair systems on which the previous ipu7-camera.sh already installed intel-ipu7-camera from the declared-but-absent OVTI08F4 node. That package remains installed when the new detector returns false, and its conflict makes pacman --noconfirm reject this package, so rerunning the otherwise-idempotent hardware setup still fails. Remove the obsolete stack before installing the model-specific camera package.
  if omarchy-hw-acpi-present OVTI05C1; then
    omarchy-pkg-add hp-elitebook-x-g2i-camera
  fi

@dhh dhh added this to the 4.1 milestone Aug 13, 2026
@jlupox

jlupox commented Sep 16, 2026

Copy link
Copy Markdown

I can confirm this is still needed on another HP EliteBook X G2i.

I'm currently running Omarchy with:

Linux 7.2.5-3-omarchy

Internal speakers still don't work and the audio tray falls back to Dummy Output. Headphones through the 3.5 mm jack work correctly when the HiFi profile is available.

While troubleshooting, I confirmed that all four TAS2783 amps are detected over SoundWire, but the card does not expose spk:tas2783 / cfg-amp:4, which matches the issue addressed by this PR.

So +1 from another EliteBook X G2i owner. Happy to test this on my machine if useful.

@meirdick

Copy link
Copy Markdown
Contributor Author

@jlupox Thanks. The kernel side is rebased onto linux-omarchy and ready to test: omacom/omarchy-pkgs#480 (branch hp-elitebook-x-g2i-omarchy). It carries the audio and camera patches on top of 7.2.5-4, plus the hp-elitebook-x-g2i-audio and hp-elitebook-x-g2i-camera packages.

To test, from that branch:

  1. cd pkgbuilds/linux-omarchy && makepkg -s, install the kernel and headers with pacman -U, add IgnorePkg = linux-omarchy linux-omarchy-headers to /etc/pacman.conf so an update does not replace it.
  2. Build and install pkgbuilds/hp-elitebook-x-g2i-audio (speaker tuning) and pkgbuilds/hp-elitebook-x-g2i-camera (camera stack, DKMS).
  3. Reboot. Expect factory calibration applied (4 speakers in UEFI) x4 in journalctl -k, Active Profile: HiFi, stereo from all four speakers, and the webcam working.

One note: if you have taken HP BIOS 01.02.02 (sp174220), you need pkgrel 4.2 from that branch (patch 0529); 4.1 leaves the right speakers silent on that BIOS. Please report your cat /sys/class/dmi/id/bios_version with the result.

This PR (#6596) is the installer side and needs a rebase now that upstream removed ptl-kernel.sh; it will shrink to the audio/camera package install and the OVTI05C1 camera match.

@meirdick

meirdick commented Nov 1, 2026

Copy link
Copy Markdown
Contributor Author

Rebased onto quattro and force-pushed. The branch had never been pushed since the review, so this is the first time the PR shows the board match.

  • Setup and the speaker tuning match board 8E86 through a new omarchy-hw-hp-elitebook-x-g2i. The old product-name match missed the X Flip G2i, which is the same board. omarchy-hw-match cannot express this: product_family here is 103C_5336AN HP EliteBook, which is every EliteBook. The detector follows the shape of omarchy-hw-dell-xps13-sidecar-amps.
  • Dropped the kernel step. linux-omarchy is everyone's kernel now.
  • A migration installs the packages on existing machines. It follows the Zenbook A16 migration: it checks omarchy-audio-tuning match first, and when the speaker sink is not up yet it prints what to run after the reboot rather than failing and blocking later migrations.
  • Tests are rows in test/shell.d/hardware-quirks-test.sh rather than a file of their own.
  • New omarchy-hw-acpi-present reads ACPI _STA, so a sensor the DSDT declares but the machine does not have no longer pulls in a camera stack. This board declares OVTI08F4 with _STA 0 alongside the OV05C10 it actually has.

Closes #13178, where the bot notes that the camera gate misses the Flip and that the issue waits on this PR.

This overlaps #7773, which gates the same install on the PCI ID. The two are complementary: that one rules out non-Panther-Lake, _STA rules out a declared-but-absent sensor. Both edit the same lines of install/hardware/intel/ipu7-camera.sh, so whichever merges second needs a rebase. Happy to go second.

@greptile-apps

greptile-apps Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge, with the earlier non-blocking style finding still open.

Findings

  1. P2 Checks violate required Bash style ▶

Summary

Adds speaker, microphone, and camera support for HP EliteBook X G2i and X Flip G2i machines on board 8E86.

  • HP board 8E86 now gets its speaker support and a reboot prompt.
  • Camera setup now checks whether the matching sensor is fitted.
  • The EliteBook speakers can use HP’s factory-derived sound profile.

No new actionable issues found.

Reviews (3) · Last reviewed commit: "Record who validated the EliteBook X G2i..." · Reviewed by Greptile

# not there. Devices with no status file are treated as present, which is what
# ACPI specifies when _STA is absent.

[ $# -ge 1 ] || {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Checks violate required Bash style

The new helper uses [ for its argument-count, directory, and readability checks. The repository requires (( )) for numeric tests and [[ ]] for string/file tests. Replace all three checks with the required Bash forms before merging.

File Used: AGENTS.md (source)

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

@omarchybot omarchybot removed the enhancement New feature or request label Nov 2, 2026
@omarchybot

Copy link
Copy Markdown
Collaborator

I looked at this pull request at 42070cf and it is not classified yet. Two models classified it separately and came to different answers, so I am leaving it unlabelled for the maintainer to decide.

  • Claude Opus 5.5 called it compatibility. On quattro, the EliteBook X G2i and X Flip G2i (board 8E86) have no working speakers, microphone or webcam, and a fresh install can fail. That happens because install/hardware/intel/ipu7-camera.sh installs intel-ipu7-camera for an OVTI08F4 sensor that the DSDT declares with _STA 0, and that package conflicts with this machine's camera package. Both are defects on one specific machine.
  • Codex Medium called it enhancement, because the change adds new support for a machine: a detector, an install step, packages, a speaker tuning and a migration.

The enhancement label from an earlier review at a different head has been removed, because a disputed item carries no class label. I have not run the change on a worker or reviewed the diff further. That waits until the maintainer settles what kind of change this is.

meirdick and others added 14 commits November 18, 2026 10:10
On a stock install this machine has no working speakers, microphone or
webcam.

Adds a hardware-gated script that installs the two packages from
omacom/omarchy-pkgs#124, and the speaker tuning. The audio gate matches
the model line; the camera gate also requires the OV05C10 sensor, so an
EliteBook with a different camera module does not get it.

The call goes after intel/ptl-kernel.sh: both packages pull DKMS modules,
and the existing comment for intel-ipu7-camera gives the same reason.

The tuning coefficients were decoded from HP's factory DTS:X Ultra data on
the machine's own Windows partition. They are derived values; no vendor
file is included.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
  - The decoder reference pointed at a path that resolves nowhere in this
    repository. It is a one-off tool that reads a vendor blob we do not
    carry, so the README says where it lives instead of linking into it.
  - The README showed a manual copy into /usr/share; the profile ships with
    Omarchy, so it now shows the commands that turn it on.
  - tuning.conf reported a calculated headroom figure as if measured. The
    measured fields are pending and the calculation is kept as a note.

The kernel half of this change (widening the linux-ptl gate) is gone:
linux-omarchy is now every machine's kernel and carries the patches.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Two of the four fields docs/AUDIO-TUNING.md asks for need no capture: group
delay and worst-case peak are properties of the biquad cascade. Computed
with tools/analyse-filter-chain in the enablement repo, which reproduces the
+3.66 dB at 1.86 kHz already noted in filter-chain.conf.

The headroom figure is negative, and answers the review comment that
prompted looking. The declared 0.0 described the 48 kHz bank only. The
44.1 kHz bank DTS ships peaks 2.12 dB hotter, at +5.78 dB, which puts a
full-scale sine at 1.85 kHz above the limiter threshold rather than at it.
Nothing clips, because that is what the limiter is for, but the tuning is
not transparent at that rate and the reported number should say so.

Levelling the 44.1 kHz bank would make it zero, at the cost of no longer
carrying HP's coefficients bit-exact. That is a change to how the machine
sounds, so it is left as a decision rather than made here.

magnitude_rms_db and dynamic_range_delta_lu still need a capture run.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Measured on the reference machine, so all four fields docs/AUDIO-TUNING.md
asks for are now reported.

magnitude_rms_db is 0.01. The probe captured through the tuning, minus the
same probe through the bare speaker sink, against the analytic response of
the shipped coefficients: 104 tones, worst single point 0.03 dB. It is that
small because nothing acoustic is in the path. This tuning is not fitted to
a reference, so the target is the arithmetic the graph should be doing, and
the figure says the filter-chain does it.

dynamic_range_delta_lu is 0.1, on a 30 s pink-noise signal spanning 15.0 LU
and peak-limited to -1 dBFS. The multitone probe cannot measure this at all:
it is stationary, so both paths return 0.0 LU whatever the limiter did. The
tool now says so rather than reporting the zero.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Three runs gave 15.0 vs 15.1, then 15.0 vs 15.0 twice. ebur128 reports LRA
to 0.1 LU, so the limiter's effect on this signal sits at or below the
resolution of the measurement. Reporting 0.1 would claim a change the repeat
runs do not support.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The tuning matched match_sku=("D4DU1UT#ABA"). "#ABA" is HP's country code
for the US, so the identical laptop sold anywhere else reports a different
SKU and matched nothing -- working speakers with none of the voicing, which
is the exact complaint this tuning exists to fix. The packages beside it
already gate on the DMI product name, so the two disagreed about which
machines they were for.

What actually keys the tuning is the audio board: HP subsystem ID 8E86103C,
the ID the factory DTS blob is named for, reported here as PCI subsystem
0x103c:0x8e86. That would be the precise gate, but match_command is invoked
as a bare single word, so using it would mean shipping an executable next to
what are otherwise two data files. The product name is region-independent
and specific to this model and screen size, so it does not need one.

Measured on one SKU; other units are covered on the assumption they carry
the same speaker hardware, recorded in the file rather than implied. Same
distinction dell-xps-2026 draws between the XPS 14 it measured and the
XPS 16 it covers on report.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The gate's comment repeated the claim that the graph settings expect a
2944-wide readout and produce a negative crop. That reading of the log is
wrong -- the numbers are edge insets, and every Intel sensor including the
working OV08X40 uses the same idiom. See the camera package README.

The camera still needs the bypass. What changed is that the hardware path is
described as an open question rather than a closed one.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
A DSDT routinely declares hardware the machine was never built with. The HP
EliteBook X G2i carries OVTI08F4 and OVTI01AF nodes alongside its actual
OV05C10, both with _STA 0, so grepping the HID matches a camera that is not
there.

The consequence on that machine is not cosmetic. intel/ipu7-camera.sh runs
before hp/elitebook-x-g2i.sh, so a fresh install pulls in intel-ipu7-camera
for the absent sensor, and hp-elitebook-x-g2i-camera conflicts with it. The
install fails, and it fails only on a clean machine, which is where nobody
is watching.

ACPI already answers the question through _STA, exposed as the device's
status file, so omarchy-hw-acpi-present reads that instead. Devices with no
status file count as present, as ACPI specifies when _STA is absent.

Machines that genuinely have the sensor are unaffected: a fitted device
reports the present bit and both gates behave exactly as before.

  OVTI05C1:00  status=15  present   -> hp-elitebook-x-g2i-camera installs
  OVTI08F4:00  status=0   declared  -> intel-ipu7-camera no longer does

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Both HP packages now appear in omarchy-other.packages: the ISO builder
folds every entry into one pacman -Syw transaction, and a missing entry
fails offline installs at omarchy-pkg-add.

Machines set up before ipu7-camera.sh checked _STA carry
intel-ipu7-camera for a sensor the DSDT declares but the board does not
fit. It conflicts with hp-elitebook-x-g2i-camera and pacman --noconfirm
answers a conflict prompt with no, so setup failed on every rerun.
Retire it with omarchy-pkg-drop before the add.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Same OMARCHY_ACPI_DEVICES_PATH override omacom#7773 uses for its tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The X Flip G2i is the same board, 8E86, but its product name does not
contain "EliteBook X G2i", so the model match left it out. Kernel
support, amp firmware and the DTS tuning all key on the board.

- add omarchy-hw-hp-elitebook-x-g2i (HP board 8E86)
- use it for setup and as the tuning's match_command
- drop the linux-ptl and CamHAL-is-black comments; both are stale

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The speaker sink only exists once the patched kernel is booted, so the
tuning cannot be turned on here. Print what to run instead of failing: a
migration that exits non-zero holds back every migration after it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Rows in the shared hardware table, not a file of its own. The fake
machine gains board DMI attributes and an ACPI tree with _STA, so the
board detector and the sensor presence check are driven for real.

Covers the Flip, which shares board 8E86 and no product name, and the
OVTI08F4 node this DSDT declares for a camera that is not fitted.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Matches the keys the ASUS and Dell tunings carry. The BIOS version
matters here: the amps only split left from right from 01.02.02.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@omarchybot

Copy link
Copy Markdown
Collaborator

I read the updated diff at 0a466ed3b9ad91c788f4ef8a8b6b91801cdc2213, the discussion, #13178, and the current quattro contribution rules. Codex (GPT-6; effort not exposed) classifies this as compatibility: the proposed ACPI presence check addresses selection of a camera stack for an absent sensor, alongside the board-specific audio and camera setup.

Classification remains unresolved. The configured second classifier, deepseek-v4p1-flash, returned no usable class, so omabot classify recorded unreviewed. The separate review service answered its availability ping; no second code review ran. I have not run this revision on a worker, changed its branch, or added labels. This waits for classification to be resolved before verification continues.

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.

6 participants