Skip to content

Add HP EliteBook X G2i audio and camera support - #124

Closed
meirdick wants to merge 32 commits into
omacom:masterfrom
meirdick:hp-elitebook-x-g2i
Closed

meirdick wants to merge 32 commits into
omacom:masterfrom
meirdick:hp-elitebook-x-g2i

Conversation

@meirdick

@meirdick meirdick commented Aug 7, 2026 •

Copy link
Copy Markdown

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

Companion PR: omacom/omarchy#6596.

What this adds

Three kernel patches to linux-ptl, in the same style as #116, #90 and #97:

Patch What it does
0030 Adds this board to the Panther Lake ACPI match table. It pairs an RT712 codec with four TAS2783 amps, a combination the table does not list, so SOF never starts the amps and the card has no Speaker device at all.
0031 One line. Gives the TAS2783A amp a component name, so the card reports spk:tas2783 and ALSA can find a speaker configuration. Every other amp in the list already has one.
0032 Intel's own patch, carried unchanged. Adds the second link frequency the OV05C10 camera needs. Without it the sensor fails to probe.

linux-ptl tracks 7.1.8.arch1, the version this repo now publishes, and takes
upstream's PKGBUILD and config verbatim. Only the three patches above are added,
so pkgrel is 2.

intel-ipu7-drivers is new: the DKMS modules split out of intel-ipu7-camera.
The IPU7 has no in-tree driver, so anything wanting frames needs these modules,
but until now they only came bundled with CamHAL, icamerasrc and v4l2-relayd.
This machine needs the modules without CamHAL. Same pinned commits and same
/usr/src paths, so nothing rebuilds for existing users. intel-ipu7-camera
now depends on it.

libcamera-ov05c10 is new: libcamera 0.7.2 with five patches, built into
/usr/lib/libcamera-ov05c10 rather than over the top of Arch's libcamera. It
neither provides nor conflicts with it, and nothing that does not deliberately
point at it can be affected. The patches add an OV05C10 sensor helper and lens
shading correction, neither of which libcamera has.

hp-elitebook-x-g2i-audio is the Speaker device definition, firmware filename
symlinks, and two guards against a boot race where the amps enumerate after
WirePlumber starts. No DKMS. Nothing here overwrites a file another package owns.

hp-elitebook-x-g2i-camera is Intel's ov05c10 sensor driver as DKMS, plus a
daemon that drives the sensor through libcamera and publishes the result on a
v4l2loopback device. Colour comes from HP's own factory calibration, decoded
from the tuning file HP ships on the machine's Windows partition.

Testing

Built, installed and cold-booted on the reference machine, SKU D4DU1UT#ABA,
on 7.1.5.arch1-2. Speakers, microphone and webcam all work. Audio needs no DKMS module: the
kernel's own match table plus one new UCM file. The camera is listed and working
in Chrome, Firefox and OBS, and costs about 0.33 of one CPU core while
streaming. The privacy LED is dark until an application opens the camera.

Every file both stacks depend on is owned by a package in this PR.

Following #116's checklist: kernel tarball and Arch patch verified with SHA-256,
BLAKE2 and PGP; all nine patches apply without rejects; the tracked config
matches Arch's; makepkg produces linux-ptl 7.1.8.arch1-2.

On 7.1.8 specifically: this branch was rebased onto it after upstream bumped
the package mid-review. All three patches apply with no rejects, and the result
has now been built, installed and cold-booted on the reference machine:

kernel   7.1.8-arch1-2-ptl
audio    cfg-amp:4 spk:tas2783, HiFi profile, Speaker sink, tuning loaded,
         Mic and Headset sources present
camera   /dev/video50 "HP EliteBook X G2i Webcam", 30 frames captured,
         privacy LED dark at idle, lit while streaming, dark again after
DKMS     ipu7-drivers, ov05c10, v4l2loopback, vision-drivers all built
units    no failed system or user units belonging to these packages

Worth stating plainly, because it is the case this PR exists to prevent: when
omarchy update pulled upstream's linux-ptl 7.1.8.arch1-1 on this machine, the
ACPI match module contained no ptl_sdw_rt712_l3_tas2783_l2 entry, and booting it
would have left the machine with no Speaker device at all and a camera sensor that
fails to probe. Stock Arch 7.1.8 was used as a control and lacks it too. Every
kernel bump does this until the patches land here.

@meirdick

meirdick commented Aug 7, 2026

Copy link
Copy Markdown
Author

Marking draft: the PKGBUILDs currently source the DKMS trees from a private repo, so makepkg fails at the clone step and the packages do not build. Splitting the GPL-2.0 kernel sources into a public repo and will flip back to ready once makepkg passes.

@meirdick
meirdick marked this pull request as ready for review August 7, 2026 11:27
@meirdick

meirdick commented Aug 7, 2026

Copy link
Copy Markdown
Author

Fixed in ace6262. The DKMS trees are GPL-2.0 throughout, so they are split into meirdick/hp-elitebook-x-g2i-dkms and fetched at a pinned commit.

Both packages now build:

==> Finished making: hp-elitebook-x-g2i-audio 1.0.0-1
==> Finished making: hp-elitebook-x-g2i-camera 1.0.0-1

Payloads verified: DKMS trees land in usr/src/<name>-1.0/ matching each dkms.conf PACKAGE_NAME/PACKAGE_VERSION, and anonymous clone of the source repo is confirmed working.

@meirdick
meirdick marked this pull request as draft August 7, 2026 13:07
@meirdick

meirdick commented Aug 7, 2026

Copy link
Copy Markdown
Author

Back to draft. The audio package currently rebuilds the whole snd-soc-acpi-intel-match module from vendored kernel sources and installs it to /updates, which overrides the match tables for every Intel platform (adl through nvl), not just this board. That freezes those tables at the forked kernel version for anyone who installs it. Reworking before review.

meirdick and others added 10 commits August 11, 2026 10:00
On a stock install this machine has no working speakers, microphone or
webcam.

hp-elitebook-x-g2i-audio adds the Panther Lake ACPI match-table entry for
the RT712 + quad TAS2783 pairing (as DKMS), the firmware filename symlinks
tas2783-sdw.c expects, a UCM profile, and a guard for the WirePlumber boot
race. Without it the card sits on profile "off" with no usable sink.

