Did anyone manage to communicate w/ USB devices (MacOS 9 & X) ?

jbv jbv.silences at Club-Internet.fr
Tue Mar 16 03:25:35 EST 2004



Sarah,

> What sort of USB devices? I've used USB to serial adapters of various
> types to communicate using serial commands in both OS 9 & X. If this is
> the sort of thing you are looking at, them download the SerialTest
> stack from my web page and try it out.
>

Thanks for your reply.

Yes, using a USD to serial adapter crossed my mind,
but actually a native USB solution would be better.
The USB device I have in mind is a data glove.
And I mentioned Mac OS 9 & X because it's the
platform on which I'm about to prototype my project,
although in the end I'd like the solution to work on
any platform (at least Win & Mac).

I guess the best option I have is to write an external
in C that will catch anything coming in via the USB
port. My problem is that most data gloves come with
a driver, but not always for any platform (often Win
only). And I've never coded any external using a
driver, so that's a bit new to me...

Needless to say that a Rev native solution (such as a
"on USBactivity" message) would be ideal...

Anyway, any wise suggestion is welcomed.

Thanks in advance,
JB



More information about the use-livecode mailing list