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. RNDIS Connection

RNDIS Connection

Scheduled Pinned Locked Moved Ask your questions right here!
16 Posts 2 Posters 2.0k 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.
  • wilkinsafW Offline
    wilkinsafW Offline
    wilkinsaf
    ModalAI Team
    wrote on last edited by
    #1

    Hello,
    I am trying to form an RNDIS connection on the VOXL Flight using the USB Debug board.

    Current setup0ed2d08b-952d-4e07-beb5-342d2e31d6ed-image.png

    I followed the instructions laid out here

    We have not seen any new interfaces come up after running ifconfig

    To be fair, this is not an out of the box voxl. We have run voxl-configure-modem on this device to setup a microhard. However, I deleted the /etc/network/interfaces file in an attempt to allow eth0 to be assigned an IP address by the network, but that did not work.

    Things I am going to try next.

    1. Install fresh Firmware version
    2. Not configure the microhard modem on top
    3. turn off softap (just in case)

    I am going to track my progress here in case it is useful for someone else. Outside of that, if you have any suggestions on getting RNDIS to work, that would be great!

    1 Reply Last reply
    0
    • tomT Offline
      tomT Offline
      tom
      admin
      wrote on last edited by
      #2

      @wilkinsaf The latest VOXL system image release doesn’t have the necessary kernel flags enabled to build the required RNDIS drivers. These drivers will be enabled on our next system image release as we also had a need for using them in the future.

      I can point you toward those kernel changes if you’d like to take a look at building the kernel yourself in case you don’t want to wait until the next release.

      1 Reply Last reply
      0
      • wilkinsafW Offline
        wilkinsafW Offline
        wilkinsaf
        ModalAI Team
        wrote on last edited by
        #3

        that would be fantastic @tom !

        responding within 6 minutes on a Sunday. Wild.

        1 Reply Last reply
        0
        • tomT Offline
          tomT Offline
          tom
          admin
          wrote on last edited by
          #4

          @wilkinsaf Okay not sure if you've built the voxl kernel yourself previously but here is the project used to do so: https://gitlab.com/voxl-public/system-image-build/voxl-build/-/tree/master

          And then kernel mods get pulled in from https://gitlab.com/voxl-public/system-image-build/meta-voxl

          The master branch of meta-voxl already has the necessary mods but in case you want to take a look at them, they're here:
          https://gitlab.com/voxl-public/system-image-build/meta-voxl/-/commit/ab321adb2b0a9c8dd28b2793b445ddf7dccedc68

          wilkinsafW 1 Reply Last reply
          1
          • tomT tom

            @wilkinsaf Okay not sure if you've built the voxl kernel yourself previously but here is the project used to do so: https://gitlab.com/voxl-public/system-image-build/voxl-build/-/tree/master

            And then kernel mods get pulled in from https://gitlab.com/voxl-public/system-image-build/meta-voxl

            The master branch of meta-voxl already has the necessary mods but in case you want to take a look at them, they're here:
            https://gitlab.com/voxl-public/system-image-build/meta-voxl/-/commit/ab321adb2b0a9c8dd28b2793b445ddf7dccedc68

            wilkinsafW Offline
            wilkinsafW Offline
            wilkinsaf
            ModalAI Team
            wrote on last edited by
            #5

            @tom

            I flashed the new kernel and tried the RNDIS connection. I did not see anything come up.
            I then wiped the card and did a full reflash (just to make sure) and did not see the connection come up.

            It sounds like you just spoke with Seth. I am sure he mentioned we do not specifically need an RNDIS connection, but an internet connection over USB in general.

            II am not sure how VOXL does this connection. I saw some qmi files, so I assumed it was some custom programming. Would you be able to add some insight into how the VOXL makes connections to its modems? We usually leverage modem-manager on linux devices, but I doubt that is present on yocto

            1 Reply Last reply
            0
            • tomT Offline
              tomT Offline
              tom
              admin
              wrote on last edited by
              #6

              When you say an internet connection over USB, are you meaning just using USB to ethernet (tethered) ? In which case you could just use a USB to ethernet adapter like this one: https://www.cablecreation.com/collections/usb-2-0-3-0/products/usb-ethernet-adapter

              1 Reply Last reply
              0
              • tomT Offline
                tomT Offline
                tom
                admin
                wrote on last edited by
                #7

                Link Preview Image
                Using USB to Ethernet with VOXL

                ModalAI technical documentation for VOXL and VOXL 2 Companion Computers for PX4 and ArduPilot Obstacle Avoidance and GPS-denied navigation, assembled in the USA

                favicon

                ModalAI Technical Docs (docs.modalai.com)

                Not all usb to ethernet adapters are supported. A lot of people around the office use the apple ones but they have since been discontinued and are hard to find online so the other one I linked works as well.

                wilkinsafW 1 Reply Last reply
                0
                • tomT tom

                  Link Preview Image
                  Using USB to Ethernet with VOXL

                  ModalAI technical documentation for VOXL and VOXL 2 Companion Computers for PX4 and ArduPilot Obstacle Avoidance and GPS-denied navigation, assembled in the USA

                  favicon

                  ModalAI Technical Docs (docs.modalai.com)

                  Not all usb to ethernet adapters are supported. A lot of people around the office use the apple ones but they have since been discontinued and are hard to find online so the other one I linked works as well.

                  wilkinsafW Offline
                  wilkinsafW Offline
                  wilkinsaf
                  ModalAI Team
                  wrote on last edited by
                  #8

                  @tom AAAHHHH

                  hence 892a0218-8729-474f-ba53-69f2039d0ffa-image.png

                  Because not all are the same. Yes, that is what we mean. USB to Ethernet tethered. However, it appears that these are not all of the same. Some work and some don't.

                  We have a couple different here I can try. I wonder what makes the apple ones work in particular. Our goal is to try and get different modems working over USB. One provides RNDIS. Apparently another does usb to ethernet interface.

                  My knowledge on these network connections over usb is (obviously) novice.

                  Would you recommend looking through voxl-modem to see how a connection is made, or is there another informational page you recommend?

                  wilkinsafW 1 Reply Last reply
                  0
                  • wilkinsafW wilkinsaf

                    @tom AAAHHHH

                    hence 892a0218-8729-474f-ba53-69f2039d0ffa-image.png

                    Because not all are the same. Yes, that is what we mean. USB to Ethernet tethered. However, it appears that these are not all of the same. Some work and some don't.

                    We have a couple different here I can try. I wonder what makes the apple ones work in particular. Our goal is to try and get different modems working over USB. One provides RNDIS. Apparently another does usb to ethernet interface.

                    My knowledge on these network connections over usb is (obviously) novice.

                    Would you recommend looking through voxl-modem to see how a connection is made, or is there another informational page you recommend?

                    wilkinsafW Offline
                    wilkinsafW Offline
                    wilkinsaf
                    ModalAI Team
                    wrote on last edited by wilkinsaf
                    #9

                    @wilkinsaf We are just attempting to understand how VOXL can make these network connections (bring up eth0 and such)

                    1 Reply Last reply
                    0
                    • tomT Offline
                      tomT Offline
                      tom
                      admin
                      wrote on last edited by
                      #10

                      @wilkinsaf Any sort of process used to support usb to ethernet is located at the kernel level (I believe). voxl-modem for example isn't used at all for bringing up a usb to ethernet dongle connection.

                      So if the usb to ethernet dongle is supported (we've only tried out a couple and stuck with ones that have worked for us), the network interface should "just come up" wihtout any intervention from voxl-modem

                      1 Reply Last reply
                      0
                      • tomT Offline
                        tomT Offline
                        tom
                        admin
                        wrote on last edited by tom
                        #11

                        I find using dmesg -wH super helpful when debugging usb devices as you can monitor which driver is picking up the hardware that is being plugged in and then you can inspect the driver itself if needed. Although, if the hardware is unrecognized by the kernel you may not see anything in dmesg

                        wilkinsafW 1 Reply Last reply
                        0
                        • wilkinsafW Offline
                          wilkinsafW Offline
                          wilkinsaf
                          ModalAI Team
                          wrote on last edited by
                          #12

                          This is super helpful.

                          Thank you @tom. I will continue posting here for updates

                          1 Reply Last reply
                          0
                          • tomT tom

                            I find using dmesg -wH super helpful when debugging usb devices as you can monitor which driver is picking up the hardware that is being plugged in and then you can inspect the driver itself if needed. Although, if the hardware is unrecognized by the kernel you may not see anything in dmesg

                            wilkinsafW Offline
                            wilkinsafW Offline
                            wilkinsaf
                            ModalAI Team
                            wrote on last edited by
                            #13

                            @tom said in RNDIS Connection:

                            dmesg -wH

                            Apologies for the delay Tom.

                            I got some extra hardware and I am trying again to form RNDIS connection. I see the usb device and captured log from dmesg -wH command

                            [  +0.234046] usb 1-1: new high-speed USB device number 3 using xhci-hcd
                            [  +0.153446] usb 1-1: New USB device found, idVendor=1d6b, idProduct=0104
                            [  +0.000049] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
                            [  +0.000027] usb 1-1: Product: RNDIS Gadget
                            [  +0.000022] usb 1-1: Manufacturer: DTC
                            [  +0.000023] usb 1-1: SerialNumber: 0123678945
                            [  +0.059949] rndis_host 1-1:1.0 usb0: register 'rndis_host' at usb-xhci-hcd.0.auto-1, RNDIS device, ffffffc0ec10b610
                            [  +0.001060] mdss_register_panel: mdss mdp resource not initialized yet
                            [  +0.000047] mdss_wb soc:qcom,mdss_wb_panel: unable to register writeback panel
                            [  +0.012804] cdc_acm 1-1:1.2: This device cannot do calls on its own. It is not a modem.
                            [  +0.013688] wcd9335-slim tasha-slim-pgd: Platform data from device tree
                            [  +0.000347] wcd9335-slim tasha-slim-pgd: cdc-vdd-buck: vol=[1800000 1800000]uV, curr=[650000]uA, ond 0
                            [  +0.000082] wcd9335-slim tasha-slim-pgd: cdc-buck-sido: vol=[1800000 1800000]uV, curr=[250000]uA, ond 0
                            [  +0.000062] wcd9335-slim tasha-slim-pgd: cdc-vdd-tx-h: vol=[1800000 1800000]uV, curr=[25000]uA, ond 0
                            [  +0.000059] wcd9335-slim tasha-slim-pgd: cdc-vdd-rx-h: vol=[1800000 1800000]uV, curr=[25000]uA, ond 0
                            [  +0.000068] wcd9335-slim tasha-slim-pgd: cdc-vddpx-1: vol=[1800000 1800000]uV, curr=[10000]uA, ond 0
                            [  +0.000025] wcd9335-slim tasha-slim-pgd: Looking up qcom,cdc-micbias-ldoh-v property in node /soc/slim@91c0000/tasha_codec failed
                            [  +0.000025] wcd9335-slim tasha-slim-pgd: Looking up qcom,cdc-micbias-cfilt1-mv property in node /soc/slim@91c0000/tasha_codec failed
                            [  +0.002282] cdc_acm 1-1:1.2: ttyACM0: USB ACM device
                            [  +0.005805] wcd9335-slim tasha-slim-pgd: Looking up qcom,cdc-micbias-cfilt2-mv property in node /soc/slim@91c0000/tasha_codec failed
                            [  +0.000036] wcd9335-slim tasha-slim-pgd: Looking up qcom,cdc-micbias-cfilt3-mv property in node /soc/slim@91c0000/tasha_codec failed
                            [  +0.000030] wcd9335-slim tasha-slim-pgd: Looking up qcom,cdc-micbias1-cfilt-sel property in node /soc/slim@91c0000/tasha_codec failed
                            [  +0.000034] wcd9335-slim tasha-slim-pgd: Looking up qcom,cdc-micbias2-cfilt-sel property in node /soc/slim@91c0000/tasha_codec failed
                            [  +0.000020] wcd9335-slim tasha-slim-pgd: Looking up qcom,cdc-micbias3-cfilt-sel property in node /soc/slim@91c0000/tasha_codec failed
                            [  +0.000021] wcd9335-slim tasha-slim-pgd: Looking up qcom,cdc-micbias4-cfilt-sel property in node /soc/slim@91c0000/tasha_codec failed
                            [  +0.000180] wcd9335-slim tasha-slim-pgd: Looking up qcom,cdc-mic-unmute-delay property in node /soc/slim@91c0000/tasha_codec failed
                            [  +0.000040] wcd9335-slim tasha-slim-pgd: wcd9xxx_slim_probe: codec type is 2
                            [  +0.170558] wcd9xxx_slim_probe: failed to get slimbus tasha-slim-pgd logical address: -6
                            [  +0.003819] mdss_register_panel: mdss mdp resource not initialized yet
                            [  +0.000058] mdss_wb soc:qcom,mdss_wb_panel: unable to register writeback panel
                            [  +0.018967] wcd9335-slim tasha-slim-pgd: Platform data from device tree
                            [  +0.000134] wcd9335-slim tasha-slim-pgd: cdc-vdd-buck: vol=[1800000 1800000]uV, curr=[650000]uA, ond 0
                            [  +0.000034] wcd9335-slim tasha-slim-pgd: cdc-buck-sido: vol=[1800000 1800000]uV, curr=[250000]uA, ond 0
                            [  +0.000032] wcd9335-slim tasha-slim-pgd: cdc-vdd-tx-h: vol=[1800000 1800000]uV, curr=[25000]uA, ond 0
                            [  +0.000032] wcd9335-slim tasha-slim-pgd: cdc-vdd-rx-h: vol=[1800000 1800000]uV, curr=[25000]uA, ond 0
                            [  +0.000033] wcd9335-slim tasha-slim-pgd: cdc-vddpx-1: vol=[1800000 1800000]uV, curr=[10000]uA, ond 0
                            [  +0.000016] wcd9335-slim tasha-slim-pgd: Looking up qcom,cdc-micbias-ldoh-v property in node /soc/slim@91c0000/tasha_codec failed
                            [  +0.000011] wcd9335-slim tasha-slim-pgd: Looking up qcom,cdc-micbias-cfilt1-mv property in node /soc/slim@91c0000/tasha_codec failed
                            [  +0.000012] wcd9335-slim tasha-slim-pgd: Looking up qcom,cdc-micbias-cfilt2-mv property in node /soc/slim@91c0000/tasha_codec failed
                            [  +0.000013] wcd9335-slim tasha-slim-pgd: Looking up qcom,cdc-micbias-cfilt3-mv property in node /soc/slim@91c0000/tasha_codec failed
                            [  +0.000014] wcd9335-slim tasha-slim-pgd: Looking up qcom,cdc-micbias1-cfilt-sel property in node /soc/slim@91c0000/tasha_codec failed
                            [  +0.000011] wcd9335-slim tasha-slim-pgd: Looking up qcom,cdc-micbias2-cfilt-sel property in node /soc/slim@91c0000/tasha_codec failed
                            [  +0.000010] wcd9335-slim tasha-slim-pgd: Looking up qcom,cdc-micbias3-cfilt-sel property in node /soc/slim@91c0000/tasha_codec failed
                            [  +0.000011] wcd9335-slim tasha-slim-pgd: Looking up qcom,cdc-micbias4-cfilt-sel property in node /soc/slim@91c0000/tasha_codec failed
                            [  +0.000059] wcd9335-slim tasha-slim-pgd: Looking up qcom,cdc-mic-unmute-delay property in node /soc/slim@91c0000/tasha_codec failed
                            [  +0.000027] wcd9335-slim tasha-slim-pgd: wcd9xxx_slim_probe: codec type is 2
                            [  +0.156933] wcd9xxx_slim_probe: failed to get slimbus tasha-slim-pgd logical address: -6
                            
                            

                            not seeing the RNDIS interface, but I am going to look closer into this

                            1 Reply Last reply
                            0
                            • wilkinsafW Offline
                              wilkinsafW Offline
                              wilkinsaf
                              ModalAI Team
                              wrote on last edited by
                              #14

                              5e76d789-acb8-455c-a515-fe3a08c85deb-image.png

                              Cool, lets see if I can actually talk over it

                              1 Reply Last reply
                              0
                              • tomT Offline
                                tomT Offline
                                tom
                                admin
                                wrote on last edited by
                                #15

                                @wilkinsaf Awesome! Looks like you've made some good progress

                                wilkinsafW 1 Reply Last reply
                                0
                                • tomT tom

                                  @wilkinsaf Awesome! Looks like you've made some good progress

                                  wilkinsafW Offline
                                  wilkinsafW Offline
                                  wilkinsaf
                                  ModalAI Team
                                  wrote on last edited by
                                  #16

                                  @tom Yes! we were able to make a connection! Thank you @tom

                                  1 Reply Last reply
                                  0
                                  • S skl1g14 referenced this topic on

                                  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

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