hp-elitebook-x-g2i-camera bypasses Intel's CamHAL, which cannot drive this
sensor: its graph settings binary expects a 2944-wide readout while ov05c10
exposes 2888x1808, so the ISP receives a negative crop and emits black. The
package runs the ISP in userspace instead and ships the ov05c10 driver plus
an ipu-bridge link-frequency patch.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The PKGBUILDs pointed at a private repo, so makepkg failed at the clone step
and neither package could be built by anyone. That repo cannot be made public:
it also holds vendor data extracted from the machine's Windows partition,
which is not redistributable.

The kernel sources are GPL-2.0 throughout, so they are split into
meirdick/hp-elitebook-x-g2i-dkms and fetched from there at a pinned commit.

Both packages now build with makepkg.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Three patches, all against files that already exist in the kernel, so
none of them belongs in DKMS:

  0030  Panther Lake ACPI match-table entry for the board's plain RT712
        on link 3 plus four TAS2783A amps on link 2. Without it sof_sdw
        never instantiates the amps and the card has no Speaker device.
  0031  A component name for the TAS2783A amp, so the card reports
        " spk:tas2783" and stock alsa-ucm-conf resolves a speaker
        configuration. Every other amp in codec_info_list already sets
        this. Without it the UCM profile cannot work without forking
        sof-soundwire.conf, a file alsa-ucm-conf owns.
  0032  Intel's own ipu-bridge patch adding the 900 MHz link frequency
        the board's OV05C10 needs, carried verbatim. Probing otherwise
        fails with "no link frequency 900000000 supported".

Verified to apply cleanly to 7.1.3, 7.1.5 and 7.1.6, and Arch's own
patch does not touch any of the three files.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The IPU7 has no in-tree driver; mainline drivers/media/pci/intel/ carries
ipu3, ipu6 and ivsc only. Anything that wants frames off this hardware
needs the DKMS modules, but until now they were only obtainable together
with Intel's CamHAL, icamerasrc, the camera bins and v4l2-relayd.

That bundling is a problem for a machine whose sensor CamHAL cannot
drive: it has to conflict with the whole package and is then left with no
ipu7 modules at all. The HP EliteBook X G2i is such a machine.

Move the driver layer into its own package. Same pinned commits, same
patches, same dkms.conf files and the same /usr/src paths, so the built
modules and the DKMS tree are byte-identical to before and no rebuild is
forced on existing machines. intel-ipu7-camera now depends on it.

The two udev rules move as well. Both describe device nodes that exist as
soon as the modules load, whatever camera stack runs on top.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The package could not install. It shipped
/usr/share/alsa/ucm2/sof-soundwire/sof-soundwire.conf, a file alsa-ucm-conf
owns, so pacman aborted the transaction on the file conflict. It also
pointed WirePlumber's ExecStartPre at /usr/local/bin while installing the
guard to /usr/bin, which fails the unit and takes audio out entirely --
the opposite of what the guard is for.

Both go away with the kernel patches now in linux-ptl. The card reports
" spk:tas2783", stock alsa-ucm-conf resolves that on its own, and
HiFi.conf includes /sof-soundwire/tas2783.conf with no whitelist to get
past. So the package ships that one new file and touches nothing anyone
else owns. The DKMS module and its source repo are gone with it.

Also here:

  - The boot guard and the self-heal resolve the card index from
    /proc/asound/cards instead of assuming 0.
  - The second self-heal layer ships. It runs on the reference machine
    and catches the fault the ExecStartPre wait cannot: a healthy HiFi
    profile whose PipeWire graph does not reach the speakers, which every
    profile-level check reports as success on a silent machine. It now
    restarts the shell only when it actually repaired something, rather
    than flickering the bar on every clean boot.
  - .omarchy is the directory the build system expects, with package.json
    in it, rather than an empty file of that name.
  - alsa-utils is declared. amixer was always used and never required.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The package could not work on a fresh install. It needs intel_ipu7 and
intel_ipu7_isys to read frames, mainline has no ipu7 driver at all, and it
declared no dependency that provides one while conflicting with the only
package that did. On the reference machine an AUR intel-ipu7-dkms-git was
already installed, which hid the gap.

It now depends on intel-ipu7-drivers, so the driver layer arrives without
CamHAL, icamerasrc, the camera bins or v4l2-relayd.

The DKMS module drops to ov05c10 alone, sourced from intel/ipu6-drivers at
a pinned commit and byte-identical to what runs on the reference machine.
That driver is in neither mainline nor intel-ipu7-camera, so it is an
ordinary out-of-tree module. The forked ipu-bridge is gone: it is an
in-tree file, and the one line it changed is now Intel's own patch in
linux-ptl. The personal git repo the sources came from is gone with it.

The daemon no longer assumes /dev/media0, /dev/video0, /dev/v4l-subdev4 or
the entity names. It reads the media graph, finds the intel-ipu7 device,
the ov05c10 sensor and the receiver and capture entities linked to it, and
exits with a specific message when the sensor never bound instead of
streaming black. Those node numbers were artifacts of this machine's probe
order and were the most likely thing to break on a kernel change.

Runtime files move from predictable /tmp names to the unit's
RuntimeDirectory, and .omarchy is the directory the build system expects.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The PKGBUILD said 7.1.3.arch1 while the omarchy repo has been shipping
7.1.5.arch1-1 for a while. The package carries "skip_build": true, so it is
built by hand outside CI and a published version bump does not have to pass
through here. Building the PKGBUILD as it stood produced a package older
than the one already installed.

Move it to 7.1.5.arch1 so the two agree, with pkgrel 2 for the three added
patches. 7.1.6 was the alternative and carries none of the fixes -- no
TAS2783 match entry, no component name, OVTI05C1 still on a single 480 MHz
link frequency -- so it would have meant diverging from omarchy's kernel for
nothing.

