Sometimes after a bad transmission between the Arduino IDE (v 1.0.5/Mac) and the board the serial port seem to be blocked.
Then I have two issues:
The list of serial ports is not refreshed upon board connection.
The IDE won't open the serial monitor and get stuck.
I have to force quit the application and most of the time I do also have to restart my user session in MacOS.
Isn't there an easier way to reset the serial ports ?
I mean that the upload of the program to the Arduino was unsuccessful. But whatever the cause I'd like to find a way to free the serial ports if they are blocked. Usually I have to shut down and restart the computer.
amundsen:
Is it normal that the "ls -las | grep usb" command returns absolutely nothing, even with at least one busy serial port ?
I'm not sure what the intent of that command was.
I'd recommend what I explained in my post:
"lsof | grep usb"
which will list all open serial ports (devices are given file handles, which is why the list of open files command works)
or
"ls -l /dev/ | grep usb"
Which will tell you if an active serial port is available.