Ubuntu 12.04 Arduino Serial Port Greyed Out Fixed
Download File ===== https://byltly.com/2t7gK7
I have multiple serial ports to each of which devices are connected. They are listed as /dev/ttyUSB*. Now, I need to make sure using a python script that no other process is using any of these before I run a kermit script (so that access is not denied) login_init. I tried ps and lsof commands. lsof gave the following output:
Problem 1 : Cannot open /dev/ttyACM0: Permission deniedSolution : Grant permissions to read/write to the serial port with this terminal command ---> sudo chmod a+rw /dev/ttyACM0Here replace tty port with your respective ubuntu port.
Problem 2 : Failed to open /dev/ttyACM0 (port busy)Solution : This problem appears when serial port is busy or already occupied. So kill the busy serial port with command ---> fuser -k /dev/ttyACM0. Here replace tty port with your respective ubuntu port.
Problem 3 : Board at /dev/ttyACM0 is not availableSolution : In this case your serial port in tools menu will be greyed out. I googled a lot for this, but I none of solution worked for me. Atlast I tried different arduino board and usb connector and it was working for me. So, if you are having old arduino board (can be solved using required drivers) or defected arduino board then only this problem arises.
ProblemType: BugDistroRelease: Ubuntu 12.04Package: arduino 1:1.0+dfsg-9ProcVersionSignature: Ubuntu 3.2.0-31.50-generic 3.2.28Uname: Linux 3.2.0-31-generic x86_64ApportVersion: 2.0.1-0ubuntu13Architecture: amd64Date: Sun Sep 23 14:05:30 2012InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)PackageArchitecture: allProcEnviron: LANGUAGE=en_US:en TERM=xterm PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/bin/bashSourcePackage: arduinoUpgradeStatus: No upgrade log present (probably fresh install)
means that somehow the library is coming from the wrong place (itlooks like it's either from a combination of an official arduino.ccpackage and a debian/ubuntu package, or a mismatched debian & ubuntupackage). The RXTX version 2.1-7 is unable to detect /dev/ttyACM*because support was added in a later patch. Ubuntu has not had version2.1.7 since lucid (~2 years ago) but arduino.cc still uses a patchedrxtx 2.1.7, so you probably have an extra rxtx java library floatingaround your system that is conflicting with your system libraries.
On Mon, Sep 24, 2012 at 12:21 PM, l0b0 wrote:> $ mv ~/bin/arduino-1.0.1/lib/RXTXcomm.jar{,.bak}> $ arduino> Stable Library> =========================================> Native lib Version = RXTX-2.2pre2> Java lib Version = RXTX-2.1-7> WARNING: RXTX Version mismatch> Jar version = RXTX-2.1-7> native lib Version = RXTX-2.2pre2>> And no serial device.
Thanks again, unfortunately I can't reproduce it - and I expect thatarduino IDE won't see any Arduino Uno or later board as long as youget that java RXTX warning. The mismatch is worrisome too. It's not abug in ubuntu, though, since ubuntu hasn't had that jar version 2.1-7in over two years, I'm still stumped how that got on your system andwhere it is hiding...
If the message is arriving into minicom from the serial connection then it must be either from the board itself or some program on your computer sending data through the serial port as well as minicom. ModemManager is the most likely culprit.
Tried everything with groups and permissions etc and port was still grey. Removed Mint 19 version of Arduino IDE and installed from the arduino.cc website and all ports and stuff was there and problem solved.
This at a guess means that ´pip3 pyserial´ installs pyserial ok but it is not seen when the arduino looks for a port using python 2,7. (As I am writing this: is there a pip2?) Your suggestion of installing python-is-python3 is the key to the solution to my original problem. I had a look at changing the default version of python in the debian setup but this is apparently fraught with its own problems: see
Having tried to install the python functions pyserial etc for python2.7 in an attempt to get it consistent on LMDE4 I agree with you Mint 20 is fine and on the surface is the same OS as LMDE4. I also fail to understand why Debian is so far behind with Python. I know the OS is rock solid stable but jeeze Python 2.7 is all but 10years old. So I have installed most of the software recommended by Bill in his tutorial Workshop Workstation. Its now back to working on the ESP32 and no serial port problems. I see you have another thread running on ESP32 so I will look for your pearls of wisdom there.
I got the same error! I think you got half way there with the CWMODE command. After you set that, then remove power from the 8266 and then turn it back on. If you are using the arduino IDE, close the serial monitor window first and then remove power from 8266 and THEN turn power back on and open Serial monitor. It should allow you to CWJAP now.
I have a problem, my 8266 (Lolin it says nodemcu v.3...) is not detected in windows anymore!! but windows detects arduino (seem that the problem is not the usb port nor the driver) Any ideas?? I was using an OLED and I pressed reset and stopped working, the blue light work, though. 2b1af7f3a8