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

ModalAI Forum

  1. ModalAI Support Forum
  2. VOXL 2 and VOXL 2 Mini
  3. GPIO missing in /sys/class/gpio

GPIO missing in /sys/class/gpio

Scheduled Pinned Locked Moved Unsolved VOXL 2 and VOXL 2 Mini
voxl-2-mini
6 Posts 3 Posters 1.7k Views 2 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.
  • P Offline
    P Offline
    psafi
    wrote on last edited by psafi
    #1

    I'm trying to connect a serial device to J19 (Pin10, 11)

    voxl-gpio read 179 
    ERROR:   Failed to open path /sys/class/gpio/gpio1279/value
    

    I don't see GPIO 178 and 179 on my system:
    3de32c5d-542b-49b3-8652-c4536fc502e6-image.png

    P 1 Reply Last reply
    0
    • P psafi

      I'm trying to connect a serial device to J19 (Pin10, 11)

      voxl-gpio read 179 
      ERROR:   Failed to open path /sys/class/gpio/gpio1279/value
      

      I don't see GPIO 178 and 179 on my system:
      3de32c5d-542b-49b3-8652-c4536fc502e6-image.png

      P Offline
      P Offline
      psafi
      wrote on last edited by
      #2

      @psafi I was able to use the info in the link below to enable the GPIO pin

      https://forum.modalai.com/post/3656

      Alex KushleyevA 1 Reply Last reply
      0
      • P psafi

        @psafi I was able to use the info in the link below to enable the GPIO pin

        https://forum.modalai.com/post/3656

        Alex KushleyevA Offline
        Alex KushleyevA Offline
        Alex Kushleyev
        ModalAI Team
        wrote on last edited by
        #3

        @psafi , before calling voxl-gpio read, you need to enable the pin by setting it to input or output. Please check voxl-gpio -h. (hint: use voxl-gpio -m / voxl-gpio mode)

        Alex

        P 1 Reply Last reply
        1
        • Alex KushleyevA Alex Kushleyev

          @psafi , before calling voxl-gpio read, you need to enable the pin by setting it to input or output. Please check voxl-gpio -h. (hint: use voxl-gpio -m / voxl-gpio mode)

          Alex

          P Offline
          P Offline
          psafi
          wrote on last edited by
          #4

          @Alex-Kushleyev Thank you!
          I understand these ports are intended for RC input and QUP7 is connected directly to the DSP. I am considering these ports to connect a SiK radio (data format can be raw or mavlink). I want to make information coming through the radio available to ROS and PX4 at the same time. Can I use this port at all for application running on linux or is this only available to voxl-px4?

          P 1 Reply Last reply
          0
          • P psafi

            @Alex-Kushleyev Thank you!
            I understand these ports are intended for RC input and QUP7 is connected directly to the DSP. I am considering these ports to connect a SiK radio (data format can be raw or mavlink). I want to make information coming through the radio available to ROS and PX4 at the same time. Can I use this port at all for application running on linux or is this only available to voxl-px4?

            P Offline
            P Offline
            psafi
            wrote on last edited by psafi
            #5

            @psafi said in GPIO missing in /sys/class/gpio:

            @Alex-Kushleyev Thank you!
            I understand these ports are intended for RC input and QUP7 is connected directly to the DSP. I am considering these ports to connect a SiK radio (data format can be raw or mavlink). I want to make information coming through the radio available to ROS and PX4 at the same time. Can I use this port at all for application running on linux or is this only available to voxl-px4?

            I am already using the External UART (J10) for another MAVLink device (optical flow sensor board) which is currently configured and working with PX4 (I don't need to intercept that one on the linux side). Would it be possible to connect my serial radio to J10 and switch my optical flow to J19 (and configure PX4 to read MAVLink from J19-10,11)?

            Eric KatzfeyE 1 Reply Last reply
            0
            • P psafi

              @psafi said in GPIO missing in /sys/class/gpio:

              @Alex-Kushleyev Thank you!
              I understand these ports are intended for RC input and QUP7 is connected directly to the DSP. I am considering these ports to connect a SiK radio (data format can be raw or mavlink). I want to make information coming through the radio available to ROS and PX4 at the same time. Can I use this port at all for application running on linux or is this only available to voxl-px4?

              I am already using the External UART (J10) for another MAVLink device (optical flow sensor board) which is currently configured and working with PX4 (I don't need to intercept that one on the linux side). Would it be possible to connect my serial radio to J10 and switch my optical flow to J19 (and configure PX4 to read MAVLink from J19-10,11)?

              Eric KatzfeyE Offline
              Eric KatzfeyE Offline
              Eric Katzfey
              ModalAI Team
              wrote on last edited by
              #6

              @psafi Unfortunately, the Mavlink module is not available on the DSP side. We tried it in the past and there were a lot of issues so we only have it on the apps side. You are welcome to try to add it into the DSP side and see how it goes.

              1 Reply Last reply
              0
              • System moved this topic from VOXL 2 Mini

              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