Pages: [1]   Go Down
Author Topic: Arduino 1.0.1 on Macbook Pro 10.6.8 '/dev/tty.Bluetooth-Modem' already in use  (Read 3029 times)
0 Members and 1 Guest are viewing this topic.
Vancouver, Canada
Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Please help.

I was running the latest version of Arduino about a week ago. Now it won't run.

I am using a Duemilanove board and I have tried using the cu option with the same results.

Already Tried ---

Rebooted -- started Arduino -- same error
Checked Java Extensions -- none
Looked at Activity monitor and shut down a couple of utilities
Looked for mac software updates -- none available through regular update

It was working . . .
Any suggestions?

'/dev/tty.Bluetooth-Modem' already in use


processing.app.SerialException: Serial port '/dev/tty.Bluetooth-Modem' already in use. Try quiting any programs that may be using it.
   at processing.app.Serial.<init>(Serial.java:171)
   at processing.app.Serial.<init>(Serial.java:92)
   at processing.app.SerialMonitor.openSerialPort(SerialMonitor.java:207)
   at processing.app.Editor.handleSerial(Editor.java:2447)
   at processing.app.Editor$17.actionPerformed(Editor.java:665)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
   at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
   at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
   at javax.swing.AbstractButton.doClick(AbstractButton.java:389)
   at com.apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:95)
   at java.awt.MenuItem.processActionEvent(MenuItem.java:627)
   at java.awt.MenuItem.processEvent(MenuItem.java:586)
   at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:337)
   at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:325)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:687)
   at java.awt.EventQueue.access$000(EventQueue.java:85)
   at java.awt.EventQueue$1.run(EventQueue.java:643)
   at java.awt.EventQueue$1.run(EventQueue.java:641)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
   at java.awt.EventQueue$2.run(EventQueue.java:657)
   at java.awt.EventQueue$2.run(EventQueue.java:655)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:654)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Logged

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 474
Posts: 18696
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Find the board device (/dev/tty.Bluetooth-Modem doesn't sound right to me) and then do lsof on it in a console window, eg.

Code:
$ lsof /dev/tty.usbmodemfa1421

COMMAND    PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
JavaAppli 9137 nick   47u   CHR 18,102     0t13 2981 /dev/tty.usbmodemfa1421
Logged

Vancouver, Canada
Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello Nick,

I am not sure what you mean -- I have attached some screen shots.

The choice in the Arduino program and the error message both use the same terminology /dev/tty.Bluetooth-Modem

I do not know how to find any other name.

Thank you for any further information.

Regards,

Victoria







* June7-2012-error.png (78.5 KB, 522x486 - viewed 122 times.)

* June7-2012-error-port.png (361.75 KB, 803x539 - viewed 114 times.)

* June7-2012-error-board.png (503.83 KB, 890x556 - viewed 83 times.)
Logged

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 474
Posts: 18696
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Those serial ports are exactly what I see with no Arduino plugged in. So it hasn't recognized it.
Logged

Vancouver, Canada
Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello Nick,

What does this mean?

I plugged the USB cable into the Arduino and the light came on.

However, I get the same error message if I have the Arduino plugged in or not.

Is there anything else I can try?

Thanks,

Victoria

Logged

Forum Administrator
Cambridge, MA
Offline Offline
Faraday Member
*****
Karma: 11
Posts: 3538
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The problem seems to be that the computer isn't seeing the Arduino board at all.

Maybe try a different USB cable?  Or if you've been going through a USB hub, trying plugging the board directly to the computer.
Logged

Canada
Offline Offline
Full Member
***
Karma: 0
Posts: 246
Code Monkey
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello Nick,

What does this mean?

I plugged the USB cable into the Arduino and the light came on.

However, I get the same error message if I have the Arduino plugged in or not.

Is there anything else I can try?

I think you need to re-install the FTDI drivers for Mac. USB will happily power up a device and enumerate it, but it cannot be treated as a serial port until the drivers are installed.

Also, try a different USB cable.
Logged

I yield() for co-routines.

Vancouver, Canada
Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I think I might have solved the problem, but I will see if it continues to work.

I decided since that port was busy, I would create another serial port.

The apple help for this was good. http://docs.info.apple.com/article.html?path=Mac/10.6/en/5181.html

I created a new modem serial port '/dev/tty/Serial Port' and went back into the Arduino program.

I looked for the new serial port -- then I noticed that additional serial ports were now on the menu with numbers after them as you had talked about.

I tried that serial port and it worked.

Now I do not have the board hooked up, but opening the Arduino program, the port with the numbers following has disappeared . . . but the new port is there.

Stay tuned, when I get back from work I will be hooking it all up and trying again.

However, I did get it to work last night using this method.

I don't know why . . .

The USB cable works fine and the board responded perfectly -- the problem is in the Mac seeing the serial ports.

Thanks for your input and ideas.

Victoria
Logged

Pages: [1]   Go Up
Jump to: