Puppylinux for the OLPC laptops: XOpup
batalarm_xo
With the aging XO batteries I though a battery alarm might be handy.
So I heavily modified Xbatalarm to suit the XOs.
The alarm is set at 15% battery level (at <10% the XO will auto shutdown)
If you want to change that limit, edit line 19 of the /usr/bin/xbatalarm_xo script
Will work with any puppy build for the XO-1 and the XO-1.5
So I heavily modified Xbatalarm to suit the XOs.
The alarm is set at 15% battery level (at <10% the XO will auto shutdown)
If you want to change that limit, edit line 19 of the /usr/bin/xbatalarm_xo script
Will work with any puppy build for the XO-1 and the XO-1.5
- Attachments
-
- batalarm.jpg
- Xbatalarm_xo on Precise-5.5 for the XO
- (34.73 KiB) Downloaded 2396 times
-
- Xbatalarm-1.2_xo.pet
- Low battery alarm for the XOs
- (1.58 KiB) Downloaded 1141 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] ==
Precise 5.6.1 for the XOs
Not sure if anyone (in the wild) is still using Puppylinux on the XOs (or the XOs altogether ) but since I made it thought to post it.
So, if you like the latest and greatest ( ), here is Precise-5.6.1_XO
In addition to the latest puppy is also using the 3.3.x olpc kernels (instead of the 2.6.x of the previous versions).
Will update older Precise-5.x.x_XO installations but no the original or other "XOpups"
As usually, to install expand the tarball at the root of a USB stick or SDcard and boot your unlocked XO.
(The "mandatory" picture below shown a bunch of other goodies running on my XOs. Ask if interested)
So, if you like the latest and greatest ( ), here is Precise-5.6.1_XO
In addition to the latest puppy is also using the 3.3.x olpc kernels (instead of the 2.6.x of the previous versions).
Will update older Precise-5.x.x_XO installations but no the original or other "XOpups"
As usually, to install expand the tarball at the root of a USB stick or SDcard and boot your unlocked XO.
(The "mandatory" picture below shown a bunch of other goodies running on my XOs. Ask if interested)
- Attachments
-
- precise-5.6.1.jpg
- (24.77 KiB) Downloaded 2197 times
Last edited by mavrothal on Fri 30 Aug 2013, 21:36, 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] ==
or the XOs altogether
Well, I just got my XO back out and look what I found!
Thanks.
Thanks.
Hey, sorry for what's almost certainly an incredibly stupid question, but how do I install Puppy Linux on an SD card that I already have a different version of Linux I no longer want on? Since there's already a boot folder at the root of the SD card, I booted Precise 5.6.1 from a USB stick and it worked great, but I'd like to install it straight onto the SD card instead. What would be the best way to do this? From what I understand, formatting an SD card is generally a bad idea.
If you want to keep your other linux just rename the boot folder. Puppy will live happily with it if you save to a file (not "save to the entire partition").157 wrote:Hey, sorry for what's almost certainly an incredibly stupid question, but how do I install Puppy Linux on an SD card that I already have a different version of Linux I no longer want on? Since there's already a boot folder at the root of the SD card, I booted Precise 5.6.1 from a USB stick and it worked great, but I'd like to install it straight onto the SD card instead. What would be the best way to do this? From what I understand, formatting an SD card is generally a bad idea.
Otherwise just "rm -rf" everything in the card and then you can do whatever you want.
No need to reformat.
== [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] ==
Alright, thank you, I'll try that!mavrothal wrote:If you want to keep your other linux just rename the boot folder. Puppy will live happily with it if you save to a file (not "save to the entire partition").157 wrote:Hey, sorry for what's almost certainly an incredibly stupid question, but how do I install Puppy Linux on an SD card that I already have a different version of Linux I no longer want on? Since there's already a boot folder at the root of the SD card, I booted Precise 5.6.1 from a USB stick and it worked great, but I'd like to install it straight onto the SD card instead. What would be the best way to do this? From what I understand, formatting an SD card is generally a bad idea.
Otherwise just "rm -rf" everything in the card and then you can do whatever you want.
No need to reformat.
One other thing, though, is that when I ran it off the USB stick I got an error saying there was no free memory left constantly, even when doing basic things like opening the file manager. Will that not be an issue with the SD card, or will I need to make a swap file? I'm hesitant to do so because it's quite a large capacity card and I don't want to burn it out.
Is really hard to run anything on the 250MB of XO-1 nowdays.157 wrote: One other thing, though, is that when I ran it off the USB stick I got an error saying there was no free memory left constantly, even when doing basic things like opening the file manager. Will that not be an issue with the SD card, or will I need to make a swap file? I'm hesitant to do so because it's quite a large capacity card and I don't want to burn it out.
If you do not want the messaging just remove the /root/Startup/freeramdaemon.sh file and will not bother you again.
Regarding swap and SDcards I have 2 cards with swap partition and 1 with swap file. The oldest is 4-years old and the youngest 2. No problems yet.
== [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] ==
Sorry for the late reply, I'm afraid I didn't have internet access for a few days.mavrothal wrote:Is really hard to run anything on the 250MB of XO-1 nowdays.157 wrote: One other thing, though, is that when I ran it off the USB stick I got an error saying there was no free memory left constantly, even when doing basic things like opening the file manager. Will that not be an issue with the SD card, or will I need to make a swap file? I'm hesitant to do so because it's quite a large capacity card and I don't want to burn it out.
If you do not want the messaging just remove the /root/Startup/freeramdaemon.sh file and will not bother you again.
Regarding swap and SDcards I have 2 cards with swap partition and 1 with swap file. The oldest is 4-years old and the youngest 2. No problems yet.
Would there be a risk of the computer being damaged via overheating or something of that nature if the warning messages were removed? I assumed that might be the case and stuck with the XO's default GNOME desktop in the past few days. Attempts to create a swap file on a smaller SD card using the instructions from a saved version of the OLPC wiki's "Swap" page were unsuccessful, unfortunately. Not quite sure why. I'd have tried a partition, but the proper tools didn't seem to be available. May have just missed them, though.
All XOs have builtin thermal protection. The XO-1 in particular does not overheat even when overclocked.157 wrote: Would there be a risk of the computer being damaged via overheating or something of that nature if the warning messages were removed? I assumed that might be the case and stuck with the XO's default GNOME desktop in the past few days. Attempts to create a swap file on a smaller SD card using the instructions from a saved version of the OLPC wiki's "Swap" page were unsuccessful, unfortunately. Not quite sure why. I'd have tried a partition, but the proper tools didn't seem to be available. May have just missed them, though.
Without the warning (and swap) the XO-1 will just run even slower but no harm will come to the machine.
To make a swap partition you can use gparted to re-partition your card. However you should know that SDcard partitioning can be tricky.
Alternativelly just choose "mkswap"when the warning comes up.
== [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] ==
Oh wow, really? That's great, I didn't know that.mavrothal wrote:All XOs have builtin thermal protection. The XO-1 in particular does not overheat even when overclocked.
Without the warning (and swap) the XO-1 will just run even slower but no harm will come to the machine.
To make a swap partition you can use gparted to re-partition your card. However you should know that SDcard partitioning can be tricky.
Alternativelly just choose "mkswap"when the warning comes up.
And I'll give partitioning with gparted a shot, thanks. I'm not expecting much success at this point, but might as well keeping trying.
Re: Precise 5.6.1 for the XOs
I'm still breaking it out from time to time. Thanks for the update Mavrothal!mavrothal wrote:Not sure if anyone (in the wild) is still using Puppylinux on the XOs
edit: I don't suppose you know how to change the backlight dimming level / time out? I'd like to see if the screen could blank to 'reflective' zero backlight mode (still this laptop's distinguishing feature).
edit2: Kernel headers? Hoping to compile some DVB tuner drivers for an ezcap RTL2832 i have lying around...
Re: Precise 5.6.1 for the XOs
Almost missed the edit...anthill wrote: edit: I don't suppose you know how to change the backlight dimming level / time out? I'd like to see if the screen could blank to 'reflective' zero backlight mode (still this laptop's distinguishing feature).
edit2: Kernel headers? Hoping to compile some DVB tuner drivers for an ezcap RTL2832 i have lying around...
Code: Select all
powerd-config
Manually you can do it from the XO buttons. They work! Use also the ctrl and alt modifiers with them
You can even reverse the colors using this pet
The headers are here.
Since I do not know which version you are uing I have bothe the 2.6 and th 3.3 headers of the XO-1 kernels (though should be OK for XO-1.5 too).
Last edited by mavrothal on Fri 13 Sep 2013, 18:33, 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] ==
XOpup for the XO-4
Here is the first development release of FatDog-ARM linux (a Puppy heritage "dog") for the ARM-based XO-4 and XO-1.75.
Is working fine on the XO-4 but there is no GUI for the XO-1.75 (for more on XO-1.75 problem see here)
Is intended mostly for developers ( there are not many "wild" XO_ARMs anyway).
At 300 MB has the full development tools, kerne- specific, X and all the other headers, git etc, with the usual assortment of puppy/fatdog apps.
To test/work/check it out, download fd-arm_a2_XO.tar.xz (md5sum:ae0f16950da130b7d50a484db4be662d), expand it at the root of a USB stick or SDcard and boot your XO-4 or XO-1.75.
Known Issues (besides the major XO-1.75 X problem):
- Touches are not recognized by X in XO-4 (but they are from the power management infrastructure)
Edit: To fix touchscreen open Gslapt and upgrade to the xf86-input-evdev-2.8.1git-armhf-2 package.
- Screen rotation does not work.
Edit: To fix rotation open Gslapt install xf86-video-dove-0.3.11xo4-armhf-1 and uprate to xorg-server-1.14.3
- The rocker pad keys are not recognized (the game keys are OK - Edit: now fixed. Fix will be in a3).
- The Wifi.sh connection tool crashes after wake up from suspend. Use it only for occasional/transient connections as it is much faster.
Use Classic Network Wizard for more permanent setting (is a bit laborious - see visual instructions if not familiar)
Report, better yet solve , any problems here (PM is fine too).
Oh... the customary screen shot
Edit Sep, 14: The tar.gz file might have been problematic and has been deleted. Please download the tar.xz file.
Is working fine on the XO-4 but there is no GUI for the XO-1.75 (for more on XO-1.75 problem see here)
Is intended mostly for developers ( there are not many "wild" XO_ARMs anyway).
At 300 MB has the full development tools, kerne- specific, X and all the other headers, git etc, with the usual assortment of puppy/fatdog apps.
To test/work/check it out, download fd-arm_a2_XO.tar.xz (md5sum:ae0f16950da130b7d50a484db4be662d), expand it at the root of a USB stick or SDcard and boot your XO-4 or XO-1.75.
Known Issues (besides the major XO-1.75 X problem):
- Touches are not recognized by X in XO-4 (but they are from the power management infrastructure)
Edit: To fix touchscreen open Gslapt and upgrade to the xf86-input-evdev-2.8.1git-armhf-2 package.
- Screen rotation does not work.
Edit: To fix rotation open Gslapt install xf86-video-dove-0.3.11xo4-armhf-1 and uprate to xorg-server-1.14.3
- The rocker pad keys are not recognized (the game keys are OK - Edit: now fixed. Fix will be in a3).
- The Wifi.sh connection tool crashes after wake up from suspend. Use it only for occasional/transient connections as it is much faster.
Use Classic Network Wizard for more permanent setting (is a bit laborious - see visual instructions if not familiar)
Report, better yet solve , any problems here (PM is fine too).
Oh... the customary screen shot
Edit Sep, 14: The tar.gz file might have been problematic and has been deleted. Please download the tar.xz file.
- Attachments
-
- newscreen.jpg
- fatdog-arm alpha 2 running on the XO-4
- (28.28 KiB) Downloaded 1524 times
Last edited by mavrothal on Mon 30 Sep 2013, 12:13, edited 8 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] ==
Re: Precise 5.6.1 for the XOs
Ah, sorry, I should have specified! I'm running the latest one:mavrothal wrote: The headers are here.
Since I do not know which version you are uing I have bothe the 2.6 and th 3.3 headers of the XO-1 kernels (though should be OK for XO-1.5 too).
Code: Select all
-Version-
Kernel : Linux 3.3.8_xo1-20130530.2216.olpc.f12d9e6_Aufs (i586)
Version : #1 PREEMPT Thu May 30 22:38:40 EEST 2013
C Library : GNU C Library version 2.15 (stable)
Distribution : Precise Puppy - 5.6.1
Thanks for the brightness daemon configuration tip - that does the trick all right.
Re: Precise 5.6.1 for the XOs
Might be some very minor changes (different git version) but better be safe.anthill wrote:[
Puppy package manager complains that the 3.3.8 pet is for the wrong kernel version - but that's just the date/time of build that differs, right?
Here is the correct ones both for the XO-1 and XO-1,5
== [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] ==
Re: Precise 5.6.1 for the XOs
Thanks Mavrothal! The package unpacks the headers into /usr/include/linux - is that the desired behavior? Most packages seem to look for /usr/src/linux-headers*.mavrothal wrote:better be safe.
Here is the correct ones both for the XO-1 and XO-1,5
Re: Precise 5.6.1 for the XOs
The kernel source goes in /usr/src .anthill wrote: Thanks Mavrothal! The package unpacks the headers into /usr/include/linux - is that the desired behavior? Most packages seem to look for /usr/src/linux-headers*.
Headers of (all kind) are going into /usr/include. If you load devx your see all the other header files there too.
If any problem you can symlink to wherever you want.
BTW which package is looking for headers in /usr/src?
== [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] ==
Which one is "this"?Ted Dog wrote:Does MESH networking WORK in this? I'm interested in turning my Mele into a WiFi Access point, like Byzantine Linux does..
Mesh networking is only available for the XO-1 wifi card. Other XO models do not have cards with this functionality. I have no idea if the MELE WiFi card supports mesh.
However, AFAIK mesh networking and turn it into wifi AP are different things, and again it depends on the wifi hardware of your machine.
== [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] ==