Re: olpc-os-builder [PATCH] add a Quick Start to README and reformat

2010-01-05 Thread Daniel Drake
On Tue, 2010-01-05 at 13:50 +1100, James Cameron wrote:
 Tested olpc-os-builder on Fedora 11, and documented the steps required
 to produce a build in a Quick Start section of the README.

Thanks, but I'm not so sure about getting users to run make install
since that will put things in /usr rather than /usr/local.

It's possible to use olpc-os-builder without installing it, so the
instructions could be modified that way, but it's probably best to wait
for Fedora inclusion:
https://bugzilla.redhat.com/show_bug.cgi?id=551411

in which case the instructions become a lot simpler.

If that doesn't get completed this week, perhaps its something you could
take over.

cheers
Daniel


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Battery LED flashing

2010-01-05 Thread Richard A. Smith
On 01/02/2010 06:48 PM, Tabitha Roder wrote:

 resulted. We left it plugged in overnight and it appears to have charged
 normally and the battery now runs the laptop (when it was doing the
 flashing charge, the laptop would switch off immediately when you unplug
 the charger).

 http://wiki.laptop.org/go/Power_management#Battery_LED indicates
 flashing on charge means trickle charging. Sadly we didn't find this
 page when it was happening so cannot fully confirm it was flashing
 orange and with the 4 blinks, pause pattern.

I've updated troubleshooting guide to include the flashing yellow state.

The only thing that causes the charge LED to blink is trickle and error. 
  Flashing red is error so it was trickle.

'watch-battery' from the ofw ok prompt will also tell you trickle for 
the status when its trickle charging.

 This page also doesn't give
 any clues as to why a battery might be trickle charging.

Battery trickles when the voltage on the battery is  5.4V.  This can 
occur if the battery is stored for a long time or if its installed in a 
(powered off) XO for  30-50 days.  There is a small power drain even 
when the XO is turned off.

 http://wiki.laptop.org/go/Hardware_specification#Battery suggests that
 the battery has a Maxim DS2756
 http://wiki.laptop.org/images/e/e9/DS2756.pdf chip in it, but this
 chip only monitors one cell, so I guess there are two such chips?

No, the Cells are in series.  The sensor chip measures the voltage 
across both of them.  Overvoltage  undervoltage are monitored /cell by 
the safety monitor but there's no communication to that chip.

 The
 /sys interface only gives information about the whole battery, it
 doesn't tell you about the state of each cell.
 The specification pdf on
 the Hardware_specification page describes the Embedded Controller
 interface to the operating system in terms of Battery, not Cell so I
 guess it doesn't expose each cell either?

The /cell info is not exposed because there's nothing available to 
expose and there's not much to do if they were.  There's only one path 
to the battery.  To do anything special you would need independent 
charging paths.

-- 
Richard A. Smith  rich...@laptop.org
One Laptop per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [olpc-nz] Battery LED flashing

2010-01-05 Thread Richard A. Smith
On 01/03/2010 07:20 AM, Martin Langhoff wrote:

 the behavious sounds exactlt like a case of trickle charge. This
 triggers when the batt charge is so low that we cannot charge it (or
 measure it). When it happens, it's ususlly because a batt has not
 been used for a while.

The batteries are actually ok.  Trickle charge is the result of the way
the XO-1 power system is designed.  There is no dedicated battery 
charger IC.  The battery is connected directly to the main voltage rail. 
  The result of this that when you turn on the charging mosfet your 
