Add HP EliteBook X G2i audio and camera packages - #124
Conversation
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>
|
Marking draft: the PKGBUILDs currently source the DKMS trees from a private repo, so |
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>
|
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 |
Two packages for the HP EliteBook X G2i (Panther Lake). On a stock install this
machine has no working speakers, microphone or webcam.
Same model as
dell-xps-touchpad-haptics: the packages live here, and ahardware-gated script in basecamp/omarchy pulls them in. Companion PR:
basecamp/omarchy#6596.
hp-elitebook-x-g2i-audio
Without this package the machine has no Speaker device. The card sits on profile
offwith no usable sink.The board pairs an RT712 SDCA codec with four TAS2783 smart amps. Panther Lake's
ACPI match table has no entry for that combination, so SOF falls back to a
barebones machine driver and never instantiates the amps.
The package installs four things:
.kostops applying at the nextkernel upgrade, and the failure mode is no speakers with no warning.
tas2783-sdw.crequests8E86-2-{9,A,C,D}.bin.linux-firmware ships the same calibration blobs as
8E86-2-0x{9,A,C,D}.bin.zst. This is a naming bug, so the package symlinksand leaves linux-firmware owning the files.
post_removeremoves onlysymlinks it created.
pro-audio passthrough.
which leaves the card on profile
offwith no sinks and no sources. Theguard waits up to 12 seconds for the kcontrol and returns at once when the
control is already present.
The package carries no vendor tuning data.
hp-elitebook-x-g2i-camera
This package bypasses Intel's CamHAL. It is a workaround, not a fix.
CamHAL cannot drive this camera. With
cameraDebug=0xFF:The graph settings binary for
OV05C10_CJFPE50expects a 2944-wide readout. Theov05c10driver exposes 2888x1808, and so does Intel's ownsensors/ov05c10-uf.json. The resulting crop is negative. psys itself works andlogs
frame id N is done. It processes frames from a region the sensor neversends, so the output is black. Correct graph settings need Intel's tooling, so
this cannot be fixed downstream.
The package runs the ISP in userspace instead:
It also ships the
ov05c10sensor driver, which exists neither in mainline norin
intel-ipu7-camera, and anipu-bridgepatch that widens theOVTI05C1entry from one link frequency to two. Without the patch, probing fails with
no link frequency 900000000 supported.exclusive_caps=1 and the service are a pair
Chrome lists only V4L2 devices that advertise CAPTURE without OUTPUT. With
exclusive_caps=0the loopback advertises both, and Chrome omits the camera.Firefox and OBS are unaffected, which makes the symptom confusing to diagnose.
exclusive_caps=1advertises capture-only while a writer is attached, so theservice holds the device open at all times. Both ship in one package so they
cannot drift apart, and the unit uses
Restart=always.Known limitations
the image is softer and noisier than the hardware ISP would give.
gain. White balance is static gray-world gains, because this sensor exposes no
V4L2_CID_RED_BALANCEorV4L2_CID_BLUE_BALANCE.Testing
Verified on the reference machine, SKU
D4DU1UT#ABA. Speakers, microphone andwebcam work in Chrome, Firefox, OBS and the Omarchy screen recorder.
🤖 Generated with Claude Code