Sources verified before the bump: the tarball signature is Greg
Kroah-Hartman's, the patch signature is heftig's, Arch's patch touches none
of the three files we patch, and all nine patches apply to the extracted
7.1.5 tree in PKGBUILD order.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
PR omacom#116's validation step is "confirmed the tracked config matches Arch's
config.x86_64". The tracked file was still Arch's 7.1.3 config, left to
olddefconfig to reconcile at build time.

Replace it with Arch's own 7.1.5 config, taken from linux-headers
7.1.5.arch1-2, and refresh its b2sum. The practical delta was small --
CONFIG_CRYPTO_LIB_AES_CBC_MACS from m to y, two dropped STMFX options, and
toolchain version strings -- and olddefconfig had already been resolving it
the same way, so the built kernel does not change. Tracking it explicitly is
what makes that checkable rather than incidental.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Two packages writing the same intel-ipu7.ko into /updates is a silent
last-writer-wins race, and it cost a working camera.

The AUR intel-ipu7-dkms-git and this tree were both registered on the
reference machine. A kernel upgrade reinstalled them in the opposite order
to the previous boot, and the AUR build won. That build is compiled without
CONFIG_INTEL_IPU_ACPI, which in ipu7-isys.c gates isys_notifier_bound,
isys_notifier_complete and isys_notifier_init -- the entire v4l2-async
notifier. Without it isys_register_devices() only calls
isys_register_ext_subdevs(), which returns immediately logging "no
subdevice info provided".

The failure has no error in it. The sensor probes cleanly, ipu-bridge builds
its endpoints and logs "Found supported sensor OVTI05C1:00", and then
nothing exists to bind the two together. The camera is simply black.

Declaring the conflict makes pacman refuse the combination up front.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This package has been claiming, in the PKGBUILD, the README and the daemon,
that CamHAL cannot drive this camera because its graph settings expect a
2944-wide readout while the sensor exposes 2888. That is wrong, and it was
about to be published.

The four logged numbers are edge insets, not a rectangle. A right inset of
-56 means "read 56 columns past the sensor width", giving 2888 + 56 = 2944
and 1808 - 88 - 88 = 1632. Nothing is negative-sized.

Checked rather than assumed:

  - both Intel's graph binary and HP's Windows one declare exactly one
    sensor geometry, 2888x1808. Neither contains a 2944-wide mode. The same
    record appears 104 times in Intel's and 214 times in HP's.
  - the HAL performs no arithmetic here. GraphConfig::getIspRawCropInfo
    copies input_crop verbatim, and info.right is read only to print it.
  - every Intel sensor uses the idiom, including OV08X40 which works:
    3856 -> 3904, IMX471 1928 -> 1984, OV13B10 4208 -> 4224. The rule is
    always out = ALIGN(in, 64).
  - the binary tested in August is byte-identical to current upstream, so
    this was not a stale-data problem either.

The observation stands: psys completes frames and the output is black. Only
the explanation was wrong. It now says the cause is unestablished, records
what was tested and when, and stops asserting the hardware path is closed.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@meirdick
meirdick force-pushed the hp-elitebook-x-g2i branch from ace6262 to 5c688c3 Compare August 11, 2026 18:54
@meirdick meirdick changed the title Add HP EliteBook X G2i audio and camera packages Add HP EliteBook X G2i audio and camera support Aug 11, 2026
meirdick added a commit to meirdick/omarchy that referenced this pull request Aug 11, 2026
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>
@meirdick

Copy link
Copy Markdown
Author

Background on a few things in this PR that will otherwise raise questions.

Why the camera goes through userspace at all. CamHAL produces black frames on
this machine. The cause is not established. An earlier version of the camera
README claimed the graph settings expect a 2944-wide readout while the sensor
gives 2888, producing a negative crop. That explanation is wrong: the four logged
numbers are edge insets, not a rectangle, so a right inset of -56 means "read 56
columns past the sensor width", and 2888 + 56 = 2944. Both Intel's and HP's graph
binaries declare one sensor geometry, 2888x1808, and every Intel sensor uses the
same idiom, including OV08X40, which works. Tested August 2026 against a graph
binary identical to current upstream, not retested since. Intel issues #48, #52,
#70 and #71 all cover IPU7 black frames and are open and unanswered.

Why intel-ipu7-drivers declares a conflict. The AUR intel-ipu7-dkms-git
and this tree both install intel-ipu7.ko, and DKMS lets the last one win with
no warning. A kernel upgrade reinstalled them in the opposite order and the
camera went black: the AUR build is compiled without CONFIG_INTEL_IPU_ACPI,
which disables the code that binds the sensor, and nothing logs an error. With
the conflict declared, pacman refuses the combination instead.

What the camera costs. About 4.4 CPU cores at 1920x1080. That is inherent to
doing the ISP in software; reordering the filter chain measured marginally
slower, not faster. Colour is uncorrected: static white balance gains, no colour
matrix, no gamma. HP's factory tuning does contain usable colour matrices, but a
first attempt at applying them made the image visibly worse, so none of it is
here. libcamera looks like the better long-term answer and is being looked at
separately.

Why patch 0031 matters more than its size suggests. The audio package used
to be uninstallable. It shipped a modified copy of sof-soundwire.conf, which
alsa-ucm-conf owns, so pacman refused the transaction. With the card reporting
spk:tas2783, stock alsa-ucm-conf resolves a Speaker device from the one new
file the package adds, and the copy is gone.

Upstream status. Patches 0030 and 0031 are mine to send to alsa-devel and
are not filed yet. 0032 is Intel's. Nothing here depends on that; each one
accepted later removes a layer from this packaging.

Sensor bind on the reference machine, for reference:

intel_ipu7_isys: bind ov05c10 1-0010 nlanes is 2 port is 0
intel_ipu7_isys: All sensor registration completed.

meirdick and others added 2 commits August 11, 2026 16:51
makepkg clones ipu6-drivers, ipu7-drivers and vision-drivers into the
package directories, following the same per-package pattern already
listed here for macbook12-spi-driver and yay.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The README said CamHAL was an open problem and left it there, which tells
whoever picks this up nothing about where to go next. libcamera's simple
pipeline handler already supports intel-ipu7 and drives this sensor end to
end at 0.8 CPU cores against this package's 4.4, debayering on the GPU.

