nomadnet - ttyUSB0 - Attempting to use a port that is not open #481
Replies: 3 comments 18 replies
-
The dialout group is a big one. Good catch. So, firmware is set up. Does it display the UI correctly? (I think Heltec boards have displays) Have you set these up to use Bluetooth? If they're set to use Bluetooth they disable the USB serial connection. The errors look like it's trying to open the port, not finding the device, and the error is really that it failed to initialize. Is this the proper port? If it's /dev/ttyUSB0, then we need to keep digging, but if you're accidentally polling a mouse or the like and the RNode is actually on, say, /dev/ttyACM0, then it's an easy fix. I like easy fixes. :D If you're not sure what it could be called, you can use ls There are some other test we can do to make sure the RNode is functioning, but if you've taken care of dialout, then my next steps would be checking the port name and, it's happened to me too often, making sure you have a data cable for USB, not a charging cable. |
Beta Was this translation helpful? Give feedback.
-
I think I solved this. I noticed some weird issues with the OLED and decided to peek at the boards.h code. It shows rst pin as 23, but I found the rst pin is actually 14 by looking through pin definitions for heltec lora32 v2 on their GitHub. Swapped it out and now everything works in Linux as well. Just to confirm I went back to the original FW via the configurator and the error behavior came back. Pull request submitted with proper pin and evidence. |
Beta Was this translation helpful? Give feedback.
-
I have the very same issue with a Heltec v2. Does not work on 2 linux computers, while a T114 v2 works fine.
|
Beta Was this translation helpful? Give feedback.
-
Hi folks, I'm hoping you, or Mark, can help me. I am a newbie to all this, but my intention is to build anumber of rnodes for the local area to allow country folks to keep in contact during emergency situations. Initially, I just want to get these working so I can communicate on a closed LoRaWAN network.
I currently have three heltec LoRa 32 v2 boards, and I have successfully installed the rnode firmware on them.
I am not a great Linux user, but I am persistent enough to get by.
The issue:
When launching nomadnet, it is not connecting to the ttyUSB0 interface. At first I had access denied erros in the logs, but I resolved that by creating a dialup group, adding my user and then restarting.
Now the issue is that I get a "Attempting to use a port that is not open" error. I'll paste the log below.
All help gratefully received.
Tim.
Beta Was this translation helpful? Give feedback.
All reactions