Skip to content

Add --pd-debug to control EC PD debug logging - #370

Draft
JohnAZoidberg wants to merge 1 commit into
mainfrom
pd-verbose
Draft

Add --pd-debug to control EC PD debug logging#370
JohnAZoidberg wants to merge 1 commit into
mainfrom
pd-verbose

Conversation

@JohnAZoidberg

Copy link
Copy Markdown
Member

Uses the new EC_CMD_PD_DEBUG_CONTROL (0x3E2D) host command to toggle the verbose PD message logging and UCSI command tracing that could previously only be enabled with the cypdctl EC console command.

The log output goes to the EC console, read it with --console follow.

framework_tool --pd-debug status
PD debug logging:
Verbose: false
UCSI: false
UCSI tunnel disabled: false
framework_tool --pd-debug verbose
framework_tool --console follow

Uses the new EC_CMD_PD_DEBUG_CONTROL (0x3E2D) host command to toggle
the verbose PD message logging and UCSI command tracing that could
previously only be enabled with the cypdctl EC console command.

The log output goes to the EC console, read it with --console follow.

  > framework_tool --pd-debug status
  PD debug logging:
    Verbose:              false
    UCSI:                 false
    UCSI tunnel disabled: false
  > framework_tool --pd-debug verbose
  > framework_tool --console follow

Signed-off-by: Daniel Schaefer <dhs@frame.work>
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