USB-C device mode is not working

Hi,

I want connect to PC with ORIN.
But It’s not working now. (Xavier is ok.)

  • Xavier logs (usb connecting):
[  336.482596] ucsi_ccg 1-0008: port0 evt: Type-C Port Connect Detected
[  336.484437] ucsi_ccg 1-0008: [typec-port0] Cable state:1, cable id:1
[  336.484490] tegra-xudc-new 3550000.xudc: vbus state: 1
[  336.484499] tegra-xudc-new 3550000.xudc: exiting ELPG
[  336.487244] tegra-xudc-new 3550000.xudc: exiting ELPG done
[  336.488187] tegra-xudc-new 3550000.xudc: device mode on: 0
[  336.489183] tegra-xudc-new 3550000.xudc: active: 0 => 1
[  336.605969] g_ffs gadget: super-speed config #1: FunctionFS
[  336.605989] tegra-xudc-new 3550000.xudc: ep 2 (type: 2, dir: out) enabled
[  336.606012] tegra-xudc-new 3550000.xudc: ep 3 (type: 2, dir: in) enabled
[  336.606023] tegra-xudc-new 3550000.xudc: ep 5 (type: 2, dir: in) enabled
[  336.878344] ucsi_ccg 1-0008: port0 evt: Hard Reset Sent to Port Partner
[  338.014057] ucsi_ccg 1-0008: port0 evt: Hard Reset Sent to Port Partner
[  339.149547] ucsi_ccg 1-0008: port0 evt: Hard Reset Sent to Port Partner
[  340.284156] ucsi_ccg 1-0008: port0 evt: Source Disabled State Entered
  • Orin logs (usb connecting):
nothing!
  • Xavier boot log:

[    2.091229] ucsi_ccg 1-0008: FW1 Version: gn v12.06, [Base 3.1.2.1487]
[    2.091248] ucsi_ccg 1-0008: FW2 Version: gn v12.06, [Base 3.1.2.1487]
[    2.092374] ucsi_ccg 1-0008: fw_mode: 2
[    2.092383] ucsi_ccg 1-0008: fw1_invalid: 0
[    2.092391] ucsi_ccg 1-0008: fw2_invalid: 0
[    2.092401] ucsi_ccg 1-0008: silicon_id: 0x1f00
[    2.092654] ucsi_ccg 1-0008: typec-port0 extcon dev created
[    2.092838] ucsi_ccg 1-0008: typec-port1 extcon dev created
[    2.092993] ucsi_ccg 1-0008: typec-pd extcon dev created
[    2.093248] gpio tegra-gpio-aon wake48 for gpio=10(BB:2)
[    2.095267] ucsi_ccg 1-0008: [typec-port0] Cable state:1, cable id:1
[    2.097140] ucsi_ccg 1-0008: [typec-port1] Cable state:1, cable id:2
[    2.098123] ucsi_ccg 1-0008: get_current_pdo: 26019064:
[    2.098135] ucsi_ccg 1-0008: [typec-port1] DO type 0, max_current 100, voltage 100
[    2.100492] ucsi_ccg 1-0008: HPI Command Success.
[    2.103236] ucsi_ccg 1-0008: HPI Command Success.
[    2.103257] ucsi_ccg 1-0008: ucsi_ccg_init: complete

  • Orin boot log:

[   13.922383] nvethernet 6810000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   14.614357] ucsi_ccg 1-0008: failed to reset PPM!
[   14.614598] ucsi_ccg 1-0008: PPM init failed (-110)
[   23.726423] nvidia-modeset: Loading NVIDIA UNIX Kernel Mode Setting Driver for aarch64  34.1.0  Release Build  (buildbrain@mobile-u64-5280-d6000)  Wed Apr  6 12:07:36 PDT 2022

Custom board? Devkit? Which release?

Are other usb devices can work on this port?

I am also wondering if you can clarify “device mode”…what do you want to see occur? Device mode is just a “mode”, and one has to set up which device should be created or attached to. I know the micro-OTG port does this, I’m not sure if anything should show up on the USB-C.

I am using jetpack sdk 5.0 developer preview and devkit.


It is being used in connection with number 10.

Below table is current status.

Xavier Orin
kernel 4.9 5.10
usb stick memory Ok No
USB-C displayport (alt) Ok No
Connect to laptop or desktop Ok No

Can you think of any ideas?

Please flash the whole board with sdkmanager and try again.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.