Repository navigation
Conversation
|
Marking draft: the PKGBUILDs currently source the DKMS trees from a private repo, so |
|
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: Payloads verified: DKMS trees land in |
|
Back to draft. The audio package currently rebuilds the whole |
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>
ace6262 to
5c688c3
Compare
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>
|
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 Why What the camera costs. About 4.4 CPU cores at 1920x1080. That is inherent to Why patch Upstream status. Patches Sensor bind on the reference machine, for reference: |
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>
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>
|
Validation update. Everything below was run on the reference machine today, on The audio package is now installed as a package. It had only ever been Patch 0031 does what it says. The card now reports:
The old DKMS module is gone. The camera README now records a route off the software ISP. Saying CamHAL is Package build and install is clean for all four: |
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>
|
Found and fixed a fresh-install blocker while auditing this for merge. Worth The camera package shipped options for This is the same shape as the dependency gap noted when this rework started: Fixed with Proven rather than reasoned: with the service stopped,
Also cleaned off this machine, so it now represents a fresh install: four |
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>
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
|
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. |
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
|
Happy to test this on a second board. My reference here is
I can build/install the branch, cold-boot, and report back with |
|
@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
|
@cyberKrakn pushed. Branch Audio
Camera
To capture on the Flip, in this order:
If (3) differs, send the Known gaps: PR is CONFLICTING against master (my side, working on it); |
|
@meirdick Pushed and booted Camera: working. Audio: topology and mapping correct, calibration doesn't apply.
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
|
@cyberKrakn fixed on Your Retest and send: Expect HiFi and sound. Right woofer may sit out the first stream. |
|
@meirdick Confirmed on
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 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: |
|
Superseded by #480 (same work, rebased onto linux-omarchy 7.2.5). To test, build Expect HiFi and stereo; the right woofer may sit out the first stream if it This PR will be closed in favour of the new one once you confirm. |
|
Superseded by #480 from the same author, which carries the newer version of this work. |
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>
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>
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>
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>
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>
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>
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:00300031spk:tas2783and ALSA can find a speaker configuration. Every other amp in the list already has one.0032linux-ptltracks 7.1.8.arch1, the version this repo now publishes, and takesupstream's PKGBUILD and config verbatim. Only the three patches above are added,
so
pkgrelis 2.intel-ipu7-driversis new: the DKMS modules split out ofintel-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/srcpaths, so nothing rebuilds for existing users.intel-ipu7-cameranow depends on it.
libcamera-ov05c10is new: libcamera 0.7.2 with five patches, built into/usr/lib/libcamera-ov05c10rather than over the top of Arch's libcamera. Itneither 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-audiois the Speaker device definition, firmware filenamesymlinks, 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-camerais Intel'sov05c10sensor driver as DKMS, plus adaemon 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;
makepkgproduceslinux-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:
Worth stating plainly, because it is the case this PR exists to prevent: when
omarchy updatepulled upstream'slinux-ptl 7.1.8.arch1-1on this machine, theACPI match module contained no
ptl_sdw_rt712_l3_tas2783_l2entry, and booting itwould 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.