What is missing is a CameraSensorHelper for ov05c10, which belongs upstream
in libcamera rather than here, and the idle handling that is most of this
package. Both are written down, along with two constraints found by testing:
the native sensor mode must be requested, and the black level is measured
rather than assumed.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
meirdick added a commit to meirdick/omarchy that referenced this pull request Aug 11, 2026
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>
@meirdick

Copy link
Copy Markdown
Author

Validation update. Everything below was run on the reference machine today, on
7.1.5-arch1-2-ptl built from this branch.

The audio package is now installed as a package. It had only ever been
proven as hand-placed files, which is not the same claim. pacman -U installs
it with no file conflict against any package, and the Speaker sink survives the
WirePlumber restart the install triggers.

Patch 0031 does what it says. The card now reports:

components: HDA:80862822,80860101,00100000  cfg-amp:4 iec61937-pcm:7,6,5
            hs:rt712 mic:rt712 spk:tas2783

spk:tas2783 is the whole point of the one-line patch. It is what makes stock
alsa-ucm-conf include this package's tas2783.conf, which is why nothing here
overwrites a file alsa-ucm-conf owns.

The old DKMS module is gone. snd-soc-acpi-intel-match-hp-g2i was still
registered from the previous approach; it has been removed and the in-tree
snd-soc-acpi-intel-match.ko restored. dkms status now lists only
ov05c10, plus ipu7-drivers/vision-drivers from intel-ipu7-drivers and
v4l2loopback. No package here overrides an in-tree module.

The camera README now records a route off the software ISP. Saying CamHAL is
an open problem and stopping there is not useful to whoever picks this up.
libcamera's simple pipeline handler already supports intel-ipu7 and drives
this sensor end to end at 0.8 CPU cores against this package's 4.4, debayering
on the GPU. What is missing is a CameraSensorHelper for ov05c10, which
belongs upstream in libcamera rather than in this repo, and the idle handling
that is most of the code in this package. Both are written down, along with the
measured black level and the native-mode constraint, so the next attempt starts
from data rather than from scratch.

Package build and install is clean for all four: linux-ptl 7.1.5.arch1-2,
intel-ipu7-drivers 1.0.5-1, hp-elitebook-x-g2i-audio 1.1.0-1,
hp-elitebook-x-g2i-camera 1.1.0-1.

The package shipped options for v4l2loopback but nothing that loads it.
v4l2loopback-dkms builds the module and installs no modules-load.d entry,
so on this machine it was only ever loaded by a hand-made unit and by
v4l2-relayd, whose own modules-load.d file comes with intel-ipu7-camera.
Neither exists on a fresh EliteBook, where /dev/video50 would therefore
never appear and every camera application would find no device.

ExecStartPre rather than a modules-load.d entry of our own: this service is
the module's only consumer, and loading on start also covers a kernel
upgrade that rebuilt the module after boot.

Also softdep ov05c10 on intel_ipu7. The sensor binds an I2C client that
ipu-bridge creates while intel_ipu7 probes; loading it first is not fatal
but nothing loads it again, so the camera stays absent until the next boot.

Verified by removing the module outright and starting the service with
nothing else able to load it: /dev/video50 came back and captured frames.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@meirdick

Copy link
Copy Markdown
Author

Found and fixed a fresh-install blocker while auditing this for merge. Worth
recording because of how it hid.

The camera package shipped options for v4l2loopback but nothing that loads
it.
v4l2loopback-dkms builds the module and installs no modules-load.d
entry. On the reference machine the module was loaded by two things the package
does not own: a hand-made unit left over from the pre-packaging work, and
/usr/lib/modules-load.d/v4l2-relayd.conf, which arrives with
intel-ipu7-camera. A fresh EliteBook has neither, so /dev/video50 would
never have appeared and every camera application would have found no device.

This is the same shape as the dependency gap noted when this rework started:
invisible on a machine that already carries the packages from an earlier
approach. It only surfaced after removing every hand-placed file on this machine
and checking what was left.

Fixed with ExecStartPre=/usr/bin/modprobe v4l2loopback in the unit rather than
a modules-load.d entry, since this service is the module's only consumer and
loading on start also covers a kernel upgrade that rebuilt the module after
boot. Also added softdep ov05c10 pre: intel_ipu7, which had likewise existed
only as a hand-made file here.

Proven rather than reasoned: with the service stopped, modprobe -r v4l2loopback removed the module and /dev/video50 with it; starting the
service brought both back and captured frames.

pkgrel bumped to 2.

Also cleaned off this machine, so it now represents a fresh install: four
hand-made /etc/modprobe.d drop-ins, two stale /usr/lib/modprobe.d files, the
camera-init.service unit, five /usr/local/bin/hp-g2i-* scripts from the
pre-packaging era, and a leftover UCM backup file. Every file the audio and
camera stacks now depend on is owned by a package in this PR.

meirdick and others added 3 commits August 12, 2026 08:56
The drop-in ran ExecStartPre without a leading dash, so a guard that could
not execute failed WirePlumber's start. WirePlumber then exhausted its
restart limit and gave up, and the result is not quiet speakers but no
audio at all: no card, no sinks, nothing, while the kernel side is
perfectly healthy.

That is the wrong trade. The guard only avoids a boot race that the
audio-recover unit heals a moment later anyway, so it must never be able to
take the session manager down with it. Verified by removing the guard
binary outright: WirePlumber starts and the Speaker sink appears.

Hit on the reference machine when a stale drop-in of the same name in
/etc/systemd/user, which outranks ours and replaces rather than merges with
it, pointed at a path that no longer existed. post_install and post_upgrade
now warn when such a copy is present, rather than deleting a file in /etc
that an administrator may have put there deliberately.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The tuning file was hand-placed in /usr/share/libcamera/ipa/simple and
owned by nothing, so a fresh machine got no colour tuning at all: no black
level, no colour matrices.

It installs to /etc/libcamera/ipa/simple instead, because that is what both
libcamera builds on this machine actually search first, read back out of
the binaries rather than assumed:

  Arch libcamera 0.7.2  /etc/libcamera/ipa:/usr/share/libcamera/ipa
  libcamera-ov05c10     /etc/libcamera/ipa:/usr/lib/libcamera-ov05c10/share/...

