New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

Start a Discussion

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Which TTY for USB?

Post Reply New Thread Subscribe

Thread Tools

Member Since: May 27, 2008
Posts: 2
SourSW is on a distinguished road

SourSW is offline
I'm attempting to write a simple C program that reads input from my USB which I have a serial to USB converter connected to. How do I know which TTY file to open under Dev?
QUOTE Thanks

Member Since: May 27, 2008
Posts: 2
SourSW is on a distinguished road

SourSW is offline
Update: It seems my whole problem is not identifying which is the correct TTY since it seems my Apple is not recognizing the USB->Serial at all. I've installed Prolific PL2303 driver, however the adapter is still not being seen. I've downloaded QuickTerm and ZTerm and both don't see the connector so I know its not my code. Anyone have any ideas? Granted this is no longer a strict programming question.
QUOTE Thanks

Member Since: Jul 30, 2008
Location: San Francisco/East Bay
Posts: 4
mac_hobbyist is on a distinguished road
Mac Specs: Quicksilver 2002 running Tiger and Leopard

mac_hobbyist is offline
Usually serial devices are represented by Unix "device files." To find the device file(s) for your USB/Serial adapter, try using commands like these in the Terminal application:

ls -l /dev/tty*
ls -l /dev/cu.*

If you don't find any device files for your USB/Serial adapter, make sure you have installed the software required by your USB/Serial adpater. Often, that kind of support is provided by a "Kernal Extension."
QUOTE Thanks

Post Reply New Thread Subscribe

« ADC membership | Reverse-engineering »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

All times are GMT -4. The time now is 11:02 PM.

Powered by vBulletin
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.

Welcome to

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!

(4 digit year)

Already a member?