Re: 11.2.0 Test cases

2011-01-26 Thread Daniel Drake
On 25 January 2011 15:17, Samuel Greenfeld greenf...@laptop.org wrote:
 I am starting work on a set of test cases to use for the Fedora 14 x86
 (XO-1.0  1.5) 11.2.0 build.

 Currently I am drafting a list of generic test scenarios we may wish to
 consider testing.  That list is at http://wiki.laptop.org/go/Test_cases/11.2
 .  Feel free to make suggestions for additional things to test.

Thanks for coordinating this!

Anttitheft needs a complete retest, not just bits left over from last
time. It's always worth doing this on a big platform change, plus
we've made some initramfs adjustments.

XO-1.5 runin should be tested too.

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


11.2.0 development build 6 released

2011-01-26 Thread Daniel Drake
http://wiki.laptop.org/go/11.2.0

http://build.laptop.org/11.2.0/os6

Fixed bugs:

#10606  Virtual change sets XO-1.5 default resolution to 1200x1200

Most activities are back.



Thanks for the feedback and bug reports so far.

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


Re: [Sugar-devel] prevent screen rotation in a sugar activity?

2011-01-26 Thread Erik Blankinship
On Mon, Dec 20, 2010 at 12:56 AM, Bakhtiar Mikhak mik...@mediamods.comwrote:

 The specific practical considerations on the XO to which I was referring
 has to do with the documented bug with xvimagesink and UI rotations. Even
 with the rest of the UI designed to handle rotations gracefully, this bug is
 a show stopper for us. However, the ability to disable UI rotations
 would allow us to offer a nice experience on the XO.



Is there really no way to know when the Record activity is upside down on
the 10.1.3 xo (and as a result xvimagesink in the wrong place)?
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Feature requests for 11.2.0 - seeking deployment and community input

2011-01-26 Thread Daniel Drake
Hi,

OLPC recently announced the development of a major new OLPC OS release
for XO-1 and XO-1.5:
http://wiki.laptop.org/go/11.2.0

We are seeking feedback and ideas from the community for feature
requests for the upcoming feature development stage. Feedback from
other parts of the community is welcome too.

We're particularly interested in things that would make a big
difference for deployments, solve big in-the-field challenges, etc.

Please post any ideas here, and they'll be considered when we come to
plan which features we'll aim to include.

Features includes anything on the software level, really. From
activities and UI to low-level system stuff. To give some examples,
here's a selection of items from the last time that a feature plan was
constructed:
http://wiki.laptop.org/go/Feature_roadmap/Page_of_all_features_that_target_9.1.0

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


Re: 11.2.0 development build 6 released

2011-01-26 Thread Daniel Drake
On 26 January 2011 15:02, Daniel Drake d...@laptop.org wrote:
 http://wiki.laptop.org/go/11.2.0

 http://build.laptop.org/11.2.0/os6

Forgot to mention, there are some small changes in XO-1.5 output.
ZD files now include the target card size in the extension rather than
the prefix part of the filename.
e.g. os6-2g.zd is now os6.zd2

Also, the .disk.img files aren't produced by default any more. These
files were for installing on SD cards with dd from Linux, used
heavily before fs-update existed, but I suspect nobody uses them any
more. If that assumption is wrong, please speak up and we can generate
them by default again.
(olpc-os-builder still produces them when an option is enabled, so the
barrier is not high if someone needs one on a one-off basis)

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


Re: 11.2.0 Test cases

2011-01-26 Thread Hal Murray

greenf...@laptop.org said:
 I am starting work on a set of test cases to use for the Fedora 14 x86
 (XO-1.0  1.5) 11.2.0 build.

Neat/thanks.


How about making a list of IO devices that are likely to be used with a XO 
and making sure they each get at least a quick test?


It's probably worth collecting recipes that were used to demonstrate old 
bugs.  The idea is that bugs tend to be in tricky sections of code and 
running the recipe again after the usual development churn is likely to 
tickle a new bug in the same area.  It's a lot of work, but my experience 
many years ago was that it was embarrassingly effective.

