Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. Ask your questions right here!
  3. Is poweroff supposed to shutdown voxl?

Is poweroff supposed to shutdown voxl?

Scheduled Pinned Locked Moved Ask your questions right here!
4 Posts 2 Posters 491 Views 1 Watching
  • 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.
  • Ed SutterE Offline
    Ed SutterE Offline
    Ed Sutter
    Regular
    wrote on last edited by
    #1

    Hi,
    Sorry for the burst of questions (I've been asked to tackle a few different issues at the same time)...
    I just noticed that I can connect to VOXL using adb shell, but when in that shell I had been assuming that poweroff -f is essentially a shutdown (i.e. after which it is safe to remove power).
    Anyway, earlier (from adb shell) I ran "poweroff -f" and it responded with "Powering off", and I also noticed that my ssh connection was dropped. So far, so good.
    Then, I forgot to actually remove power from the unit and a few minutes later I found that I could use both adb shell and/or ssh to log back into the VOXL. Seems like it did a reboot instead of a poweroff.

    Is that correct? It seems VOXL did not actually power off.
    (or I'm an idiot for doing something wrong)...
    Thoughts?

    VinnyV 1 Reply Last reply
    0
    • Ed SutterE Ed Sutter

      Hi,
      Sorry for the burst of questions (I've been asked to tackle a few different issues at the same time)...
      I just noticed that I can connect to VOXL using adb shell, but when in that shell I had been assuming that poweroff -f is essentially a shutdown (i.e. after which it is safe to remove power).
      Anyway, earlier (from adb shell) I ran "poweroff -f" and it responded with "Powering off", and I also noticed that my ssh connection was dropped. So far, so good.
      Then, I forgot to actually remove power from the unit and a few minutes later I found that I could use both adb shell and/or ssh to log back into the VOXL. Seems like it did a reboot instead of a poweroff.

      Is that correct? It seems VOXL did not actually power off.
      (or I'm an idiot for doing something wrong)...
      Thoughts?

      VinnyV Offline
      VinnyV Offline
      Vinny
      ModalAI Team
      wrote on last edited by
      #2

      @Ed-Sutter There is no SW control to physically power-off.
      Because of drone access to buttons being a no-go, we do not have a physical power button to turn the hardware ON like on a phone. Basically, once you apply power, we turn on and boot up.
      So, when you do a software power-off, it immediately powers back on once the SW is done with it's effective "reset" in that case.

      Ed SutterE 1 Reply Last reply
      0
      • VinnyV Vinny

        @Ed-Sutter There is no SW control to physically power-off.
        Because of drone access to buttons being a no-go, we do not have a physical power button to turn the hardware ON like on a phone. Basically, once you apply power, we turn on and boot up.
        So, when you do a software power-off, it immediately powers back on once the SW is done with it's effective "reset" in that case.

        Ed SutterE Offline
        Ed SutterE Offline
        Ed Sutter
        Regular
        wrote on last edited by
        #3

        @Vinny Ok, I understand not having SW control of the actual power, but AFAIK, the SW can still shutdown and enter a "halt" state so as to provide the "safe" state to remove power. Although that would only work if there wasn't some watchdog that would then trigger and restart things!

        Anyway, referring to this text, you may want to suggest to the SW folks that they remove the poweroff command from their shell (probably busybox) for systems that essentially do a "reboot" when the poweroff command is issued.

        Again...thanks for the quick response.

        VinnyV 1 Reply Last reply
        0
        • Ed SutterE Ed Sutter

          @Vinny Ok, I understand not having SW control of the actual power, but AFAIK, the SW can still shutdown and enter a "halt" state so as to provide the "safe" state to remove power. Although that would only work if there wasn't some watchdog that would then trigger and restart things!

          Anyway, referring to this text, you may want to suggest to the SW folks that they remove the poweroff command from their shell (probably busybox) for systems that essentially do a "reboot" when the poweroff command is issued.

          Again...thanks for the quick response.

          VinnyV Offline
          VinnyV Offline
          Vinny
          ModalAI Team
          wrote on last edited by
          #4

          @Ed-Sutter There is more to it than on the surface, as our SW team has gone to great lengths to figure out how to prevent corruption, so I still think it's the correct thing to follow as per that link, but we do need to educate users on the differences.
          Adding some type of hardware level button and "safe to remove" indicator has been in discussion for years, but the practical implementation of that (since for most use cases, we'd want it different than a smart phone) leads to a whole bunch of low-level work that may not actually succeed.
          These chips "think" they are in a phone, no matter what we do, so we try to work around it the best we can.
          I know the team still thinks about this... maybe we'll get a clean solution one of these days.

          1 Reply Last reply
          0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          ModalAI
          Categories Recent Tags ModalAI.com Docs
          © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups