Puppylinux for the OLPC laptops: XOpup

For talk and support relating specifically to Puppy derivatives
Post Reply
Message
Author
User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#136 Post by 01micko »

Well Mark S, you can now say that you have contributed to the development of XOPup :D

I have rewritten the freeramdaemon script to offer generation of a swap file. It's fairly straight forward. I'll be posting the script on the first page of this thread. It is just a matter of extracting it and moving to /usr/local/bin/ where it will overwrite the original.

I tested it on my xo-1 and it works fine.

Anyone wishing to test, just erase the swapfile you have already created, note it will not erase if it is loaded!

Cheers
Attachments
addswap.jpg
(47.74 KiB) Downloaded 2784 times
Puppy Linux Blog - contact me for access

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

XOpup-2.1 is released

#137 Post by mavrothal »

XOpup-2.1 is released

See the changes from XOpup-2 in the Change Log

You could use your old save-file from XOpup-2 and should update normally.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

Mark S.
Posts: 23
Joined: Mon 08 Feb 2010, 05:53

#138 Post by Mark S. »

mavrothal wrote:
Mark S. wrote: Alas, you are probably right. The camera doesn't seem to work in sugar either. Is it very difficult to open the case and plug the connector back in?
Thankfully the XO is designed for easy repair and there are visual guides for it. Here is for the XO-1 and this PDF is for the XO-1.5 which is very similar to the XO-1 with the exception of the microSD storage and removable WiFi module.
Unfortunately non of the pictures shows the camera and the infamous ribbon but is pretty evident.
We got as far as opening up the back cover. It was scary, and may have made things worse. Do you have to remove the motherboard in order to get at the ribbon? They don't show any instructions for removing the motherboard! The only connectors on the side of the motherboard that I could access appeared to be for the USB ports. It appeared that we would have to pull two video wires and maybe a half dozen other connectors.

Thanks!
Mark

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#139 Post by mavrothal »

Mark,
you can do it without totally removing the motherboard but is a pain.
You just need to remove the 2 speaker connections and the power connection on the bottom. You do not need to remove the antenna wires on the top.
See if this video can help better http://www.dailymotion.com/video/x687xn ... embly_tech
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

alternative olpc.fth

#140 Post by mavrothal »

Some SDcards particularly if they are ext2/3 (miss)formatted fail to work with XOpup.
If you have such a case replace the "olpc.fth" file in the "boot" folder of XOpup with the attached, and try again.

Pls provide some feedback either way
Attachments
olpc.fth.gz
alternative /boot/olpc.fth for XOpup
(1.78 KiB) Downloaded 889 times
Last edited by mavrothal on Fri 06 May 2011, 07:09, edited 1 time in total.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

XO-1 touchpad

#141 Post by mavrothal »

A couple of weeks now :shock: I'm trying to see if there is anyway to tame the XO-1 touchpad that goes nuts by itself every so often.
Logging the events one can see that are happening almost one every 3-4 minutes after the first 10 minutes.
Resetting and recalibrating the touchpad every few minutes (7 in this case) dramatically decreases the "going nuts" events.

The downside is that every 7 minutes a warning comes up that tells you to keep off the touchpad because it resets.
You may find it annoying, or you can see it as a form of WorkRave/anti-RSI :D
The warning can be eliminated but if you touch the touchpad while is resetting and recalibrates it goes nuts again. So you have to decide for your self what bothers you most :oops:

Anyway, if you have a lot of problems with the XO-1 touchpad download and install this pet, restart your XO-1, see how it goes and report back eitherway.

Edit: v2 has some changes in the order of things and editorial changes in the warning

Edit 2: v3 adds a bigger time gap between the warning message and the actual touchpad resetting, since was often easy to miss it and try to use the touchpad while it was resetting

PS If you rather take your chances without the warning, you can right-click and "open as text" the (invisible) /root/.power_cycle_touchpad file and comment out by hash (#) the long line 2 (in v2) or line 5 (in v1).
To change the frequency of the event, change the number (seconds) in line 4 of the /root/Startup/touchpad_log file
Attachments
touchpad-3.pet
XO-1 touchpad resetting tool
(746 Bytes) Downloaded 812 times
Last edited by mavrothal on Mon 13 Jun 2011, 19:46, edited 3 times in total.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

Thunar WM

#142 Post by mavrothal »

BK posted a standalone Thunar file manager that works fine in XOpup (no JPG issues).

However, when you click on "home" or a mounted volume you still get ROX-Filer, which I think is confusing unless you want Thunar only for "special missions".
So I modified the pet a bit to also open Thunar when clicking on desktop volumes or folders.

To give it a spin, download and install thunar-1.0.2-1-i486-xo.pet

Although the pet is labeled "-xo" should work fine on any puppy 5x.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#143 Post by mavrothal »

I can see several downloads of both the alternative olpc.fth and the touchpad.pet.
Any feed back would be appreciated so we can decide to include it or not in an upcoming version of XOpup or as an update to 2.1.
Thx
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

tuxmath, type, paint etc

#144 Post by mavrothal »

ttuuxxx provided tyxmath, tuxtype tuxpaint and supertux with the required SDL libraries as pets in this forum thread

They will not work in XOpup (and other 5.x puppies I assume) unless you first

Code: Select all

ln -sf /usr/lib/libpng12.so /usr/lib/libpng.so.3
Then tyxmath, tuxtype and tuxpaint work fine.

SuperTux is conflicting with olpc-kbdshim XO keyboard daemon and is missing a proper desktop entry. So if you want to install it, install afterwards the supertux_helper.pet attached here that
a) will stop olpc-kbdshim upon SuperTux start and restart it on exit
b) provide a proper SuperTux desktop entry and
c) will take care of the libpng command mentioned above.

