Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.


  Search this Thread
Old 09-23-2013, 08:27 PM   #1
Registered: May 2007
Posts: 49

Rep: Reputation: 0
Arduino keeps changing ports

If I look for the aruino with sudo /dev/tty* it shows up at ttyACM0 (ACM0 doesn't show up unless I run as sudo) but immediately it resassigns itself to /dev/ttyACM1 and I have to change the port in the Arduino IDE. If I don't actually list the port that it's on in terminal, everything is fine.

Two questions: Why is this happening? And can I stop it from changing ports?
Old 09-25-2013, 08:41 AM   #2
Senior Member
Registered: Mar 2011
Location: Milford, MA. USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu
Posts: 2,875
Blog Entries: 9

Rep: Reputation: 951Reputation: 951Reputation: 951Reputation: 951Reputation: 951Reputation: 951Reputation: 951Reputation: 951
What distribution and version of the kernel are you running?

What exact commands are you entering and what are the results?

I ask this because:
sudo /dev/tty*
Is NOT a command. You're saying it shows up as ACM0 and then changes to ACM1. That doesn't make sense and I'd check your system log via the dmesg command to determine what has happened when you plug the device in.
Old 09-25-2013, 01:21 PM   #3
Registered: Dec 2003
Distribution: Fedora
Posts: 64

Rep: Reputation: 18
I couldn't guess why its happening, but couldn't you put a udev rule to always assign that device to a symlink, regardless of where it actually attaches to the system, and then just point your IDE to the symlink?

This may not be right, but I just learned a lot about udev so I might be seeing the solution to the wrong problem


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 12.10 Attempted Installation of Arduino IDE with arduino-1.0.5-linux32.tar.gz mahnac72 Linux - Newbie 2 06-21-2013 05:26 PM
[SOLVED] Arduino MEGA 2560 REV3, Arduino IDE working software versions jamesf Slackware 1 05-02-2012 01:56 AM
Changing ports enoute Tom Douglas Linux - Networking 13 02-17-2008 07:41 AM
SSH and the changing ports it uses ille.pugil42 Linux - Security 2 02-13-2007 06:22 PM
Changing default ports for smoothwall lhiggins Linux - Newbie 9 04-24-2003 01:12 PM

All times are GMT -5. The time now is 07:11 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration