Results 1 to 3 of 3

Thread: Which TTY for USB?

  1. #1

    Member Since
    May 27, 2008
    Question Which TTY for USB?
    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?

  2. #2

    Member Since
    May 27, 2008
    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.

  3. #3

    Member Since
    Jul 30, 2008
    San Francisco/East Bay
    How to use USB/Serial adapter?
    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."

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. USB to Serial tty.usbserial Problem HELP
    By ubila in forum macOS - Operating System
    Replies: 1
    Last Post: 09-19-2011, 05:30 PM
  2. problem opening /dev/tty.iap
    By jacksmax in forum macOS - Development and Darwin
    Replies: 0
    Last Post: 12-08-2009, 07:56 PM
  3. problem on open(/dev/tty.usbserial"....)
    By omr_treb22 in forum macOS - Development and Darwin
    Replies: 2
    Last Post: 10-24-2009, 12:13 PM
  4. Replies: 3
    Last Post: 04-18-2009, 04:19 PM
  5. How to create a link to a device like /dev/
    By Philipina in forum macOS - Development and Darwin
    Replies: 4
    Last Post: 06-22-2006, 07:40 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts