Skip to content

Instantly share code, notes, and snippets.

@amazingfate
Created July 26, 2022 09:50
Show Gist options
  • Save amazingfate/f51f1c40d690fcd924f611dda1dd3f75 to your computer and use it in GitHub Desktop.
Save amazingfate/f51f1c40d690fcd924f611dda1dd3f75 to your computer and use it in GitHub Desktop.
[ 3.232643] typec_fusb302 4-0022: Looking up vbus-supply from device tree
[ 3.233490] typec_fusb302 4-0022: sw reset
[ 3.239292] typec_fusb302 4-0022: fusb302 device ID: 0x91
[ 3.241330] typec_fusb302 4-0022: Setting usb_comm capable false
[ 3.254603] typec_fusb302 4-0022: pd := off
[ 3.258591] typec_fusb302 4-0022: vbus is already Off
[ 3.267031] typec_fusb302 4-0022: charge is already Off
[ 3.267034] typec_fusb302 4-0022: vconn is already Off
[ 3.267037] typec_fusb302 4-0022: Setting voltage/current limit 5000 mV 3000 mA
[ 3.267043] typec_fusb302 4-0022: polarity 0
[ 3.267046] typec_fusb302 4-0022: Requesting mux state 0, usb-role 0, orientation 0
[ 3.268113] typec_fusb302 4-0022: pd header := Sink, Device
[ 3.279506] typec_fusb302 4-0022: state change INVALID_STATE -> SNK_UNATTACHED [rev1 NONE_AMS]
[ 3.293744] typec_fusb302 4-0022: cc1=Open, cc2=Open
[ 3.295734] typec_fusb302 4-0022: CC1: 0 -> 0, CC2: 0 -> 0 [state SNK_UNATTACHED, polarity 0, disconnected]
[ 3.297748] typec_fusb302 4-0022: state change SNK_UNATTACHED -> PORT_RESET [rev1 NONE_AMS]
[ 3.299760] typec_fusb302 4-0022: 4-0022: registered
[ 3.299768] typec_fusb302 4-0022: Setting usb_comm capable false
[ 3.308410] typec_fusb302 4-0022: pd := off
[ 3.310426] typec_fusb302 4-0022: vbus is already Off
[ 3.312417] typec_fusb302 4-0022: charge is already Off
[ 3.316388] typec_fusb302 4-0022: vconn is already Off
[ 3.316393] typec_fusb302 4-0022: Setting voltage/current limit 5000 mV 3000 mA
[ 3.322395] typec_fusb302 4-0022: polarity 0
[ 3.324368] typec_fusb302 4-0022: Requesting mux state 0, usb-role 0, orientation 0
[ 3.325173] typec_fusb302 4-0022: pd header := Sink, Device
[ 3.328478] typec_fusb302 4-0022: cc:=2
[ 3.332603] typec_fusb302 4-0022: cc := Rd
[ 3.342171] typec_fusb302 4-0022: pending state change PORT_RESET -> PORT_RESET_WAIT_OFF @ 100 ms [rev1 NONE_AMS]
[ 3.345420] typec_fusb302 4-0022: state change PORT_RESET -> PORT_RESET_WAIT_OFF [delayed 100 ms]
[ 3.349878] typec_fusb302 4-0022: pending state change PORT_RESET_WAIT_OFF -> SNK_UNATTACHED @ 920 ms [rev1 NONE_AMS]
[ 4.274419] typec_fusb302 4-0022: state change PORT_RESET_WAIT_OFF -> SNK_UNATTACHED [delayed 920 ms]
[ 4.276794] typec_fusb302 4-0022: Start toggling
[ 4.282449] typec_fusb302 4-0022: start drp toggling
[ 4.283865] typec_fusb302 4-0022: state change SNK_UNATTACHED -> TOGGLING [rev1 NONE_AMS]
[ 4.285684] typec_fusb302 4-0022: IRQ: 0x80, a: 0x00, b: 0x00, status0: 0x83
[ 4.289609] typec_fusb302 4-0022: IRQ: VBUS_OK, vbus=On
[ 4.311033] typec_fusb302 4-0022: IRQ: 0x01, a: 0x40, b: 0x00, status0: 0x81
[ 4.315054] typec_fusb302 4-0022: IRQ: TOGDONE
[ 4.325478] typec_fusb302 4-0022: detected cc1=Open, cc2=Rp-def
[ 4.329371] typec_fusb302 4-0022: cc1=Open, cc2=Rp-def
[ 4.330939] typec_fusb302 4-0022: CC1: 0 -> 0, CC2: 0 -> 3 [state TOGGLING, polarity 0, connected]
[ 4.332503] typec_fusb302 4-0022: state change TOGGLING -> SNK_ATTACH_WAIT [rev1 NONE_AMS]
[ 4.334080] typec_fusb302 4-0022: pending state change SNK_ATTACH_WAIT -> SNK_DEBOUNCED @ 200 ms [rev1 NONE_AMS]
[ 4.535654] typec_fusb302 4-0022: state change SNK_ATTACH_WAIT -> SNK_DEBOUNCED [delayed 200 ms]
[ 4.539852] typec_fusb302 4-0022: state change SNK_DEBOUNCED -> SNK_ATTACHED [rev1 NONE_AMS]
[ 4.539856] typec_fusb302 4-0022: polarity 1
[ 4.539860] typec_fusb302 4-0022: Requesting mux state 1, usb-role 2, orientation 2
[ 4.546567] typec_fusb302 4-0022: pd header := Sink, Device
[ 4.546571] typec_fusb302 4-0022: state change SNK_ATTACHED -> SNK_STARTUP [rev1 NONE_AMS]
[ 4.546574] typec_fusb302 4-0022: state change SNK_STARTUP -> SNK_DISCOVERY [rev3 NONE_AMS]
[ 4.546578] typec_fusb302 4-0022: Setting voltage/current limit 5000 mV 0 mA
[ 4.546585] typec_fusb302 4-0022: vbus=0 charge:=1
[ 4.546588] typec_fusb302 4-0022: vbus is already Off
[ 4.546591] typec_fusb302 4-0022: state change SNK_DISCOVERY -> SNK_WAIT_CAPABILITIES [rev3 NONE_AMS]
[ 4.608499] typec_fusb302 4-0022: pd := on
[ 4.608503] typec_fusb302 4-0022: pending state change SNK_WAIT_CAPABILITIES -> SNK_SOFT_RESET @ 310 ms [rev3 NONE_AMS]
[ 4.918788] typec_fusb302 4-0022: state change SNK_WAIT_CAPABILITIES -> SNK_SOFT_RESET [delayed 310 ms]
[ 4.925482] typec_fusb302 4-0022: AMS SOFT_RESET_AMS start
[ 4.925492] typec_fusb302 4-0022: state change SNK_SOFT_RESET -> AMS_START [rev3 SOFT_RESET_AMS]
[ 4.925500] typec_fusb302 4-0022: state change AMS_START -> SOFT_RESET_SEND [rev3 SOFT_RESET_AMS]
[ 4.925514] typec_fusb302 4-0022: PD TX, header: 0x8d
[ 4.947943] typec_fusb302 4-0022: sending PD message header: 8d
[ 4.979658] typec_fusb302 4-0022: sending PD message len: 0
[ 5.022888] typec_fusb302 4-0022: IRQ: 0x41, a: 0x10, b: 0x00, status0: 0x81
[ 5.032746] typec_fusb302 4-0022: IRQ: BC_LVL, handler pending
[ 5.042486] typec_fusb302 4-0022: IRQ: PD retry failed
[ 5.052051] typec_fusb302 4-0022: PD TX complete, status: 2
[ 5.061535] typec_fusb302 4-0022: state change SOFT_RESET_SEND -> HARD_RESET_SEND [rev3 SOFT_RESET_AMS]
[ 5.068020] typec_fusb302 4-0022: AMS SOFT_RESET_AMS finished
[ 5.068026] typec_fusb302 4-0022: AMS HARD_RESET start
[ 5.068033] typec_fusb302 4-0022: PD TX, type: 0x5
[ 5.070813] typec_fusb302 4-0022: IRQ: 0x41, a: 0x08, b: 0x00, status0: 0x81
[ 5.084470] typec_fusb302 4-0022: IRQ: BC_LVL, handler pending
[ 5.084474] typec_fusb302 4-0022: IRQ: PD hardreset sent
[ 5.085346] typec_fusb302 4-0022: PD TX complete, status: 0
[ 5.096695] typec_fusb302 4-0022: state change HARD_RESET_SEND -> HARD_RESET_START [rev3 HARD_RESET]
[ 5.116215] typec_fusb302 4-0022: BC_LVL handler, status0=0x81
[ 5.126205] typec_fusb302 4-0022: pd := off
[ 5.126218] typec_fusb302 4-0022: state change HARD_RESET_START -> SNK_HARD_RESET_SINK_OFF [rev3 HARD_RESET]
[ 5.126223] typec_fusb302 4-0022: vconn:=0
[ 5.126227] typec_fusb302 4-0022: vconn is already Off
[ 5.126233] typec_fusb302 4-0022: Requesting mux state 1, usb-role 2, orientation 2
[ 5.126838] typec_fusb302 4-0022: BC_LVL handler, status0=0x81
[ 5.233042] typec_fusb302 4-0022: pd header := Sink, Device
[ 5.239479] typec_fusb302 4-0022: pending state change SNK_HARD_RESET_SINK_OFF -> SNK_HARD_RESET_SINK_ON @ 650 ms [rev3 HARD_RESET]
[ 5.896215] typec_fusb302 4-0022: state change SNK_HARD_RESET_SINK_OFF -> SNK_HARD_RESET_SINK_ON [delayed 650 ms]
[ 5.897382] typec_fusb302 4-0022: AMS HARD_RESET finished
[ 5.899303] typec_fusb302 4-0022: pd header := Sink, Device
[ 5.899305] typec_fusb302 4-0022: state change SNK_HARD_RESET_SINK_ON -> SNK_STARTUP [rev3 NONE_AMS]
[ 5.899307] typec_fusb302 4-0022: state change SNK_STARTUP -> SNK_DISCOVERY [rev3 NONE_AMS]
[ 5.899309] typec_fusb302 4-0022: Setting voltage/current limit 5000 mV 0 mA
[ 5.899313] typec_fusb302 4-0022: state change SNK_DISCOVERY -> SNK_WAIT_CAPABILITIES [rev3 NONE_AMS]
[ 5.909556] typec_fusb302 4-0022: pd := on
[ 5.910669] typec_fusb302 4-0022: pending state change SNK_WAIT_CAPABILITIES -> HARD_RESET_SEND @ 310 ms [rev3 NONE_AMS]
[ 6.221790] typec_fusb302 4-0022: state change SNK_WAIT_CAPABILITIES -> HARD_RESET_SEND [delayed 310 ms]
[ 6.221793] typec_fusb302 4-0022: AMS HARD_RESET start
[ 6.221795] typec_fusb302 4-0022: PD TX, type: 0x5
[ 6.224999] typec_fusb302 4-0022: IRQ: 0x41, a: 0x08, b: 0x00, status0: 0x81
[ 6.225011] typec_fusb302 4-0022: IRQ: BC_LVL, handler pending
[ 6.225015] typec_fusb302 4-0022: IRQ: PD hardreset sent
[ 6.225810] typec_fusb302 4-0022: PD TX complete, status: 0
[ 6.225831] typec_fusb302 4-0022: state change HARD_RESET_SEND -> HARD_RESET_START [rev3 HARD_RESET]
[ 6.230495] typec_fusb302 4-0022: pd := off
[ 6.230500] typec_fusb302 4-0022: state change HARD_RESET_START -> SNK_HARD_RESET_SINK_OFF [rev3 HARD_RESET]
[ 6.230502] typec_fusb302 4-0022: vconn:=0
[ 6.230504] typec_fusb302 4-0022: vconn is already Off
[ 6.230506] typec_fusb302 4-0022: Requesting mux state 1, usb-role 2, orientation 2
[ 6.231305] typec_fusb302 4-0022: pd header := Sink, Device
[ 6.231309] typec_fusb302 4-0022: pending state change SNK_HARD_RESET_SINK_OFF -> SNK_HARD_RESET_SINK_ON @ 650 ms [rev3 HARD_RESET]
[ 6.256808] typec_fusb302 4-0022: BC_LVL handler, status0=0x81
[ 6.881546] typec_fusb302 4-0022: state change SNK_HARD_RESET_SINK_OFF -> SNK_HARD_RESET_SINK_ON [delayed 650 ms]
[ 6.881560] typec_fusb302 4-0022: AMS HARD_RESET finished
[ 6.882429] typec_fusb302 4-0022: pd header := Sink, Device
[ 6.882440] typec_fusb302 4-0022: state change SNK_HARD_RESET_SINK_ON -> SNK_STARTUP [rev3 NONE_AMS]
[ 6.882450] typec_fusb302 4-0022: state change SNK_STARTUP -> SNK_DISCOVERY [rev3 NONE_AMS]
[ 6.882459] typec_fusb302 4-0022: Setting voltage/current limit 5000 mV 0 mA
[ 6.882481] typec_fusb302 4-0022: state change SNK_DISCOVERY -> SNK_WAIT_CAPABILITIES [rev3 NONE_AMS]
[ 6.887502] typec_fusb302 4-0022: pd := on
[ 6.887519] typec_fusb302 4-0022: pending state change SNK_WAIT_CAPABILITIES -> SNK_READY @ 310 ms [rev3 NONE_AMS]
[ 7.197548] typec_fusb302 4-0022: state change SNK_WAIT_CAPABILITIES -> SNK_READY [delayed 310 ms]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment