ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Unable to connect to host PC using adb shell & SSH

    Ask your questions right here!
    4
    19
    832
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Chad SweetC
      Chad Sweet ModalAI Team
      last edited by

      Can you please type lsusb at the command prompt with the rb5 drone connected to your PC by USB and then share the results?

      1 Reply Last reply Reply Quote 0
      • Mohammad Saeid AnwarM
        Mohammad Saeid Anwar
        last edited by

        hello @Chad-Sweet Please take a look
        Using lsusb command:
        Screen Shot 2022-12-18 at 8.35.0.png

        1 Reply Last reply Reply Quote 0
        • tomT
          tom admin
          last edited by

          @Mohammad-Saeid-Anwar It looks as though your RB5 is booting into fastboot.

          I would recommend flashing our latest platform release (0.9) which can be found here: https://developer.modalai.com/asset/view/117

          following the steps outlined here: https://docs.modalai.com/Qualcomm-Flight-RB5-voxl-sdk-upgrade-guide/

          1 Reply Last reply Reply Quote 0
          • Mohammad Saeid AnwarM
            Mohammad Saeid Anwar
            last edited by

            @tom I have a little confusion here. As I said earlier, the ADB shell has not been working. So how can I install your specified system image using the ADB pull command?
            like these commands:
            adb pull /data/modalai/opencv_tracking_intrinsics.yml
            adb pull /data/modalai/opencv_stereo_intrinsics.yml
            adb pull /data/modalai/opencv_stereo_rear_intrinsics.yml
            adb pull /data/modalai/opencv_stereo_extrinsics.yml
            adb pull /data/modalai/opencv_stereo_rear_extrinsics.yml

            1 Reply Last reply Reply Quote 0
            • ?
              A Former User
              last edited by

              Those adb pull commands are backing up config files on the drone, if it's only accessible through fastboot you'll have to skip those steps and reflash the drone. By default the data partition on the board is not reflashed, so as long as that partition wasn't corrupted the data will still be there.

              1 Reply Last reply Reply Quote 0
              • tomT
                tom admin
                last edited by

                @Mohammad-Saeid-Anwar If you end up flashing and the cam cal files are still missing we can likely provide you with them on request as we back them up before shipping out a drone.

                1 Reply Last reply Reply Quote 0
                • Mohammad Saeid AnwarM
                  Mohammad Saeid Anwar
                  last edited by

                  I tried to flash your latest platform release (0.9). But I have faced the same issue. No ADB shell connection. Please take a look.

                  adb eroor.png

                  Mohammad Saeid AnwarM 1 Reply Last reply Reply Quote 0
                  • Mohammad Saeid AnwarM
                    Mohammad Saeid Anwar @Mohammad Saeid Anwar
                    last edited by

                    @tom @Alex-Gardner

                    1 Reply Last reply Reply Quote 0
                    • tomT
                      tom admin
                      last edited by

                      @Mohammad-Saeid-Anwar It seems your device is stuck in fastboot mode so don't worry about trying to pull off the cam cal files. What happens when you run the platform release install script?

                      1 Reply Last reply Reply Quote 0
                      • Mohammad Saeid AnwarM
                        Mohammad Saeid Anwar
                        last edited by

                        Hello @tom This happened when I ran the platform release install script.
                        modalaiii.png

                        1 Reply Last reply Reply Quote 0
                        • tomT
                          tom admin
                          last edited by

                          @Mohammad-Saeid-Anwar Can you run the following commands on your host PC back to back and post the output here:

                          lsusb
                          adb devices
                          fastboot devices
                          
                          1 Reply Last reply Reply Quote 0
                          • Mohammad Saeid AnwarM
                            Mohammad Saeid Anwar
                            last edited by

                            @tom said in Unable to connect to host PC using adb shell & SSH:

                            fastboot devices

                            hey @tom this is the output.
                            fastboot.png

                            1 Reply Last reply Reply Quote 0
                            • tomT
                              tom admin
                              last edited by

                              @Mohammad-Saeid-Anwar Hmm try the following:

                              adb kill-server
                              adb start-server
                              adb devices
                              
                              1 Reply Last reply Reply Quote 0
                              • Mohammad Saeid AnwarM
                                Mohammad Saeid Anwar
                                last edited by Mohammad Saeid Anwar

                                @tom It's still same!!
                                adberror1.png

                                1 Reply Last reply Reply Quote 0
                                • tomT
                                  tom admin
                                  last edited by

                                  @Mohammad-Saeid-Anwar Do you have any other VOXLs that you are able to connect to via. ADB in order to determine that ADB was configured properly on your machine?

                                  1 Reply Last reply Reply Quote 0
                                  • Mohammad Saeid AnwarM
                                    Mohammad Saeid Anwar
                                    last edited by

                                    No. I don't have any other voxl.
                                    Yes, it's properly installed. I had previously worked with the same ADB installation. Suddenly, it stopped responding. I also tried with two other machines with proper ADB installations. It showed the same problem (no device found).

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post
                                    Powered by NodeBB | Contributors