[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[coldsync-hackers] USB on OS X
I'm looking to make Coldsync (well, really, libpconn and libpdb) usable
under OS X with new machines - that is, adding USB support (I've got a
Visor, and a Palm serial adapter, for testing). I'm not certain
whether the solution used on Linux (which exports it as a character
device that coldsync uses normally) will work very well in OS X, since
it's not clear to me that IOKit is accessible when writing a BSD
character device.
My initial plan was to simply ignore serial devices (or rather, let the
standard /dev/ttyd.{printer|modem} stuff handle it), and add a
'PConnection_osx.c' that implements the io_* functions using IOKit.
A stumbling block is that I'm not sure about the overall structure, and
I'm not sure what role some of the io_* functions play (like io_select,
which doesn't seem to be used in the program source).
Another stumbling block is the use of select() in the program source -
is this ever used to assume you can select() across all connections
with Palms?
Anyone have any input on this?
--
Matthew Weigel
Research Systems Programmer
mcweigel+@cs.cmu.edu
This message was sent through the coldsync-hackers mailing list. To remove
yourself from this mailing list, send a message to majordomo@thedotin.net
with the words "unsubscribe coldsync-hackers" in the message body. For more
information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.