system rail = battery voltage.  On XO-1 if you try to charge a battery 
that's dropped to a really low level you don't have enough headroom for 
the rest of the voltage regulators to work and the system dies.  So we 
bring the voltage back up gently to a level we can deal with before 
opening the electron flood gates.

 In terms of getting more low level info, get your hands  on a script
 called batman.fth (it's somewhere in the wiki ;-) )

http://wiki.laptop.org/go/XO_Troubleshooting_Battery#batman.fth

 logs of the batt levels per cell, and you can read it/change it.

batman.fth does not do anything per cell.  There's no user serviceable 
parts per cell in the OLPC battery.

-- 
Richard A. Smith  rich...@laptop.org
One Laptop per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: 8.2.2 Beta-1test request

2010-01-05 Thread Martin Langhoff
On Sat, Jan 2, 2010 at 9:34 AM, Mikus Grinbergs mi...@bga.com wrote:
 The 802B1 build does not include package libv4l.  I had to manually
 install that package in order to be able to watch movies.

The original 802 build did not include v4l, and there does not seem to
be any bug filed related to it being missing.

These 802B builds are to fix key bugs in the (now old) 802.

cheers,



m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


New XO-1.5 10.2.0 build 104

2010-01-05 Thread Chris Ball
http://wiki.laptop.org/go/F11_for_1.5
http://build.laptop.org/10.2.0/os104

Compressed image size: 702.24mb (+0.20mb since build 103)

Description of changes in this build:
 * Include Q3A26
 * Fix for olpc-update contents verification (#9948)

Package changes since build 103:

-bitfrost-1.0.5-1.fc11.i586
+bitfrost-1.0.6-1.fc11.i586
-bootfw-q3a25-1.unsigned.i386
+bootfw-q3a26-1.unsigned.i386
-kernel-2.6.31_xo1.5-20100104.1240.1.olpc.1774bf2.i586
+kernel-2.6.31_xo1.5-20100104.2310.1.olpc.c0eb4f9.i586
-kernel-firmware-2.6.31_xo1.5-20100104.1240.1.olpc.1774bf2.i586
+kernel-firmware-2.6.31_xo1.5-20100104.2310.1.olpc.c0eb4f9.i586
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: olpc-os-builder [PATCH] add a Quick Start to README and reformat

2010-01-05 Thread James Cameron
On Tue, Jan 05, 2010 at 10:45:10AM +, Daniel Drake wrote:
 Thanks, but I'm not so sure about getting users to run make install
 since that will put things in /usr rather than /usr/local.

make apparently does nothing, and the README at the time said to use
the olpc-os-builder command, so a make install was implied.

make install should really use /usr/local or DESTDIR.

Duplicating the documentation for the two different use-cases is
probably the right thing to do.
 
-- 
James Cameron
http://quozl.linux.org.au/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: olpc-os-builder [PATCH] add a Quick Start to README and reformat

2010-01-05 Thread Daniel Drake
On Wed, 2010-01-06 at 07:24 +1100, James Cameron wrote:
 On Tue, Jan 05, 2010 at 10:45:10AM +, Daniel Drake wrote:
  Thanks, but I'm not so sure about getting users to run make install
  since that will put things in /usr rather than /usr/local.
 
 make apparently does nothing, and the README at the time said to use
 the olpc-os-builder command, so a make install was implied.

make is needed to compile the support binaries.

The README was written in preparation for being installed as the fedora
package, and is already used for that purpose at
https://bugzilla.redhat.com/show_bug.cgi?id=551411

 make install should really use /usr/local or DESTDIR.

It already supports DESTDIR but olpc-os-builder itself doesnt support
being run in installed mode in anything other than /usr
(this could be fixed, but its probably not worth it. lets just focus on
the Fedora efforts...)

Daniel


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Android, OLPC, and native hosting

2010-01-05 Thread C. Scott Ananian
On Sat, Jan 2, 2010 at 2:09 PM, Mikus Grinbergs mi...@bga.com wrote:
 Speaking of android, has anyone heard anything about google's other OS, 
 chrome OS?

 Installed Chrome OS on my XO-1.5 when I was using os64 - the install
 pulled in a whole barnful of dependencies.  Did not find Chrome
 impressive - but it probably is the most capable HTML5 implementation
 currently available.  What I noticed most was that the Menu Bar was
 rudimentary, with the entire screen sometimes being used instead of
 palettes.  This was a beta - performance quite humdrum.  On the XO,
 Opera is noticeably faster.

I've installed Chrome OS, and wasn't terribly impressed by either its
performance or its feature set.  Again, it was a beta, and the build I
used from from some random site, maybe wasn't a good build.

What *I* was interested to see is that all the webbooks (Chrome,
Android, Litl) are using the one full screen window model which OLPC
got such grief for.  Chrome OS has a slight variation, with floating
detachable subwindows, I think.  I think there's room for solid
innovation here, especially since the window manager of sugar was *my*
personal roadblock to productive on-XO activity development.

I think this thread has wandered off into non-productivity.  I
encourage anyone interested to port Android to XO hardware and/or try
to get good education tools working on Android.  I'll also plug Google
Wave here, since I think it's a good start at a robust and
standardized infrastructure for the collaborative model Sugar aspires
to.

Happy hacking!
 --scott

-- 
 ( http://cscott.net/ )
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


New release of F11 for the XO-1 - Build11

2010-01-05 Thread Steven M. Parrish
This is the first release created with a new build system created by Daniel 
Drake.  This new system can create builds for the XO-1 and XO-1.5.

Known issues:

Keyboard and mouse will not wakeup from sleep.  Can be fixed by disabling 
power management in Sugar.

Camera still does not work

You can get it here  http://dev.laptop.org/~smparrish/XO-1/builds/OS11

Issues can be filed @ http://dev.laptop.org/newticket

Steven
-- 
 =
 Steven M. Parrish
 
-
 gpg fingerprint: 4B6C 8357 059E B7ED 8095 0FD6 1F4B EDA0 A9A6 13C0
 http://tuxbrewr.fedorapeople.org/
 irc.freenode.net: 
Nickname: SMParrish 
Channels: #fedora-kde, #fedora-olpc, #fedora-edu, #sugar, #packagekit
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: New release of F11 for the XO-1 - Build11

2010-01-05 Thread John Gilmore
 Keyboard and mouse will not wakeup from sleep.  Can be fixed by disabling 
 power management in Sugar.

Is there any reason for cutting release after release that don't work
unless end users disable power management (sometimes twice!)?

Surely if you can't fix the bugs, you could at least ship the release
with power management disabled by default, so it works out of the box.
Or, one step up from that, have it figure out which hardware it can
reliably suspend on, and only have it enable suspend by default on
that hardware.

John
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: olpc-os-builder [PATCH] add a Quick Start to README and reformat

2010-01-05 Thread James Cameron
On Tue, Jan 05, 2010 at 09:25:13PM +, Daniel Drake wrote:
 On Wed, 2010-01-06 at 07:24 +1100, James Cameron wrote:
  On Tue, Jan 05, 2010 at 10:45:10AM +, Daniel Drake wrote:
   Thanks, but I'm not so sure about getting users to run make install
   since that will put things in /usr rather than /usr/local.
  
  make apparently does nothing, and the README at the time said to use
  the olpc-os-builder command, so a make install was implied.
 
 make is needed to compile the support binaries.

It does nothing.  If you then proceed to do a build, many minutes later
you get evidence you haven't built the support binaries:

Checksum tree tarball...
 * Running part postimage sd_card_image postimage.50.makezd.sh...
Making ZD image for os1003...
/sdb/src/olpc-os-builder/modules/sd_card_image/postimage.50.makezd.sh: line 23: 
/sdb/src/olpc-os-builder/bin/zhashfs: No such file or directory
 * Caught error, cleanup and then bail out.
 * Running part cleanup base cleanup.50.cleanup.sh...
 * Running part cleanup buildnr_from_file cleanup.50.write_buildnr.sh...
ERROR: Failure in PostImageStage: module sd_card_image, part 
postimage.50.makezd.sh, error code 1

The workaround is to do make install, and then ignore the installed files.

-- 
James Cameron
http://quozl.linux.org.au/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Server-devel] ejabberdctl.template patches

2010-01-05 Thread Martin Langhoff
Filed as

https://support.process-one.net/browse/EJAB-1152
https://support.process-one.net/browse/EJAB-1153

cheers - m

On Wed, Dec 30, 2009 at 6:22 PM, Martin Langhoff
martin.langh...@gmail.com wrote:
 Hi Badlop, developers,

 -- I think it is worth considering applying these 2 patches in
 ejabberd SVN. See below

 Make ejabberdctl work correctly when invoked by root (and improves on
 a Fedora patch that did it almost right):
 http://dev.laptop.org/git/users/martin/ejabberd-xs.git/tree/ejabberdctl_runuser_onlywneeded.patch?id=5f257b944d71c318bcf25a6da92ca60f4bc42c83

 Make concurrent calls to ejabberctl work correctly -- using a bound
 number of atoms:
 http://dev.laptop.org/git/users/martin/ejabberd-xs.git/tree/ejabberdctl_multiconnection.patch?id=5f257b944d71c318bcf25a6da92ca60f4bc42c83

 cheers,


 m
 --
  martin.langh...@gmail.com
  mar...@laptop.org -- School Server Architect
  - ask interesting questions
  - don't get distracted with shiny stuff  - working code first
  - http://wiki.laptop.org/go/User:Martinlanghoff




-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel