Hi @wichiu the above hardware mapping - 1 and 2 - is correct.
dmesg output:
- plug in USB cable and turn on power with
FC REC asserted:
[84918.894925] usb 2-2-port2: config error
[84962.316031] usb 2-2.2: new SuperSpeed USB device number 21 using xhci_hcd
[84962.328037] usb 2-2.2: New USB device found, idVendor=0955, idProduct=7020, bcdDevice= 0.02
[84962.328045] usb 2-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[84962.328048] usb 2-2.2: Product: Linux for Tegra
[84962.328050] usb 2-2.2: Manufacturer: NVIDIA
[84962.328052] usb 2-2.2: SerialNumber: 1420723036241
[84962.333211] rndis_host 2-2.2:1.0 usb0: register ‘rndis_host’ at usb-0000:00:0d.0-2.2, RNDIS device, 46:18:27:37:57:a8
[84962.335813] cdc_acm 2-2.2:1.2: ttyACM0: USB ACM device
[84962.337837] usb-storage 2-2.2:1.4: USB Mass Storage device detected
[84962.338098] scsi host1: usb-storage 2-2.2:1.4
[84962.361164] cdc_ncm 2-2.2:1.5: MAC-Address: 46:18:27:37:57:aa
[84962.361808] cdc_ncm 2-2.2:1.5 usb1: register ‘cdc_ncm’ at usb-0000:00:0d.0-2.2, CDC NCM (NO ZLP), 46:18:27:37:57:aa
[84962.382152] rndis_host 2-2.2:1.0 enx4618273757a8: renamed from usb0
[84962.383806] cdc_ncm 2-2.2:1.5 enx4618273757aa: renamed from usb1
[84963.342289] scsi 1:0:0:0: Direct-Access Linux File-Stor Gadget 0515 PQ: 0 ANSI: 2
[84963.343345] sd 1:0:0:0: Attached scsi generic sg2 type 0
[84963.344142] sd 1:0:0:0: Power-on or device reset occurred
[84963.345278] sd 1:0:0:0: [sdc] 32768 512-byte logical blocks: (16.8 MB/16.0 MiB)
[84963.345453] sd 1:0:0:0: [sdc] Write Protect is on
[84963.345461] sd 1:0:0:0: [sdc] Mode Sense: 0f 00 80 00
[84963.345600] sd 1:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn’t support DPO or FUA
[84963.384563] sdc:
[84963.384593] sd 1:0:0:0: [sdc] Attached SCSI removable disk
lsusb now shows:
$ lsusb -d 0955:
Bus 002 Device 021: ID 0955:7020 NVIDIA Corp. L4T (Linux for Tegra) running on Tegra
i.e. not recovery mode.
- Disconnect and reconnect usb cable:
[85163.917603] usb 2-2.2: USB disconnect, device number 21
[85163.917751] rndis_host 2-2.2:1.0 enx4618273757a8: unregister 'rndis_host' usb-0000:00:0d.0-2.2, RNDIS device
[85163.996900] cdc_ncm 2-2.2:1.5 enx4618273757aa: unregister 'cdc_ncm' usb-0000:00:0d.0-2.2, CDC NCM (NO ZLP)
[85169.002728] usb 2-2.2: new SuperSpeed USB device number 22 using xhci_hcd
[85169.015985] usb 2-2.2: New USB device found, idVendor=0955, idProduct=7020, bcdDevice= 0.02
[85169.015989] usb 2-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[85169.015991] usb 2-2.2: Product: Linux for Tegra
[85169.015992] usb 2-2.2: Manufacturer: NVIDIA
[85169.015992] usb 2-2.2: SerialNumber: 1420723036241
[85169.020296] rndis_host 2-2.2:1.0 usb0: register 'rndis_host' at usb-0000:00:0d.0-2.2, RNDIS device, 46:18:27:37:57:a8
[85169.022302] cdc_acm 2-2.2:1.2: ttyACM0: USB ACM device
[85169.024934] usb-storage 2-2.2:1.4: USB Mass Storage device detected
[85169.025260] scsi host1: usb-storage 2-2.2:1.4
[85169.047235] cdc_ncm 2-2.2:1.5: MAC-Address: 46:18:27:37:57:aa
[85169.047435] cdc_ncm 2-2.2:1.5 usb1: register 'cdc_ncm' at usb-0000:00:0d.0-2.2, CDC NCM (NO ZLP), 46:18:27:37:57:aa
[85169.058315] cdc_ncm 2-2.2:1.5 enx4618273757aa: renamed from usb1
[85169.059241] rndis_host 2-2.2:1.0 enx4618273757a8: renamed from usb0
[85170.068003] scsi 1:0:0:0: Direct-Access Linux File-Stor Gadget 0515 PQ: 0 ANSI: 2
[85170.068982] sd 1:0:0:0: Attached scsi generic sg2 type 0
[85170.069285] sd 1:0:0:0: Power-on or device reset occurred
[85170.070444] sd 1:0:0:0: [sdc] 32768 512-byte logical blocks: (16.8 MB/16.0 MiB)
[85170.070684] sd 1:0:0:0: [sdc] Write Protect is on
[85170.070713] sd 1:0:0:0: [sdc] Mode Sense: 0f 00 80 00
[85170.070907] sd 1:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[85170.108546] sdc:
[85170.108571] sd 1:0:0:0: [sdc] Attached SCSI removable disk
- Power cycle with
FC REC asserted:
[85214.557940] usb 2-2.2: USB disconnect, device number 22
[85214.558192] rndis_host 2-2.2:1.0 enx4618273757a8: unregister 'rndis_host' usb-0000:00:0d.0-2.2, RNDIS device
[85214.623982] cdc_ncm 2-2.2:1.5 enx4618273757aa: unregister 'cdc_ncm' usb-0000:00:0d.0-2.2, CDC NCM (NO ZLP)
[85271.054724] usb 2-2-port2: config error
[85313.165330] usb 2-2.2: new SuperSpeed USB device number 23 using xhci_hcd
[85313.177100] usb 2-2.2: New USB device found, idVendor=0955, idProduct=7020, bcdDevice= 0.02
[85313.177109] usb 2-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[85313.177112] usb 2-2.2: Product: Linux for Tegra
[85313.177115] usb 2-2.2: Manufacturer: NVIDIA
[85313.177117] usb 2-2.2: SerialNumber: 1420723036241
[85313.182190] rndis_host 2-2.2:1.0 usb0: register 'rndis_host' at usb-0000:00:0d.0-2.2, RNDIS device, 46:18:27:37:57:a8
[85313.184524] cdc_acm 2-2.2:1.2: ttyACM0: USB ACM device
[85313.185613] usb-storage 2-2.2:1.4: USB Mass Storage device detected
[85313.185871] scsi host1: usb-storage 2-2.2:1.4
[85313.208086] cdc_ncm 2-2.2:1.5: MAC-Address: 46:18:27:37:57:aa
[85313.208952] cdc_ncm 2-2.2:1.5 usb1: register 'cdc_ncm' at usb-0000:00:0d.0-2.2, CDC NCM (NO ZLP), 46:18:27:37:57:aa
[85313.231037] rndis_host 2-2.2:1.0 enx4618273757a8: renamed from usb0
[85313.234759] cdc_ncm 2-2.2:1.5 enx4618273757aa: renamed from usb1
[85314.199721] scsi 1:0:0:0: Direct-Access Linux File-Stor Gadget 0515 PQ: 0 ANSI: 2
[85314.200392] sd 1:0:0:0: Attached scsi generic sg2 type 0
[85314.200810] sd 1:0:0:0: Power-on or device reset occurred
[85314.201555] sd 1:0:0:0: [sdc] 32768 512-byte logical blocks: (16.8 MB/16.0 MiB)
[85314.201793] sd 1:0:0:0: [sdc] Write Protect is on
[85314.201801] sd 1:0:0:0: [sdc] Mode Sense: 0f 00 80 00
[85314.201927] sd 1:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[85314.224645] sdc:
[85314.224673] sd 1:0:0:0: [sdc] Attached SCSI removable disk
and again lsusb shows
$ lsusb -d 0955:
Bus 002 Device 023: ID 0955:7020 NVIDIA Corp. L4T (Linux for Tegra) running on Tegra
so the NX is not in recovery mode.