<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: George Ma</title>
    <description>The latest articles on DEV Community by George Ma (@z_george_ma).</description>
    <link>https://dev.to/z_george_ma</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4267749%2F0a003592-b5ca-4847-bc5b-a951f1ab5cf9.jpg</url>
      <title>DEV Community: George Ma</title>
      <link>https://dev.to/z_george_ma</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/z_george_ma"/>
    <language>en</language>
    <item>
      <title>Running Arch Linux (Omarchy ARM64) on the HP OmniBook 5 16" (Snapdragon X Plus)</title>
      <dc:creator>George Ma</dc:creator>
      <pubDate>Sun, 29 Nov 2026 00:42:46 +0000</pubDate>
      <link>https://dev.to/z_george_ma/running-arch-linux-omarchy-arm64-on-the-hp-omnibook-5-16-snapdragon-x-plus-4992</link>
      <guid>https://dev.to/z_george_ma/running-arch-linux-omarchy-arm64-on-the-hp-omnibook-5-16-snapdragon-x-plus-4992</guid>
      <description>&lt;p&gt;I use Arch Linux as my daily driver. When the 16-inch HP OmniBook 5 (Snapdragon X Plus, 32 GB RAM) went on a Black Friday sale, the value proposition was hard to pass up: 32 GB of fast unified memory in a thin, quiet chassis gives enough headroom to target local 27B quantized LLMs on the road.&lt;/p&gt;

&lt;p&gt;The catch is that official Arch Linux targets &lt;code&gt;x86_64&lt;/code&gt;, while Linux on Qualcomm Snapdragon X hardware still relies on community distributions, Device Tree Blobs (DTBs), and extracted vendor firmware. I pulled the trigger anyway, installed an ARM64 Arch-based system onto a USB drive, and paired an AI coding agent with a wired SSH recovery loop to turn the laptop into a usable daily machine.&lt;/p&gt;

&lt;p&gt;If you own the same laptop and want to run Linux on it, start with the hardware specs and compatibility matrix below—followed by how the bring-up went and what worked best when letting an AI agent do the heavy lifting.&lt;/p&gt;




&lt;h2&gt;
  
  
  Tested Hardware Specifications
&lt;/h2&gt;

&lt;p&gt;All Linux observations below were verified on this specific retail unit:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Subsystem&lt;/th&gt;
&lt;th&gt;Hardware &amp;amp; Linux Driver Details&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Model / Board / BIOS&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;HP OmniBook 5 Laptop &lt;code&gt;16-bf0xxx&lt;/code&gt;, board &lt;strong&gt;HP 8E33&lt;/strong&gt;, SKU &lt;code&gt;C42DVPA#ABG&lt;/code&gt;, BIOS &lt;code&gt;F.03&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;SoC / CPU&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Qualcomm Snapdragon X Plus &lt;strong&gt;X1P-42-100&lt;/strong&gt; (&lt;code&gt;Purwa&lt;/code&gt;, 8 Oryon cores, up to 3.4 GHz single-core / 3.2 GHz multi-core)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Memory&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;32 GB onboard LPDDR5x-8448&lt;/strong&gt; (unified system memory)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Storage&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;512 GB SK hynix BC901 PCIe Gen4 NVMe (&lt;code&gt;HFS512GEJ9X108N&lt;/code&gt;, &lt;code&gt;nvme&lt;/code&gt;)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Display &amp;amp; GPU&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;16" 1920×1200 non-touch OLED (&lt;code&gt;ATNA60KJ02-0&lt;/code&gt;) on native eDP; Adreno X1-45 GPU (&lt;code&gt;msm&lt;/code&gt;, &lt;code&gt;panel_edp&lt;/code&gt;)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;AI / DSPs&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Qualcomm Hexagon NPU (45 TOPS rated); ADSP &amp;amp; CDSP remote processors (&lt;code&gt;qcom_q6v5_pas&lt;/code&gt;)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Wi-Fi &amp;amp; Bluetooth&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Qualcomm &lt;strong&gt;WCN6855 hw2.1&lt;/strong&gt; Wi-Fi 6E (&lt;code&gt;ath11k_pci&lt;/code&gt; / &lt;code&gt;ath11k&lt;/code&gt;) + UART Bluetooth 5.3 (&lt;code&gt;hci_uart&lt;/code&gt; / &lt;code&gt;btqca&lt;/code&gt;)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Input&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;HID-over-I²C keyboard (&lt;code&gt;0416:c300&lt;/code&gt;) &amp;amp; touchpad (&lt;code&gt;04f3:32ef&lt;/code&gt;) via Qualcomm GENI I²C (&lt;code&gt;i2c_qcom_geni&lt;/code&gt;, &lt;code&gt;i2c_hid_of&lt;/code&gt;)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Camera &amp;amp; Mics&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;HP True Vision FHD USB webcam (&lt;code&gt;04f2:b809&lt;/code&gt;, &lt;code&gt;uvcvideo&lt;/code&gt;, visible + IR nodes) &amp;amp; dual-array digital mics&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Audio&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Two speakers with dual &lt;strong&gt;WSA884x&lt;/strong&gt; smart amplifiers on SoundWire (&lt;code&gt;snd_soc_wsa884x&lt;/code&gt;) + &lt;strong&gt;WCD9385&lt;/strong&gt; headset codec (&lt;code&gt;snd_soc_x1e80100&lt;/code&gt;)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Ports &amp;amp; Battery&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;2× USB-C 10 Gb/s (USB PD + DisplayPort 1.4a), 1× USB-A 10 Gb/s, 1× 3.5 mm headset jack; 59.16 Wh battery (&lt;code&gt;qcom_battmgr&lt;/code&gt;)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  Linux Compatibility Status (What Works &amp;amp; What Doesn't)
&lt;/h2&gt;

