Skip to content

Framework Desktop: UCSI persistently fails to register USB-C partner/cable for con2 (Dell U3423WE monitor) #214

Open

Description

@aklofas

Summary

On a Framework Desktop (Ryzen AI MAX+ 395), BIOS 3.04, the platform's UCSI implementation persistently returns unknown error 256 (status byte 0x100) on commands related to the connector serving the Dell U3423WE USB-C monitor. As a result, the kernel can never publish port2, port2-partner, or port2-cable in /sys/class/typec/, and con2 Alt-Mode registration fails 100% of the time. The same failure pattern reappears in spontaneous mid-uptime clusters (no suspend/resume needed) — apparently triggered by PD renegotiations from the monitor's normal DPMS standby cycles. Intermittently the failure also takes down USB enumeration through the monitor's built-in hub, requiring a physical USB-C cable unplug/replug to recover.

System

Hardware Framework Desktop, AMD Ryzen AI MAX+ 395 / Radeon 8060S (gfx1151)
BIOS 3.04 (ESRT 0.0.3.4, dated 2025-11-19)
EC (default, no overrides)
OS Linux Mint 22.3
Kernel 6.17.0-23-generic
Monitor Dell U3423WE (34" 3440×1440 ultrawide, USB-C hub w/ DP-Alt-Mode + 90W PD)
Monitor scaler firmware M2B103 (latest as of 2026-05-06; updated from M2B101 during investigation)
Monitor PD controller TI TPS65987DDJ, firmware version 5CD101 (latest shipping; unchanged by M2B103 update — Dell's M2B103 package contained the same PD firmware version that was already on the monitor)
Monitor scaler chip MST9U03RN-3
Monitor USB hub silicon Microchip USB5734 + USB4206 downstream
Cable USB-C to USB-C, passive (exact provenance not confirmed — possibly Dell-supplied with the U3423WE; e-marker status not verified)

Symptom

The connector to the Dell monitor (con2) never registers a partner or cable in the typec sysfs hierarchy across the entire boot — /sys/class/typec/port2, port2-partner, and port2-cable are absent, while port0 and port1 are populated normally. Despite this, DisplayPort video and USB enumeration through the monitor's built-in hub usually function — they appear to succeed via paths that don't depend on UCSI's partner/Alt-Mode registration.

The kernel logs show a continuous failure pattern from the moment of boot:

  • unknown error 256 from UCSI command responses
  • GET_CABLE_PROPERTY failed (-5)
  • con2: failed to register partner alt modes (-5)
  • intermittently: UCSI_GET_PDOS failed (-5) and (-70)

These reappear in clusters every few hours during ordinary uptime — apparently triggered by spontaneous PD renegotiations from the monitor (DPMS standby cycles, monitor power events, etc.) — without any suspend/resume action by the user.

In some boots the symptom escalates to a complete USB-side enumeration failure for the monitor's hub, recoverable only by a physical USB-C cable unplug/replug. In other boots (such as the current one), USB devices stay enumerated despite the persistent UCSI errors.

Devices behind the Dell hub (when working)

Bus 007 hierarchy:
  Microchip USB4206 Smart Hub  (Dell's upstream hub)
    ├── Realtek RTL8153 Gigabit Ethernet
    └── Microchip USB4206 Smart Hub  (Dell's downstream hub)
          ├── Logitech Unifying Receiver (mouse)
          ├── Logitech Illuminated Keyboard (USB-A)
          ├── Logitech Brio 101 webcam
          └── Microchip USB2 Controller Hub

Kernel log evidence

Cold boot — single error 256 immediately, then con2: failed to register partner alt modes (-5) reappears throughout the entire uptime:

[    3.092098] ucsi_acpi USBC000:00: unknown error 256
... (no further errors for ~18 hours) ...
[65925.284836] ucsi_acpi USBC000:00: con2: failed to register partner alt modes (-5)
[66068.187279] ucsi_acpi USBC000:00: con2: failed to register partner alt modes (-5)
[66114.944974] ucsi_acpi USBC000:00: con2: failed to register partner alt modes (-5)
... (persistent reattempts thereafter) ...

Spontaneous mid-uptime cascade (no suspend/resume involved):

[104474.809502] ucsi_acpi USBC000:00: unknown error 0
[104474.809514] ucsi_acpi USBC000:00: UCSI_GET_PDOS failed (-5)
[104475.653433] ucsi_acpi USBC000:00: unknown error 256
[104475.653447] ucsi_acpi USBC000:00: GET_CABLE_PROPERTY failed (-5)
[104476.460457] ucsi_acpi USBC000:00: unknown error 256
[104476.460466] ucsi_acpi USBC000:00: con2: failed to register partner alt modes (-5)

The unknown error 256 is a UCSI status byte the kernel doesn't have a name for, returned from the platform's UCSI implementation (BIOS/EC). The downstream consequences:

  1. GET_CABLE_PROPERTY returns -EIO
  2. UCSI_GET_PDOS returns -EIO or -EAGAIN
  3. Alt-Mode registration for the partner (con2) fails with -EIO
  4. The kernel never publishes port2, port2-partner, or port2-cable to sysfs — userspace tools (typecstatus, lsusb -t -v typec section, etc.) see no information for connector 2 at all
  5. In some boots, the USB-side enumeration of the monitor's hub also fails — recoverable only by a physical USB-C unplug/replug

Workaround

When the symptom escalates to a USB enumeration failure: physically unplug and reconnect the USB-C cable. This forces a fresh PD/Alt-Mode handshake that succeeds at the USB-side level (though con2 partner/cable still does not appear in sysfs).

When the symptom remains at the "UCSI errors but USB still works" level: no action — the system remains usable, just with broken UCSI state.

Frequency

100% reproducible: every boot since BIOS 3.04 produces con2: failed to register partner alt modes (-5) errors, with port2* permanently absent from sysfs. On a representative current boot (uptime 2 days 16 hours, 0 suspend cycles), 4 distinct UCSI error cascades fired — at boot, then spontaneously at +18h, +18.5h, and +29h of uptime — with 269 total ucsi_acpi error log lines.

The user-visible USB-enumeration failure (cable replug required) is intermittent — appears on ~some fraction of cold boots and resumes-from-suspend, while other boots leave USB working despite the UCSI errors.

Why this isn't a kernel-side issue

The error originates inside the platform's UCSI command/response (status byte 0x100 = "error 256"), not in the kernel driver's state machine. The kernel cannot recover because it never receives valid cable/partner data. A physical replug recovers USB-side enumeration in the affected boots, but does not cause port2* to appear in sysfs — i.e. the platform's UCSI state for con2 stays broken even after replug. This points strongly at either the Framework EC's UCSI implementation, the AMD PMFW/SMU UCSI path, or the interaction between either of those and the Dell monitor's TI TPS65987DDJ PD controller.

Monitor side ruled out as the sole cause

The Dell U3423WE was updated to the latest firmware bundle (M2B103) during this investigation. Per Dell's firmware utility log, the M2B103 package's bundled PD-controller firmware (5CD101 for the TI TPS65987DDJ) matched the version already on the monitor — meaning the PD-side firmware on this monitor was already current, and the bug reproduces against the latest shipping PD firmware. The handshake failure must therefore originate in the platform UCSI implementation (BIOS/EC) or the PD-controller↔platform interaction, not in stale Dell firmware.

Relationship to BIOS 3.05

BIOS 3.05's release notes already list as a known issue: "Certain USB-C peripherals may exhibit intermittent compatibility issues during the PD or DisplayPort Alt Mode handshake." Multiple users with USB-C monitors have reported regressions on 3.05 and downgraded to 3.04. This bug therefore appears to be present in both 3.04 and 3.05; staying on 3.04 to avoid the additional 3.05 USB-C regressions.

What would help

  • A UCSI/PD changelog entry in a future BIOS that addresses unknown status code 0x100 / cable-property failure
  • Confirmation of whether this is a Framework EC firmware issue, an AMD PMFW/SMU issue, or a UCSI firmware issue — to know whether to expect a fix in BIOS or in an AGESA / PMFW update
  • (Optional) A way to dump UCSI command/response traces for filing more detailed reports

Additional info on request

Happy to capture:

  • Full dmesg from a failing boot
  • lsusb -t -v output
  • /sys/class/typec/port*/ dumps in failing vs working states
  • acpidump if the UCSI ACPI tables would help

Activity

  1. jcdutton commented on May 17, 2026

    @jcdutton

    I am a user like you. I have been working on the EC code.
    I have tracked this bug down. It is not linux kernel, or EC. It is a bug in the usb-pd firmware and its incorrect handling of UCSI command 0x10, offset/index 4 requests.
    For example, when enumerating the PDOs of a device. It can read the first 4 PDOs, but fails to read more than 4.
    UCSI protocol can read only 4 at a time, the normal use of the api is to request the first 4 from offset 0, and then request more from offset 4, etc. The offset 0 request works. The offset 4 request fails.
    Resulting in error result 256.

  2. aklofas commented on May 28, 2026

    @aklofas
    Author

    @jcdutton Thanks for tracing this down at the EC level — I'm the OP, and your offset-4 GET_PDOS finding lines up exactly with what I see here.

    Still live as of today: reproduces unchanged on BIOS 3.04 / kernel 6.17.0-29-generic. The boot-time UCSI probe fails with unknown error 256, and during uptime the cascades include UCSI_GET_PDOS failed (-5) alongside the familiar error 256 → GET_CABLE_PROPERTY failed (-5) → con2: failed to register partner alt modes (-5) pattern. port2* never appears in /sys/class/typec/.

    That matches your description precisely: GET_PDOS (UCSI cmd 0x10) returns the first page (offset 0) fine, and the read for the next page (offset 4) is what fails with the 0x100 status. The affected connector (con2) serves a Dell U3423WE — 90W PD + DP-Alt-Mode + hub — i.e. exactly the kind of multi-PDO source that forces the kernel to page past the first 4 PDOs and issue that second offset-4 read.

    One data point that supports your "it's the host-side usb-pd firmware, not the kernel/EC" conclusion: during this investigation I updated the monitor's PD controller (TI TPS65987DDJ) to Dell's latest shipping firmware (5CD101), and it changed nothing. If the offset-4 mishandling were on the partner side, that update should have moved the needle — it didn't, which points back at the platform PD firmware.

    Practical implication: a fix would have to ship in a Framework BIOS/PD-firmware update. It doesn't appear to be fixed in 3.05 either — that release's notes still list "intermittent compatibility issues during the PD or DisplayPort Alt Mode handshake" as a known issue, and other USB-C-monitor users report it persists there. (I'm still on 3.04, so that's from the release notes and other reports, not my own testing.)

    I have a 100%-reproducing unit here. If it'd help to confirm the bug, I'm happy to capture UCSI command/response traces showing the offset-0 success vs offset-4 failure, or anything else useful — just point me at the most helpful format.

  3. jcdutton commented on May 28, 2026

    @jcdutton

    It is reproducible using the FW16 power adapter. It advertises 7 PDOs, and the OS only gets to see 4 of them.

  4. aklofas commented on May 28, 2026

    @aklofas
    Author

    That's a much cleaner repro than mine. No monitor, hub, or Alt-Mode in the path, just a first-party adapter with more than 4 PDOs. 7 advertised, 4 seen is exactly the offset-4 page boundary: the OS gets PDOs 1-4 from the offset-0 read and the offset-4 read for 5-7 dies with the 256.

    My case is the same mechanism with a different source: the Dell U3423WE is a multi-PDO source (90W PD + DP-Alt-Mode + hub), so the kernel has to page past the first 4 and issue that second read, which is where con2 falls over.

  5. jozi332 commented on Jun 3, 2026

    @jozi332

    My findings on debian (python) with a script for the negotiation raw dump:
    https://community.frame.work/t/why-does-the-ec-repeat-pdo-0-during-get-pdos/82872

    ucsi_hw_com_dump.py
    If anyone interested in use please post your resoult! (or the modified script, if I mess up)...
    validate before use (AI contribution in mapping)!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions