Puppylinux for the OLPC laptops: XOpup

For talk and support relating specifically to Puppy derivatives
Post Reply
Message
Author
User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

spanish version?

#121 Post by mavrothal »

Has anybody tried XOpup is Spanish?
How bad is it? :o

Spanish is by far the dominant language among XO users so I would like to know what is needed to make it more Spanish-friendly.

If you can help with translations, even better :wink: .
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] ==

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

#122 Post by Mark S. »

My daughter has an XO 1 from the 2007 first batch. I just installed the firmware "fix" http://blog.laptop.org/2011/01/08/keybo ... e-and-fix/ apparently required starting in January 2011 that allows the keyboard and mouse to continue working. Now the firmware is given as

Q2D14

When I try to install the XOpup-2 linux, I get the following error(s):

<buffer@800000>:6: fw-version$ ?
<buffer@800000>:126: Undefined word encountered

So, is this a firmware version problem? The docs say that if there is a firmware mismatch, you'll get a message, but this seems more like an error.

Will installing q2e45 take care of this problem ... and will that firmware allow the keyboard/mouse to continue working?

Thanks!
Mark

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

#123 Post by Mark S. »

Mark S. wrote: Will installing q2e45 take care of this problem ... and will that firmware allow the keyboard/mouse to continue working?
In a burst of impatience we went ahead and upgraded the firmware -- making it twice in one day! Then we installed the XOpup.

My daughter is very pleased! She's impressed at how cool the opening page for puppy-xo looks -- says its better than the original pupplinux which I run on my netbook.

Sound, flash, club penguin, and Opera work, she reports. The screen "dims" too quickly for her taste, but I've read the post on the work around and hope to try a longer interval.

The biggest problem so far is that we get periodic "kill process" requests. Apparently the OLPC is in constant danger of running out of RAM. I'm thinking of putting a swapfile on the usb and see if that helps. Is there anything I should be aware of? Will this work? I see the OP says we won't be able to save on our vfat formatted boot stick. Does that mean I won't be able to put a swap file on there either?

Thanks for a great job putting puppy on the XO!

Mark

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

#124 Post by mavrothal »

Mark S. wrote: Q2D14

When I try to install the XOpup-2 linux, I get the following error(s):

<buffer@800000>:6: fw-version$ ?
<buffer@800000>:126: Undefined word encountered
XOpup's OFW will usually give a warning that you need to update your firmware to at least q2e45 but q2d14 is too old even for this warning to appear.
Is a good idea to update to the latest firmware in general. It only gets better with every new version and through 20-some updates that I can remember, only one had a regression problem that was quickly fixed.
But you know all these by now I guess :D
Mark S. wrote:My daughter is very pleased! She's impressed at how cool the opening page for puppy-xo looks -- says its better than the original pupplinux which I run on my netbook.
:lol:
It was a strong family battle among the 3 backgrounds but I'm partial to blue ones. My son preferred the mantis while his younger friend the trampoline. My wife cast the crucial vote, mostly as a better "fit for all" :D
Mark S. wrote:The biggest problem so far is that we get periodic "kill process" requests. Apparently the OLPC is in constant danger of running out of RAM. I'm thinking of putting a swapfile on the usb and see if that helps. Is there anything I should be aware of? Will this work? I see the OP says we won't be able to save on our vfat formatted boot stick. Does that mean I won't be able to put a swap file on there either?
I believe that you can have a swap file on the vfat partition. You probably tried it already by now :wink: If not, just run "mkswap-file.sh" in the terminal. When it finishes either reboot or type "swapon -a /mnt/home/pupswap.swp"