Is there a UI capture/replay mechanism?  That might allow automating lots of 
testing.



-- 
These are my opinions, not necessarily my employer's.  I hate spam.



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


Re: [OLPC-AU] hwclock accuracy

2011-01-26 Thread Jerry Vonau
On Thu, 2011-01-20 at 14:40 -0500, Martin Langhoff wrote:
 On Thu, Jan 20, 2011 at 8:02 AM, Sridhar Dhanapalan
 srid...@laptop.org.au wrote:
  We've actually disabled the /sbin/hwclock --systohc in our latest
  build (probably to be released tomorrow).
 
 If you are spinning your own build, ensure ntpdate is installed. That
 should help significantly.
 
 cheers,
 

That actually makes things worse, try installing ntpdate and run it with
the stock /etc/adjtime file, now the real time clock is set to localtime
as that is the first time hwclock is run.

http://osdir.com/ml/fedora-olpc-list/2009-08/msg00102.html

http://dev.laptop.org/ticket/9705

Jerry


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


Re: Feature requests for 11.2.0 - seeking deployment and community input

2011-01-26 Thread John Gilmore
 Please post any ideas here, and they'll be considered when we come to
 plan which features we'll aim to include.

Well, the obvious one is to actually implement the real idle suspend
that happens in between keystrokes, turning off the CPU to save massive
amounts of power, while keeping the screen as it was.  This was
targeted for 9.1.0:

  
http://wiki.laptop.org/go/Feature_roadmap/Page_of_all_features_that_target_9.1.0#Feature_roadmap.2FImproved_battery_life

but it isn't clear how many of the numerous requirements actually
got done.  This particular bit is requirement 15 in the Improved
battery life feature.

This is one of the laptop's key innovations, designed to save massive
power, allowing kids to use their laptops all day, even with the small
and cheap battery that's designed in.  It required significant
rethinking, engineering, and testing of the hardware (DCON, etc)
compared to other laptops, and OLPC actually did that.  And yet to
this day the software that would implement it for end users has never
been delivered.

John

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


Re: Feature requests for 11.2.0 - seeking deployment and community input

2011-01-26 Thread Jon Nettleton
On Wed, Jan 26, 2011 at 5:01 PM, John Gilmore g...@toad.com wrote:
 Please post any ideas here, and they'll be considered when we come to
 plan which features we'll aim to include.

 Well, the obvious one is to actually implement the real idle suspend
 that happens in between keystrokes, turning off the CPU to save massive

I think one of the main things that need to happen that is indirectly
referenced on that wki page is implementing a kernel mode setting
driver.  This should help a lot with screen and cursor suspend/resume
speed and state consistency.  We are working on getting that
functionality implemented for the next release.

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


Re: [Sugar-devel] prevent screen rotation in a sugar activity?

2011-01-26 Thread Jon Nettleton

 Is there really no way to know when the Record activity is upside down on
 the 10.1.3 xo (and as a result xvimagesink in the wrong place)?


Your question is a bit unclear so here are a few scenarios and answers.

If you are looking to query what the current rotation of the screen is
then you could use a python module like python-xrandr to query that
property.  Of course you could also get the dimensions of the gdk
screen and compare width to height to gather that info as well.

To know when a screen has changed you will need to attach a function
to the  GdkScreen's size-changed signal.  Once you get that signal
you could use either of the above methods to figure out the rotation
and re-layout appropriately.

There is nothing specific within Gdk that allows you to request a
screen orientation.  It has been a while but I believe that the Maemo
guys added a window property that could be set to force a specific
rotation.  This could probably be implemented in sugar if really
necessary.

If you wait just a little while longer we are finishing the bits to get
accelerated xvideo rotation finished.

I hope one or all of these suggestions helps you fix your problem

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


Re: [OLPC-AU] hwclock accuracy

2011-01-26 Thread James Cameron
On Wed, Jan 26, 2011 at 06:09:02PM -0600, Jerry Vonau wrote:
 That actually makes things worse, try installing ntpdate and run it with
 the stock /etc/adjtime file, now the real time clock is set to localtime
 as that is the first time hwclock is run.
 
 http://osdir.com/ml/fedora-olpc-list/2009-08/msg00102.html
 
 http://dev.laptop.org/ticket/9705

http://dev.laptop.org/ticket/10605 in particular.

Until these problems are fixed, please change your build; remove
/etc/adjtime from /etc/rwtab, change the third line of /etc/adjtime to
be UTC, copy the zoneinfo file for to /etc/localtime, install ntpdate,
and write a script in /etc/NetworkManager/dispatcher.d/99-ntpdate 

#!/bin/sh
if [ $2 = up ]; then
  ntpdate ${YOUR_NTP_SERVER}  \
hwclock --systohc
fi

This will attempt to synchronise the time when the laptop connects to
infrastructure wireless.  (It can't be done at boot by
/etc/init.d/ntpdate because there is no network connection then).

You will also need to set timezone in Sugar, since it ignores
/etc/localtime.  Setting it in /etc/localtime is not enough.  GNOME and
text console timezone are correct.

Choose an appropriate NTP server.  pool.ntp.org might not be the best
for a large population of school based laptops.

Consider a longer timeout for ntpdate.  The default may not be suitable
for a class of laptops on a shared wet string.

The above tested on os860.

To read the RTC in OpenFirmware:

ok select /rtc get-time decimal .s

The values are least significant first.

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


Re: foot power

2011-01-26 Thread Carlos Nazareno
Hey guys.

I haven't taken that much look into foot pedal chargers and do know
what their internals look like -- I just remembered coming across the
link I posted so I shared The efficient way to do a foot pedal powered
generator would probably be to have a small weighted wheel spin as a
dynamo when you step on it?

You just keep pumping on the pedal to keep the wheel spinning and it
shouldn't take much effort, the wheel's momentum should keep power
flowing.

I have a small LED camping flashlight that does the same thing.
There's a push grip on the side, and then when you squeeze it, it
makes a wheel inside spin to generate power and it's pretty easy to
use.

Yep, raising your thigh with your toes down and stepping down with
your heel is so much easier than pumping with the foot muscles.

It doesn't take much effort and a number of people I know do it when
they're excitedly thinking or discussing stuff when brainstorming
while sitting down - push leg up with ball of foot, step down with
heel.

Well, how about this ridiculous idea?

Hanging out in friends having fun thinking of hypothetical situations,
one subject that came up was What if... we strap kinetic energy
harvesting generators to kids when recess starts, then just letting
them loose in the playground and put all energy to good use? -
kinetic harvesters connected to small batteries to be charged, to be
collected after playtime :)

