Re: power management

2007-03-30 Thread Jordan Crouse
On 29/03/07 23:48 -0500, Gopi P.M. wrote:
 Neat...
 So do you have a proc/sysfs interface to easily initiate suspend?

Same as everybody else - /sys/power/state.  It is very important for us
to keep as close to the standard interfaces as we possibly can.  There has
been far too much fragmentation in the past, and we don't want to be 
guilty of that crime.  We will have some new interfaces that are unique
to OLPC, but we'll try to work with the linux-pm folks to ensure that
we do the right thing.

 How are you hooked up to  userspace?
 Do you have plans to integrate DPM user interface apis? Or go with keep it
 simple route and write a simple driver exposing some ioctls?

I'm not sure what you're talking about.  All control will happen through
/sys, again - like our PM counterparts. 

 Assuming we have the basic suspend before sleep and resume on interrupts
 from wakeup sources working, do you have any roadmap or next steps?

Right now, I think that USB needs the most help.

Jordan


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


pyoLogo - project hosting application

2007-03-30 Thread Arnan (Roger) Sipitakiat

Hi there,

I'm a student at the Media Lab and I would like OLPC to host the
following project on your server. I hope this is possible. Please let
me know if you have any questions or if there is something missing in
the application form.

Thank you,
-Roger.


1. Project name : pyoLogo
2. Existing website, if any : http://wiki.laptop.org/go/pyoLogo
3. One-line description : A Logo programming language written in Python

4. Longer description   :  This is a Logo environment created for
Arnan (Roger)
   : Sipitakiat's  Ph.D. work at the MIT
Media Lab. But it can be further
   : developed to become a general purpose
Logo for the OLPC platform
   :

5. URLs of similar projects : http://pylogo.org/

6. Committer list
  Please list the maintainer (lead developer) as the first entry. Only list
  developers who need to be given accounts so that they can commit to your
  project's code repository, or push their own. There is no need to list
  non-committer developers.

 Username   Full name SSH2 key URLE-mail
    - --
  #1 arnans   Arnan Sipitakiat
http://web.media.mit.edu/~arnans/ssh/arnans_publickey_rsa.pub
[EMAIL PROTECTED]

  If any developers don't have their SSH2 keys on the web, please attach them
  to the application e-mail.

7. Preferred development model

  [X] Central tree. Every developer can push his changes directly to the
  project's git tree. This is the standard model that will be familiar to
  CVS and Subversion users, and that tends to work well for most projects.

  [ ] Maintainer-owned tree. Every developer creates his own git tree, or
  multiple git trees. He periodically asks the maintainer to look at one
  or more of these trees, and merge changes into the maintainer-owned,
  main tree. This is the model used by the Linux kernel, and is
  well-suited to projects wishing to maintain a tighter control on code
  entering the main tree.

  If you choose the maintainer-owned tree model, but wish to set up some
  shared trees where all of your project's committers can commit directly,
  as might be the case with a discussion tree, or a tree for an individual
  feature, you may send us such a request by e-mail, and we will set up the
  tree for you.

8. Set up a project mailing list:

  [X ] Yes, named after our project name
  [ ] Yes, named __
  [] No

  When your project is just getting off the ground, we suggest you eschew
  a separate mailing list and instead keep discussion about your project
  on the main OLPC development list. This will give you more input and
  potentially attract more developers to your project; when the volume of
  messages related to your project reaches some critical mass, we can
  trivially create a separate mailing list for you.

  If you need multiple lists, let us know. We discourage having many
  mailing lists for smaller projects, as this tends to
  stunt the growth of your project community. You can always add more lists
  later.

9. Commit notifications

  [ ] Notification of commits to the main tree should be e-mailed to the list
  we chose to create above
  [X ] A separate mailing list, projectname-git, should be created for commit
  notifications
  [] No commit notifications, please

10. Vhost setup

  [ ] Yes, set up a vhost for the domain ___ pointing to our
  project website.

  [X] No, we don't have a project domain, or don't want to use one. We'll
  use the laptop.org website address.

11. Shell accounts

  As a general rule, we don't provide shell accounts to developers unless
  there's a demonstrated need. If you have one, please explain here, and
  list the usernames of the committers above needing shell access.

12. Notes/comments:

 The software is released under the GPL license


--
=
Arnan (Roger) Sipitakiat