&lt;p&gt;Tested on the packaged &lt;code&gt;7.3.0-78-omarchy&lt;/code&gt; ARM64 kernel using the board-specific &lt;code&gt;x1p42100-hp-omnibook-5.dtb&lt;/code&gt; and extracted Windows Qualcomm firmware:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Component&lt;/th&gt;
&lt;th&gt;Status&lt;/th&gt;
&lt;th&gt;Notes&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;Internal OLED Display (&lt;/strong&gt;&lt;code&gt;eDP-1&lt;/code&gt;&lt;strong&gt;)&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Works&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Native 1920×1200 via &lt;code&gt;msm&lt;/code&gt;; preload &lt;code&gt;msm&lt;/code&gt; eDP modules in the initramfs so handover from firmware framebuffer doesn't stall.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;USB-C DisplayPort&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Works (OOTB)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;External DisplayPort output over USB-C works out of the box.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;USB-C DisplayPort Playback&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Works (config)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Missing entries in device tree and ALSA UCM profile. Use the patched &lt;a href="https://gist.github.com/gvibehacker/4a62c5ef1f3316efebe11c8a583f6e9e/raw/48eb117444d94d0795d4664c3124c755749d8985/x1p42100-hp-omnibook-5.dtb" rel="noopener noreferrer"&gt;device tree blob&lt;/a&gt; and &lt;a href="https://gist.github.com/gvibehacker/4a62c5ef1f3316efebe11c8a583f6e9e" rel="noopener noreferrer"&gt;UCM profile&lt;/a&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Touchpad&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Works (OOTB)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Enumerates cleanly via &lt;code&gt;hid_multitouch&lt;/code&gt; over &lt;code&gt;i2c_qcom_geni&lt;/code&gt;.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Webcam&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Works (OOTB)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Standard &lt;code&gt;uvcvideo&lt;/code&gt; device (&lt;code&gt;04f2:b809&lt;/code&gt;) exposes visible and IR video nodes.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Bluetooth&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Works (OOTB)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;WCN6855 UART controller (&lt;code&gt;hci0&lt;/code&gt;) initializes cleanly with HP firmware.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Battery &amp;amp; Storage&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Works (OOTB)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;NVMe and battery charge/capacity reporting (&lt;code&gt;qcom_battmgr&lt;/code&gt;) work natively.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;Wi-Fi (&lt;/strong&gt;&lt;code&gt;ath11k&lt;/code&gt;&lt;strong&gt;)&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Works (Config)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;WCN6855 works reliably once firmware/board files and &lt;code&gt;iwd&lt;/code&gt; networking are configured.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Keyboard (Early Boot)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Works (Config)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Requires &lt;code&gt;i2c_qcom_geni&lt;/code&gt; and &lt;code&gt;i2c_hid_of&lt;/code&gt; included in the custom initramfs/UKI to type at emergency shell prompts.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Hotkey&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Works (Config)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Booting the Linux image through a UEFI entry named &lt;code&gt;NVMe&lt;/code&gt; restored the keyboard backlight hotkey on BIOS &lt;code&gt;F.03&lt;/code&gt; in a one-shot test.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Keyboard Backlight&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Works&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Cycles through low, high, and off once the hotkey works. No separate Linux configuration needed.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Internal Speakers&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Works (Config)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Plays cleanly on the stock Omarchy kernel with a custom machine &lt;strong&gt;ALSA UCM&lt;/strong&gt; profile (&lt;a href="https://gist.github.com/gvibehacker/4a62c5ef1f3316efebe11c8a583f6e9e" rel="noopener noreferrer"&gt;HP-OmniBook-5-8E33.conf&lt;/a&gt;); DSP active speaker protection is not enabled on stock.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;TPM 2.0 (&lt;/strong&gt;&lt;code&gt;/dev/tpm0&lt;/code&gt;&lt;strong&gt;)&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Not Working&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;No Linux TPM device exposed; deferred (details below).&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;NPU / 27B LLM Benchmarks&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Untested&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Hexagon NPU / CDSP boots cleanly, but local LLM throughput and GPU/NPU offload have not been benchmarked yet.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  The Bring-Up Journey
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Proving Feasibility with the Omarchy ISO and Building a USB Install
&lt;/h3&gt;

