VC-MIPI-modules / vc_mipi_nvidia

Vision Components MIPI CSI-2 driver for NVIDIA Jetson Nano, Xavier NX, AGX Xavier, TX2 and Orin Nano, Orin NX
83 stars 34 forks source link

Flashing the device does not work on some PCs #1

Open stefan-detter-m opened 3 years ago

stefan-detter-m commented 3 years ago

OS: Ubuntu 20.04

On my PC the device in recovery mode is shown as "Nvidia Corp.", so the flash.sh script does not work. Adding a -i to the grepin check_recovery_mode() resolves the issue.

check_recovery_mode() {
    if [[ -z $(lsusb | grep -i "NVIDIA Corp.") ]]; then
       echo "Recovery Mode not startet!"
       exit 1
    fi
}
pmliquify commented 3 years ago

Ok, thanks for the fix. I will add this to the next version.