This is hacked out of the ekeyd distribution.  It's not useful except as
a proof-of-concept.

Origin: http://www.entropykey.co.uk/res/download/ekeyd-1.1.3.tar.gz

OS X apparently will talk to USB CDC ACM serial ports, but not the IAD
composites present on the Pololu AVR ISP board. It is claimed that
OS X will support such devices "in the near future" at 
http://lists.apple.com/archives/usb/2010/Nov/msg00040.html .

This will talk to one of the serial ports. It needs libusb-legacy (<1.0)
(I got mine from darwin ports.)  It creates a Unix domain socket somewhere.
I ran it like:

   ./tusb -b 001 -d 003-1ffb-0081-ef-02 -p /tmp/aa

Running it with the wrong address will enumerate the devices on the bus,
which will give you that "-b 001 -d 003-1ffb-0081-ef-02 -p /tmp/aa". I had
problems with the device showing up at a different vendor ID entirely, so
change the source code if you run into that.

You'll want a tool like socat to talk to it:

   socat STDIO UNIX-CONNECT:/tmp/aa

Since it does no setup of the device, just talks to one of the endpoints,
hope that the device has the right baud rate etc. This is probably fixable.

It's plausible that conventional AVR serial software might work with it if
it talked to a pseudoterminal instead of a Unix domain socket.

I don't know if I'm going to do anything with this.

Jay Carlson
nop@nop.com