http://www.engadget.com/2008/06/24/oranges-dance-charge-finally-makes-dance-meaningful
(I don't know what the internals of that thing look like)

Anyway, basically, kids have so much energy and just it up when they
run around having fun. Why not tap that as a power source?

Q: how much power would something like that be able to harvest if you
strap a few of them to someone playing basketball for 2 hours?

Ideal placement would be angle and wrists as those will have the most
motion. One of the bigger problems of that set up I think is that the
forearms and feet generate so much force when rapidly changing
directions that the device would break. (one I'm thinking of is
something like one of my other camping flashlights - has a magnet in
the middle, generates power when you shake it  the magnet moves up
and down the tube).

-Naz

-- 
carlos nazareno
http://twitter.com/object404
http://www.object404.com
--
core team member
phlashers: philippine flash actionscripters
http://www.phlashers.com
--
poverty is violence
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [OLPC-AU] hwclock accuracy

2011-01-26 Thread Jerry Vonau
On Thu, 2011-01-27 at 15:30 +1100, James Cameron wrote:
 On Wed, Jan 26, 2011 at 06:09:02PM -0600, Jerry Vonau wrote:
  That actually makes things worse, try installing ntpdate and run it with
  the stock /etc/adjtime file, now the real time clock is set to localtime
  as that is the first time hwclock is run.
  
  http://osdir.com/ml/fedora-olpc-list/2009-08/msg00102.html
  
  http://dev.laptop.org/ticket/9705
 
 http://dev.laptop.org/ticket/10605 in particular.
 
 Until these problems are fixed, please change your build; remove
 /etc/adjtime from /etc/rwtab, change the third line of /etc/adjtime to
 be UTC, copy the zoneinfo file for to /etc/localtime, install ntpdate,
 and write a script in /etc/NetworkManager/dispatcher.d/99-ntpdate 
 
 #!/bin/sh
 if [ $2 = up ]; then
   ntpdate ${YOUR_NTP_SERVER}  \
 hwclock --systohc
 fi
 
 This will attempt to synchronise the time when the laptop connects to
 infrastructure wireless.  (It can't be done at boot by
 /etc/init.d/ntpdate because there is no network connection then).
 
 You will also need to set timezone in Sugar, since it ignores
 /etc/localtime.  Setting it in /etc/localtime is not enough.  GNOME and
 text console timezone are correct.
 

https://dev.laptop.org.au/projects/xo-au/repository

Well on the way, thanks for the heads up for /etc/rwtab

 Choose an appropriate NTP server.  pool.ntp.org might not be the best
 for a large population of school based laptops.
 
 Consider a longer timeout for ntpdate.  The default may not be suitable
 for a class of laptops on a shared wet string.
 
 The above tested on os860.
 
 To read the RTC in OpenFirmware:
 
   ok select /rtc get-time decimal .s
 
 The values are least significant first.
 
Thanks again,

Jerry



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


[Server-devel] xs-activity-server dotted versions

2011-01-26 Thread Martin Langhoff
On Mon, Jan 24, 2011 at 3:53 PM, Jerry Vonau jvo...@shaw.ca wrote:
 If I revert this patch, I get the webpage to render the first time
 running /usr/bin/xs-regenerate-activities 
 /library/xs-activity-server/activities

 http://dev.laptop.org/git/users/martin/xs-activity-server.git/commit/?id=bd34ebabbe78971c82dfd909fdfa01939e521cda

Right, but then the bug comes back -- 2 is larger than 199.
Working on this --


m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- Software Architect - OLPC
 - 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


Re: [Server-devel] xs-activity-server dotted versions

2011-01-26 Thread Martin Langhoff
On Wed, Jan 26, 2011 at 11:41 AM, Martin Langhoff
martin.langh...@gmail.com wrote:
 On Mon, Jan 24, 2011 at 3:53 PM, Jerry Vonau jvo...@shaw.ca wrote:
 If I revert this patch, I get the webpage to render the first time
 running /usr/bin/xs-regenerate-activities 
 /library/xs-activity-server/activities

 http://dev.laptop.org/git/users/martin/xs-activity-server.git/commit/?id=bd34ebabbe78971c82dfd909fdfa01939e521cda

 Right, but then the bug comes back -- 2 is larger than 199.
 Working on this --

Fixed and in olpcxs-testing repo for XS-0.6 users.

It was a bit more involved than initially thought. That lambda line is ugly.

http://dev.laptop.org/git/users/martin/xs-activity-server.git/commit/?h=f9/masterid=ded0039541292d6d8a23966900916ba3a68aca56

cheers,



m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- Software Architect - OLPC
 - 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


[Server-devel] Adding puppet to the school server.

2011-01-26 Thread David Farning
Hey all,

I just wanted to give everyone a heads up that Activity Central [1] is
going to start working on a Dextrose Server project.  For a little
background, Dextrose [2] is Activity Central's primary product.
Dextrose is based on upstream OLPC OS and Sugar.  Most of what we do
is a is a patch set on top of OLPC's repositories.  These patches are
submitted upstream for acceptance or rejection.  The primary benefit
of this is that it changes the emphasis of the development model from
discussing how fixes or features _should_ be implemented to reviewing
how a patch _solved_ a particular problem.

Our initial effort will be to create puppet modules to enable
deployments to remotely maintain and configure school servers.

From a schools point of view, a School Server is a black box which
provides various services including:
1. security --
2. proxy --
3. backup --
4. collaboration --

Our initial goal will be create puppet modules to setup and maintain
these key services.

As a matter of work flow all of our work will be available as patches
to upstream XS.6 andor XS.7.

davidA



1. http://activitycentral.com/
2. http://wiki.sugarlabs.org/go/Dextrose
3. http://www.puppetlabs.com/
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] xs-activity-server dotted versions