&lt;p&gt;Because official Arch Linux only ships &lt;code&gt;x86_64&lt;/code&gt; images, I started with an &lt;strong&gt;ARM64 Omarchy Edge ISO&lt;/strong&gt; (&lt;code&gt;omarchy-edge-2026.11.23.500-aarch64.iso&lt;/code&gt;). Booting straight from the ISO was flaky and slow—the screen went blank for minutes and might or might not come back—but eventually reaching the installer proved that Linux was feasible on this hardware.&lt;/p&gt;

&lt;p&gt;To keep the factory Windows installation intact while iterating, I installed Linux onto a &lt;strong&gt;USB drive&lt;/strong&gt; booted via a Unified Kernel Image (UKI):&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Extracted Windows firmware:&lt;/strong&gt; Before changing anything, I pulled the machine's proprietary Qualcomm firmware (Adreno GPU, ADSP, and CDSP blobs) from the factory Windows partition.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Matched the board DTB:&lt;/strong&gt; While early community threads suggested borrowing an OmniBook 14 DTB, the working boot uses &lt;code&gt;x1p42100-hp-omnibook-5.dtb&lt;/code&gt;, which matches the board's &lt;code&gt;hp,omnibook-5&lt;/code&gt; and &lt;code&gt;qcom,x1p42100&lt;/code&gt; compatibles directly.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fixed custom initrd display and keyboard support:&lt;/strong&gt; Preloading the native &lt;code&gt;msm&lt;/code&gt; eDP driver chain eliminated the blank-screen stall during display takeover, and adding &lt;code&gt;i2c_qcom_geni&lt;/code&gt; plus &lt;code&gt;i2c_hid_of&lt;/code&gt; to &lt;code&gt;mkinitcpio&lt;/code&gt; fixed the non-working keyboard when dropping into my custom initrd emergency shell.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  2. Setting Up a Wired Control Plane for an AI Agent
&lt;/h3&gt;

&lt;p&gt;During early bring-up, Wi-Fi wasn't yet reliable enough to trust across kernel rebuilds and boot tests. To let an AI coding agent debug the machine autonomously, I prioritized two things:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Static wired SSH over USB Ethernet:&lt;/strong&gt; Adding USB storage and generic USB-to-Ethernet support gave me a rock-solid, static SSH connection once the system booted.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Instant EFI rollback:&lt;/strong&gt; Keeping a known-good &lt;code&gt;.OLD&lt;/code&gt; copy of &lt;code&gt;BOOTAA64.EFI&lt;/code&gt; alongside the active UKI on the boot partition meant any bad kernel or DTB experiment could be rolled back in seconds from another machine if a boot hung.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Once the agent had persistent SSH access and a fast rollback safety net, the workflow changed completely. Instead of manually diffing logs, the agent could inspect &lt;code&gt;dmesg&lt;/code&gt;, compare Linux sysfs nodes against the extracted Windows driver artifacts, build new UKIs, and verify boot logs across reboots.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Taming the Speakers (Where Most of the Time Went)
&lt;/h3&gt;

&lt;p&gt;Getting sound out of the internal speakers—without overdriving the twin &lt;strong&gt;WSA884x&lt;/strong&gt; smart amplifiers—actually ate up the vast majority of the bring-up time.&lt;/p&gt;

&lt;p&gt;Generic Snapdragon UCM profiles either failed to route audio properly or attempted to set amplifier levels higher than this hardware's mixer limits. Rather than guessing values blindly, I had the agent analyze the Windows audio calibration files (&lt;code&gt;acdb_cal3.acdb&lt;/code&gt; and &lt;code&gt;workspaceFile3.qwsp&lt;/code&gt;) alongside the Linux AudioReach DSP graph.&lt;/p&gt;

&lt;p&gt;The agent decoded 27 static AudioReach speaker-protection (SP/VI) records and the per-unit resistance/temperature calibration pairs from Windows, then backported Qualcomm's AudioReach WSA884x SP/VI patchset onto the Omarchy &lt;code&gt;7.3.0-78&lt;/code&gt; kernel—remapping the SoundWire voltage/current feedback ports to &lt;strong&gt;10 and 11&lt;/strong&gt; for this board's Device Tree. Along the way, we also reproduced and locally patched a known Q6APM shared-memory unmap timeout in the audio DSP path.&lt;/p&gt;

&lt;p&gt;The custom &lt;code&gt;7.3.0-78-8e33-spvi&lt;/code&gt; kernel booted and exposed the ALSA speaker-protection controls, but diagnostic captures with the amps gated only returned idle padding rather than validated live current draw under playback load. Rather than carrying an out-of-tree kernel across updates for an unverified protection path, I made a pragmatic call:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Return to the packaged&lt;/strong&gt; &lt;code&gt;7.3.0-78-omarchy&lt;/code&gt; &lt;strong&gt;kernel&lt;/strong&gt; for clean updates and stability.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Use a machine-specific ALSA UCM profile:&lt;/strong&gt; I adapted Qualcomm ThinkPad T14s UCM rules and the &lt;code&gt;X1E80100-ACER-SWIFT-14-tplg.bin&lt;/code&gt; DSP topology into &lt;a href="https://gist.github.com/gvibehacker/4a62c5ef1f3316efebe11c8a583f6e9e" rel="noopener noreferrer"&gt;HP-OmniBook-5-8E33.conf&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Set a conservative mixer gain baseline:&lt;/strong&gt; The initial working stock setup was a bit loud at PA &lt;code&gt;6&lt;/code&gt; / WSA digital &lt;code&gt;81&lt;/code&gt;; dialing the baseline down to &lt;strong&gt;PA&lt;/strong&gt; &lt;code&gt;6&lt;/code&gt; &lt;strong&gt;/ WSA digital&lt;/strong&gt; &lt;code&gt;74&lt;/code&gt; in &lt;a href="https://gist.github.com/gvibehacker/4a62c5ef1f3316efebe11c8a583f6e9e" rel="noopener noreferrer"&gt;HP-OmniBook-5-8E33.conf&lt;/a&gt; gave clean, comfortable everyday volume without needing a custom kernel.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  4. Getting the Fn Hotkey and Keyboard Backlight Working
&lt;/h3&gt;

&lt;p&gt;The keyboard worked for typing, but its backlight key—F5 on this model—didn't work on a normal Linux boot. Both F5 and Fn+F5 came through as ordinary F5, and the keyboard stayed dark. On Windows, with &lt;strong&gt;Launch Hotkeys without Fn Keypress&lt;/strong&gt; enabled in BIOS, bare F5 cycled the backlight from low to high to off—even before the Windows logo—while Fn+F5 sent ordinary F5.&lt;/p&gt;

