SDK Manager - Could not detect target hardware

Hello,

I can’t flash my Jetson TX2 with the SDK Manager, I always get this error :
“Could not detect target hardware
Please make sure the target hardware is connected and is in recovery mode, click OK and RETRY.”

10:42:15 INFO : null
10:42:22 INFO : CUDA on Host : download 'CUDA on Host' success
10:42:22 INFO : Drivers for Jetson TX2 & TX2i : download 'Drivers for Jetson TX2 & TX2i' success
10:42:22 INFO : OpenCV on Host : download 'OpenCV on Host' success
10:42:22 INFO : File System and OS : download 'File System and OS' success
10:42:22 INFO : NVIDIA Nsight Graphics : download 'NVIDIA Nsight Graphics' success
10:42:22 INFO : NVIDIA Nsight Systems : download 'NVIDIA Nsight Systems' success
10:42:22 INFO : VisionWorks on Host : download 'VisionWorks on Host' success
10:42:22 INFO : DevTools Documentation : download 'DevTools Documentation' success
10:42:22 INFO : CUDA Cross Compile Package on Host : download 'CUDA Cross Compile Package on Host' success
10:42:23 INFO : CUDA on Host : install 'CUDA on Host' success
10:42:23 INFO : Drivers for Jetson TX2 & TX2i : install 'Drivers for Jetson TX2 & TX2i' success
10:42:23 INFO : OpenCV on Host : install 'OpenCV on Host' success
10:42:23 INFO : File System and OS : install 'File System and OS' success
10:42:23 INFO : NVIDIA Nsight Graphics : install 'NVIDIA Nsight Graphics' success
10:42:23 INFO : NVIDIA Nsight Systems : install 'NVIDIA Nsight Systems' success
10:42:23 INFO : VisionWorks on Host : install 'VisionWorks on Host' success
10:42:23 INFO : DevTools Documentation : install 'DevTools Documentation' success
10:42:23 INFO : CUDA Cross Compile Package on Host : install 'CUDA Cross Compile Package on Host' success
10:42:23 INFO : OpenCV on Target : Found file /home/dev/Downloads/nvidia/sdkm_downloads/libopencv-dev_3.3.1-2-g31ccdfe11_arm64.deb with correct checksum, skip downloading.
10:42:23 INFO : OpenCV on Target : Found file /home/dev/Downloads/nvidia/sdkm_downloads/libopencv_3.3.1-2-g31ccdfe11_arm64.deb with correct checksum, skip downloading.
10:42:23 INFO : OpenCV on Target : Found file /home/dev/Downloads/nvidia/sdkm_downloads/libopencv-python_3.3.1-2-g31ccdfe11_arm64.deb with correct checksum, skip downloading.
10:42:23 INFO : OpenCV on Target : Found file /home/dev/Downloads/nvidia/sdkm_downloads/libopencv-samples_3.3.1-2-g31ccdfe11_arm64.deb with correct checksum, skip downloading.
10:42:23 INFO : cuDNN on Target : Found file /home/dev/Downloads/nvidia/sdkm_downloads/libcudnn7_7.3.1.28-1+cuda10.0_arm64.deb with correct checksum, skip downloading.
10:42:23 INFO : cuDNN on Target : Found file /home/dev/Downloads/nvidia/sdkm_downloads/libcudnn7-dev_7.3.1.28-1+cuda10.0_arm64.deb with correct checksum, skip downloading.
10:42:23 INFO : cuDNN on Target : Found file /home/dev/Downloads/nvidia/sdkm_downloads/libcudnn7-doc_7.3.1.28-1+cuda10.0_arm64.deb with correct checksum, skip downloading.
10:42:23 INFO : TensorRT on Target : Found file /home/dev/Downloads/nvidia/sdkm_downloads/libnvinfer5_5.0.6-1+cuda10.0_arm64.deb with correct checksum, skip downloading.
10:42:23 INFO : TensorRT on Target : Found file /home/dev/Downloads/nvidia/sdkm_downloads/libnvinfer-dev_5.0.6-1+cuda10.0_arm64.deb with correct checksum, skip downloading.
10:42:23 INFO : TensorRT on Target : Found file /home/dev/Downloads/nvidia/sdkm_downloads/tensorrt_5.0.6.3-1+cuda10.0_arm64.deb with correct checksum, skip downloading.
10:42:24 INFO : TensorRT on Target : Found file /home/dev/Downloads/nvidia/sdkm_downloads/python-libnvinfer_5.0.6-1+cuda10.0_arm64.deb with correct checksum, skip downloading.
10:42:24 INFO : TensorRT on Target : Found file /home/dev/Downloads/nvidia/sdkm_downloads/python-libnvinfer-dev_5.0.6-1+cuda10.0_arm64.deb with correct checksum, skip downloading.
10:42:24 INFO : TensorRT on Target : Found file /home/dev/Downloads/nvidia/sdkm_downloads/python3-libnvinfer_5.0.6-1+cuda10.0_arm64.deb with correct checksum, skip downloading.
10:42:24 INFO : TensorRT on Target : Found file /home/dev/Downloads/nvidia/sdkm_downloads/python3-libnvinfer-dev_5.0.6-1+cuda10.0_arm64.deb with correct checksum, skip downloading.
10:42:24 INFO : TensorRT on Target : Found file /home/dev/Downloads/nvidia/sdkm_downloads/graphsurgeon-tf_5.0.6-1+cuda10.0_arm64.deb with correct checksum, skip downloading.
10:42:24 INFO : TensorRT on Target : Found file /home/dev/Downloads/nvidia/sdkm_downloads/uff-converter-tf_5.0.6-1+cuda10.0_arm64.deb with correct checksum, skip downloading.
10:42:24 INFO : Multimedia API : Found file /home/dev/Downloads/nvidia/sdkm_downloads/Tegra_Multimedia_API_R32.1.0_aarch64.tbz2 with correct checksum, skip downloading.
10:42:24 INFO : VisionWorks on Target : Found file /home/dev/Downloads/nvidia/sdkm_downloads/libvisionworks-repo_1.6.0.500n_arm64.deb with correct checksum, skip downloading.
10:42:24 INFO : VisionWorks on Target : Found file /home/dev/Downloads/nvidia/sdkm_downloads/libvisionworks-sfm-repo_0.90.4_arm64.deb with correct checksum, skip downloading.
10:42:24 INFO : VisionWorks on Target : Found file /home/dev/Downloads/nvidia/sdkm_downloads/libvisionworks-tracking-repo_0.88.2_arm64.deb with correct checksum, skip downloading.
10:42:25 INFO : TensorRT on Target : Found file /home/dev/Downloads/nvidia/sdkm_downloads/libnvinfer-samples_5.0.6-1+cuda10.0_all.deb with correct checksum, skip downloading.
10:42:25 INFO : CUDA Toolkit for L4T : Found file /home/dev/Downloads/nvidia/sdkm_downloads/cuda-repo-l4t-10-0-local-10.0.166_1.0-1_arm64.deb with correct checksum, skip downloading.
10:42:34 DEBUG : running command < lsusb | grep "NVidia Corp" >
10:42:34 INFO : Bus 001 Device 003: ID 0955:7c18 e[01;31me[KNVidia Corpe[me[K.
10:42:34 INFO : command finished successfully
10:42:34 DEBUG : running command < lsusb | grep 0955:7020 >
10:42:35 ERROR : command terminated with error
10:42:35 INFO : Jetson device is in recovery mode.
10:42:35 INFO : Device Mode Host Setup in Flash : Start to install 'Device Mode Host Setup in Flash'
10:42:35 DEBUG : Device Mode Host Setup in Flash : running command < cd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SR0VUX0dST1VQIiwiYWN0aW9uIjoxLCJkb3dubG9hZEVycm9ycyI6W10sImluc3RhbGxQYXRoIjoiL2hvbWUvZGV2L252aWRpYS9udmlkaWFfc2RrL0pldFBhY2tfNC4yX0xpbnV4X1AzMzEwIiwiYnVuZGxlVGl0bGUiOiJKZXRQYWNrXzQuMl9MaW51eCIsImluc3RhbGxSb290IjoiL2hvbWUvZGV2L252aWRpYS9udmlkaWFfc2RrIiwiYm9hcmRJRCI6IlAzMzEwIiwidGFyZ2V0QWNjZXNzSW5mbyI6eyJ1c2VyIjoibnZpZGlhIiwicGFzc3dvcmQiOiJudmlkaWEiLCJob3N0IjoiMTkyLjE2OC41NS4xIiwicG9ydCI6IjIyIn19' -i='NV_L4T_DEVICE_MODE_SETUP_COMP_IN_FLASH' -v='1.0' -l='/home/dev/nvidia/nvidia_sdk/JetPack_4.2_Linux_P3310' -L='/home/dev/.nvsdkm/logs/JetPack_4.2_Linux' -p='2722' -t='P3310' -e='undefined' >
10:42:35 INFO : Device Mode Host Setup in Flash : [ Disk Avail:101.41 GB ]
10:42:35 INFO : Device Mode Host Setup in Flash : Using GenericInstaller to Install NV_L4T_DEVICE_MODE_SETUP_COMP_IN_FLASH
10:42:35 INFO : Device Mode Host Setup in Flash : enter working directory: /home/dev/nvidia/nvidia_sdk/JetPack_4.2_Linux_P3310
10:42:35 INFO : Device Mode Host Setup in Flash : [ Component Install Started ]
10:42:35 INFO : Device Mode Host Setup in Flash : current working directory is /home/dev/nvidia/nvidia_sdk/JetPack_4.2_Linux_P3310
10:42:35 INFO : Device Mode Host Setup in Flash : exec_command [host]:
10:42:35 INFO : Device Mode Host Setup in Flash : **********************
10:42:35 INFO : Device Mode Host Setup in Flash : #!/bin/bash
10:42:35 INFO : Device Mode Host Setup in Flash : set -e
10:42:35 INFO : Device Mode Host Setup in Flash : set +e
10:42:35 INFO : Device Mode Host Setup in Flash : eth_port_name=$(ip route show default | awk '/default via/ {print $5; exit}')
10:42:35 INFO : Device Mode Host Setup in Flash : if [[ $eth_port_name == '' ]]; then
10:42:35 INFO : Device Mode Host Setup in Flash : echo 'Can not found route default $eth_port_name, device mode setup failed!'
10:42:35 INFO : Device Mode Host Setup in Flash : exit 0
10:42:35 INFO : Device Mode Host Setup in Flash : fi
10:42:35 INFO : Device Mode Host Setup in Flash : echo 'Found route default' $eth_port_name', setting up device mode'
10:42:35 INFO : Device Mode Host Setup in Flash : setup_t='192.168.55.0/24'
10:42:35 INFO : Device Mode Host Setup in Flash : sudo iptables -t nat -A POSTROUTING -s $setup_t -o $eth_port_name -j MASQUERADE
10:42:35 INFO : Device Mode Host Setup in Flash : sudo iptables -A FORWARD -s $setup_t -o $eth_port_name -j ACCEPT
10:42:35 INFO : Device Mode Host Setup in Flash : sudo iptables -A FORWARD -d $setup_t -m state --state ESTABLISHED,RELATED -i $eth_port_name -j ACCEPT
10:42:35 INFO : Device Mode Host Setup in Flash : sudo sysctl -w net.ipv4.ip_forward=1
10:42:35 INFO : Device Mode Host Setup in Flash : check_google_dns=$(dig @8.8.8.8 nvidia.com || true)
10:42:35 INFO : Device Mode Host Setup in Flash : if [[ $check_google_dns == *'Got answer'* ]]; then
10:42:35 INFO : Device Mode Host Setup in Flash : echo 'Device mode on host successfuly set with DNS 8.8.8.8!'
10:42:35 INFO : Device Mode Host Setup in Flash : exit 0
10:42:35 INFO : Device Mode Host Setup in Flash : else
10:42:35 INFO : Device Mode Host Setup in Flash : echo 'Default google DNS is not working, trying to find a valid server in local host settings!'
10:42:35 INFO : Device Mode Host Setup in Flash : dns_list=$(nmcli -t device show $eth_port_name | grep 'DNS' | grep -o '[^:]*$')
10:42:35 INFO : Device Mode Host Setup in Flash : for dns in $dns_list; do
10:42:35 INFO : Device Mode Host Setup in Flash : check_dns=$(dig @$dns nvidia.com || true)
10:42:35 INFO : Device Mode Host Setup in Flash : if [[ $check_dns == *'Got answer'* ]]; then
10:42:35 INFO : Device Mode Host Setup in Flash : sudo iptables -t nat -A PREROUTING -p tcp -d 8.8.8.8 --dport 53 -j DNAT --to-destination $dns
10:42:35 INFO : Device Mode Host Setup in Flash : sudo iptables -t nat -A PREROUTING -p udp -d 8.8.8.8 --dport 53 -j DNAT --to-destination $dns
10:42:35 INFO : Device Mode Host Setup in Flash : echo 'Device mode on host successfuly set with DNS' $dns'!'
10:42:35 INFO : Device Mode Host Setup in Flash : exit 0
10:42:35 INFO : Device Mode Host Setup in Flash : fi
10:42:35 INFO : Device Mode Host Setup in Flash : done
10:42:35 INFO : Device Mode Host Setup in Flash : echo 'Can not found a valid DNS server, device mode setup failed!'
10:42:35 INFO : Device Mode Host Setup in Flash : echo 'If needed to use device mode, please change the target default dns to a valid server by following the steps in release note.'
10:42:35 INFO : Device Mode Host Setup in Flash : exit 0
10:42:35 INFO : Device Mode Host Setup in Flash : fi
10:42:35 INFO : Device Mode Host Setup in Flash : **********************
10:42:35 INFO : Device Mode Host Setup in Flash : exec_command: /tmp/tmp_NV_L4T_DEVICE_MODE_SETUP_COMP_IN_FLASH.sh
10:42:35 INFO : Device Mode Host Setup in Flash : Found route default enp1s0, setting up device mode
10:42:35 INFO : Device Mode Host Setup in Flash : net.ipv4.ip_forward = 1
10:42:50 INFO : Device Mode Host Setup in Flash : Default google DNS is not working, trying to find a valid server in local host settings!
10:42:50 INFO : Device Mode Host Setup in Flash : Device mode on host successfuly set with DNS 192.168.31.200!
10:42:50 INFO : Device Mode Host Setup in Flash : [ Component Install Finished Successfully ]
10:42:50 INFO : Device Mode Host Setup in Flash : [ 12.00 KB used. Disk Avail: 101.41 GB ]
10:42:50 INFO : Device Mode Host Setup in Flash : [ NV_L4T_DEVICE_MODE_SETUP_COMP_IN_FLASH Install took 15s ]
10:42:50 INFO : Device Mode Host Setup in Flash : command finished successfully
10:42:50 INFO : Device Mode Host Setup in Flash : install 'Device Mode Host Setup in Flash' success
10:42:50 INFO : Flash Jetson TX2 : Start to install 'Flash Jetson TX2'
10:42:50 DEBUG : Flash Jetson TX2 : running command < cd '/home/dev/nvidia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0sImRlcGVuZGVuY2llcyI6W3siaWQiOiJOVl9MNFRfRklMRV9TWVNURU1fQU5EX09TX1RYMl9DT01QIiwib3BlcmF0b3IiOiI9PSIsInZlciI6IjMyLjEifSx7ImlkIjoiTlZfTDRUX0RSSVZFUlNfVFgyX0NPTVAiLCJvcGVyYXRvciI6Ij09IiwidmVyIjoiMzIuMSJ9LHsiaWQiOiJOVl9MNFRfREVWSUNFX01PREVfU0VUVVBfQ09NUF9JTl9GTEFTSCIsIm9wZXJhdG9yIjoiPT0iLCJ2ZXIiOiIxLjAifV0sImV4dGVybmFsX2RlcGVuZGVuY2llcyI6W10sInBhcmVudElEIjoiTlZfRFJJVkVfRkxBU0hfVEFSR0VUX0dST1VQIiwiYWN0aW9uIjoxLCJkb3dubG9hZEVycm9ycyI6W10sImluc3RhbGxQYXRoIjoiL2hvbWUvZGV2L252aWRpYS9udmlkaWFfc2RrL0pldFBhY2tfNC4yX0xpbnV4X1AzMzEwIiwiYnVuZGxlVGl0bGUiOiJKZXRQYWNrXzQuMl9MaW51eCIsImluc3RhbGxSb290IjoiL2hvbWUvZGV2L252aWRpYS9udmlkaWFfc2RrIiwiYm9hcmRJRCI6IlAzMzEwIiwidGFyZ2V0QWNjZXNzSW5mbyI6eyJ1c2VyIjoibnZpZGlhIiwicGFzc3dvcmQiOiJudmlkaWEiLCJob3N0IjoiMTkyLjE2OC41NS4xIiwicG9ydCI6IjIyIn19' -i='NV_L4T_FLASH_TX2_WITH_OS_IMAGE_COMP' -v='32.1' -l='/home/dev/nvidia/nvidia_sdk/JetPack_4.2_Linux_P3310' -L='/home/dev/.nvsdkm/logs/JetPack_4.2_Linux' -p='2722' -t='P3310' -e='undefined' >
10:42:51 INFO : Flash Jetson TX2 : [ Disk Avail:101.41 GB ]
10:42:51 INFO : Flash Jetson TX2 : Using GenericInstaller to Install NV_L4T_FLASH_TX2_WITH_OS_IMAGE_COMP
10:42:51 INFO : Flash Jetson TX2 : enter working directory: /home/dev/nvidia/nvidia_sdk/JetPack_4.2_Linux_P3310/Linux_for_Tegra
10:42:51 INFO : Flash Jetson TX2 : [ Component Install Started ]
10:42:51 INFO : Flash Jetson TX2 : current working directory is /home/dev/nvidia/nvidia_sdk/JetPack_4.2_Linux_P3310/Linux_for_Tegra
10:42:51 INFO : Flash Jetson TX2 : exec_command [target]:
10:42:51 INFO : Flash Jetson TX2 : **********************
10:42:51 INFO : Flash Jetson TX2 : #!/bin/bash
10:42:51 INFO : Flash Jetson TX2 : set -e
10:42:51 INFO : Flash Jetson TX2 : export LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8
10:42:51 INFO : Flash Jetson TX2 : sudo reboot forced-recovery
10:42:51 INFO : Flash Jetson TX2 : **********************
10:42:51 INFO : Flash Jetson TX2 : exec_command: scp -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no /tmp/tmp_NV_L4T_FLASH_TX2_WITH_OS_IMAGE_COMP.sh nvidia@192.168.55.1:~; ssh -t -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no nvidia@192.168.55.1 "~/tmp_NV_L4T_FLASH_TX2_WITH_OS_IMAGE_COMP.sh && rm -f ~/tmp_NV_L4T_FLASH_TX2_WITH_OS_IMAGE_COMP.sh"
10:45:01 ERROR : Flash Jetson TX2 : lost connection
10:47:12 INFO : Flash Jetson TX2 : exit status 255
10:47:12 WARNING : Flash Jetson TX2 : command scp -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no /tmp/tmp_NV_L4T_FLASH_TX2_WITH_OS_IMAGE_COMP.sh nvidia@192.168.55.1:~; ssh -t -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no nvidia@192.168.55.1 "~/tmp_NV_L4T_FLASH_TX2_WITH_OS_IMAGE_COMP.sh && rm -f ~/tmp_NV_L4T_FLASH_TX2_WITH_OS_IMAGE_COMP.sh" finished with error, but ignored
10:47:12 INFO : Flash Jetson TX2 : exec_command: sleep 20
10:47:32 INFO : Flash Jetson TX2 : exec_command: sudo ./flash.sh jetson-tx2 mmcblk0p1
10:47:32 INFO : Flash Jetson TX2 : ###############################################################################
10:47:32 INFO : Flash Jetson TX2 : # L4T BSP Information:
10:47:32 INFO : Flash Jetson TX2 : # R32 (release), REVISION: 1.0, GCID: 14531094, BOARD: t186ref, EABI: aarch64,
10:47:32 INFO : Flash Jetson TX2 : # DATE: Wed Mar 13 07:41:08 UTC 2019
10:47:32 INFO : Flash Jetson TX2 : ###############################################################################
10:47:37 INFO : Flash Jetson TX2 : Error: probing the target board failed.
10:47:37 INFO : Flash Jetson TX2 : Make sure the target board is connected through
10:47:37 INFO : Flash Jetson TX2 : USB port and is in recovery mode.
10:47:37 INFO : Flash Jetson TX2 : exit status 1
10:47:37 INFO : Flash Jetson TX2 : [ Component Install Finished with Error ]
10:47:37 ERROR : Flash Jetson TX2 : NV_L4T_FLASH_TX2_WITH_OS_IMAGE_COMP command sudo ./flash.sh jetson-tx2 mmcblk0p1 finished with error
10:47:37 INFO : Flash Jetson TX2 :
10:47:37 INFO : Flash Jetson TX2 : [ 492.00 KB released. Disk Avail: 101.41 GB ]
10:47:37 INFO : Flash Jetson TX2 : [ NV_L4T_FLASH_TX2_WITH_OS_IMAGE_COMP Install took 4m47s ]
10:47:37 INFO : Flash Jetson TX2 : command sudo ./flash.sh jetson-tx2 mmcblk0p1 finished with error
10:47:37 ERROR : Flash Jetson TX2 : command terminated with error
10:47:38 ERROR : Flash Jetson TX2 : install 'Flash Jetson TX2' failure, command < cd '/home/dev/nvidia/nvidia_sdk/JetPack_4.2_Linux_P3310' ; /opt/nvidia/sdkmanager/resources/app/output/installUtils/adapter -a='install' -c='eyJpZCI6Ik5WX0w0VF9GTEFTSF9UWDJfV0lUSF9PU19JTUFHRV9DT01QIiwibmFtZSI6IkZsYXNoIEpldHNvbiBUWDIiLCJkZXNjcmlwdGlvbiI6IkZsYXNoIEpldHNvbiBUWDIiLCJjb21wVHlwZSI6ImZsYXNoIiwiaXNWaX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09NUF9JTl9GTEFTSCIsIm9wZXJhdG9yIjoiPT0iLCJ2ZXIiOiIxLjAifV0sImV4dGVybmFsX2RlcGVuZGVuY2llcyI6W10sInBhcmVudElEIjoiTlZfRFJJVkVfRkxBU0hfVEFSR0VUX0dST1VQIiwiYWN0aW9uIjoxLCJkb3dubG9hZEVycm9ycyI6W10sImluc3RhbGxQYXRoIjoiL2hvbWUvZGV2L252aWRpYS9udmlkaWFfc2RrL0pldFBhY2tfNC4yX0xpbnV4X1AzMzEwIiwiYnVuZGxlVGl0bGUiOiJKZXRQYWNrXzQuMl9MaW51eCIsImluc3RhbGxSb290IjoiL2hvbWUvZGV2L252aWRpYS9udmlkaWFfc2RrIiwiYm9hcmRJRCI6IlAzMzEwIiwidGFyZ2V0QWNjZXNzSW5mbyI6eyJ1c2VyIjoibnZpZGlhIiwicGFzc3dvcmQiOiJudmlkaWEiLCJob3N0IjoiMTkyLjE2OC41NS4xIiwicG9ydCI6IjIyIn19' -i='NV_L4T_FLASH_TX2_WITH_OS_IMAGE_COMP' -v='32.1' -l='/home/dev/nvidia/nvidia_sdk/JetPack_4.2_Linux_P3310' -L='/home/dev/.nvsdkm/logs/JetPack_4.2_Linux' -p='2722' -t='P3310' -e='undefined' > terminated with error
10:47:38 INFO : Device Mode Host Setup in Target SDK : install 'Device Mode Host Setup in Target SDK' Skipped
10:47:38 INFO : DateTime Target Setup : install 'DateTime Target Setup' Skipped
10:47:38 INFO : CUDA Toolkit for L4T : install 'CUDA Toolkit for L4T' Skipped
10:47:38 INFO : cuDNN on Target : install 'cuDNN on Target' Skipped
10:47:38 INFO : TensorRT on Target : install 'TensorRT on Target' Skipped
10:47:39 INFO : OpenCV on Target : install 'OpenCV on Target' Skipped
10:47:39 INFO : VisionWorks on Target : install 'VisionWorks on Target' Skipped
10:47:39 INFO : Multimedia API : install 'Multimedia API' Skipped
10:47:40 INFO : All done!

My host is under Ubuntu 16.04.
My TX2 is in recovery mode. The usb cable is connected from the TX2 to my PC.
My host and the TX2 are connected on a switch with access to the internet.

Could you help me?
Thanks.

Hi Dakow,

Could you try plug usb cable to other usb part and put your device into recovery mode again?
Make sure you can see below device in host ubuntu:
$ lsusb
Bus 001 Device 076: ID 0955:7c18 NVidia Corp.

When all done, please run the sdkmanager again. Thanks!

I have same problem.
I tried to plug every USB port on my host PC, but it is no use.

Below is my result of lsusb and I can find Jetson TX2 ( Bus 003: Device 007: )

$ lsusb
Bus 002 Device 002: ID 8087:8000 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 003 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 003 Device 007: ID 0955:7c18 NVidia Corp.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Hi s_ajisaka,

Looks you boot into recovery mode success!
At this time to flash image via sdkmanager, you got “SDK Manager - Could not detect target hardware” error message on SDK manager?
Please print screen and attache the logs, we can check issue first. Thanks!

Hi carolyuu,

Thanks for your answer! I already did that, here are the logs:
lsusb

Bus 002 Device 014: ID 1a2c:b31f China Resource Semico Co., Ltd 
Bus 002 Device 013: ID 046d:c05a Logitech, Inc. M90/M100 Optical Mouse
Bus 002 Device 012: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 006: ID 0930:6545 Toshiba Corp. Kingston DataTraveler 102/2.0 / HEMA Flash Drive 2 GB / PNY Attache 4GB Stick
Bus 001 Device 007: ID 0955:7c18 NVidia Corp. 
Bus 001 Device 002: ID 0bda:0181 Realtek Semiconductor Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

dmesg

[ven. mars 22 10:39:13 2019] usb 1-5: new high-speed USB device number 7 using ehci-pci
[ven. mars 22 10:39:13 2019] usb 1-5: New USB device found, idVendor=0955, idProduct=7c18
[ven. mars 22 10:39:13 2019] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ven. mars 22 10:39:13 2019] usb 1-5: Product: APX
[ven. mars 22 10:39:13 2019] usb 1-5: Manufacturer: NVIDIA Corp.

The same error (image):
http://heberg.aidactif.fr/juin11/1553261990.png

The logs are the same as my first message.

Thanks

I’m having the same issue, albeit with a different board: I’m trying to flash a Xavier board with the SDK manager and I get the same message. At several attempts the program loses connection after it is ~14% done:

From the log:


21:33:24 INFO : Flash Jetson AGX Xavier : exec_command: scp -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no /tmp/tmp_NV_L4T_FLASH_XAVIER_WITH_OS_IMAGE_COMP.sh nvidia@192.168.55.1:~; ssh -t -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no nvidia@192.168.55.1 “~/tmp_NV_L4T_FLASH_XAVIER_WITH_OS_IMAGE_COMP.sh && rm -f ~/tmp_NV_L4T_FLASH_XAVIER_WITH_OS_IMAGE_COMP.sh”
21:35:33 ERROR : Flash Jetson AGX Xavier : lost connection
21:37:44 INFO : Flash Jetson AGX Xavier : exit status 255


I’ve tried different USB ports, always the same result.

By the way, I even disabled autosuspend, as recommended in this article: Linux USB Not Detected or Not Working? 5 Common Issues and Fixes, but that didn’t help either.

here’s the lsusb output:
Bus 002 Device 004: ID 5986:0308 Acer, Inc
Bus 002 Device 003: ID 147e:1002 Upek Biometric Touchchip/Touchstrip Fingerprint Sensor
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 006: ID 046d:c064 Logitech, Inc. M110 corded optical mouse (M-B0001)
Bus 003 Device 005: ID 0955:7019 NVidia Corp.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Not sure where to go from here…

Hi !

@s_ajisaka any idea about this problem ?

Have a good day,
Thanks!

Just FYI, if anyone is using a VM (which isn’t supported), then this is a common problem for the case of lost USB (VMs don’t handle this correctly in most cases, though you might be able to tweak settings). If anyone is using a VM, then try a native install. If not a VM, then there is something which might be debugged.

In the case of the package addition stage (which is after flash completes and the system has rebooted), then only wired ethernet is supported (WiFi is not supported from the Jetson side). Manually set up WiFi could work, but this cannot be automatically set up during a flash. Do keep in mind that you can run the package management stages without flashing if you uncheck flash and manually enter the IP address of the Jetson (the USB cable is not required for this).

@linuxdev: thanks for the clarification, it is very helpful to get a more detailed understanding of the install process.
Having said that, I am not using VM, I am trying to do the flash from a Ubuntu 18.04 laptop, with wired ethernet on both the laptop and the Xavier. My guess is that it is an issue wih the 4.2 SDK manager, because one of our engineers in Europe ran into the same issue over there on two different systems as well. He couldn’t get it to flash with 4.2, so he went back to 4.1 where he was finally able to do it.

Not an ideal situation though, because 4.1 and 4.2 have a different dir structure etc. and we’d like to keep it consistent across boards even in the lab. It’d be awesome if we could get this to work under 4.2 - is there anything we can do to help with the troubleshooting? Log files, config files, etc?

Thanks,
Uli

I do not yet know enough to help much with SDK manager. One bit of information which might matter though is which of the failing machines used a locale other than “en_US.UTF-8” (see “echo $LANG”), and if there were spaces anywhere in any paths used for install.

Since SDK manager is brand new, we did not modify the install path, but went with the proposed default. Also, we used US English for all machines.

Hi Dakow/s_ajisaka,

Please try flash BSP directly and check if device can flash or not.

  1. Put the device to recovery mode
  2. Go to BSP folder (that you download target HW image folder)
    $ cd /home/xxxx/nvidia/nvidia_sdk/JetPack_4.2_Linux_P3310/Linux_for_Tegra
  3. Flash image:
    $ sudo ./flash jetson-tx2 mmcblk0p1

Hi carolyuu,

Thanks for your help !
Here is the result:

dev@dev-robot-2:~/nvidia/nvidia_sdk/JetPack_4.2_Linux_P3310/Linux_for_Tegra$ lsusb 
Bus 002 Device 031: ID 1a2c:b31f China Resource Semico Co., Ltd 
Bus 002 Device 030: ID 046d:c05a Logitech, Inc. M90/M100 Optical Mouse
Bus 002 Device 029: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 005: ID 0955:7c18 NVidia Corp. 
Bus 001 Device 002: ID 0bda:0181 Realtek Semiconductor Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
dev@dev-robot-2:~/nvidia/nvidia_sdk/JetPack_4.2_Linux_P3310/Linux_for_Tegra$ dmesg | tail -5
[170282.030643] usb 1-6: new high-speed USB device number 5 using ehci-pci
[170282.188087] usb 1-6: New USB device found, idVendor=0955, idProduct=7c18
[170282.188090] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[170282.188092] usb 1-6: Product: APX
[170282.188095] usb 1-6: Manufacturer: NVIDIA Corp.
dev@dev-robot-2:~/nvidia/nvidia_sdk/JetPack_4.2_Linux_P3310/Linux_for_Tegra$ sudo ./flash.sh jetson-tx2 mmcblk0p1
###############################################################################
# L4T BSP Information:
# R32 (release), REVISION: 1.0, GCID: 14531094, BOARD: t186ref, EABI: aarch64, 
# DATE: Wed Mar 13 07:41:08 UTC 2019
###############################################################################
Error: probing the target board failed.
       Make sure the target board is connected through 
       USB port and is in recovery mode.

I had the same issue today when flashing Jetpack 4.2 onto Jetson TX 2 through SDK Manager 0.9.11.3405 running on host PC with Ubuntu 18.04.2 LTS.

This post helped me solve my problem: https://devtalk.nvidia.com/default/topic/1048872/error-when-install-jetson-software-with-sdk-manager/?offset=1

In short, install python 2 (sudo apt-get install python) and restart SDK Manager(probably the host PC as well).

Hope this can help you.

P.S.
If you want to flash more than one boards:

  1. Make sure to restart the SDKmanager before flashing a new one;
  2. After Systemconfiguration, the board will reastart automatically, do not change anything on the newly flashed Jetson System(especially system settings, which may crash and, as a result, SDK flashing may fail) before finishing flashing SDK to the board by host PC.

Dakow,

Perhaps you can try the following command to flash L4T. It won’t work any better, but will emit some more debug information that might let us tell better where the problem is.

sudo bash -x ./flash.sh jetson-tx2 mmcblk0p1

Hi mingqing007!
Thanks for your answer, but it don’t seem to be the same problem, because my Tx2 do not even give the result for the “Target Board Information”…

Hi StephenWarren,

Thanks for your message!
Here is the result: http://data.aidactif.fr/note/1117/raw/
(The forum is blocking the logs (because of certain characters?), so I hosted them.)

Are you sure that the Jetson device was in recovery mode when you ran that command? Every time you run flash.sh you must force the device back into recovery mode by holding the “REC” button either while powering on Jetson from off, or while resetting Jetson by pressing the “RST” button. It is quite possible that Jetson was correctly in recovery mode, it’s just that you’re seeing the same issue that prevents SDK Manager and flash.sh from working.

Can you also try this, also in the Linux_for_Tegra directory, with Jetson freshly placed into recovery mode again:
sudo ./bootloader/tegrarcm_v2 --uid

If that doesn’t print anything that looks like a useful error message, then perhaps try this too, after again placing Jetson into recovery mode afresh:
sudo strace ./bootloader/tegrarcm_v2 --uid

Thanks.

I get the same problem too. I could flash the device when I upgraded from lower Jetpack version to 4.2 version. But since then, I cannot reflash anymore.
I can confirm that my device is in recovery mode properly (I check with lsusb and the TX2-connected display doesn’t show Linux boot).
This is my log for sudo strace./bootloader/tegrarcm_v2 --uid

sudo strace ./bootloader/tegrarcm_v2 --uid 
execve("./bootloader/tegrarcm_v2", ["./bootloader/tegrarcm_v2", "--uid"], 0x7ffe10fd4128 /* 26 vars */) = 0
strace: [ Process PID=15619 runs in 32 bit mode. ]
uname({sysname="Linux", nodename="tranquockhue-ThinkPad-Yoga-14", ...}) = 0
brk(NULL)                               = 0x8384000
brk(0x8384cb0)                          = 0x8384cb0
set_thread_area({entry_number=-1, base_addr=0x8384830, limit=0x0fffff, seg_32bit=1, contents=0, read_exec_only=0, limit_in_pages=1, seg_not_present=0, useable=1}) = 0 (entry_number=12)
set_tid_address(0x8384878)              = 15619
set_robust_list(0x8384880, 12)          = 0
futex(0xffc08018, FUTEX_WAKE_PRIVATE, 1) = 0
rt_sigaction(SIGRTMIN, {sa_handler=0x805afc0, sa_mask=[], sa_flags=SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {sa_handler=0x805aee0, sa_mask=[], sa_flags=SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
ugetrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
uname({sysname="Linux", nodename="tranquockhue-ThinkPad-Yoga-14", ...}) = 0
brk(0x83a5cb0)                          = 0x83a5cb0
brk(0x83a6000)                          = 0x83a6000
stat64("/dev/bus/usb", {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0
open("/dev/bus/usb", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_CLOEXEC|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0
fcntl64(3, F_GETFD)                     = 0x1 (flags FD_CLOEXEC)
getdents(3, /* 4 entries */, 4096)      = 64
open("/dev/bus/usb/002", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_CLOEXEC|O_DIRECTORY) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
getdents(4, /* 3 entries */, 4096)      = 48
open("/dev/bus/usb/002/001", O_RDWR)    = 5
read(5, "\22\1\0\3\t\0\3\tk\35\3\0\25\4\3\2\1\1\t\2\37\0\1\1\0\340\0\t\4\0\0\1"..., 1024) = 49
close(5)                                = 0
getdents(4, /* 0 entries */, 4096)      = 0
close(4)                                = 0
open("/dev/bus/usb/001", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_CLOEXEC|O_DIRECTORY) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=140, ...}) = 0
getdents(4, /* 7 entries */, 4096)      = 112
open("/dev/bus/usb/001/024", O_RDWR)    = 5
read(5, "\22\1\0\2\0\0\0@U\t\30|\0\0\1\2\0\1\t\2 \0\1\1\0\300\20\t\4\0\0\2"..., 1024) = 50
close(4)                                = 0
close(3)                                = 0
ioctl(5, USBDEVFS_CLAIMINTERFACE, 0x8385690) = 0
close(5)                                = 0
stat64("/dev/bus/usb", {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0
open("/dev/bus/usb", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_CLOEXEC|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0
getdents(3, /* 4 entries */, 4096)      = 64
open("/dev/bus/usb/002", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_CLOEXEC|O_DIRECTORY) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
getdents(4, /* 3 entries */, 4096)      = 48
open("/dev/bus/usb/002/001", O_RDWR)    = 5
read(5, "\22\1\0\3\t\0\3\tk\35\3\0\25\4\3\2\1\1\t\2\37\0\1\1\0\340\0\t\4\0\0\1"..., 1024) = 49
close(5)                                = 0
getdents(4, /* 0 entries */, 4096)      = 0
close(4)                                = 0
open("/dev/bus/usb/001", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_CLOEXEC|O_DIRECTORY) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=140, ...}) = 0
getdents(4, /* 7 entries */, 4096)      = 112
open("/dev/bus/usb/001/024", O_RDWR)    = 5
read(5, "\22\1\0\2\0\0\0@U\t\30|\0\0\1\2\0\1\t\2 \0\1\1\0\300\20\t\4\0\0\2"..., 1024) = 50
close(4)                                = 0
close(3)                                = 0
ioctl(5, USBDEVFS_CLAIMINTERFACE, 0x8385690) = 0
ioctl(5, USBDEVFS_BULK, 0xffc07f40)     = -1 ETIMEDOUT (Connection timed out)
close(5)                                = 0
write(1, "Failed to read UID\n", 19Failed to read UID
)    = 19
exit_group(8)                           = ?
+++ exited with 8 +++

@mingquing,
Thank you so much, you have solved my problem!

After installing Python 2.7 on the host, I was able to flash the Xavier board without a hitch.

Nvidia, please update the documentation accordingly, it seems that this is a crucial piece on info for the 4.2 install. Thanks!

Hi StephenWarren,

Yes, I’m sure to be under recovery mode, I check it everytime with a lsusb.
Here is the result. It seems that the card is not recognized as a usb bus despite being visible with the lsusb command…

dev@dev-robot-2:~/nvidia/nvidia_sdk/JetPack_4.2_Linux_P3310/Linux_for_Tegra$ lsusb
Bus 002 Device 049: ID 1a2c:b31f China Resource Semico Co., Ltd 
Bus 002 Device 048: ID 046d:c05a Logitech, Inc. M90/M100 Optical Mouse
Bus 002 Device 047: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 009: ID 0955:7c18 NVidia Corp. 
Bus 001 Device 002: ID 0bda:0181 Realtek Semiconductor Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
dev@dev-robot-2:~/nvidia/nvidia_sdk/JetPack_4.2_Linux_P3310/Linux_for_Tegra$ sudo ./bootloader/tegrarcm_v2 --uid
[sudo] password for dev: 
Failed to read UID
dev@dev-robot-2:~/nvidia/nvidia_sdk/JetPack_4.2_Linux_P3310/Linux_for_Tegra$ sudo strace ./bootloader/tegrarcm_v2 --uid
execve("./bootloader/tegrarcm_v2", ["./bootloader/tegrarcm_v2", "--uid"], [/* 27 vars */]) = 0
strace: [ Process PID=6411 runs in 32 bit mode. ]
uname({sysname="Linux", nodename="dev-robot-2", ...}) = 0
brk(NULL)                               = 0x98e9000
brk(0x98e9cb0)                          = 0x98e9cb0
set_thread_area({entry_number:-1, base_addr:0x98e9830, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 (entry_number:12)
set_tid_address(0x98e9878)              = 6411
set_robust_list(0x98e9880, 12)          = 0
futex(0xfff132a8, FUTEX_WAKE_PRIVATE, 1) = 0
rt_sigaction(SIGRTMIN, {0x805afc0, [], SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x805aee0, [], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
ugetrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
uname({sysname="Linux", nodename="dev-robot-2", ...}) = 0
brk(0x990acb0)                          = 0x990acb0
brk(0x990b000)                          = 0x990b000
stat64("/dev/bus/usb", {st_mode=S_IFDIR|0755, st_size=200, ...}) = 0
open("/dev/bus/usb", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=200, ...}) = 0
fcntl64(3, F_GETFD)                     = 0x1 (flags FD_CLOEXEC)
getdents(3, /* 1 entries */, 4096)      = 160
open("/dev/bus/usb/008", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
getdents(4, /* 1 entries */, 4096)      = 48
open("/dev/bus/usb/008/001", O_RDWR)    = 5
read(5, "\22\1\20\1\t\0\0@k\35\1\0\25\4\3\2\1\1\t\2\31\0\1\1\0\340\0\t\4\0\0\1"..., 1024) = 43
close(5)                                = 0
getdents(4, /* 0 entries */, 4096)      = 0
close(4)                                = 0
open("/dev/bus/usb/007", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
getdents(4, /* 1 entries */, 4096)      = 48
open("/dev/bus/usb/007/001", O_RDWR)    = 5
read(5, "\22\1\20\1\t\0\0@k\35\1\0\25\4\3\2\1\1\t\2\31\0\1\1\0\340\0\t\4\0\0\1"..., 1024) = 43
close(5)                                = 0
getdents(4, /* 0 entries */, 4096)      = 0
close(4)                                = 0
open("/dev/bus/usb/006", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
getdents(4, /* 1 entries */, 4096)      = 48
open("/dev/bus/usb/006/001", O_RDWR)    = 5
read(5, "\22\1\20\1\t\0\0@k\35\1\0\25\4\3\2\1\1\t\2\31\0\1\1\0\340\0\t\4\0\0\1"..., 1024) = 43
close(5)                                = 0
getdents(4, /* 0 entries */, 4096)      = 0
close(4)                                = 0
open("/dev/bus/usb/005", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
getdents(4, /* 1 entries */, 4096)      = 48
open("/dev/bus/usb/005/001", O_RDWR)    = 5
read(5, "\22\1\20\1\t\0\0@k\35\1\0\25\4\3\2\1\1\t\2\31\0\1\1\0\340\0\t\4\0\0\1"..., 1024) = 43
close(5)                                = 0
getdents(4, /* 0 entries */, 4096)      = 0
close(4)                                = 0
open("/dev/bus/usb/004", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
getdents(4, /* 1 entries */, 4096)      = 48
open("/dev/bus/usb/004/001", O_RDWR)    = 5
read(5, "\22\1\20\1\t\0\0@k\35\1\0\25\4\3\2\1\1\t\2\31\0\1\1\0\340\0\t\4\0\0\1"..., 1024) = 43
close(5)                                = 0
getdents(4, /* 0 entries */, 4096)      = 0
close(4)                                = 0
open("/dev/bus/usb/003", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
getdents(4, /* 1 entries */, 4096)      = 48
open("/dev/bus/usb/003/001", O_RDWR)    = 5
read(5, "\22\1\20\1\t\0\0@k\35\1\0\25\4\3\2\1\1\t\2\31\0\1\1\0\340\0\t\4\0\0\1"..., 1024) = 43
close(5)                                = 0
getdents(4, /* 0 entries */, 4096)      = 0
close(4)                                = 0
open("/dev/bus/usb/002", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=120, ...}) = 0
getdents(4, /* 1 entries */, 4096)      = 96
open("/dev/bus/usb/002/049", O_RDWR)    = 5
read(5, "\22\1\0\2\0\0\0 ,\32\37\263\0\1\1\2\0\1\t\2t\0\4\1\0\2402\t\4\0\0\1"..., 1024) = 134
close(5)                                = 0
open("/dev/bus/usb/002/048", O_RDWR)    = 5
read(5, "\22\1\0\2\0\0\0\10m\4Z\300\0c\1\2\0\1\t\2\"\0\1\1\0\2402\t\4\0\0\1"..., 1024) = 52
close(5)                                = 0
open("/dev/bus/usb/002/047", O_RDWR)    = 5
read(5, "\22\1\0\2\t\0\1@@\32\1\1\21\1\0\1\0\1\t\2\31\0\1\1\0\3402\t\4\0\0\1"..., 1024) = 43
close(5)                                = 0
open("/dev/bus/usb/002/001", O_RDWR)    = 5
read(5, "\22\1\0\2\t\0\0@k\35\2\0\25\4\3\2\1\1\t\2\31\0\1\1\0\340\0\t\4\0\0\1"..., 1024) = 43
close(5)                                = 0
getdents(4, /* 0 entries */, 4096)      = 0
close(4)                                = 0
open("/dev/bus/usb/001", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=100, ...}) = 0
getdents(4, /* 1 entries */, 4096)      = 80
open("/dev/bus/usb/001/009", O_RDWR)    = 5
read(5, "\22\1\0\2\0\0\0@U\t\30|\0\0\1\2\0\1\t\2 \0\1\1\0\300\20\t\4\0\0\2"..., 1024) = 50
close(4)                                = 0
close(3)                                = 0
ioctl(5, USBDEVFS_CLAIMINTERFACE, 0x98ea690) = 0
close(5)                                = 0
stat64("/dev/bus/usb", {st_mode=S_IFDIR|0755, st_size=200, ...}) = 0
open("/dev/bus/usb", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=200, ...}) = 0
getdents(3, /* 1 entries */, 4096)      = 160
open("/dev/bus/usb/008", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
getdents(4, /* 1 entries */, 4096)      = 48
open("/dev/bus/usb/008/001", O_RDWR)    = 5
read(5, "\22\1\20\1\t\0\0@k\35\1\0\25\4\3\2\1\1\t\2\31\0\1\1\0\340\0\t\4\0\0\1"..., 1024) = 43
close(5)                                = 0
getdents(4, /* 0 entries */, 4096)      = 0
close(4)                                = 0
open("/dev/bus/usb/007", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
getdents(4, /* 1 entries */, 4096)      = 48
open("/dev/bus/usb/007/001", O_RDWR)    = 5
read(5, "\22\1\20\1\t\0\0@k\35\1\0\25\4\3\2\1\1\t\2\31\0\1\1\0\340\0\t\4\0\0\1"..., 1024) = 43
close(5)                                = 0
getdents(4, /* 0 entries */, 4096)      = 0
close(4)                                = 0
open("/dev/bus/usb/006", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
getdents(4, /* 1 entries */, 4096)      = 48
open("/dev/bus/usb/006/001", O_RDWR)    = 5
read(5, "\22\1\20\1\t\0\0@k\35\1\0\25\4\3\2\1\1\t\2\31\0\1\1\0\340\0\t\4\0\0\1"..., 1024) = 43
close(5)                                = 0
getdents(4, /* 0 entries */, 4096)      = 0
close(4)                                = 0
open("/dev/bus/usb/005", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
getdents(4, /* 1 entries */, 4096)      = 48
open("/dev/bus/usb/005/001", O_RDWR)    = 5
read(5, "\22\1\20\1\t\0\0@k\35\1\0\25\4\3\2\1\1\t\2\31\0\1\1\0\340\0\t\4\0\0\1"..., 1024) = 43
close(5)                                = 0
getdents(4, /* 0 entries */, 4096)      = 0
close(4)                                = 0
open("/dev/bus/usb/004", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
getdents(4, /* 1 entries */, 4096)      = 48
open("/dev/bus/usb/004/001", O_RDWR)    = 5
read(5, "\22\1\20\1\t\0\0@k\35\1\0\25\4\3\2\1\1\t\2\31\0\1\1\0\340\0\t\4\0\0\1"..., 1024) = 43
close(5)                                = 0
getdents(4, /* 0 entries */, 4096)      = 0
close(4)                                = 0
open("/dev/bus/usb/003", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
getdents(4, /* 1 entries */, 4096)      = 48
open("/dev/bus/usb/003/001", O_RDWR)    = 5
read(5, "\22\1\20\1\t\0\0@k\35\1\0\25\4\3\2\1\1\t\2\31\0\1\1\0\340\0\t\4\0\0\1"..., 1024) = 43
close(5)                                = 0
getdents(4, /* 0 entries */, 4096)      = 0
close(4)                                = 0
open("/dev/bus/usb/002", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=120, ...}) = 0
getdents(4, /* 1 entries */, 4096)      = 96
open("/dev/bus/usb/002/049", O_RDWR)    = 5
read(5, "\22\1\0\2\0\0\0 ,\32\37\263\0\1\1\2\0\1\t\2t\0\4\1\0\2402\t\4\0\0\1"..., 1024) = 134
close(5)                                = 0
open("/dev/bus/usb/002/048", O_RDWR)    = 5
read(5, "\22\1\0\2\0\0\0\10m\4Z\300\0c\1\2\0\1\t\2\"\0\1\1\0\2402\t\4\0\0\1"..., 1024) = 52
close(5)                                = 0
open("/dev/bus/usb/002/047", O_RDWR)    = 5
read(5, "\22\1\0\2\t\0\1@@\32\1\1\21\1\0\1\0\1\t\2\31\0\1\1\0\3402\t\4\0\0\1"..., 1024) = 43
close(5)                                = 0
open("/dev/bus/usb/002/001", O_RDWR)    = 5
read(5, "\22\1\0\2\t\0\0@k\35\2\0\25\4\3\2\1\1\t\2\31\0\1\1\0\340\0\t\4\0\0\1"..., 1024) = 43
close(5)                                = 0
getdents(4, /* 0 entries */, 4096)      = 0
close(4)                                = 0
open("/dev/bus/usb/001", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=100, ...}) = 0
getdents(4, /* 1 entries */, 4096)      = 80
open("/dev/bus/usb/001/009", O_RDWR)    = 5
read(5, "\22\1\0\2\0\0\0@U\t\30|\0\0\1\2\0\1\t\2 \0\1\1\0\300\20\t\4\0\0\2"..., 1024) = 50
close(4)                                = 0
close(3)                                = 0
ioctl(5, USBDEVFS_CLAIMINTERFACE, 0x98ea690) = 0
ioctl(5, USBDEVFS_BULK, 0xfff131d0)     = -1 ETIMEDOUT (Connection timed out)
close(5)                                = 0
write(1, "Failed to read UID\n", 19Failed to read UID
)    = 19
exit_group(8)                           = ?
+++ exited with 8 +++

Edit: I’ve tested with rebooting my computer and using others USB ports, same result.