[MacRuby-devel] CNC Machine control using USB to IEEE 1284 Parallel port adapter
Jordan K. Hubbard
jkh at apple.com
Tue Jan 17 21:36:16 PST 2012
On Jan 17, 2012, at 7:07 PM, Scott Ribe wrote:
> On Jan 17, 2012, at 7:11 PM, Robert Rice wrote:
>
>> Prolific provides documentation for the simple report protocol for the device. I suspect that an appropriate driver already exists for this device but how would I find it?
I actually rather doubt that a driver for this device already exists, unless you happen to google around for "Prolific USB 1284" and get a hit for a Mac OS X driver somewhere. The vendor's own web site suggests a rather strong Windows-bias, however, and I would have to guess that writing a KExt is in your future. Once you've done that, whatever protocol you talk to the /dev node is more or less up to you, and should be notionally as easy as opening the device for R/W from your MacRuby program and doing the appropriate data exchange with it.
I would recommend starting here: http://developer.apple.com/library/mac/#referencelibrary/GettingStarted/GS_HardwareDrivers/_index.html
:-)
- Jordan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20120117/2f7c712d/attachment.html>
More information about the MacRuby-devel
mailing list