Jecel Assumpcao Jr a écrit :
I was easily able to use the parallel port from Squeak in Windows with the DLL and change set from the IOST package at http://www.smalltalking.net/Goodies/Squeak/
Some people, however, are asking for my help getting this to work on a Linux machine. There was a thread here in April 15 of last year with some code posted by Thimon and there have been similar threads in the past including some advice by Ned Konz. Since there are many alternatives, all require at least some work and none which is obvious superior to the others, it would be great if people could share their experiences and/or insights about this.
Yes, we made some work on parallel port in order to link Squeak to robotic modules. Look at our SqueakBot project here : http://www.iutc3.unicaen.fr/serge/SqueakBot
-- oooo Dr. Serge Stinckwich OOOOOOOO Université de Caen>CNRS UMR 6072>GREYC>MAD OOESUGOO http://purl.org/net/SergeStinckwich oooooo Smalltalkers do: [:it | All with: Class, (And love: it)] \ / ##
Serge Stinckwich wrote on Fri, 03 Feb 2006 20:54:58 +0100
Yes, we made some work on parallel port in order to link Squeak to robotic modules. Look at our SqueakBot project here : http://www.iutc3.unicaen.fr/serge/SqueakBot
That looks perfect, thanks! I will forward this to the group at the University of São Paulo doing this work and since what they are doing is so similar to this I think they will be doubly pleased to see this.
-- Jecel
Check the section SqueakBot-Hardware (http://www.squeaksource.com/SqueakBot as mentionned by Serge) which implements the parallel port access under linux and windows (ParallelPortUnix and ParallelPortWin). We should extract this part of squeakbot and make a release of it since it would be of interest for general use, so if you have some times, feel free to build a parallel port squeakmap package with all these materials !
You will also need the tarball containing the C code (in fact, it should be translated in a squeaky fashion as a ParallelPortPlugin class which would avoid to distribute the tarball).
All this work is already tested ok both for linux and windows (IOSTSqueak needed for windows)...
Have fun :-)
Samir
Samir Saidani wrote on Sat, 04 Feb 2006 00:07:13 +0100
Check the section SqueakBot-Hardware (http://www.squeaksource.com/SqueakBot as mentionned by Serge) which implements the parallel port access under linux and windows (ParallelPortUnix and ParallelPortWin). We should extract this part of squeakbot and make a release of it since it would be of interest for general use, so if you have some times, feel free to build a parallel port squeakmap package with all these materials !
This is all included in the image/changes I had downloaded from the page Serge indicated.
You will also need the tarball containing the C code (in fact, it should be translated in a squeaky fashion as a ParallelPortPlugin class which would avoid to distribute the tarball).
I found it attached to an email to this list from April 15 of 2005. After getting the needed uncompression tool (Gentoo has a wider selection of tools than RiscOS ;-) and compiling it, copying the .so file to where the squeak binary is I still get the same result. Given that this is via FFI shouldn't the unmodified VM be able to load this?
All this work is already tested ok both for linux and windows (IOSTSqueak needed for windows)...
Great!
[parallelplugin.tgz]
Ah - thanks for sending this again. I hadn't noticed it until I was replying to you (Celeste is a bit too subtle sometimes).
-- Jecel
squeak-dev@lists.squeakfoundation.org