Go Back   The UNIX and Linux Forums > Operating Systems > OS X (Apple)


OS X (Apple) OS X is a line of Unix-based graphical operating systems developed, marketed, and sold by Apple.

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 05-24-2012
Registered User
 
Join Date: May 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Renaming serial ports in unix

Hello everyone, this is my first post and I am by no means a unix expert, so I hope I explain my issue well.

I'm on a mac (mac mini), 10.7.

My question is about serial port names. I have an arduino microcontroller plugged in via usb, and every time the computer is shut down it gives the arduino a new auto-generated name (some variation of tty.usbmodem111 or tty.usbmodem121).

The problem is that I am communicating with my arduino via firmata with an external program where I have set the correct serial port name by hand. So of course, whenever the computer restarts and then renames the serial port that my arduino is on, my program can no longer find it!

So I need to find a way to manage this issue, either by making sure it always names the arduino serial port consistently. Or, maybe a script that can be executed to re-name the serial port to something pre-set. Or any other ideas for dealing with this renaming issue.

I really need to solve this problem, as I will not be able to rename the serial port by hand each time.

Any help would by very greatly appreciated, I really need to solve this issue.

Best,
Erik
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Help with serial ports. ftwojtek HP-UX 2 03-10-2012 01:19 PM
Serial Ports - locking them, checking if they are open Oak Programming 1 02-14-2005 01:36 PM
PERL:controlling serial ports ? perleo Shell Programming and Scripting 1 06-13-2003 03:42 PM
Installing a modem on a serial accelerator ports kikkin UNIX for Dummies Questions & Answers 1 02-20-2001 09:49 PM
Serial Ports, wacom tablet under unix Salwey UNIX for Dummies Questions & Answers 3 01-10-2001 01:27 PM



All times are GMT -4. The time now is 04:34 PM.