Future of Learning Group, MIT Media Lab
E15-389, 20 Ames St.
Cambridge, MA, 02139
Tel. (617) 324-1639
=
___
Devel mailing list
Devel@laptop.org
http://mailman.laptop.org/mailman/listinfo/devel


XO avatars

2007-03-30 Thread William Cohen
I have been thinking about the little XO people that are used to show who is 
connected in the neighbor hood. The only aspect of them that can be changed is 
color. Given that the screen works in both color and black and white, it will be 
very hard to distiguish between different people in the neighborhood. It seems 
like there should be some other visual aspects to be selectable in addition to 
color. Are the current XO avatars just  place holders?  Is there any thought to 
composing the avatars from a set of components?


-Will
___
Devel mailing list
Devel@laptop.org
http://mailman.laptop.org/mailman/listinfo/devel


Re: XO avatars

2007-03-30 Thread Hal Murray
 Is there any thought to composing the avatars from a set of components?

Why not use the camera?

I've worked with a faces mail system that tossed up a new icon whenever you 
received new mail from somebody.  We had a picture for everybody in the 
group.  (and a big collection of corporate/university logos for when the 
individual wasn't in the database)

I forget how big they were.  Google found one mention of a utility to 
compress/decompress 48x48 face pictures.

I remember being impressed at how well it worked with such a small space.  
Mostly it was instant recognition with just a quick glance.  There were a few 
people in the group with pictures that were similar enough to cause me 
troubles.  For those I had to take a long look.

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



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


Re: XO avatars

2007-03-30 Thread Dan Williams
On Fri, 2007-03-30 at 12:42 -0700, Hal Murray wrote:
  Is there any thought to composing the avatars from a set of components?
 
 Why not use the camera?
 
 I've worked with a faces mail system that tossed up a new icon whenever you 
 received new mail from somebody.  We had a picture for everybody in the 
 group.  (and a big collection of corporate/university logos for when the 
 individual wasn't in the database)

We're going to have a buddy picture (which in XMPP is an avatar) for
each person that will be taken by the camera on first boot.  It will be
changeable.  It'll be available from roll-overs on each XO icon wherever
you see that icon in Sugar.

Dan

 I forget how big they were.  Google found one mention of a utility to 
 compress/decompress 48x48 face pictures.
 
 I remember being impressed at how well it worked with such a small space.  
 Mostly it was instant recognition with just a quick glance.  There were a few 
 people in the group with pictures that were similar enough to cause me 
 troubles.  For those I had to take a long look.
 

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


Re: XO avatars

2007-03-30 Thread Edward Cherlin

On 3/30/07, Dan Williams [EMAIL PROTECTED] wrote:

On Fri, 2007-03-30 at 12:42 -0700, Hal Murray wrote:
  Is there any thought to composing the avatars from a set of components?

 Why not use the camera?

 I've worked with a faces mail system that tossed up a new icon whenever you
 received new mail from somebody.  We had a picture for everybody in the
 group.  (and a big collection of corporate/university logos for when the
 individual wasn't in the database)

We're going to have a buddy picture (which in XMPP is an avatar) for
each person that will be taken by the camera on first boot.  It will be
changeable.  It'll be available from roll-overs on each XO icon wherever
you see that icon in Sugar.

Dan

 I forget how big they were.  Google found one mention of a utility to
 compress/decompress 48x48 face pictures.

 I remember being impressed at how well it worked with such a small space.
 Mostly it was instant recognition with just a quick glance.  There were a few
 people in the group with pictures that were similar enough to cause me
 troubles.  For those I had to take a long look.


Yes, face recognition was heavily optimized by evolution long before
the emergence of humans. They say that you can tell you're getting old
when everybody you meet looks like someone you already know, which
fits nicely with the evolutionary model.

There is a study that says that all faces can be composed from 77
eigenfaces, which would allow very good compression.


--
Edward Cherlin
Earth Treasury: End Poverty at a Profit
http://wiki.laptop.org/go/Earth_Treasury
WIRE AFRICA  http//www.wireafrica.org/
http://www.linkedin.com/in/cherlin
___
Devel mailing list
Devel@laptop.org
http://mailman.laptop.org/mailman/listinfo/devel


OLPC slides and promotional material

2007-03-30 Thread Bernardo Innocenti
Hello Jim,

after easter I will keep a talk on the OLPC in Firenze, Italy.

My audience will be technically inclined, so I think the
slides you've shown at FOSDEM would be perfect for my
presentation.

Any additional promotional material and documentation would
be welcome, including an XO if you can still spare one (but
I'm afraid it's a bit too late for the courier).

I intend to give an overview of the project and its spirit,
then describe the hardware peculiarities, some OS details,
and finally the concept of Sugar's UI.

-- 
  // Bernardo Innocenti - RD director
\X/  http://www.develer.com/


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


Re: XO avatars

2007-03-30 Thread Bert Freudenberg

On Mar 31, 2007, at 0:26 , Jim Gettys wrote:


I forget where to find the South Park tool.


http://www.sp-studio.de/

- Bert -


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


Re: XO avatars

2007-03-30 Thread MBurns

That almost gets into a Nintendo Wii-style avatar/Mii face building game. A
child's actual picture, especially in a timeline as they grow, serves a very
good purpose. Having said that, the South Park or comic book style is a neat
game-like idea to build off of.


On 3/30/07, Jim Gettys [EMAIL PROTECTED] wrote:


For mostly western faces: me thinks we'd need additional building blocks
to cover the planet.

I forget where to find the South Park tool.  For amusement, if you
haven't seen planet.freedesktop.org, do so.
   - Jim



--
Michael Burns * Open Source Lab
   Oregon State University
___
Devel mailing list
Devel@laptop.org
http://mailman.laptop.org/mailman/listinfo/devel


Re: [linux-pm] Power Mangement Interfaces

2007-03-30 Thread Johannes Berg
On Fri, 2007-03-30 at 17:57 -0600, Jordan Crouse wrote:

 I am now turning my attention to handling wakeup events - in particular,
 events that we can set at run-time.  My thoughts on the matter are 
 detailed here:
 
 http://wiki.laptop.org/go/Power_Management_Interface

Interesting. I thought about something like that a few days ago and it
was pretty much identical to what you're saying there. Except I didn't
write it down ;)

A few comments:

I think the sources file isn't really useful, a
  grep -l 1 /sys/power/wakeup/*
should do.

About different possible states: I think each of those can have
different possible wakeup sources, ACPI can afaik go to S4 and still be
able to configure the wakeup sources. So I suppose this really needs to
be something like /sys/power/wakeup/state/event then where state
is one of (currently) mem, disk and standby. And then change the
interface of pm_register_wakeup_source to include the state.

Also, I'm not sure I like the interface with the name of the wakeup
event set by the platform driver. That will probably lead to
inconsistencies, a centrally maintained file with items could be nicer.

About test mode: there is such a thing for suspend to disk. In fact, if
you just want to test driver suspend you could use that. See
the /sys/power/disk file.

johannes


signature.asc
Description: This is a digitally signed message part
___
Devel mailing list
Devel@laptop.org
http://mailman.laptop.org/mailman/listinfo/devel


Re: [linux-pm] Power Mangement Interfaces

2007-03-30 Thread Johannes Berg
On Sat, 2007-03-31 at 02:18 +0200, Johannes Berg wrote:

  I am now turning my attention to handling wakeup events - in particular,
  events that we can set at run-time.  My thoughts on the matter are 
  detailed here:
  
  http://wiki.laptop.org/go/Power_Management_Interface

Hm, another thing. The RTC alarm wakeup event, wouldn't that require
programming the time too? And if so, should that be done through the
power interface to it?

johannes


signature.asc
Description: This is a digitally signed message part
___
Devel mailing list
Devel@laptop.org
http://mailman.laptop.org/mailman/listinfo/devel


Re: [linux-pm] Power Mangement Interfaces

2007-03-30 Thread Gopi P.M.

On 3/30/07, Johannes Berg [EMAIL PROTECTED] wrote:


On Sat, 2007-03-31 at 02:18 +0200, Johannes Berg wrote:

  I am now turning my attention to handling wakeup events - in
particular,
  events that we can set at run-time.  My thoughts on the matter are
  detailed here:
 
  http://wiki.laptop.org/go/Power_Management_Interface

Hm, another thing. The RTC alarm wakeup event, wouldn't that require
programming the time too? And if so, should that be done through the
power interface to it?




I'd rather have a calendar app be the user interface to schedule wakeup via
RTC..that way any alarm or events you schedule would also wakeup the system
if it has gone into sleep mode.

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


PLEASE test Build 368 and Q2B84 firmware ASAP.

2007-03-30 Thread Jim Gettys

http://olpc.download.redhat.com/olpc/streams/development/build368

This is our release candidate for our initial field trials. There may be
a problem with the ext3 image generation we will investigate further on
Saturday before release.

Those of you with multiple systems machines, please test the mesh as
well.

The release notes have been extensively updated.
http://wiki.laptop.org/go/OLPC_Software_Release_Notes

If you don't know how to install the build and firmware without an
autoreinstallation key, then this is probably not for you.

Attached is the draft of the announcement.
   Thanks greatly,
  - Jim

-- 
Jim Gettys
One Laptop Per Child

We are very happy to announce the availability of a new stable build.
It is composed of Build 35XXX and the Q2B84 firmware.

Highlights of this stable build:

1) Working mesh network!  UI to select the Mesh network!
2) Battery charging is under control at last!
3) An greatly web browser
4) Gnash (free Flash player; still somewhat unstable) pre-installed;
Flash 9 also works, but not packaged or installed.
5) touch pad driver fix for jumping cursor: the touch pad should be much
more usable, and the tablet usable on B2 systems.
6) boot time has substantially improved due to a scheduler fix.
7) battery indicator in Sugar
8) availability of Helix Media Player
9) instructions for customizing your own image

Please update your systems to new firmware and new Sugar environments.
The firmware fixes include key fixed for battery charging, and fix a
battery overcharge problem, so it is important to update both the
firmware and the Sugar environment.

Both of the firmware and the NAND image will be updated by using the
procedure found here:

http://wiki.laptop.org/go/Autoreinstallation_image

Additionally, you can find the first content from the OLPC Library.
http://dev.laptop.org/pub/content/has links to online content
http://wiki.laptop.org/go/Library has related information.
http://wiki.laptop.org/go/Library_Release_Notes has release notes.

We'd like to thank the people who have reported bugs; each bug is gold
to us, particularly hardware bugs.  *Please* let us know in trac
(found at http://dev.laptop.org/: you must enable cookies) of each and
every hardware failure (or strange behavior) you have, even if it
happens for stupid reasons.  Each failure, no matter what the cause
(good, bad, stupid, clever, even abuse), is of great help identifying
and getting problems fixed, weak mechanical components strengthened,
and bad electrical components identified.  In general, we'll try to
get you replacement machines too, so we can find the root cause of
malfunctioning machines. Please let us know of software problems you
see too; checking for duplicate entries in the trac system and adding
your report if you see a clearly matching report will also be
helpful. Including the version of your hardware, the firmware version
and the build number in your reports (both hardware and software) will
help us greatly in identifying problems.

We know battery problems have been a great pain and concern to you,
and are as relieved as you will be with their resolution. For those of
you with dead batteries with B2 systems, most, but not all of the dead
batteries can be recovered with the systems you now have with the new
firmware.  Recovering batteries in the field with BTest-1 systems is
harder; thankfully there are far fewer BTest-1 systems deployed. Please
follow the directions in http://wiki.laptop.org/go/Battery_Charging.

Please read the release notes!

http://wiki.laptop.org/go/OLPC_Software_Release_Notes; they have been
extensively updated.


o New activities:
- Calculadora, A simple calculator activity 
  (Mauro Torres et. al. of the Tuquito Linux project in Argentina)
- Blockparty (aka Tetris) (Vadim Gerasimov, J5) 
- Slideshow (Erik Blankinship, Marco)
- xbook as an activity 

o Activity Improvements:
- Write (Abiword team)
  Toolbar bar buttons for open,save,justity,insert image. Much 
  less flicker on context changes and startup. Speedups for scrolling. 
  Fixes for bugs 404,822,824,823,771,826. Other fixes.
- TamTam major improvements http://wiki.laptop.org/go/TamTam_Release_Notes 
(TamTam Team)
- Web Browser (Firefox, Marco)
  This version lays out pages well on our high resolution screen
  for a vastly improved web experience. Unfortunately, we have not
  had time to integrate a table of media types to a media player.
- The News Reader now ships with new, more educational default feeds,
  including BBC World News headlines, Wikipedia Picture of the Day, and
  more. (Owen Williams)

Temporarily removed activities:
- Journal Preview,  (Marco, Tomeu)
- Chat (needs tender loving care)
- Memosono (needs some work)

Extras activities
- Helix Media Activity http://wiki.laptop.org/go/Helix_Media_Activity
  This is able to handle a huge number of common audio/video datatypes,
  having codecs for almost anything you can