One file therefore serves both consumers, and a copy under /usr/share would
go dark the moment the private prefix becomes the consumer.

This package owns it rather than libcamera-ov05c10 because these are HP's
matrices for this laptop's camera module, not a property of every ov05c10.
This package is already gated to this machine; that one is not.

The provenance comment is rewritten. It claimed five of the six matrices
were stubs awaiting real values. They are not: all six are HP's factory
matrices, decoded from the AIQB container HP ships on the Windows
partition, and they match it to 4.9e-06 -- the 5-decimal rounding of the
float32 originals. The comment described an older copy and was never
updated, which sent us looking for a fault in data that was already correct.

The parse behind that claim is corroborated by black level: two records in
the container, in different encodings, agree with each other and with a
direct measurement on the sensor at 64 in 10-bit across all four Bayer
channels.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
WirePlumber's libcamera monitor walks the media graph, hits the raw IPU7
ISYS nodes, and logs one ERROR per node because they are root-only by
design. That is 32 ERROR lines at every start, measured, and noise at that
level is what hides a real fault -- which mattered this morning when a
WirePlumber start failure took out all audio and the journal had to be read
carefully to find it.

The camera does not need this file, and that was measured rather than
assumed. With it removed and the libcamera SPA plugin confirmed mapped into
the running WirePlumber, so the monitor demonstrably ran, the graph still
showed exactly one video device and the camera was undisturbed. libcamera
fails to open the capture node, registers nothing, and reaches the right
answer noisily.

So this is noise suppression and the file says so. Nothing here needs the
libcamera monitor: the camera is published on v4l2loopback, so PipeWire and
every application see V4L2.

Also dropped, not packaged: a hand-placed hide-ipu7-v4l2.conf that disabled
the IPU7 by PCI path in the v4l2 monitor. The theory was that permissions
stop that monitor opening the nodes but not enumerating them, leaving 32
dead entries. Measured false -- removing it left exactly one video device.
It was doing nothing.

Verified after: 0 permission-denied lines, one video device, camera
streaming, speaker sink present.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
meirdick and others added 3 commits August 30, 2026 14:04
The 0034-0039 wave moved post-suspend audio from dead to partial: on
first wake the four aggregated amps come back as "one amp or low" and
recover only across later stream starts. jml's series (alsa-devel,
2026-08-24, HP OmniBook 8EA1) documents this exact shape and fixes it
by re-initialising the amps from .startup after system sleep. Applies
with offsets on top of the wave; the series' other two patches are
AMD-only and an HP-GUID calibration lookup this board has no efivar
for. Drop 0040 when the series lands upstream.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018WK5v7uaTD8WtdgR8MKzE2
The daemon keeps its contract - sole /dev/video50 writer, idle
sensor-off, status lines - and gains an engine abstraction: consumers
start an icamerasrc->fdsink subprocess whose frames relay through the
existing writer; two strikes falls back to the internal SoftISP path
for the boot. New runtime package pins HAL+bins at 20260327_1 and
icamerasrc at 94e99776 under /usr/lib/hp-elitebook-x-g2i-camhal, and
carries the NR-strength env patch (shipped default -60, config
tunable; hardware-measured -28%/-45% dark noise at -60/-120). An
/etc aiqb override lets the user supply HP's Windows tuning file,
which is never packaged. Verified live: engine=camhal, AIQB override
staged, 29.8 fps, idle/LED behavior identical.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018WK5v7uaTD8WtdgR8MKzE2
Daylight A/B on the live stack: sharpness identical at -60 and -120
(4.77 vs 4.73 Laplacian), so the -45% dark-scene setting costs
nothing. Same session, engine comparison in daylight: CamHAL neutral
(G/R 0.98, spatial noise 8.4) vs SoftISP green-cast (G/R 1.45, noise
19.2). Applied live on the machine as well.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018WK5v7uaTD8WtdgR8MKzE2
@meirdick

Copy link
Copy Markdown
Author

This branch grew since the last push. Everything below is verified on the machine.

Audio now survives suspend. Before: wake took ~9 seconds and the speakers could come back silent. The kernel package now carries three layers of fixes: one local patch so resume does not wait on the amplifiers (0033), six backports that are already in mainline 7.2/7.3 (0034-0039), and one patch still in review upstream (0040) that brings all four amplifiers back on the first stream after wake. 0034-0039 can be dropped as stable kernels catch up, and 0040 when it merges.

The camera now uses Intel's hardware ISP. hp-elitebook-x-g2i-camera 2.0.0 behaves exactly like 1.x from the outside: one writer on /dev/video50, sensor and LED off when idle. Inside, frames come from CamHAL via a new pinned package, hp-elitebook-x-g2i-camhal-runtime. The pin (release 20260327_1) is deliberate: newer releases produce black frames on this sensor (intel/ipu7-camera-hal#48). If the engine fails twice, the old software path takes over for the rest of the boot. The gains: correct colour in any lighting, half the noise, a third of the CPU.

One small HAL patch rides in the runtime. The HAL ships with noise reduction set to zero and no way to change it. The patch adds an override; the package defaults to the HAL's own strongest preset after measuring 45% less dark-scene noise and no loss of sharpness. Users can also drop their own AIQ tuning file in /etc; the package ships nothing that cannot be redistributed.

TESTPLAN-v2.md in the camera pkgbuild has the test drills, including rollback. The companion PR omacom/omarchy#6596 fixes both things Copilot flagged: the ISO mirror package list, and removing a wrongly installed intel-ipu7-camera so setup reruns stop failing on the conflict.

