Serial port usage on Mac OS/X?

Ned Konz ned at bike-nomad.com
Sun Mar 30 19:15:16 UTC 2003


On Sunday 30 March 2003 10:38 am, John M McIntosh wrote:
> I know Dan Ingalls was using a serial to USB box, has lots of
> horror stories
> about software in such devices. I build a new VM years ago for him
> which support many more than 2 serial devices.

I designed built the USB to serial device myself (it's actually part 
of a microcontroller board), so I know how it works. However, I 
didn't write the drivers.

Did your serial support get into the stock VM?

> Now if the device supports Carbon applications, the current Squeak
> VM just
> asks the communications manager to iterate over the devices that
> support serial and gets a list back.

There is a Mac OS/X driver, as well as an OS8/9 driver. I put in the 
OS/X driver. I assume it provides the normal Unix tty support ioctls 
and file operations.

> I'll look later for more info. Also see
>
> MidiPrimTester new getPortList

I tried that. It only reports the (software) Quicktime MIDI.

What has MIDI got to do with serial, anyway (besides the fact that 
older Macs used the same physical hardware for both)?

Thanks,
-- 
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE



More information about the Squeak-dev mailing list