Note. version 2 of the pet is just merging 3 scripts of v1 in one. There is not any functional change between the two versions. So if you got v1 you do not need to update to v2.
Attachments
supertux_helper-2.pet
SuperTux helper pet for XOpup
(842 Bytes) Downloaded 863 times
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

mount NAND

#145 Post by mavrothal »

If you install the new OLPC 11.2.0 builds in the internal NAND of your XO-1 you'll find out that you can not access it anymore from XOpup.
The attached F14_NAND-2.pet will fix this :wink:
It contains the required devices, ubiattach and ubidetach from mtd-utils_20090606-1ubuntu0.10.04.1_i386.deb and a script to modify fstab and rc.local.
Install and you'll be able to access both NAND partitions from /.xo-nand and /.xo-nand2.

Do not install if you are running a Fedora 11 build (OLPC 10.1.3 or Dextrose2)

Version 2 will check if you are running and F14 build on your XO-1 and will exit (with a warning) without messing up your fstab and rc.local, but is still not a good idea to install the pet if you do not have an F14 build in your NAND.
Attachments
F14_NAND-2.pet
Access the internal NAND of the XO-1 containing Fedora 14-based builds
(14.7 KiB) Downloaded 849 times
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

OOo4Kids

#146 Post by mavrothal »

OOo4kids is the OpenOfice.org suit adapted for kids (class 7- to 12+)

I made an 82MB sfs out of the current 1.2 version of OOo4Kids that runs fine on XOpup and probably other puppies.

The nice thing about OOo4kids is that you can adjust the "User Level" to Beginner/Advanced/Expert (from Tools > Options > OOo4Kids > General) to present different number of buttons and options to the user.

One think that you may want to do is to increase the default scaling from 115% to 125% from Tools > Options > OOo4Kids > View

Download the SFS file from:
http://www.datafilehost.com/download-86604a0b.html -new version
(md5sum: ad2fb1ce492f546a98fde07d57ebe1d1)
and enjoy :lol:

Edit: The md5sum: ad2fb1ce492f546a98fde07d57ebe1d1 version has improvements in usability (right-click "open with..." and MIME-Types in /root/Choices)
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

hailpuppy
Posts: 73
Joined: Wed 28 Oct 2009, 07:49

Congratulations Mavrothal and the rest of the gangsters!!!

#147 Post by hailpuppy »

Hi guys,

I v been off from puppy forum for quite a while and specially from the xopup project.Just wanted to visit this historical thread and see how you guys are doing.:) Mavrothal, i will never forget the days that you tirelessely fought with xopup those days !!! The blows were heavy and the march forward was infact really scary.but you did it!And the rest of the guys too.(Mitch Bradley,thanks buddy for the continued support). In one of my emails to him he had mentioned how he had earlier tried to convince some of our puppy gurus as to how to boot the XO with Puppy but failed due to the "hell bent" nature of our puppyians.Well im sure we all agree at the same time that if it werent for the hellbentness of puppyians to get xopup up and running.Xopup would stil have been a dream.:) Ok guys keep it up.I salute you all for the great effort you guys put in to make the world a better place,in a puppy way! :)

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

Frisbee network manager

#148 Post by mavrothal »

After some little effort I got the much more user-friendly Frisbee network manager developed by Jemimah, to work in XOpup reliably :D .

Just download and install the attached pet, reboot and click the connect icon on the desktop.
Then select your network, click "+Create Profile for selected network" and you are done!
Check its many other features at its original thread

Be advised that the Frisbee_XO pet installation will overwrite rc.local and rc.services, so if you have done any modifications in these make sure to back them up before you install.

Also note that after installation or removal of the pet you'll have no network until reboot.

Finally, among other needed mods, I also modified the install script so all the previous network setting will be preserved and re-instated to their "before-frisbee" state if you uninstall Frisbee.
So give it a try. You'll like it :D

