[squeak-dev] USB Interface?

Ken G. Brown kbrown at mac.com
Fri Mar 21 16:43:34 UTC 2008

At 3:22 AM -0700 3/21/08, squeak-dev-request at lists.squeakfoundation.org apparently wrote:
>Date: Fri, 21 Mar 2008 10:52:01 +0100
>From: karl <karl.ramberg at comhem.se>
>Subject: Re: [squeak-dev] USB Interface?
>To: The general-purpose Squeak developers list
>	<squeak-dev at lists.squeakfoundation.org>
>Message-ID: <47E38541.9050309 at comhem.se>
>Content-Type: text/plain; charset=ISO-8859-1; format=flowed

> >> Date: Thu, 20 Mar 2008 12:56:46 -0500
>>> From: Derek Arndt <deekpyro at charter.net>
>>> Subject: [squeak-dev] USB Interface?
>>> To: squeak-dev at lists.squeakfoundation.org
>>> Message-ID: <51A3015A-FCB1-4227-B7C3-E1BA35EDACD5 at charter.net>
>>> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
>>> Hey there,
>>> I'm a croquet developer working on a different project involving a
>>> USB device.  I notice there's a SerialPort class for communicating
>>> with serial devices, but I haven't had any experience coding against
>>> device interfaces before.  Could I snag some the interface specs from
>>> Intel's developer website and code up one similar to the Serial
>>> class?  Any guidance would be much appreciated.
>>> Thanks for your time,
>>> Derek

Ken  G. Brown said >
> > I have been unable to find any fully functional USB serial interface code for Squeak.
> >  

Karl said:
>The Scratch board uses the USB port:

Yes, somehow missed mentioning that one.
The Scratch serial interface works through the USB port via USB to Serail converter to go to the old standard 9 pin Serial if that what you want.

The driver download for Mac OS X <http://www.prolific.com.tw/support/files/%5CIO%20Cable%5CPL-2303%5CDrivers%20-%20Generic%5CMacOS%5CMacOS%2010.x%5Cmd_pl2303H_HX_X_dmg_v1.2.1r2.zip> says it requires "Device using PL-2303H/X".
PL-2303HX (Chip Rev D) USB to Serial Bridge Controller

But if you need to hook up to a USB device that does not show up as a serial device in /dev, or does not use the PL-2303 to convert from USB to 9 pin serial, it seems to me you are in some difficulty. Maybe also a good starting point tho.

Scratch Board

Scratch Plugin

Ken G. Brown

More information about the Squeak-dev mailing list