Page 14 of 16

batalarm_xo

Posted: Sat 20 Apr 2013, 06:35
by mavrothal
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

Precise 5.6.1 for the XOs

Posted: Fri 31 May 2013, 17:07
by mavrothal
Not sure if anyone (in the wild) is still using Puppylinux on the XOs (or the XOs altogether :shock: ) but since I made it thought to post it.
So, if you like the latest and greatest ( :P ), 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)

or the XOs altogether

Posted: Sat 15 Jun 2013, 12:31
by Shiseiji
Well, I just got my XO back out and look what I found!

Thanks.

Posted: Sat 15 Jun 2013, 21:41
by 157
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.

Posted: Sun 16 Jun 2013, 04:22
by mavrothal
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.
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").
Otherwise just "rm -rf" everything in the card and then you can do whatever you want.
No need to reformat.

Posted: Mon 17 Jun 2013, 23:26
by 157
mavrothal wrote:
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.
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").
Otherwise just "rm -rf" everything in the card and then you can do whatever you want.
No need to reformat.
Alright, thank you, I'll try that!

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.

Posted: Tue 18 Jun 2013, 05:04
by mavrothal
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.
Is really hard to run anything on the 250MB of XO-1 nowdays.
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.

Posted: Sun 23 Jun 2013, 23:38
by 157
mavrothal wrote:
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.
Is really hard to run anything on the 250MB of XO-1 nowdays.
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.
Sorry for the late reply, I'm afraid I didn't have internet access for a few days.

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.

Posted: Mon 24 Jun 2013, 04:42
by mavrothal
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.
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.

Posted: Wed 26 Jun 2013, 06:48
by 157
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.
Oh wow, really? That's great, I didn't know that.

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

Posted: Sat 07 Sep 2013, 18:40
by anthill
mavrothal wrote:Not sure if anyone (in the wild) is still using Puppylinux on the XOs
I'm still breaking it out from time to time. Thanks for the update Mavrothal!

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? :roll: Hoping to compile some DVB tuner drivers for an ezcap RTL2832 i have lying around...

Re: Precise 5.6.1 for the XOs

Posted: Thu 12 Sep 2013, 15:07
by mavrothal
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? :roll: Hoping to compile some DVB tuner drivers for an ezcap RTL2832 i have lying around...
Almost missed the edit...

Code: Select all

powerd-config
to configure timeouts and level
Manually you can do it from the XO buttons. They work! Use also the ctrl and alt modifiers with them :wink:
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).

XOpup for the XO-4

Posted: Thu 12 Sep 2013, 16:59
by mavrothal
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 :wink: , any problems here (PM is fine too).

Oh... the customary screen shot :P

Edit Sep, 14: The tar.gz file might have been problematic and has been deleted. Please download the tar.xz file.

Re: Precise 5.6.1 for the XOs

Posted: Fri 13 Sep 2013, 17:22
by anthill
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).
Ah, sorry, I should have specified! I'm running the latest one:

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
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?

Thanks for the brightness daemon configuration tip - that does the trick all right.

Re: Precise 5.6.1 for the XOs

Posted: Fri 13 Sep 2013, 18:33
by mavrothal
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?
Might be some very minor changes (different git version) but 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

Posted: Fri 13 Sep 2013, 19:13
by anthill
mavrothal wrote:better be safe.
Here is the correct ones both for the XO-1 and XO-1,5
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*.

Posted: Fri 13 Sep 2013, 19:27
by Ted Dog
Does MESH networking WORK in this? I'm interested in turning my Mele into a WiFi Access point, like Byzantine Linux does..

Re: Precise 5.6.1 for the XOs

Posted: Fri 13 Sep 2013, 19:32
by mavrothal
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*.
The kernel source goes in /usr/src .
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?

Posted: Fri 13 Sep 2013, 19:40
by mavrothal
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..
Which one is "this"?
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.

Posted: Fri 13 Sep 2013, 19:56
by Ted Dog
Oh, thanks, I must be behind on my XO knowledge, did not know they did way with MESH, the software MESH method used by BznLinux acts like a AP on all the boxes tested (all x86 worked, nicely). They have a version for RazPi so I guess an ARM version is do-able..