&lt;p&gt;I started with Windows BusesTrace captures. The embedded controller (EC) was already reporting backlight hotkey events (&lt;code&gt;0x1d&lt;/code&gt;) before Windows read the keyboard's HID descriptor, and the trace showed no brightness command between those events. On Linux, delaying the first HID probe didn't bring the hotkey back.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The exact I²C mailbox command for the timeout:&lt;/strong&gt; I reverse-engineered HP's pre-boot Backlit Keyboard Test and traced its &lt;code&gt;SetTimeoutPeriod&lt;/code&gt; call into the firmware. On board &lt;code&gt;8E33&lt;/code&gt; with BIOS &lt;code&gt;F.03&lt;/code&gt;, the EC is at address &lt;code&gt;0x76&lt;/code&gt; on controller &lt;code&gt;0xb94000&lt;/code&gt;. Write &lt;code&gt;05 09&lt;/code&gt; to mailbox register &lt;code&gt;0xed&lt;/code&gt; (wire bytes &lt;code&gt;ed 05 09&lt;/code&gt;) for &lt;strong&gt;Never&lt;/strong&gt;, &lt;code&gt;05 07&lt;/code&gt; for &lt;strong&gt;30 seconds&lt;/strong&gt;, or &lt;code&gt;05 08&lt;/code&gt; for &lt;strong&gt;180 seconds&lt;/strong&gt;. The mailbox status at &lt;code&gt;0xef&lt;/code&gt; reports success as &lt;code&gt;0xe0&lt;/code&gt;; &lt;code&gt;05 fe&lt;/code&gt; reads the timeout back via &lt;code&gt;0xee&lt;/code&gt; as &lt;code&gt;2&lt;/code&gt;, &lt;code&gt;0&lt;/code&gt;, or &lt;code&gt;1&lt;/code&gt;, respectively. From Linux, setting &lt;strong&gt;Never&lt;/strong&gt; and then sending &lt;code&gt;05 05&lt;/code&gt; turned the light on. The explicit off command &lt;code&gt;05 03&lt;/code&gt; didn't work, but setting the timeout to &lt;strong&gt;30 seconds&lt;/strong&gt; while the light was on let it go out on its own. This changes the runtime timeout, not the saved BIOS setting.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The HP firmware hook that restored the hotkey:&lt;/strong&gt; Turning on the light directly didn't explain why the key still came through as plain F5. In the archived &lt;code&gt;F.01&lt;/code&gt; firmware, I found that Insyde's &lt;code&gt;BdsDxe&lt;/code&gt; checks the UEFI boot entry's name for &lt;code&gt;Windows Boot Manager&lt;/code&gt; or &lt;code&gt;NVMe&lt;/code&gt;. The matching path leads to an &lt;code&gt;AcpiPlatform&lt;/code&gt; hook logged as &lt;code&gt;HQ_CLEAR_OEM_SYSTEM_STATUS&lt;/code&gt;, which sets bit 0 of the first byte of EC register &lt;code&gt;0x01&lt;/code&gt;. On live &lt;code&gt;F.03&lt;/code&gt;, I changed only the one-shot USB entry's name to exactly &lt;code&gt;NVMe&lt;/code&gt;. The same Linux image then booted with bare F5 cycling low/high/off and Fn+F5 sending ordinary F5. The EC register read &lt;code&gt;01 01&lt;/code&gt; instead of the usual &lt;code&gt;00 01&lt;/code&gt;. No Windows loader ran, and Linux didn't write the register. That shows the boot label mattered on &lt;code&gt;F.03&lt;/code&gt;; it doesn't prove that writing the bit alone would restore the hotkey or that it survives a normal reboot.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Once the firmware enabled the hotkey, the keyboard backlight worked without any separate Linux configuration.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. What's Left: Linux TPM 2.0
&lt;/h3&gt;

&lt;p&gt;The main missing feature on Linux is &lt;strong&gt;TPM 2.0&lt;/strong&gt; (&lt;code&gt;/dev/tpm0&lt;/code&gt; and &lt;code&gt;/dev/tpmrm0&lt;/code&gt; are absent). While TPM 2.0 is active in Windows, inspecting the firmware ACPI &lt;code&gt;TPM2&lt;/code&gt; table shows it uses &lt;strong&gt;start method 14&lt;/strong&gt; backed by Qualcomm's &lt;code&gt;TrEETPM&lt;/code&gt; secure service inside QTEE (&lt;code&gt;qcomtee&lt;/code&gt; exposes &lt;code&gt;/dev/tee0&lt;/code&gt; on Linux, but no &lt;code&gt;tpm-qcom&lt;/code&gt; driver has been ported or validated for this Purwa &lt;code&gt;8E33&lt;/code&gt; board yet). Since full-disk encryption isn't blocking my workflow on this machine, I've left TPM deferred rather than maintaining a custom kernel port.&lt;/p&gt;




&lt;h2&gt;
  
  
  Takeaways for Snapdragon X Linux Bring-Up
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Put wired networking and rollback in place first.&lt;/strong&gt; Any reliable USB-to-Ethernet adapter and a two-file &lt;code&gt;.EFI&lt;/code&gt; / &lt;code&gt;.OLD&lt;/code&gt; boot setup turn a fragile ARM64 bring-up into a deterministic environment where an AI agent can iterate safely.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Use Windows artifacts as a map, not a mandate.&lt;/strong&gt; Comparing Windows firmware and ACDB/QWSP calibration tables against Linux made it trivial to identify the exact board DTB, firmware blobs, and mixer topology—even when the final daily driver stays on a stock kernel.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Know when to stop carrying custom kernels.&lt;/strong&gt; Prototyping a custom kernel proved what the hardware could expose, but shipping a clean ALSA UCM profile (&lt;a href="https://gist.github.com/gvibehacker/4a62c5ef1f3316efebe11c8a583f6e9e" rel="noopener noreferrer"&gt;HP-OmniBook-5-8E33.conf&lt;/a&gt;) on top of the packaged Omarchy kernel is far easier to live with day to day.&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>ai</category>
      <category>archlinux</category>
      <category>arm64</category>
      <category>linux</category>
    </item>
  </channel>
</rss>
