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

    voxl-modem-start.sh issue

    Software Development
    2
    3
    309
    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.
    • P
      Philemon Benner
      last edited by 6 Dec 2022, 16:41

      Hey,
      i'm currently trying to do something similiar to modallink_relink.py, but i need the return value of voxl-modem-start.sh and it should be blocking, so i wanted to directly run that instead of using:

      systemctl restart voxl-modem
      

      But when i'm running voxl-modem-start.sh from voxl terminal i get the following error:
      Screenshot from 2022-12-06 17-31-22.png

      the modem is configured and with the service file it works. I also tried playing around with the if conditions in voxl-modem-start.sh but without success.

      System Image: 3.8.0
      voxl-modem Version: 0.16.1

      1 Reply Last reply Reply Quote 0
      • T
        tom admin
        last edited by 6 Dec 2022, 16:49

        @Philemon-Benner Hmm it’s reading from /etc/modalai/voxl-modem.conf

        I wonder if something funky is going on with the config file formatting.

        P 1 Reply Last reply 7 Dec 2022, 09:40 Reply Quote 0
        • P
          Philemon Benner @tom
          last edited by 7 Dec 2022, 09:40

          @tom Now it's working again, but might be worth a look, it's important that it always works. Parsing seems fine:

          apq8096 detected...
          'v2'
          len: 2
          
          Initializing v2 modem...
          
          Waiting for ttyUSB2...
          ttyUSB2
          
          1 Reply Last reply Reply Quote 0
          1 out of 3
          • First post
            1/3
            Last post
          Powered by NodeBB | Contributors