Ubuntu installed on OLPC XO

Feb 29, 2008 02:56

Thanks to several sources (wiki.laptop.org Ubuntu installation, wiki.laptop.org XFce, and OLPC News forums), I managed to get Ubuntu working on my OLPC.

The instructions were pretty straightforward, but the process wasn't entirely painless for me so I thought I'd post a few tips:
  1. 2G is absolutely fine. My Ubuntu installation with XFce takes up ( Read more... )

ubuntu olpc

Leave a comment

Comments 1

Battery issue rico99 September 23 2008, 05:18:06 UTC
I have the same problem with hal-device not showing the charge level. However, the following does seem to work:

olpc# more /sys/devices/platform/olpc-battery.0/power_supply/olpc-battery/status
Discharging

olpc# more /sys/devices/platform/olpc-battery.0/power_supply/olpc-battery/capacity
92

So there's probably some missing mojo with hal-device. Anyway, here's the perl script I put together to go with genmon:

#! /usr/bin/perl

$per = `cat /sys/devices/platform/olpc-battery.0/power_supply/olpc-battery/capac
ity`;
$status = `cat /sys/devices/platform/olpc-battery.0/power_supply/olpc-battery/st
atus`;

chomp($per);
chomp($status);

if ($status eq "Discharging") {
$s = "-";
} elsif ($status == "Charging") {
$s = "+";
}
print "$s", "$per", "%";

Have fun!

Reply


Leave a comment

Up