Skip to content

Instantly share code, notes, and snippets.

@jannau
Created November 30, 2022 22:17
Show Gist options
  • Save jannau/023f2c2a36b880636e037151b84ca626 to your computer and use it in GitHub Desktop.
Save jannau/023f2c2a36b880636e037151b84ca626 to your computer and use it in GitHub Desktop.
trace_cd3217.py: connecting and disconnecting a thunderbolt 4 "HP thunderbolt dock g4"
// connect
[I2CTracer@/arm-io/i2c0] Txn: S 6b.w 10 P
[I2CTracer@/arm-io/i2c0] Txn: S 6b.r 7f fd 7f ff P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 14 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.r 0b 02 05 00 00 00 00 00 00 00 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 18 09 02 05 00 00 00 00 00 00 00 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 1a P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.r 04 ef 00 00 10 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 5f P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.r 05 71 00 00 00 00 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 50 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.r 06 00 00 00 00 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 20 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.r 01 02 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 1a P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.r 04 ef 00 00 10 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 5f P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.r 05 71 00 00 00 00 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 5e P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.r 12 00 00 00 44 44 00 00 00 00 00 00 00 00 00 00 00 00 00 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 50 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.r 06 00 00 00 00 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 20 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.r 01 02 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 08 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.r 04 00 00 00 00 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 09 01 00 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 08 04 53 53 50 53 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 08 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.r 04 53 53 50 53 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 08 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.r 04 00 00 00 00 P
[I2CTracer@/arm-io/i2c0] Txn: S 6b.w 10 P
[I2CTracer@/arm-io/i2c0] Txn: S 6b.r 7f fd 7f ff P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 14 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.r 0b 00 01 00 00 00 00 00 00 00 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 18 09 00 01 00 00 00 00 00 00 00 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 1a P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.r 04 ef 40 82 10 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 50 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.r 06 00 00 00 00 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 20 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.r 01 00 P
[I2CTracer@/arm-io/i2c0] Txn: S 6b.w 10 P
[I2CTracer@/arm-io/i2c0] Txn: S 6b.r 7f fd 7f ff P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 14 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.r 0b 00 01 00 00 00 00 00 00 00 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 18 09 00 01 00 00 00 00 00 00 00 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 1a P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.r 04 ef 80 82 10 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 50 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.r 06 00 00 00 00 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 20 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.r 01 00 P
[I2CTracer@/arm-io/i2c0] Txn: S 6b.w 10 P
[I2CTracer@/arm-io/i2c0] Txn: S 6b.r 7f fd 7f ff P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 14 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.r 0b 00 04 00 00 00 00 00 00 00 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 18 09 00 04 00 00 00 00 00 00 00 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 5f P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.r 05 11 00 00 00 00 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 50 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.r 06 00 00 00 00 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 20 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.r 01 00 P
[I2CTracer@/arm-io/i2c0] Txn: S 6b.w 10 P
[I2CTracer@/arm-io/i2c0] Txn: S 6b.r 7f fd 7f ff P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 14 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.r 0b 00 04 00 00 00 00 00 00 00 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 18 09 00 04 00 00 00 00 00 00 00 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 5f P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.r 05 11 00 80 16 00 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 50 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.r 06 00 00 00 00 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 20 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.r 01 00 P
[I2CTracer@/arm-io/i2c0] Txn: S 6b.w 10 P
[I2CTracer@/arm-io/i2c0] Txn: S 6b.r 7f fd 7f ff P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 14 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.r 0b 00 01 00 00 00 00 00 00 00 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 18 09 00 01 00 00 00 00 00 00 00 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 1a P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.r 04 6f 80 02 10 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 50 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.r 06 00 00 00 00 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 20 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.r 01 00 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 1a P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.r 04 6f 80 02 10 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 5f P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.r 05 11 00 80 16 00 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 5e P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.r 12 00 00 00 54 44 00 00 00 00 00 00 00 00 00 00 00 00 01 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 50 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.r 06 00 00 00 00 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 20 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.r 01 00 P
// disconnect
[I2CTracer@/arm-io/i2c0] Txn: S 6b.w 10 P
[I2CTracer@/arm-io/i2c0] Txn: S 6b.r 7f fd 7f ff P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 14 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.r 0b 02 05 00 00 00 00 00 00 00 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 18 09 02 05 00 00 00 00 00 00 00 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 1a P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.r 04 00 00 00 50 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 5f P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.r 05 00 00 00 00 00 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 50 04 00 20 00 00 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 50 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.r 06 00 20 00 00 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 50 04 00 00 00 00 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 20 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.r 01 00 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 08 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.r 04 00 00 00 00 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 09 01 02 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 08 04 53 53 50 53 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 08 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.r 04 53 53 50 53 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.w 08 P
[I2CTracer@/arm-io/i2c0] Txn: S 3f.r 04 00 00 00 00 P
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment