I'm writing a program that talks to the serial interface of a
computer. With MS Windows I use COM1. When I'm using POSIX compliant
C, and using Linux, I address the RS-232 as /dev/ttyS0 or the USB
interface as /dev/ttyUSB0. What is the equivalent on the Mac OS X? |
Request for Question Clarification by
maniac-ga
on
26 Jul 2004 19:37 PDT
Hello Graspsome,
Are you using a USB to serial converter with Mac OS X?
If so, which vendor / model?
Also, for reference - see
http://sourceforge.net/project/shownotes.php?release_id=187828
This is a description related to a cross platform Python package to
access serial interfaces.
(scroll down to see the naming convention for Mac OS X)
If this does not give you enough information, please indicate what is
missing so I can dig further.
--Maniac
|
Clarification of Question by
graspsome-ga
on
26 Jul 2004 20:16 PDT
The naming convention is all I really need. So if I plug in the USB to
serial convertor, say a Belkin F5U103, and I go to the /dev/ directory
I should see it appear? If so, you answered my question. I'll give
this a try on Tuesday, and see if it works.
|
Clarification of Question by
graspsome-ga
on
30 Jul 2004 21:57 PDT
No name appeared, so next I'm going to try each of the /dev/tty* as soon as I can.
|
Request for Question Clarification by
maniac-ga
on
31 Jul 2004 09:14 PDT
Hello Graspsome,
Hmm. Let me point out a few other sites that may be able to describe
how to diagnose your problem.
http://www.osxhax.com/archives/000006.html
A long series of message describing he IOGear (or Prolific tech
chipset) USB to serial (RS-232) adapter. About two thirds of the way
down also describes using the MCT chipset.
Also be sure to run
Apple System Profiler
(applications / utilities) to make sure your USB to serial interface
shows up under the device and volume tab.
I also noted some not so nice reviews at Epinions (Belkin USB to
serial does not work with OS X). I also noted at Belkin's web site
that they only indicate OS X support while running with Classic (OS 9)
applications (buried in the FAQ). If you can switch vendors, a quick
search using
driver usb serial osx
provides several links to drivers / devices that work with OS X.
Good luck.
--Maniac
|