Skip to content

Laptop 12 (13th Gen Intel): DP alt mode wedged after long uptime with s2idle cycles — EC/PD sees the monitor (HPD high), kernel UCSI stack blind until full reboot #265

Closed

Description

@mr-merlin

Device Information

System Model or SKU

  • Framework Laptop 13 (11th/12th/13th Gen Intel)
  • Framework Laptop 12 (13th Gen Intel® Core™)
  • Framework Laptop 13 (AMD)
  • Framework Laptop 16
  • Framework Desktop

BIOS VERSION

03.08

PD controllers (both sides, framework_tool --pd-info): Silicon ID 0x30A0, FW Base 3.7.0.09F, App 0.0.12
Read via framework_tool 0.6.5.

Describe the bug

External monitor connected through a USB-C hub (HDMI passthrough: Genesys GL3523 + RTL8152, bus-powered, monitor downstream) stops being detected by the OS after the machine has been up for ~1–2 days with multiple s2idle suspend/resume cycles. A full reboot is the only thing that fixes it.

Key observation at the moment of failure — the EC/PD side and the kernel side disagree completely.

framework_tool --pdports (EC view — everything is connected and working):

USB-C Port 2:
  PD Contract:   Yes
  Power Role:    Sink
  Negotiated:    20.000 V, 2500 mA, 50.0 W
  Port Partner:  Source
  DP Alt Mode:   DFP_D Connected, HPD High (0x81)

Kernel view at the same moment:

$ cat /sys/class/drm/card1-DP-*/status   # all: disconnected
$ cat /sys/class/typec/port*/../usb_power_delivery_revision   # partner pd_rev = 0.0
# zero alternate modes registered on any port

Chronic ucsi_acpi noise across boots (also present while video works):

ucsi_acpi USBC000:00: unknown error 0
ucsi_acpi USBC000:00: unknown error 256
ucsi_acpi USBC000:00: GET_CABLE_PROPERTY failed (-5)
ucsi_acpi USBC000:00: con4: failed to register partner alt modes (-5)

The same hub+monitor worked flawlessly for a week before the wedge (replug → picture within ~1 s).

Steps To Reproduce

  1. Keep the laptop running for 1–2 days with several suspend/resume cycles (no reboot).
  2. Connect a monitor via a USB-C hub with DP alt mode passthrough.
  3. No hotplug event reaches the DRM layer; monitor stays black.

What did NOT help (all while the EC already saw the monitor)

  • Physical replug (multiple times, both USB-C ports)
  • framework_tool --pd-reset 0 / --pd-reset 1
  • modprobe -r ucsi_acpi typec_ucsi && modprobe ... (see below)
  • Waiting; the PD contract itself (charging) never dropped

One transient recovery: right after a ucsi module reload the monitor appeared once (wl_output bound, EDID read, but zero-size configure), then dropped again on the next replug.

Expected behavior

DP alt mode should survive suspend/resume cycles; after resume the UCSI PPM↔LPM link should re-sync, or the EC should recover instead of serving -EIO on GET_CONNECTOR_STATUS / GET_ALTERNATE_MODES / GET_CABLE_PROPERTY indefinitely (the sunflower EC PPM code logs "Failed to read port %d status. No recovery." and gives up).

Operating System

  • OS/Distribution: Omarchy (Arch-based)
  • Kernel: 7.2.5-3-omarchy

Additional context

Activity

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