You could have the warning removed by moving freeramdaemon.sh out of the /root/Startup folder, but I certainly do not recommend it since you are going to run into trouble fast without swap. Specially if you have more than a couple of apps open or browse "heavy" pages.
== [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 en español

#125 Post by mavrothal »

This is a first attempt for a Spanish language pack for XOpup-2
Is based on Shinobar's lang_pack_es-lupq-0.2.pet, don570's Espagnol-Right-click-4.5.pet, unambihuo's translations of several packages and ... Google translate :lol:

The file is not working as a pet yet ( :?: ), so to install download the XOpup2_lang_pack_es-0.1.tar.gz file (md5sum:8337e11322f06767bd900dca3af2270d) in your XO and then

Code: Select all

cd /
tar xvzf /path_to_file/XOpup2_lang_pack_es-0.1.tar.gz
reboot your XO and you should be looking to something like this

Image

The JWM window manager is also localized in a similar manner

If you want to see which are the files and hopefully improve them, just cd to an empty folder and extract the tarball in there.

I do not speak any Spanish so I can not really tell how bad is it :oops: :D Ideally a Spanish native speaker should take over this package and maybe open another thread in Spanish.

I intend to include a more "mature" version in the next XOpup's "extra_pets" folder and I would be happy to provide hosting to such a more "mature" version.

Edit: To make installation easier I made a new version (with the same data) that includes an install script. Just download the file click to extract it and click "Instalar" ( 8) ) to install it.
Here it is http://www.datafilehost.com/download-db3b348d.html
(md5sum: 4a7ed094b948b8f8ffd6ea011880f867)
== [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

#126 Post by Mark S. »

Well, now my daughter has discovered the trampoline image and has set it as her background. The way she sounds, you would think it was a Rembrandt.

As best as I could tell, you can only set up the XO on puppy for WPA/TKIP? Not WPA2. Is this correct?

Also, the webcam utility (WxWebcam ?) doesn't seem to work. Is that normal?

Thanks!
Mark

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

#127 Post by mavrothal »

Mark S. wrote:Well, now my daughter has discovered the trampoline image and has set it as her background. The way she sounds, you would think it was a Rembrandt.
But it is ! His middle name is different though (Hammersoon instead of Harmenszoon :lol: )
Mark S. wrote:As best as I could tell, you can only set up the XO on puppy for WPA/TKIP? Not WPA2. Is this correct?
No WPA2 should work fine. That's what I use in my setting. Some AP may have problems though. You can see if the 2.6.31 kernel (is in extra_pets folder) behaves better with your access point (in some cases it does). If not you can uninstall the pet and go back to the original kernel.
Mark S. wrote:Also, the webcam utility (WxWebcam ?) doesn't seem to work. Is that normal?
Yes wxCam can not estimate frame-rate correctly, so the movies are out of sync. The XO does not have the processing capacity required.
Motion detection and pictures should be fine though. Also for pictures you may want to change the size to 640x480 so they look nicer. In this size though the video is really slow.
== [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:

#128 Post by 01micko »

I compiled guvcview (http://guvcview.berlios.de/) which seems like a nice simple webcam app. I did very limited testing on the XO-1, seems to work ok. See the second post on the first page of this thread.

I should be able to test on the XO-1.5 tomorrow or the next day, 8)

Cheers
Puppy Linux Blog - contact me for access

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

#129 Post by mavrothal »

01micko wrote:I compiled guvcview (http://guvcview.berlios.de/) which seems like a nice simple webcam app.
Yes it is :D
needs some changes in th configuration that is too ambitious for the XO :D
I specifically changed in /root/.guvcviewrc

Code: Select all

avi_max_len=19922944 #20MB (~2min) instead of the default 2GB
resolution='320x240' # to make file smaller and easier to process
fps='1/15' # 1/25 results in too many dropped frames and out of sync
Does it uses any of the wxCam libraries and dependencies? They are a hefty ~5MB. Particularly libwxgtk and libwxbase. Going with guvcview could get the sfs in the mid 80s :shock:
== [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

#130 Post by Mark S. »

mavrothal wrote: Yes wxCam can not estimate frame-rate correctly, so the movies are out of sync. The XO does not have the processing capacity required.
Motion detection and pictures should be fine though. Also for pictures you may want to change the size to 640x480 so they look nicer. In this size though the video is really slow.
Maybe I just don't know how to use it. All it shows me is a white box with a couple non-descript buttons. No pre-image. Is there a button I should hit? Will it start to show preview images automatically? How long should I expect to wait between bringing it up and seeing something happen?

Thanks!
Mark

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

#131 Post by mavrothal »

Mark S. wrote:Maybe I just don't know how to use it. All it shows me is a white box with a couple non-descript buttons. No pre-image. Is there a button I should hit? Will it start to show preview images automatically? How long should I expect to wait between bringing it up and seeing something happen?
Mark
the image in the window should come up immediately.
Does your camera work OK? How is it in Sugar?
Or you can do a hardware test from the OFW by pressing the left side of rocker key during startup
The XO camera tends to dislodge the connection ribbon, particularly if you are using the vertical USB port often enough. The camera sits on it!
== [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

#132 Post by Mark S. »

mavrothal wrote: Mark
the image in the window should come up immediately.
Does your camera work OK? How is it in Sugar?
Or you can do a hardware test from the OFW by pressing the left side of rocker key during startup
The XO camera tends to dislodge the connection ribbon, particularly if you are using the vertical USB port often enough. The camera sits on it!
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?

On another note, I made a swap file and put on a card in the card slot. I made entries in FSTAB -- one to mount the card on /mnt/swap and the other to turn on the swap. These worked fine from the command line, but didn't turn on during boot. Then I took a chance and repartitioned the SD card and gave it a 256 Meg swap partition. PL recognized this on boot-up. Having the swap seems to have gotten rid of the out-of-memory errors.

Thanks,
Mark

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

#133 Post by mavrothal »

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. I have done this 5-6 times but unfortunately does not last for long when it gets down this road :( . Avoid using the vertical USB slot if you fix it, so will last for a while.
Mark S. wrote:On another note, I made a swap file and put on a card in the card slot. I made entries in FSTAB -- one to mount the card on /mnt/swap and the other to turn on the swap. These worked fine from the command line, but didn't turn on during boot.
How exactly your /etc/fstab entry looks like?
should be something like that

Code: Select all

/path_to_file/filename none swap defaults 0 0
"/path_to_file/filename" should be where the swap file actually is. Not where you may mount it.
If you make the swap file with the "mkswap-file.sh" script you should not need to edit the fstab. Puppy should be able to find it automatically.
== [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

#134 Post by Mark S. »

mavrothal wrote:

Code: Select all

/path_to_file/filename none swap defaults 0 0
"/path_to_file/filename" should be where the swap file actually is. Not where you may mount it.
Do you mean the /dev/... path? Or ??
mavrothal wrote: If you make the swap file with the "mkswap-file.sh" script you should not need to edit the fstab. Puppy should be able to find it automatically.
I did a "find", and I tried running that command from the command line, but could not find/activate the script. Are you sure it was in this latest puppy? What is the path to the script?

Thanks!
Mark

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

#135 Post by 01micko »

Mark S.

The mkswap-file.sh is at /usr/sbin/mkswap-file.sh. You can find easily the path of executables in the system $PATH variable by using the "which" command.
Eg:

Code: Select all

#which mkswap-file.sh
/usr/sbin/mkswap-file.sh 
As it is in $PATH all you should need to do is type mkswap-file.sh in Sakura console.

In the initial welcome screen there is an icon offering to make a swapfile. I use it all the time. What I might do is add that functionality to the freeramdaemon.. that's the one giving you those warnings. A button there should make it easier.

HTH

Cheers

Done! see next post :arrow:
Last edited by 01micko on Tue 01 Mar 2011, 04:27, edited 1 time in total.
Puppy Linux Blog - contact me for access

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] ==

Post Reply