-
-
Notifications
You must be signed in to change notification settings - Fork 7k
1.6.3 fails to list serial ports in ubuntu 14.04 #2892
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Is the device file for the board created when you plug it in?
And please check if the device file exists in /dev, should look like this
|
Yes the device /dev/ttyACM0 is correctly created. Also the port listing should work whether or not an Arduino is connected. cybernetics@clarke: Now it works sometimes when I start the Arduino IDE and sometimes not. It seems to be a bit random except that as of now after a boot once it starts correctly it continues starting correctly until next reboot but the first Arduino IDE start(s) after a reboot fails to list the ports (to take with a grain of salt: I have not done enough boots/Arduino IDE start to generalize). Now I have other problems:
|
Getting the same issue in Ubuntu 14. Its random |
Is the failure only temporary? In other words, if you go get a cup of coffee, when you come back and try again, does the Tools > Ports menu later have your device? Such slowness may be totally unacceptable, but whether it's being very slow to detect and update the menu versus never working is important to tracking down what's really wrong. I hope you'll have the patience and perseverance to try again and wait several minutes, so we can get a little more info about what's happening on your system. |
When this exception occurs at Arduino IDE startup, Tools->Ports menu is On Wed, Apr 8, 2015 at 11:13 AM, Paul Stoffregen [email protected]
|
Seeing something similar here ... on ubuntu 12.04, sometimes get the SerialBoardsLister error on startup in which case no ports available. I've been try various IDE versions, the old one from the repos always works (but doesn't support the Yun) while 1.5.8 and 1.6.3 work intermittently. It seems like once one works, the other won't, maybe file locking ? |
when happened this with me i do:
DONE :) |
On 15-04-12 01:58 PM, natanael wrote:
|
Probably this issue has the same root cause of #2837. It should be fixed in the latest nightly (just triggered). Please download and try it http://arduino.cc/en/Main/Software#nightly |
Thanks, the nightly build (marked 1.6.4) works for both serial discovery and network. |
Serial monitor in 1.6.4 works fine on Linux 32 bits over /dev/ttyACM0 (virtual Debian context). |
* upstream/master: (239 commits) Fix for issue arduino#292 Windows: build_pull_request needed to be upgraded as well Update revisions.txt Windows: JRE is chosen at build time via WINDOWS_BUNDLED_JVM property Update Tone.cpp Update revisions.txt Block discovery threads until packages is not null, otherwise boards discovered during startup will miss model name Also SerialDiscovery was affected by bug found at 40535df. Fixes arduino#2892 NetworkDiscovery was silently failing because packages werenìt ready yet. Fixes arduino#2837 Better preference for setting warnings level. See arduino@61592d7#commitcomment-10668365 SAM boards stop compiling due to way of handling params with spaces on different OSs. Fixed Update Tone.cpp Restored error messages. Got rid of MessageSyphon as ther were losing some error messages. Fixes arduino#2737 Windows: added listComPorts test case New preference: enable all compiler warnings, off by default. Fixes arduino#1728 and arduino#2415. Also affects arduino#2634 and arduino#2207 build.xml: spreading failonerror on all exec tasks, it's better to crash early Lib/Board Manager CRC check is now case insensitive. Fixes arduino#2953 License fix to audio library License fix Library Manager: better error message ...
oops |
setup is debian 8 & arduino 1.6.4 binary tgz package giving the greyed out port i edited the preferences.txt deleting the serial.* lines and on restarting the ide |
Hi. I saw something peculear happening in arduino-1.8.2, on ubuntu 16.04.02 LTS. The peculear part is, it gives this exception only once and when the usb device is connected. Also if I run the command without the device connected, this error does not show up untill I attach the usb device. I have had this problem before, and sometimes it does not happen. Also when it does, my pc becomes useless for arduino for days togather. Note: |
My application provide below exception: Anyone know how to fix this exception ? |
@TCTKeerthiga generally this problem is caused by forgetting to select the port of your Arduino from the Tools > Port menu. Your problem is more appropriate for the Arduino Forum so let's continue any further discussion there. Please do this:
|
@per1234 : Thanks for your comments,Its very useful, |
IDE 1.6.3 starts but doesn't show ports.
Tools->Port menu greyed out
Messages in console when IDE starts:
cybernetics@clarke:
/arduino-1.6.3$ ./arduino/arduino-1.6.3$Error parsing gtk-icon-sizes string: ''
Exception in thread "cc.arduino.packages.discoverers.serial.SerialBoardsLister" java.lang.NullPointerException
at processing.app.Platform.resolveDeviceByVendorIdProductId(Platform.java:143)
at processing.app.linux.Platform.resolveDeviceAttachedTo(Platform.java:141)
at cc.arduino.packages.discoverers.serial.SerialBoardsLister.run(SerialBoardsLister.java:73)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
cybernetics@clarke:
ADDITIONAL INFO:
cybernetics@clarke:
/arduino-1.6.3$ lsb_release -a/arduino-1.6.3$ uname -aNo LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty
cybernetics@clarke:
Linux clarke 3.13.0-39-generic #66-Ubuntu SMP Tue Oct 28 13:31:23 UTC 2014 i686 i686 i686 GNU/Linux
cybernetics@clarke:
/arduino-1.6.3$ java -versiontrusty1)java version "1.7.0_75"
OpenJDK Runtime Environment (IcedTea 2.5.4) (7u75-2.5.4-1
OpenJDK Client VM (build 24.75-b04, mixed mode, sharing)
cybernetics@clarke:~/arduino-1.6.3$ lsusb
Bus 001 Device 013: ID 050d:705a Belkin Components F5D7050 Wireless G Adapter v3000 [Ralink RT2571W]
Bus 001 Device 019: ID 2341:003d Arduino SA
Bus 001 Device 020: ID 046d:c03e Logitech, Inc. Premium Optical Wheel Mouse (M-BT58)
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 0a5c:201e Broadcom Corp. IBM Integrated Bluetooth IV
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
The text was updated successfully, but these errors were encountered: