Resources for using a USB to serial adapter on a Mac

Resoruces for using a USB to serial adapter on  a Mac

http://hints.macworld.com/article.php?story=20040521145713551

http://hints.macworld.com/article.php?story=20041026113304907

http://forums.macrumors.com/showthread.php?t=590418

http://etherealmind.com/serial-console-on-osx/

ls /dev/tty.*
to get a list of your serial lines. Pick the one that you want to open. For example, my list looks like this:
gf:dev gf$ ls -al tty.*
crw-rw-rw- 1 root wheel 18, 4 Jan 25 07:32 tty.Bluetooth-Modem
crw-rw-rw- 1 root wheel 18, 8 Jan 25 07:32 tty.Bluetooth-PDA-Sync
crw-rw-rw- 1 root wheel 18, 10 Jan 25 09:20 tty.PL2303-0000103D
crw-rw-rw- 1 root wheel 18, 0 Jan 25 07:32 tty.SerialPort-1
gf:dev gf$
And I know /dev/tty.PL2303-0000103D is the USB-to-serial adaptor becuase it’s connected, if you unplug it the tty.PL2303-0000103D stops being listed.

Knowing the serial port, you can just type screen portname datarate to show the serial data on the screen. In my case, it was:

screen /dev/tty.PL2303-0000103D 9600

To quit the screen app, type control-A, then control-.

For IT Support and InfoSec services see, www.quanexus.com

This entry was posted in IT (Informatin Technology). Bookmark the permalink.

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>