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

ModalAI Forum

  1. ModalAI Support Forum
  2. ESCs, Sensors and Accessories
  3. AT commands to a Sierra Wireless EM9291

AT commands to a Sierra Wireless EM9291

Scheduled Pinned Locked Moved Unsolved ESCs, Sensors and Accessories
cellular
42 Posts 4 Posters 27.4k Views 4 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.
  • modaltbM modaltb

    @groupo jumping in a bit and hopefully am in context.

    We do mount from host to docker here:
    https://gitlab.com/voxl-public/system-image-build/qrb5165-kernel-build-docker/-/blob/qrb5165-ubun1.0-14.1a/docker-run-image.sh?ref_type=heads#L9

    During the build, you'll get 'copies' of everything at something like:
    qrb5165-build-docker/workspace/qrb5165-ubun-1-0_amss_oem/lu.um.1.2.1/apps_proc/build-qti-distro-ubuntu-fullstack-perf/

    Don't edit those...

    If you edit files in say this dir directly:
    apps_proc/src/kernel/msm-qrb5165-4.19/drivers/

    Then they should get picked up by the build. Easy way to tell, throw a compiler error on purpose in a file and try to build it.

    groupoG Offline
    groupoG Offline
    groupo
    Regular
    wrote on last edited by groupo
    #41

    @modaltb hey Travis, thanks for chiming in. I can confirm that throwing in a syntax error in files in that path does break the build - so now I know where those changes need to be made. I appreciate the clarity.

    1 Reply Last reply
    0
    • tomT tom

      @groupo /dev/ttyUSB0 only enumerates if the driver recognizes the hardware of having said capability. In this case, the driver that controls that port doesn't recognize that modem hardware, likely the driver is from before that hardware existed.

      In these cases we usually have to make custom tweaks to the linux kernel drivers in order to add the support for the hardware.

      If you'd like to experiment with doing that you can, building custom kernels allows adding custom support for new or existing hardware.

      You can read more about building a custom kernel here: https://docs.modalai.com/voxl2-kernel-build-guide/

      groupoG Offline
      groupoG Offline
      groupo
      Regular
      wrote on last edited by
      #42

      hey not sure if this is an @tom or @modaltb inquiry, but when following the steps for the kernel build guide, stuff is off with the drone. It boots up and I can adb fine, but there are issues with the wifi, similar to another post Tom helped me with two weeks ago, but for definitely not the same hardware-related reason. The wifi adaptable does not turn on and when you run voxl-wifi the mac address is undefined. I remember stepping through those scripts while troubleshooting the hardware issues and recall that script queries to find its mac address, which must be returning something invalid.

      I have tested this with both of my drones. I can very easily flash them back with https://docs.modalai.com/sentinel-factory-reset/ and they operate as expected. While my desire is to edit part of the usb driver scripts, the kernel I am attempting to put on the drone is the unchanged version following the steps here https://docs.modalai.com/voxl2-kernel-build-guide/. The only deviation from the guide is that the guide is written for SDK 1.1.3. I have put 1.3.0 on both of my drones, and from my understanding the docker scripts pull the default branch of each repo which has the same commit tags as 1.7.8. I have included the output of dmesg for both the 1.3.0 image available from the downloads page, and the results when following the custom kernel build steps.

      https://drive.google.com/drive/folders/14L5gLbAOfF2OcSW2rHFTI4VIoREkTCFJ?usp=sharing

      1 Reply Last reply
      0

      Reading along? Create a free ModalAI Forum account to join in.

      With an account you can reply, ask your own question, get an email when a ModalAI engineer answers, and mark the reply that solved it. Your place in each thread is saved between visits.

      Questions about VOXL, Flight Core, ESCs and ModalAI drones are answered here by the engineers who build them.

      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