LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 09-23-2013, 07:27 PM   #1
cowmoo32
Member
 
Registered: May 2007
Posts: 47

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, 07:41 AM   #2
rtmistler
Member
 
Registered: Mar 2011
Location: Milford, MA. USA
Distribution: MontaVista, Ubuntu, MINT
Posts: 964
Blog Entries: 7

Rep: Reputation: 443Reputation: 443Reputation: 443Reputation: 443Reputation: 443
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:
Quote:
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, 12:21 PM   #3
NeXuS_2006
Member
 
Registered: Dec 2003
Distribution: Mint 15, Slack 14
Posts: 61

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

http://www.reactivated.net/writing_udev_rules.html
 
  


Reply


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 04:26 PM
[SOLVED] Arduino MEGA 2560 REV3, Arduino IDE working software versions jamesf Slackware 1 05-02-2012 12:56 AM
Changing ports enoute Tom Douglas Linux - Networking 13 02-17-2008 06:41 AM
SSH and the changing ports it uses ille.pugil42 Linux - Security 2 02-13-2007 05:22 PM
Changing default ports for smoothwall lhiggins Linux - Newbie 9 04-24-2003 12:12 PM


All times are GMT -5. The time now is 04:52 PM.

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