How to find /dev/ name of USB Device for Serial Reading on Mac OS? : <p>I am trying to plug in a device into my Macbook and connect to it to read it's serial port. I know the device connects on baudrate 115200.</p>

<p>Currently, I run the command</p>

<p><code>ioreg -p IOUSB -l -b | grep -E "@|PortNum|USB Serial Number"</code></p>

<p>I can see the embedded device plugged in</p>

<pre><code>+-o Root Hub Simulation Simulation@14000000
| +-o iBridge@14200000
| |     "PortNum" = 2
| +-o USB2.0 Hub@14100000
|   |   "PortNum" = 1
|   +-o 4-Port USB 2.0 Hub@14120000 
|   | |   "PortNum" = 2
|   | +-o MBED CMSIS-DAP@14122000
|   |       "PortNum" = 2
|   |       "USB Serial Number" = "024002267822ce0a00000000000000000000000085fb33b2"
|   +-o USB Keyboard           @14110000 
|         "PortNum" = 1
|         "USB Serial Number" = "0000000000000001"
</code></pre>

<p><strong>note:</strong> There's a tag close to </p>

<p><code>&lt;class AppleUSBDevice, id 0x100014343, registered, matched, active, busy 0 (363 ms), retain 33&gt;</code> </p>

<p>next to every device's name above, but I removed them for formatting issues (as I don't think they're related to the question). In the event they are, that is the tag for my embedded device).</p>

<p><strong>The Question</strong></p>

<p>How would I find out the MBED device's association in /dev/?</p>

<p>I am trying to find the device <code>MBED CMSIS-DAP@14122000</code> inside the /dev/ directory, so that I can read its serial output. This is where I am lost. </p>

<p>The end goal is that I could use <code>screen</code> or <code>putty</code> or something similar to:</p>

<p><code>screen /dev/ttyTHIS_MBED_DEVICE 115200</code></p>