2011-01-26 Thread Martin Langhoff
On Wed, Jan 26, 2011 at 4:59 PM, Jerry Vonau jvo...@shaw.ca wrote:
 Yea thanks, just was looking at the git repo. Having 2 versions of the
 activity still rendered showing as link to the older version under the
 latest version, thought that was enough.

I don't fully understand. With my latest commit  rpm on f9, do you
get the desired behaviour?

 Any chance of getting F11 rpms up too?

No longer building for F11, sorry, but the F9 repo has an srpm that'll
rebuild correctly.

cheers,


m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- Software Architect - OLPC
 - 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


Re: [Server-devel] xs-activity-server dotted versions

2011-01-26 Thread Jerry Vonau
On Wed, 2011-01-26 at 17:55 -0500, Martin Langhoff wrote:
 On Wed, Jan 26, 2011 at 4:59 PM, Jerry Vonau jvo...@shaw.ca wrote:
  Yea thanks, just was looking at the git repo. Having 2 versions of the
  activity still rendered showing as link to the older version under the
  latest version, thought that was enough.
 
 I don't fully understand. With my latest commit  rpm on f9, do you
 get the desired behaviour?

I have not tested your rpm yet. With the one line change I got the
attached webpage source. The acid test would be to have more than the
KEEP_OLD_VERSIONS around to see if the pruning is done correctly.
I'll report back in a bit.

Jerry   
html
body
h1 id=olpc-activity-group-nameLocally available activities/h1
p id=olpc-activity-group-descThese activities are stored on the school 
server./p
div class=olpc-activity-info
h2Backup/h2

ul
 liIdentifier: span class=olpc-activity-idorg.sugarlabs.Backup/span/li
 liVersion: span class=olpc-activity-version4/span/li

 liURL: span class=olpc-activity-urla 
href=backup-4.xobackup-4.xo/a/span/li
 li style=display: noneOlder versions: /li
/ul
/div

div class=olpc-activity-info
h2Browse/h2

ul
 liIdentifier: span 
class=olpc-activity-idorg.laptop.WebActivity/span/li

 liVersion: span class=olpc-activity-version108.4/span/li
 liURL: span class=olpc-activity-urla 
href=Browse-108.4.xoBrowse-108.4.xo/a/span/li
 li style=display: inlineOlder versions: a 
href=Browse-108.2.xo108.2/a/li
/ul
/div

div class=olpc-activity-info
h2IRC/h2

ul
 liIdentifier: span class=olpc-activity-idorg.sugarlabs.IRC/span/li
 liVersion: span class=olpc-activity-version8/span/li
 liURL: span class=olpc-activity-urla 
href=irc-8.xoirc-8.xo/a/span/li
 li style=display: noneOlder versions: /li

/ul
/div

div class=olpc-activity-info
h2Restore/h2

ul
 liIdentifier: span 
class=olpc-activity-idorg.sugarlabs.Restore/span/li
 liVersion: span class=olpc-activity-version3/span/li
 liURL: span class=olpc-activity-urla 
href=restore-3.xorestore-3.xo/a/span/li

 li style=display: noneOlder versions: /li
/ul
/div

/body
/html

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel