The /dev/cu.usbmodem440323 port name Teensys appear with - how static is it?

Status
Not open for further replies.

howiemnet

Active member
Mac OS X (but may be similar with Linux I'm guessing?):

I've got this notion from way back - I'm sure when titting about with lots of simultaneously connected Arduinos and FTDI serial boards that the number on the end of their serial port path name wasn't necessarily the same every time I plugged one in. Sometimes I'd wake up the computer and a couple of the FTDI boards had swapped their names.

But the Teensys seem to hold on to theirs - is that just random luck (that I shouldn't rely on) or do they work differently - ie will the Teensy in front of me always show up as /dev/cu.usbmodem880591? It'd be bloody handy if I could use that instead of having to identify them programmatically...
 
Yup, that particular Teensy should always appear as exactly that device name.

Well, of course if Apple doesn't make changes in OS-X. See the old messages about the bug in their driver. If they ever fix that bug, an extra zero may appear in the name, because we're adding a zero to work around that OS-X bug.
 
I should also mention this advise only applies to 32 bit Teensy boards. Only the newer 32 bit boards have permanent, unique serial numbers.

The older 8 bit AVR boards use a fixed serial number. If you connect 2 or more at once, all but the first one get random names assigned.
 
Status
Not open for further replies.
Back
Top