I see from browsing the list back in August (Aug 7th-10th) that several people were talking about running Squeak on the Linux version of the Zaurus and I found several references here:
http://minnow.cc.gatech.edu/squeak/2437
And (looking for an (additional) excuse to pick up a Zaurus this weekend...) I was wondering if anyone had Squeak running better on it than was reported back in August ...
and... (besides 'where can I get it from') which is the best technique to have it running - frame buffer or Qtopia (X) and drawbacks of either.
Thanks :-).
-Andy-
Andy Stoffel wrote:
I see from browsing the list back in August (Aug 7th-10th) that several people were talking about running Squeak on the Linux version of the Zaurus and I found several references here:
Yeah, my version of the story isn't up to date alas. However, I've uploaded a snapshot of "my" sources as well as a working binary to my server.
http://not.meko.dk/Zaurus-Squeak-snapshot.tar.gz http://not.meko.dk/squeak
The former is the mentioned sources, the latter the binary.
This particular VM uses DirectFB (I didn't write the support, but unfortunately I don't remember who did right now) and must be run *outside* Qtopia. That is, from the application launcher run Shutdown, select Terminate Qtopia, and quickly press "/" at the console Wait... prompt, followed by "a" for a login prompt. Log in as root and launch Squeak for example like this:
squeak -calibrate -rotate -memory 10m dynapad.image
It's usable, but it could be much better. For example:
- Power management is totally lacking. There's currently no way for Squeak to detect some amount of idle time, nessesary for it is suspend by itself. You can suspend manually by
(StandardFileStream fileNamed: '/proc/sys/pm/suspend') nextPutAll: '1'; close.
- The keyboard is mostly working, but control and other modifiers aren't working.
- The touchpad is working, but the current filtering needs to be improved.
- There is no support for the five special keys Zaurus.
etc....
I was wondering if anyone had Squeak running better on it than was reported back in August ...
I haven't had time to make progress. Maybe others have.
and... (besides 'where can I get it from') which is the best technique to have it running - frame buffer or Qtopia (X) and drawbacks of either.
There are actually three different options: - Framebuffer - Atop Qtopia - and under X.
Each have their merits.
The framebuffer version is for people like me who seen the Zaurus as nothing more than a convenient handheld platform for Squeak. It follows that you would want to get rid of Qtopia and all other things stealing resources away from Squeak.
The Qtopia version (so far nonexisting) is for using Squeak without loosing access to the rest of Qtopia and the Zaurus applications.
The X version is the highest overhead way to achieve this, but it works and currently is the only alternative to the framebuffer solution.
Maybe Somebody should copy this answer to the swiki page.
All the best,
Tommy PS: Having Squeak in the pocket device rocks
Thanks for the quick response :-)...
From: Tommy Thorn Andy Stoffel wrote:
I see from browsing the list back in August (Aug 7th-10th) that several people were talking about running Squeak on the Linux version of the Zaurus and I found several references here:
Yeah, my version of the story isn't up to date alas. However, I've uploaded a snapshot of "my" sources as well as a working binary to my server.
Great ! Thanks.
http://not.meko.dk/Zaurus-Squeak-snapshot.tar.gz http://not.meko.dk/squeak
The former is the mentioned sources, the latter the binary.
-Andy-
On Sat, 28 Sep 2002, Tommy Thorn wrote:
- Power management is totally lacking. There's currently no way for
Squeak to detect some amount of idle time, nessesary for it is suspend by itself. You can suspend manually by
There should be a way to talk to the Morphic event system, and when there's not been a UI event processed for N minutes, execute your manual suspension line.
- There is no support for the five special keys Zaurus.
It should be doable. Doit "Sensor kbdTest" and press each of these buttons, recording the ascii code that the buttons emit. You could then change the values in ParagraphEditor>>#initializeSpecialKeyShortcuts, which are currently tuned for the iPAQ. You can also change what the keys do, no need to stick with the config I have in there now. Eventually, it'll be programmable in a friendly way.
Regards, Aaron
Aaron Reichow :: UMD ACM Pres :: http://www.d.umn.edu/~reic0024/ "truth is beautiful, without doubt; but so are lies." :: r. w. emerson
Aaron J Reichow wrote:
On Sat, 28 Sep 2002, I wrote:
- Power management is totally lacking. There's currently no way for
Squeak to detect some amount of idle time, nessesary for it is suspend by itself. You can suspend manually by
There should be a way to talk to the Morphic event system, and when there's not been a UI event processed for N minutes, execute your manual suspension line.
I couldn't find it, but admittedly I haven't tried very hard. Also, that of course won't do it for MVC, but that's less of an issue.
On a more general note, Squeak isn't really all that nice from a power point of way: it burns way to many cycles when it should be idle. There has been some discussion about gettimeofday calls and some patches proposed.
- There is no support for the five special keys Zaurus.
It should be doable. Doit "Sensor kbdTest" and press each of these
I think you misunderstand. Currently the VM (actually DirectFB) mapping is wrong/non-existing.
Cheers,
Tommy
On Sat, Sep 28, 2002 at 02:17:15AM -0700, Tommy Thorn wrote:
This particular VM uses DirectFB (I didn't write the support, but unfortunately I don't remember who did right now) and must be run *outside* Qtopia. That is, from the application launcher run Shutdown, select Terminate Qtopia, and quickly press "/" at the console Wait... prompt, followed by "a" for a login prompt. Log in as root and launch Squeak for example like this:
I'm the person to blame for writing the hackish DirectFB support. :)
All the best,
Tommy PS: Having Squeak in the pocket device rocks
Lee
-----Original Message----- From: Tommy Thorn [mailto:thorn@meko.dk]
Yeah, my version of the story isn't up to date alas. However, I've uploaded a snapshot of "my" sources as well as a working binary to my server.
http://not.meko.dk/Zaurus-Squeak-snapshot.tar.gz http://not.meko.dk/squeak
The former is the mentioned sources, the latter the binary.
squeak -calibrate -rotate -memory 10m dynapad.image
I finally had a chance to get this on my Zaurus this morning (I've been out of town for the past few days and didn't have a chance to play with it)...
It's usable, but it could be much better.
Once I figured out that when it started up the first time it was asking me to calibrate it by touching some arrow-looking objects on the screen I was ok.... :-). This is going to be fun :-)..... especially if the networking works (and I can get a wireless card working with it :-))
I DID get the following error messages when I exited:
(!) DirectFB/Keyboard: TIOCSCTTY failed ! --> operation not permitted
(!) `/usr/local/share/directfb/cursor.dat` could not be opened! --> No such file or directory
but I have no idea what that means at this point.....
Thanks for all you've done :-).
-Andy-
Andy Stoffel wrote:
Once I figured out that when it started up the first time it was asking me to calibrate it by touching some arrow-looking objects on the screen I was ok.... :-). This is going to be fun :-)..... especially if the networking works (and I can get a wireless card working with it :-))
My wireless (SMC) card works fine, although it burns power like there was no tomorrow. If you configure it from Qtopia before quitting Qtopia and starting Squeak, then I'm pretty sure it should work.
I DID get the following error messages when I exited:
(!) DirectFB/Keyboard: TIOCSCTTY failed ! --> operation not permitted
(!) `/usr/local/share/directfb/cursor.dat` could not be opened! --> No such file or directory
but I have no idea what that means at this point.....
I recall seeing those, but AFAIR they are harmless.
Thanks for all you've done :-).
Thank Lee, all I did was hack in support for the Zaurus touchpad (which is different, but not much, from the iPaq one) and compile it all.
I'm very grateful to Lee for his work, but if I get back to hacking on this I would basically start over using the FB patch that has been floating around. DirectFB IMHO creates as many problems as it solves. If someone else feels like tackling the task it might get done sooner :-(
Cheers,
Tommy
squeak-dev@lists.squeakfoundation.org