Skip to content

Disable the HP ZBook Ultra G3a's phantom USB port so fingerprint enrollment works - #17634

Merged
dhh merged 1 commit into
quattrofrom
zbook-ultra-g3a-unused-usb-port
Nov 5, 2026
Merged

dhh merged 1 commit into
quattrofrom
zbook-ultra-g3a-unused-usb-port

Conversation

@dhh

@dhh dhh commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

On the HP ZBook Ultra G3a, omarchy-setup-security-fingerprint installs the drivers and then never asks for a touch. fprintd-enroll eventually fails with failed to claim device: Timeout was reached.

Cause

Port 5 of the USB2 root hub on the 1022:1588 xHCI controller is marked not used by ACPI, yet it reports a connection that never answers:

usb 3-5: device descriptor read/64, error -110
usb 3-5: device not accepting address 17, error -62
usb usb3-port5: unable to enumerate USB device

Each time the hub resumes, the kernel spends 30–45s retrying that phantom device. Everything else on the hub stalls behind it, including the Elan MOC fingerprint reader (04f3:0ca8) on port 4. A debug run showed fprintd's open of the sensor taking 41s and finishing the instant the kernel gave up on port 5. After that the sensor answered every command in under 50ms, but fprintd-enroll had already timed out after about 25s.

Fix

  • etc/udev/rules.d/60-omarchy-hp-zbook-ultra-g3a-usb.rules matches the root hub interface on that controller, only on HP ZBook Ultra G3a* (DMI). It disables port 5, but only when the port's connect_type is not used, so a SKU that actually wires something to it is left alone. It matches on bind as well as add, because the port devices exist only once the hub driver has probed.
  • A migration re-triggers the root hubs so existing installs get the fix without a reboot.

Verified

  • Tested on a ZBook Ultra G3a 16" (board 8F6D, BIOS 01.01.07). With the port disabled, enrollment and verification complete.
  • With the port re-enabled and the rule installed, udevadm trigger --action=add set it back to disabled (disable 0 → 1), and no further enumeration attempts were logged.
  • udevadm verify passes.

🤖 Generated with Claude Code

…llment works

Port 5 of the laptop's USB2 root hub is marked "not used" by the firmware,
yet reports a connection that never answers. Each retry stalls the hub for
30-45 seconds, so the Elan fingerprint reader on port 4 can't open and
fprintd-enroll times out before asking for a touch. A udev rule disables
the port when the firmware calls it unused, and a migration applies it
without a reboot.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@greptile-apps

greptile-apps Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] The PR appears safe to merge; no actionable issues were found.

Summary

Disables the HP ZBook Ultra G3a’s phantom USB port to prevent fingerprint enrollment timeouts.

  • Fingerprint enrollment can reach the reader without waiting for retries on unused port 5.

No actionable issues were found. Hardware behavior was not independently reproduced.

Reviews (1) · Last reviewed commit: "Disable the HP ZBook Ultra G3a's phantom..." · Reviewed by Greptile

@dhh
dhh merged commit fd3475a into quattro Nov 5, 2026
1 of 2 checks passed
@dhh
dhh deleted the zbook-ultra-g3a-unused-usb-port branch November 5, 2026 03:35
dhh added a commit that referenced this pull request Nov 24, 2026
…20060)

On the HP ZBook Ultra G3a, port 5 of the 1022:1588 USB2 root hub is the
internal USB interface of the MediaTek MT7925 Wi-Fi 7 / Bluetooth combo
card (0e8d:8c38), not a phantom device. HP's ACPI firmware marks both
internal ports on that hub (port 4 for the fingerprint reader and port 5
for Bluetooth) as "not used", so 60-omarchy-hp-zbook-ultra-g3a-usb.rules
disabled Bluetooth on every boot.

The descriptor read error -110 / address error -62 stalls seen in #17634
were the warm-reboot MT7925 Bluetooth lockup now handled by #19939
(omarchy-mt7925-bluetooth-shutdown.service). Remove the udev rule and its
unreleased migration, and add a migration to re-enable port 5 on existing
ZBook Ultra G3a installs without requiring a reboot.
cursor Bot pushed a commit to mark-groves/omarchy that referenced this pull request Nov 24, 2026
…macom#20060)

On the HP ZBook Ultra G3a, port 5 of the 1022:1588 USB2 root hub is the
internal USB interface of the MediaTek MT7925 Wi-Fi 7 / Bluetooth combo
card (0e8d:8c38), not a phantom device. HP's ACPI firmware marks both
internal ports on that hub (port 4 for the fingerprint reader and port 5
for Bluetooth) as "not used", so 60-omarchy-hp-zbook-ultra-g3a-usb.rules
disabled Bluetooth on every boot.

The descriptor read error -110 / address error -62 stalls seen in omacom#17634
were the warm-reboot MT7925 Bluetooth lockup now handled by omacom#19939
(omarchy-mt7925-bluetooth-shutdown.service). Remove the udev rule and its
unreleased migration, and add a migration to re-enable port 5 on existing
ZBook Ultra G3a installs without requiring a reboot.
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.

1 participant