''[MGS]'' [[2003/05/23]] - I wanted to start a page collecting information about running Tcl/Tk on the Sharp Zaurus [PDA]s. In particular, I have grand designs on the newly-announced SL-C760. [http://mini.net/files/zaurus.jpg] ''[escargo]'' - Isn't there a slight problem since these were announced for the '''Japanese''' market[http://sharp-world.com/corporate/news/030516.html]? (The primary problem being software and hardware are for the Japanese mobile phone network.) True, they are announced for Japan only, at least initially, although people have successfully switched the GUI (Qtopia) over to English. I am hoping to remove Qtopia completely and put on X and Tcl/Tk and all my own apps. ---- Framebuffer Vs X11 The Zaurus uses the framebuffer and Qt. [[Add more info]]. ---- Running X11 on Zaurus (This is not my info, just stuff off the net). You will need X11 for the Zaurus which you can get at [http://prdownloads.sourceforge.net/zaurus/x11zaurus_0.8_arm.ipk?download]. 1. Unzip zx64.zip somewhere on your Zaurus (CF, SD, etc...) 2. Install X11 for the Zaurus 3. Reboot your Z 4. Press your / on the keyboard to select the boot prompt. 5. Select A and log into your Zaurus 6. Type X to start X11 X11 on the Zaurus works great but conflicts with Qtopia over power management. Here are some solutions from Zaurus Zone's forum: After installing X11 for the Zaurus, open the file : /usr/local/Xredir/etc/zapmd and commented out /usr/local/bin/zapmd (just add an #at the beginning of the line). or here is another one 1. I added a # at the beginning of each line in /usr/local/Xredir/etc/rc.d/init.d/ztsd and /usr/local/Xredir/etc/rc.d/init.d/zapmd 2. At the beginning of /usr/local/bin/wm I added 3 lines /usr/local/bin/ztsd & /usr/local/bin/zapmd & sleep 2 (the sleep may not be needed, or possibly could be reduced) 3. At the end of /usr/local/bin/wm I added 2 lines killall zapmd killall ztsd 4. I was still having problems with ice's config. So I ran ln -s /usr/local/Xredir/usr/local/lib/x11/icewm .icewm in /home/root (somehow icewm wasn't finding its setting at this original location) With these settings, I can switch between qtopia and X. I drop out of Qtopia using the terminate qtopia butting in the Shutdown app. I hit /? then 'a' during the countdown to drop to a prompt I run: wm after I logout of icewm, I type exit to drop back into Qtopia. ---- Compiling Tcl and Tk for Zaurus [[Add more info]]. [[Native compiling]]. [[Cross-compiling]]. ---- '''Links''' * Sharp SL-5500 - http://www.sharpusa.com/products/ModelLanding/0,1058,698,00.html * Sharp SL-5600 - http://www.sharpusa.com/products/ModelLanding/0,1058,1016,00.html * Zaurus Developer site - http://www.zaurus.com/dev * How to docs for the Sharp Zaurus - http://docs.zaurus.com * IPKG How to for Sharp Zaurus - http://docs.zaurus.com/index.php?id=ipkg_howto * http://ezaurus.com/ * SL-C750 and SL-C760 press release [http://sharp-world.com/corporate/news/030516.html] * ipkg feed of tcl and tk arm binaries for linux iPAQ and Zaurus [http://members.chello.nl/~k.vangelder/ipaq/feed/], current only 8.3.4 * tclkit arm binaries for 8.4.1 [http://www.equi4.com/pub/tk/8.4.1/tclkit-linux-arm.gz] * X11 for Zaurus [http://prdownloads.sourceforge.net/zaurus/x11zaurus_0.8_arm.ipk?download] * Zaurus Zone http://www.zauruszone.com/ * Zaurus XFree86 [http://www.killefiz.de/zaurus/showdetail.php?app=591] ---- Now from what I understand...If you don't want to have to drop out of QT to run a Tk application use KeyPebble. This is the software stack as I understand it Tcl/Tk - wish vncserver keypebble vncclient QT To run this you'll need a "wish", Qtopia X11 package, a vncserver, and keypebble. I'll go do this now in OpenZaurus 3.2 and see if I cant get it working. If I do I'll post docs on how to do it. ----