v2 of the pet has minor fixes in the reconnect script to detect "strange" AP names and a correction in rc.local to bring mesh down at startup.


Note: I find Frisbee messages both cute and fitting for both the XO laptop and XOpup. However, if you rather not have them, just type in terminal:

Code: Select all

mv /usr/bin/xpupsay /usr/bin/xpupsay-inactive
Revert, to get the messages back
Last edited by mavrothal on Mon 11 Jul 2011, 19:41, edited 12 times in total.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

Frisbee network manager

#149 Post by mavrothal »

The forum server is not behaving, double/triple post
Last edited by mavrothal on Sun 10 Jul 2011, 20:48, edited 1 time in total.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

Frisbee network manager

#150 Post by mavrothal »

The forum server is not behaving, double/triple post
Last edited by mavrothal on Sun 10 Jul 2011, 20:48, edited 1 time in total.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

XOpup-2.2.RC has been released

#151 Post by mavrothal »

Just updated XOpup to XOpup-2.2.RC (xopup-204).

There is the usual updates, additions, bugfixes etc (see changelog for details), but the most noticeable for the user, is the addition of the Frisbee network manager.

To install XOpup-2.2.RC download XOpup-2.2.RC.tar.gz expand it at the root of any USB or SDcard and boot. But first please do see the build Announcement.

To update from a previous xopup-20x build, just expand the tarball at the root of the USB/SDcard that you run XOpup from.

If you do an update instead of a clean/new install, Frisbee may have difficulties connecting immediately after the update.
Reboot after the version update and then use Frisbee for the first time.
Alternatively, before you update to version 204, install the Frisbee_XO-2.pet (in the previous page) that will properly reset your settings, and then update and enjoy.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

New power management

#152 Post by mavrothal »

One of the missing features in XOpup power management was to properly detect external mice and keyboards and not dim/blank/sleep while they were used.

Not anymore :D

Thanks to the new olpc-kbdshim-19 from the OLPC folks (pgf) and a lot of messing around with it, XOpup can now "see" the use of external mice/keyboards and act accordingly.

Just download and install the attached kbdshim_udev_19-1.pet, reboot and you are set!

Work in all XOpups from 2.0 onwards.

Note: Since OLPC power management, powers down the USB ports when in suspend, the XOpup will not auto-suspend on prolonged user inactivity when an external mouse/keyboard is attached.
Will dim and blank OK, though.
Will also suspend fine when the lid is closed or the power button is pressed.
Attachments
kbdshim_udev_19-1.pet
proper detection of external mice and keyboards of the XOpup power management
(12.95 KiB) Downloaded 369 times
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

XOpup-2.2 Release

#153 Post by mavrothal »

Almost 2 years to the date after my Puppylinux-on-XO saga started, 1 year after the first XOpup build was released and 15 builds latter :shock: ...
XOpup-2.2 is out.

Image

XOpup-2.2 integrates updates from (the terminated ? :( ) Puppylinux 5.2.x series, Woof/Wary development, latest OLPC software, various pets and some stuff unique to XOpup.

From faster boot and peripherals-aware power management, to friendly network manager and customization scripts, XOpup has come a long way from the original build. Now looks like a useful OS for the aging XO-1 and the (soon to be replaced by XO-1.75) XO-1.5.

Using the extended Lucid-puppy pet repository and the Ubuntu 10.04 LTS packages, has the ability to carry the XO-1 to the end of its useful life and provide a viable alternative to XO-1.5

Unless major issues are found, I doubt that will be another XOpup build.
I'll try of course to support XOpup the best I can.
It was a fun and educating process for me.

But do not despair, 01micko is developing Slackware Puppy, a Puppylinux 5.3 candidate, and said more than once that he is planning to make it available for the XO too.
So let's give him a hand :wink:
Last edited by mavrothal on Sun 21 Aug 2011, 07:59, edited 2 times in total.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#154 Post by 01micko »

Slacko has a zdrv, which should make things a little easier to separate :)

As soon as final is released (late September), I'll be back playing in Xo land.. SlaXO land.. :lol:

Let me know mavrothal if you think the video drivers need to be updated. (you can get the versions by looking at "Packages-puppy-slacko-official" on the puppy servers.)

Cheers
Puppy Linux Blog - contact me for access

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#155 Post by mavrothal »

01micko wrote: Let me know mavrothal if you think the video drivers need to be updated. (you can get the versions by looking at "Packages-puppy-slacko-official" on the puppy servers.)
Cheers
I'm not sure which version of geode_drv Slacko is using but anything above 2.11.9 is OK for the XO-1. Slackware 13.37 is using 2.11.10 so I assume is the same for slacko, Should be OK.
The XO-1.5 though needs the chrome driver to be compiled from source, since is not upstreamed to Xorg AFAIK.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

Post Reply