meirdick and others added 5 commits August 31, 2026 10:47
The residual call noise was temporally white 4-16px blobs, chroma
worst; the HAL's TNR blend cannot be forced (no parameter exists) and
AE rides 12-15x gain at the 33 ms cap. vapostproc denoise (Intel
VEBOX, GPU fixed-function) between icamerasrc and the loopback writer
cuts it: measured on hardware, sigma Y/Cb/Cr 3.6/3.4/4.3 bare ->
2.6/1.5/2.4 at 8 -> 2.1/1.2/1.9 at 24 -> 1.25/0.99/1.59 at 48, static
detail intact at 48. Template ships 24; denoise=0 keeps the byte-
identical unfiltered pipeline. HPCAM_EXPOSURE_RANGE/GAIN_RANGE pass
through to icamerasrc for the gain-vs-motion-blur trade, validated
and off by default.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018WK5v7uaTD8WtdgR8MKzE2
The four TAS2783A amps share one 2-channel PDI, so every amp receives
the same channel and the machine plays mono-left out of all four
speakers. Confirmed by ear, and independently diagnosed by tzu-chen on
identical hardware (github.com/tzu-chen/hp-elitebook-x-g2i-sound-fix).

0061 fixes a SoundWire bug that is not specific to this board: when a
second DAI joins a stream on the same bus, sdw_stream_add_master()
skips allocation and then reprograms the first DAI's port with the
second's config, so both ports end up with ChannelEn cleared.

0062 gives the amp dai_link two CPU pins, which selects the sdca-2amp
function topology. 0063 gives tas2783 a .set_tdm_slot and has
asoc_sdw_ti_spk_rtd_init() drive it from the tas2783-N name_prefix it
already decodes, so board knowledge stays in the match table rather
than the codec driver. 0050 therefore lists the amps L,R,L,R by
physical side - 0xC, 0x9, 0xD, 0xA, measured by muting three at a time.

0064 keeps the firmware image in RAM so re-initialisation stops going
back through request_firmware(), which is the slowest and least
reliable step of bringing the amps back after a resume or bus reset.

Numbering: 0010-0049 is now the shared Omarchy series and everything
specific to this machine moved to 0050+. That makes room for
kwilczynski's 0030 Xe flat-CCS fix at its own number, taken verbatim
from kwilczynski/omarchy-kernels so future rebases stay a copy. The
old offset rounded up and published CCS storage as free VRAM, and the
assert that should have caught it compared against a value that could
never disagree.

Verified on 7.1.8-arch1-8-ptl: sof-sdca-2amp-id2.tplg loads, profile
HiFi, four amps enumerated, no defer errors, left plays left and right
plays right.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hg9gdYbjZ1j5hd3Wewrc1j
The topology's Pre/Post Mixer Speaker Playback Volume controls have
min 0 = -90 dB, and udev's alsactl re-applies asound.state on every
card creation. Once a zeroed state is stored it comes back on every
boot: every level reads plausible, nothing logs an error, and the
machine is mute. The guard only rescues an actual zero and never
raises past the values measured working here, so it cannot produce a
volume surprise.

The capture changes come from tzu-chen's tune-mic.sh. The TDFB
beamformer comes up degraded - the control reads on while the array is
not converged - so setting it on is a no-op and it has to be toggled
to force a real re-init. Capture DRC pumps the noise floor on this
array rather than helping speech. Capture volumes are left alone;
those belong to the user and PipeWire.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hg9gdYbjZ1j5hd3Wewrc1j
The README described two kernel patches and the old 0030/0031 numbers.
Bring it up to date with the renumbering and the three patches that make
the machine stereo, mark what has actually merged upstream, and add the
sdca-2amp check to the verification list - that is the one line which
distinguishes "stereo works" from "four copies of the left channel",
which no level or profile check can tell apart.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hg9gdYbjZ1j5hd3Wewrc1j
Rebase onto Omarchy's 7.2.3 (drop 0051 and 0054, both in v7.2).

