Squeak USB on Raspberry Pi

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Squeak USB on Raspberry Pi

ReliableRobots.com
Squeak on a Raspberry Pi (RPi) is easy - download it on a PC then upload 3 files from there to the RPi, changes, sources, and image then run squeak [path]image. But a search for Squeak classes returned nothing for USB.  So how do I communicate with a Webcam, microcontroller, or other peripheral?  

A look at Pharo classes produced similar results.  
Also, couldn't get this Pharo to run on RPi.



Reply | Threaded
Open this post in threaded view
|

Re: Squeak USB on Raspberry Pi

timrowledge

> On 15-04-2016, at 12:52 PM, ReliableRobots.com <[hidden email]> wrote:
>
> Squeak on a Raspberry Pi (RPi) is easy - download it on a PC then upload 3 files from there to the RPi, changes, sources, and image then run squeak [path]image.


It can be even easier; just download the Squeak 5.0 All-in-One and run it.

> But a search for Squeak classes returned nothing for USB.  So how do I communicate with a Webcam, microcontroller, or other peripheral?  

All I know suggests that usb things are generally mapped as serial ports under *nix. You open serial ports and do whatever demented and weird, nay, dangerous, things *nix demands of you.

>
> A look at Pharo classes produced similar results.  
> Also, couldn't get this Pharo to run on RPi.
> http://car.mines-douai.fr/category/software/pharos/

Can’t help you there.

tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
Mommy!  The cursor's winking at me!



Reply | Threaded
Open this post in threaded view
|

Re: Squeak USB on Raspberry Pi

Ben Coman
In reply to this post by ReliableRobots.com
On Sat, Apr 16, 2016 at 3:52 AM, ReliableRobots.com
<[hidden email]> wrote:
> Squeak on a Raspberry Pi (RPi) is easy - download it on a PC then upload 3
> files from there to the RPi, changes, sources, and image then run squeak
> [path]image. But a search for Squeak classes returned nothing for USB.  So
> how do I communicate with a Webcam, microcontroller, or other peripheral?
>
> A look at Pharo classes produced similar results.
> Also, couldn't get this Pharo to run on RPi.
> http://car.mines-douai.fr/category/software/pharos/

The place to ask pharo questions is
http://lists.pharo.org/mailman/listinfo/pharo-users_lists.pharo.org
btw, apparently Pharo UI runs slower than Squeak UI on RPi
https://mail.google.com/mail/u/0/#search/pharo+rpi++slow/152d785715c67e37

cheers -ben

Reply | Threaded
Open this post in threaded view
|

Squeak USB on Raspberry Pi

Louis LaBrunda
In reply to this post by ReliableRobots.com
Hi,

A friend and I are working on an interface for VA Smalltalk [1][2] to LibUSB [3].  When we
finish we intend to port our interface to Squeak/Pharo.  In the mean time maybe you can use a
few FFI calls to just enough of LibUSB to talk to a USB device.

Lou

1) http://www.instantiations.com
2) https://groups.google.com/forum/#!topic/va-smalltalk/IuGPHMHS0zI
3) http://www.libusb.org




On Fri, 15 Apr 2016 12:52:35 -0700, "ReliableRobots.com" <[hidden email]> wrote:

>Squeak on a Raspberry Pi (RPi) is easy - download it on a PC then upload 3
>files from there to the RPi, changes, sources, and image then run squeak
>[path]image. But a search for Squeak classes returned nothing for USB.  So
>how do I communicate with a Webcam, microcontroller, or other peripheral?
>
>A look at Pharo classes produced similar results.
>Also, couldn't get this Pharo to run on RPi.
>http://car.mines-douai.fr/category/software/pharos/
--
Louis LaBrunda
Keystone Software Corp.
SkypeMe callto://PhotonDemon