0065: the TAS2783 driver read factory calibration from one UEFI GUID
(Lenovo's). HP stores CALI_DATA under 02f9af02-7734-4233-b43d-93fe5aa35db3.
Try the same DELL/HP/LENOVO table tas2781_hda already uses. Verified: all
four amps now carry their EFI R0/INVR0/R0LOW/POWER/TLIM values, and the
right woofer (uid 0x9), silent uncalibrated, plays on its own tuning.

0066: the ov05c10 is powered through an INT3472 handshake pin that got the
generic 25 ms enable delay. The sensor needs 50 ms: a cold start streamed
before the part was ready and the ISYS never saw a frame; a retry on a
still-warm sensor worked, which is what made it look random. Per-sensor
entry, same shape as the ov08x40 quirk. Verified: CamHAL starts first try,
0 ISYS timeouts.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016UHVG4PK8BCgEt8KpiJHRd
@cyberKrakn

Copy link
Copy Markdown

Happy to test this on a second board. My reference here is D4VJ0UA#ABA (HP EliteBook X Flip G2i, board 8E86 — same board as your reference), currently on stock Omarchy with the broken intel-ipu7-camera 1.0.5:

  • camera sensor is OVTI05C1 (OV05C10) and never binds (no ov05c10 driver; the package ships only OV08X40 config/tuning), /dev/video50 green;
  • speakers are dead for the same missing ACPI-match reason as your reference machine.

I can build/install the branch, cold-boot, and report back with dmesg/unit status, the DKMS build result, and camera in Chrome/Firefox/OBS plus audio (Speaker sink, Mic/Headset sources). Anything specific you'd want captured for a second SKU?

@meirdick

Copy link
Copy Markdown
Author

@cyberKrakn thats great, i have a new build off the 7.2 kernel that i'll push later today.

The HAL plugin links libjsoncpp by soname; a jsoncpp major bump breaks
the plugin load with no error at the daemon level, only
engine=softisp-fallback. Happened 2026-09-03 (.so.26 -> .so.27).

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NSB5ZvnEAFedvWqj4eJbvC
@meirdick

Copy link
Copy Markdown
Author

@cyberKrakn pushed. Branch hp-elitebook-x-g2i at 038c640, now on linux-ptl 7.2.3.arch1-4 (Omarchy's current base). What changed since the Aug 31 push, all verified on the reference D4DU1UT#ABA:

Audio

  • True 4-speaker stereo. Before, all four amps played the left channel. Three kernel patches (0061–0063) split the amp link across two PDIs.
  • Factory calibration now applied. The TAS2783 driver looked for it under Lenovo's UEFI GUID; HP uses 02f9af02-…. Patch 0065 tries the DELL/HP/LENOVO table. Without it one amp (uid 0x9, right woofer) is silent.

Camera

  • Cold-start fix. The ov05c10 needs 50 ms after the INT3472 handshake pin, kernel gave it 25 ms — CamHAL got no frame on first start. Patch 0066.
  • The camera package is otherwise unchanged from Aug 31.

To capture on the Flip, in this order:

  1. journalctl -k -b | grep -E 'sdca-.amp-id2' → want sof-sdca-2amp-id2.tplg, not 1amp
  2. journalctl -k -b | grep -c 'calib data update done' → want 4
  3. ls /sys/bus/soundwire/devices/ → does the Flip enumerate sdw:0:2:0102:0000:01:{9,a,c,d} like the reference? The match table hardcodes that order (L,R,L,R by physical side). If the Flip's uids differ, stereo will be mirrored or mono and I need your mapping.
  4. journalctl -u hp-elitebook-x-g2i-camera -b | grep -o 'engine=[a-z-]*' | tail -1 → want engine=camhal on the first app open after boot, not softisp-fallback
  5. Then the usual: pactl list cards | grep 'Active Profile' (HiFi), Chrome/Firefox/OBS, speaker L/R by ear.

If (3) differs, send the ls output and which physical speaker each uid drives — mute three at a time via amixer -c0 cset name='tas2783-N Speaker Volume' 0.

Known gaps: PR is CONFLICTING against master (my side, working on it); hp-elitebook-x-g2i-camhal-runtime depends on jsoncpp unversioned, so rebuild it after any jsoncpp major bump.

@cyberKrakn

Copy link
Copy Markdown

@meirdick Pushed and booted hp-elitebook-x-g2i @ 038c640 on linux-ptl 7.2.3.arch1-4-ptl, reference D4VJ0UA#ABA (board 8E86, same as yours).

Camera: working. engine=camhal on first open, no softisp fallback. Confirmed live via ffplay -f v4l2 /dev/video50 — clean image, stable service (no restart loop).

Audio: topology and mapping correct, calibration doesn't apply.

  • journalctl -k -b: sof-sdca-2amp-id2.tplg loaded (not 1amp) ✓
  • ls /sys/bus/soundwire/devices/: sdw:0:2:0102:0000:01:{9,a,c,d} — matches your reference order ✓
  • calib data update done count: 0, want 4 ✗ — but the EFI var is there: CALI_DATA-02f9af02-7734-4233-b43d-93fe5aa35db3 exists, 116 bytes, same GUID your patch checks.
  • Only amp uid 0x9 (right woofer) fails:
    slave-tas2783 sdw:0:2:0102:0000:01:9: Initialization not complete
    slave-tas2783 sdw:0:2:0102:0000:01:9: ASoC error (-22): at snd_soc_pcm_component_pm_runtime_get()
    
    repeating on a loop, no matching errors on a/c/d.
  • Net effect is worse than "one amp silent" — pactl list cards shows only off and pro-audio profiles, no HiFi at all, card unusable. Confirmed with a raw ALSA open, bypassing PipeWire/UCM entirely:
    $ speaker-test -D hw:0,2 -c2 -t wav -l1
    Playback open error: -22,Invalid argument
    
    Same -22 as the kernel log, so it's not a UCM/PipeWire routing issue — the PCM itself won't open.

Looks like 0x9 failing blocks pm_runtime resume for the whole component chain. Let me know what else you want pulled — happy to add dyndbg on the calibration read path if that helps narrow why the var isn't being consumed despite matching the GUID.

…kgrel 2

0067: runtime resume waited 5 s for a peripheral to re-enumerate and
failed every PCM open on the card if it did not. On the HP EliteBook X
Flip G2i (second board, same design) amp 0x9 was still re-attaching
when WirePlumber probed, so the whole card came up with no profile.
Drop the wait, mirror the non-blocking system-resume path, and let a
stream start without a part that is not on the bus; it joins on the
next stream. Calibration outcome is now dev_info/dev_warn so it shows
in a plain journal.

camhal-runtime pkgrel 2: rebuilt against jsoncpp 1.9.8 so the plugin
links libjsoncpp.so.27 like the rest of the system.

Verified on the reference board: 4 amps, HiFi, calibration applied x4,
CamHAL first start, 0 ISYS timeouts.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TgHtHZxW6GB3uPAfd6yybK
@meirdick

Copy link
Copy Markdown
Author

@cyberKrakn fixed on linux-ptl 7.2.3.arch1-5, branch pushed (d881977).

Your 0x9 hadn't re-attached to the bus when the first PCM opened. Runtime resume waited 5 s, failed, and took the whole card with it. Patch 0067: no wait, stream starts without a missing amp, it joins on the next stream. Calibration messages are now visible in a plain journal.

Retest and send:

journalctl -k -b | grep -E 'factory calibration|not attached'
cat /sys/bus/soundwire/devices/sdw:0:2:0102:0000:01:*/status

Expect HiFi and sound. Right woofer may sit out the first stream.

@cyberKrakn

Copy link
Copy Markdown

@meirdick Confirmed on linux-ptl 7.2.3.arch1-5-ptl, board 8E86 (D4VJ0UA#ABA), clean boot.

journalctl -k -b | grep -E 'factory calibration|not attached':

slave-tas2783 sdw:0:2:0102:0000:01:9: factory calibration applied (4 speakers in UEFI)
slave-tas2783 sdw:0:2:0102:0000:01:a: factory calibration applied (4 speakers in UEFI)
slave-tas2783 sdw:0:2:0102:0000:01:c: factory calibration applied (4 speakers in UEFI)
slave-tas2783 sdw:0:2:0102:0000:01:d: factory calibration applied (4 speakers in UEFI)

not attached: 0 lines.

cat /sys/bus/soundwire/devices/sdw:0:2:0102:0000:01:*/status -> Attached on all four (9, a, c, d).

  • sof-sdca-2amp-id2.tplg loaded (not 1amp); factory calibration applied count is 4.
  • 0x9 is up and calibrated — no -22, no snd_soc_pcm_component_pm_runtime_get() loop.
  • pactl list cards -> Active Profile: HiFi; speaker sink RUNNING; all five sinks present.
  • Camera still good on the same boot: engine=camhal on the first open, no fallback.

Dropping the wait and letting the stream start without the amp is exactly right — the card comes up regardless of bus timing, and the amp joins when it's ready. The dev_info/dev_warn calibration messages are the other half of the win: this was diagnosable from a plain journalctl -k -b with no dyndbg, which is what let me confirm it in one boot instead of a probe session.

Thanks for the fast turnaround and for sticking with it across the two boards — genuinely appreciate the work you put into this.

One note for the record: hp-elitebook-x-g2i-camhal-runtime is still pkgrel 1 here (camera works fine against the current jsoncpp), so I'll pick up pkgrel 2 on the next package sync rather than hand-building it.

@meirdick

Copy link
Copy Markdown
Author

Superseded by #480 (same work, rebased onto linux-omarchy 7.2.5).
@cyberKrakn Omarchy 4.0.4 moved the default kernel to linux-omarchy and
dropped linux-ptl, so I have rebased the whole stack onto it. New branch
hp-elitebook-x-g2i-omarchy: same fixes, 11 patches instead of 20 (nine are
already in Krzysztof's base), everything applies clean on 7.2.5-4, and the
audio and camera packages now depend on linux-omarchy.

To test, build pkgbuilds/linux-omarchy from that branch (it is a full kernel
build, ~2.5 h on 8 threads; linux-omarchy 7.2.5-4.1 sorts above the
published -4), install it with its headers, and add
linux-omarchy linux-omarchy-headers to IgnorePkg so the next omarchy update does not replace it. DKMS rebuilds the camera modules on install.
Then the same checks as before:

journalctl -k -b | grep -E 'factory calibration|not attached|splitting into 2 PDIs'
cat /sys/bus/soundwire/devices/sdw:0:2:0102:0000:01:*/status
pactl list cards | grep 'Active Profile'

Expect HiFi and stereo; the right woofer may sit out the first stream if it
re-attaches late. One thing new to this kernel: it runs the IOMMU in DMA
remapping mode by default. If the camera does not come up, please send
cat /sys/kernel/iommu_groups/*/type | sort | uniq -c and try iommu=pt on
the command line.

This PR will be closed in favour of the new one once you confirm.

@ryanrhughes

Copy link
Copy Markdown
Collaborator

Superseded by #480 from the same author, which carries the newer version of this work.

meirdick added a commit to meirdick/omarchy-pkgs that referenced this pull request Sep 22, 2026
Eleven patches from the linux-ptl stack in omacom#124, rebased onto 7.2.5-4
and regenerated with git format-patch so each applies at offset 0 and
fuzz 0. Numbered into the 05xx sound and media ranges and 08xx platform
range, with gaps kept.

  0520  ASoC: Intel: soc-acpi-intel-ptl-match: add HP EliteBook X G2i
  0521  ASoC: tas2783: do not block system resume on peripheral re-attach
  0522  ASoC: tas2783: re-initialise amplifiers from .startup (jml, on the list)
  0523  soundwire: stream: append ports when a second DAI joins a stream
  0524  ASoC: Intel: sof_sdw: split a four-amp TAS2783A link into two PDIs
  0525  ASoC: tas2783: take one stream channel per mono amplifier
  0526  ASoC: tas2783: keep the firmware image for re-initialisation
  0527  ASoC: tas2783: read factory calibration from every vendor GUID
  0528  ASoC: tas2783: do not fail runtime resume on a late peripheral
  0543  media: ipu-bridge: 900 MHz link for the ov05c10 (media-next f9536a8065d9)
  0802  platform/x86: int3472: 50 ms handshake delay for the ov05c10
        (superseded in media-next by 844982d3b993, drop at the next base bump)

Nine patches from that stack are already in this base and are dropped:

  0020, 0028  i915 ALPM/PSR      carried as 0400 and 0401
  0029        drm/edid           carried as 0350
  0030        xe flat-CCS        stable 7.2.5, 348c3db4f152
  0055, 0056  tas2783 reg_default  stable 7.2.5, adf51dd6e11b and 87c0fb907c41
  0057        tas2783 writeable_reg  in 0510
  0058, 0059  sdw_utils resume, PRE_PREP power  in 0511

The rebase moved one hunk of 0521 below the regcache_drop_region() that
0510 adds to tas_update_status(), and 0528 keeps the ret variable that
0510's regcache_sync() error propagation needs. 0527 gains a second HP
GUID, the one the HP OmniBook X Flip 14 (board 8EA1) uses, taken from
jml's v2 2/3 on linux-sound. Nothing else in the code changed; every
header was rewritten.

pkgrel 4.1 sorts between 4 and 5 (vercmp) for a local build; the
maintainer sets the real pkgrel.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
meirdick added a commit to meirdick/omarchy-pkgs that referenced this pull request Sep 22, 2026
hp-elitebook-x-g2i-audio, hp-elitebook-x-g2i-camera,
hp-elitebook-x-g2i-camhal-runtime, intel-ipu7-drivers and
libcamera-ov05c10, unchanged from branch hp-elitebook-x-g2i-v2
(d881977). The kernel side moves to linux-omarchy in the next commit.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
meirdick added a commit to meirdick/omarchy that referenced this pull request Nov 1, 2026
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>
meirdick added a commit to meirdick/omarchy-pkgs that referenced this pull request Nov 1, 2026
hp-elitebook-x-g2i-audio, hp-elitebook-x-g2i-camera,
hp-elitebook-x-g2i-camhal-runtime, intel-ipu7-drivers and
libcamera-ov05c10, unchanged from branch hp-elitebook-x-g2i-v2
(d881977). The kernel side moves to linux-omarchy in the next commit.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
meirdick added a commit to meirdick/omarchy that referenced this pull request Nov 18, 2026
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>
meirdick added a commit to meirdick/omarchy-pkgs that referenced this pull request Nov 18, 2026
hp-elitebook-x-g2i-audio, hp-elitebook-x-g2i-camera,
hp-elitebook-x-g2i-camhal-runtime, intel-ipu7-drivers and
libcamera-ov05c10, unchanged from branch hp-elitebook-x-g2i-v2
(d881977). The kernel side moves to linux-omarchy in the next commit.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.

3 participants