Re: Clock?

2007-12-22 Thread Bernardo Innocenti
Joshua Minor wrote:
 Is it reasonable to assume that the XO's clock is set correctly?   
 Specifically I'd like to use python's time.time() to determine which  
 participant of an activity has been using it the longest.

A NetworkManager callout could set it, but it seems we're not
doing it yet.

 Alternately, is there a simple way to query the network for the  
 current time?

Try:

   ntpdate pool.ntp.org

This will also set the system clock, but not save the time
in the hardware clock.

We're also not setting the TZ correctly at this time, and I'm
almost sure that couldn't be done automatically from the
manufacturing data.

-- 
 \___/
 |___|   Bernardo Innocenti - http://www.codewiz.org/
  \___\  One Laptop Per Child - http://www.laptop.org/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Fooling with Java

2007-12-22 Thread M. Edward (Ed) Borasky
Bert Freudenberg wrote:
 On Dec 22, 2007, at 2:04 , Jeffrey Kesselman wrote:
 Okay,

 I have a JDK installed and it seems to work.  For grins i put netbeans
  on my USB stick and fired it up.

 It seems to be working however I get no main display. I do get pop up
 dialogs though.

 My suspicion is that Netbeans is asking the X wm for a Window and,
 sicne from what I cna see the window manager in the OLPC is
 windowless (one fullscreen root window only) it ends u pwitha null
 window and all the drawing goes down the bit bucket.

 Has anyone else played with this?  If so does anyone know any magic to
 get it to use the root window for the app frame?
 
 Our window manager is Matchbox, it is not window-less but full- 
 screen, that is, it resizes each top-level window to cover the whole  
 screen. In theory this should work fine with all well-behaved X11  
 apps, and in practice it seems to work for most. Can't help with Java  
 specifically.

I brought up a couple of X apps from the terminal window on my virtual
XO. Alt-Tab cycles through the windows, including the Journal.


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


Re: OLPC Debian root password

2007-12-22 Thread Maxim Osipov
As I understand, gdm will not allow you to login as root without
password. And there is no olpc user. So the trick is to change to text
console for login, create password or user and you'll be able to login
with gdm.

Maxim

On Dec 22, 2007 5:27 AM, C. Scott Ananian [EMAIL PROTECTED] wrote:
 From looking at the build on updates.laptop.org, it looks to me like
 there is no password set for root.  In any case, the debian build is
 rather old; you will get better results by repeating the steps at:
   http://wiki.laptop.org/go/Installing_Debian_as_an_upgrade

 This will ensure you get the latest kernel, firmware, etc.
  --scott
 --
  ( http://cscott.net/ )
 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel

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


New joyride build 1464

2007-12-22 Thread Build Announcer Script
http://xs-dev.laptop.org/~cscott/olpc/streams/joyride/build1464/

-olpc-library-common.noarch 0:1-13
+olpc-library-common.noarch 0:1-14
-olpc-library-core.noarch 0:1-13
+olpc-library-core.noarch 0:1-14
-xkeyboard-config.noarch 0:1.1-6.20071130cvs.olpc2
+xkeyboard-config.noarch 0:1.1-7.20071130cvs.olpc2

--- olpc-library-common.noarch 1-14 ---
  * fix bug with l10n categories files

--- olpc-library-core.noarch 1-14 ---
  * fix bug with l10n categories files

--
 This email was automatically generated
 Aggregated logs at http://dev.laptop.org/~bert/joyride-pkgs.html
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Fooling with Java

2007-12-22 Thread Yuan Chao
On Dec 22, 2007 5:00 PM, M. Edward (Ed) Borasky [EMAIL PROTECTED] wrote:

 I brought up a couple of X apps from the terminal window on my virtual
 XO. Alt-Tab cycles through the windows, including the Journal.
You can also use Alt-p or Alt-n to cycle through the windows.
The related keyboard shortcuts can be found here.
http://wiki.laptop.org/go/Keyboard_Shortcuts


-- 
Best regards,
Yuan Chao
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


upgrading firmware on activated laptops

2007-12-22 Thread Emiliano Pastorino
Is there any procedure to upgrade JUST the firmware on activated laptops?
Thanks!

-- 
Emiliano Pastorino
LATU - Plan Ceibal
Av. Italia 6201 CP: 11500, Montevideo, Uruguay
Tel: (598 2) 601 3724 int.: 467
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Clock?

2007-12-22 Thread C. Scott Ananian
On Dec 22, 2007 3:07 AM, Bernardo Innocenti [EMAIL PROTECTED] wrote:
 Joshua Minor wrote:
  Is it reasonable to assume that the XO's clock is set correctly?
  Specifically I'd like to use python's time.time() to determine which
  participant of an activity has been using it the longest.

 A NetworkManager callout could set it, but it seems we're not
 doing it yet.

It's done in joyride and will be done in update.1, but not in ship.2
builds.  trac #3359.
 --scott

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


Re: Clock?

2007-12-22 Thread Joshua Minor
Great.  This will be perfect.

For now I've set mine manually via ntpdate and hwclock.

Thanks everyone.

-josh

On Dec 22, 2007, at 4:49 AM, C. Scott Ananian wrote:

 On Dec 22, 2007 3:07 AM, Bernardo Innocenti [EMAIL PROTECTED]  
 wrote:
 Joshua Minor wrote:
 Is it reasonable to assume that the XO's clock is set correctly?
 Specifically I'd like to use python's time.time() to determine which
 participant of an activity has been using it the longest.

 A NetworkManager callout could set it, but it seems we're not
 doing it yet.

 It's done in joyride and will be done in update.1, but not in ship.2
 builds.  trac #3359.
 --scott

 -- 
 ( http://cscott.net/ )

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


OLPC News 2007-12-22

2007-12-22 Thread Walter Bender
1. Arahuay, Peru: If you haven't yet seen it, please take the time to
read this AP article about the XO in remote Peruvian village
(http://www.chicagotribune.com/news/nationworld/chi-laptop_webdec22,1,6878223.story).
The lead paragraph says it all: Doubts about whether poor, rural
children really can benefit from quirky little computers evaporate as
quickly as the morning dew in this hilltop Andean village, where 50
primary school children got machines from the One Laptop Per Child
project six months ago.

2. Hinge: Jacques Gagne has been investigating the laptop hinge—the
clearance between the two rotating parts should be tighter and this
would reduce wobble. Mary Lou Jepsen and Quanta are investigating a
possible run-in change at the earliest possible date.

3. Hardware certifications and testing data:  Mary Lou has created a
compilation of certification and testing data that is available on the
wiki (Please see http://wiki.laptop.org/go/Hardware_Testing); it will
be expanded over time.

4. Green: EMPA at the Swiss National Labs is continuing its work on
life cycle analysis of the XO laptops by comparing the cost, lifetime,
power consumption, and overall environmental impact with the
refurbished desktops in Columbia. Mary Lou teleconferenced with the
team this week and will assure that they get all the data they need to
complete their analysis. The final report is due in mid-February.
Columbia is widely acknowledged to have one of the most successful
re-furbished desktop programs in Latin America.

5. Water: Anna Bershteyn, an MIT Ph.D. candidate, has been helping
OLPC follow up on some questions from Ban Samhka, Thailand about the
best way to test and improve water quality; water quality is an area
of interest that is expanding in the OLPC community. Anna and Mary Lou
met with Susan Murcott to discuss possible simple hands-on games on
the XOs that will encourage children to test and/or filter their
water. SJ Klein has put Anna in touch with groups from UNICEF and the
Hesperian Foundation who are also working on water safety. To learn
more about Anna, please visit the wiki
(http://wiki.laptop.org/go/User:Anna_B).

6. Power measurements: John Watlington instrumented a production
machine for power measurements this week to allow continued
verification of the laptop power-saving measures. This allows Chris
Ball (and the rest of the software team) to continuously measure the
power consumption at ten different places around the laptop, and also
automatically simulate user input to wake up the laptop (power button,
lid switch, etc.). We have already have a B3 unit with over twenty
power measurement points, but it cannot aggressively suspend/resume,
and doesn't have any of the more recent power-savings-related
engineering changes.

7. Embedded controller: Richard Smith spent time studying oscilloscope
traces looking for a possible cause of the reopening of Ticket 1835
(unable to resume); recent software builds were failing on the
suspend/resume testbed. He has been unable to reproduce the problem
with bare-board tests and he now feels that he fully understand the
software causes of 1835 (three distinct causes). Running the latest EC
code with Joyride kernels doesn't seem to have the problem. Richard
and John will continue to run tests on the suspend/resume testbed to
insure that we won't have the problem with Update.1

A second bonus was discovery and verification of EC issues that Chris
Ball and Jim Gettys have run into. Andres helped Richard find an EC
bug where the SCI mask was getting corrupted. The most frequent
manifestation of that was the loss of AC events or battery-charge
level.  Richard still don't know the root cause of the corruption, but
has a good test case and kernel debug logs. There appears to be a case
where EC communication fails and error recover is not working. Fixing
it is going to involve more oscilloscope time, because turning on
serial- port debugging appears to make the problem go away. There is
already a workaround in the kernel to fix the mask when it becomes
corrupted, so it's not a show-stopper.

Richard is also writing some cron scripts that will take a snapshot of
the battery ACR while the laptop is running on battery power and then
then send us the data. Richard wants to use these data to build power
usage profiles. The ACR gives us a very accurate reading on the amount
of mA/h drawn from the battery.  Plotting it over time will begin to
give us insight on our dynamic power draw.

8. School server We found a serious problem with the mesh networking
in the build of School-server software released last week (Build 137),
which brings down an active antenna if a large file transfer is
attempted. A new build of the software with the new libertas driver
(thanks David Woodhouse) greatly improves the situation. A new build
is being tested and tuned and will be released in the next few days.
The school-server-software build problems have returned, but this time
we identified one of the 

New joyride build 1465

2007-12-22 Thread Build Announcer Script
http://xs-dev.laptop.org/~cscott/olpc/streams/joyride/build1465/

-Web-81.xo
+Web-82.xo
-sugar.i386 0:0.75.5-1
+sugar.i386 0:0.75.6-1
-xulrunner.i386 0:1.9-0.beta1.7.olpc2
+xulrunner.i386 0:1.9-0.beta1.8.olpc2

--- Web-82 ---
 * #5487 Add support for XUL dialogs
 * #5489 Fix cert8.db permissions

--
 This email was automatically generated
 Aggregated logs at http://dev.laptop.org/~bert/joyride-pkgs.html
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: upgrading firmware on activated laptops

2007-12-22 Thread Mitch Bradley
Michael Stone wrote:
 Emiliano,

 First things first - caveat emptor.

 Direct access to the firmware makes it very easy to brick your machine.
 Do not attempt to use these instructions unless you are prepared to deal
 with the possible consequences of mistakes and/or failure. Consult OFW
 experts for the necessary precautions.

 Second - real answers. There are two user-facing mechanisms available
 for updating the firmware. One is to put a signed firmware blob in the
 right place on the filesystem and to reboot. The other is to use a
 developer key to issue to the necessary words to trigger a reflash
 directly to the firmware.

 See http://dev.laptop.org/ticket/5565 for the current debate about the
 former procedure.

 To exercise the second method, one uses a developer key and the
 information on http://wiki.laptop.org/go/Cheat_codes to gain access
 access to the Open Firmware ok prompt.

 Then, after taking appropriate precautions to ensure the availability of
 uninterrupted power, one can manually trigger a reflash with two words
 similar to:

   get-file u:\q2d07.rom
   reflash
   

Or you can just say:

   ok  flash u:\q2d07.rom

There is no reason to separate the get-file ... and reflash steps.
 Michael

 P.S. -  if you have to do this for lots and lots of machines, you should
 probably try to work with us to qualify and release a firmware.


 On Sat, Dec 22, 2007 at 09:39:27AM -0300, Emiliano Pastorino wrote:
   
 Is there any procedure to upgrade JUST the firmware on activated laptops?
 Thanks!

 -- 
 Emiliano Pastorino
 LATU - Plan Ceibal
 Av. Italia 6201 CP: 11500, Montevideo, Uruguay
 Tel: (598 2) 601 3724 int.: 467
 

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

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

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


Re: Fooling with Java

2007-12-22 Thread Jeffrey Kesselman
Thanks Guys.

I decided to try something a bit lighter weight so i installed JEdit.
I discovered that alt-p/alt-n and at elast for JEdit that works to get
my editor window up front.

Two oddities  in mtachbook/java pairing still.

(1) Although the system window is full screen its not resizing the
Java pane to full screen but to more like 1/3 of the screen.  I'm
wondering if matchbook is somehow lying to Java about the native
window size.  I suspect I could hack that for a OLPC build since the
screen size is a constant.

(2) More importantly, pull down Java?Swing menus don't work right.
When I cli k on the menu it appears but as soon as I release the
button it disappears.  The proper behavior, and what I see with this
same jar file on other systems, is that the menu stays so you can
select an entry.

Second part of this is even if I try to do hold button and drag to
select an entry , it doesn't highlight the entry right.  Its worth
noting that using KB short cuts for menus and entries DOES do the
right thing on screen so it seems like its specific to the mouse
interraction.

Other then that, it seems to work great!

JK

On Dec 22, 2007 7:23 AM, Yuan Chao [EMAIL PROTECTED] wrote:
 On Dec 22, 2007 5:00 PM, M. Edward (Ed) Borasky [EMAIL PROTECTED] wrote:

  I brought up a couple of X apps from the terminal window on my virtual
  XO. Alt-Tab cycles through the windows, including the Journal.
 You can also use Alt-p or Alt-n to cycle through the windows.
 The related keyboard shortcuts can be found here.
 http://wiki.laptop.org/go/Keyboard_Shortcuts


 --
 Best regards,
 Yuan Chao

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




-- 
~~ Microsoft help desk says: reply hazy, ask again later. ~~
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Clock?

2007-12-22 Thread Jerry Van Baren
FWIIW, the hardware clock configuration is set to use localtime by 
default.  This can be reconfigured to use UTC (see /etc/rc.sysinit which 
includes the config file /etc/sysconfig/clock if it exists), but it 
probably isn't worth the effort.

WRT my previous advice on using hwclock, do *not* use the --utc flag.

hwclock --systohc

Best regards,
gvb


Joshua Minor wrote:
 Great.  This will be perfect.
 
 For now I've set mine manually via ntpdate and hwclock.
 
 Thanks everyone.
 
 -josh
 
 On Dec 22, 2007, at 4:49 AM, C. Scott Ananian wrote:
 
 On Dec 22, 2007 3:07 AM, Bernardo Innocenti [EMAIL PROTECTED]  
 wrote:
 Joshua Minor wrote:
 Is it reasonable to assume that the XO's clock is set correctly?
 Specifically I'd like to use python's time.time() to determine which
 participant of an activity has been using it the longest.
 A NetworkManager callout could set it, but it seems we're not
 doing it yet.
 It's done in joyride and will be done in update.1, but not in ship.2
 builds.  trac #3359.
 --scott

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

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


Our Stories: Commercialization?

2007-12-22 Thread Tom Boonsiri
After reading the Bender update, I checked out Anna's recent effort (
http://wiki.laptop.org/go/User:Anna_B) which seemed to be similar to Ian
Daniher's Telehealth module effort and I noticed the following goal.

-Van on commercializing Our Stories: would consumers pay for something like
a virtual safari tour? A micro-franchise idea

Are we actually avoiding the commercialization of the technologies we
develop under OLPC?
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Clock?

2007-12-22 Thread Bernardo Innocenti
Jerry Van Baren wrote:

 FWIIW, the hardware clock configuration is set to use localtime by 
 default.  This can be reconfigured to use UTC (see /etc/rc.sysinit which 
 includes the config file /etc/sysconfig/clock if it exists), but it 
 probably isn't worth the effort.

From hwclock's man page:

  If you specify neither --utc nor --localtime , the default is whichever was  
specified  the  last  time
  hwclock  was  used  to set the clock (i.e. hwclock was successfully run with 
the --set , --systohc , or
  --adjust options), as recorded in the adjtime file.  If the adjtime file 
doesn't exist, the default  is
  local time.

So the first time you set the hwclock with --utc, it will
be kept that way.

-- 
 \___/
 |___|   Bernardo Innocenti - http://www.codewiz.org/
  \___\  One Laptop Per Child - http://www.laptop.org/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: OLPC News 2007-12-22

2007-12-22 Thread Carl-Daniel Hailfinger
On 22.12.2007 17:32, Walter Bender wrote:
 2. Hinge: Jacques Gagne has been investigating the laptop hinge—the
 clearance between the two rotating parts should be tighter and this
 would reduce wobble. Mary Lou Jepsen and Quanta are investigating a
 possible run-in change at the earliest possible date.
   

Wasn't the clearance made wider sometime between B1 and B2 to fix the
problem with interlocking plastic parts? Please explain further.

 7. Embedded controller: Richard Smith spent time studying oscilloscope
 traces looking for a possible cause of the reopening of Ticket 1835
 (unable to resume); recent software builds were failing on the
 suspend/resume testbed. He has been unable to reproduce the problem
 with bare-board tests and he now feels that he fully understand the
 software causes of 1835 (three distinct causes). Running the latest EC
 code with Joyride kernels doesn't seem to have the problem. Richard
 and John will continue to run tests on the suspend/resume testbed to
 insure that we won't have the problem with Update.1

 A second bonus was discovery and verification of EC issues that Chris
 Ball and Jim Gettys have run into. Andres helped Richard find an EC
 bug where the SCI mask was getting corrupted. The most frequent
   

Is this a hardware or software bug?

 manifestation of that was the loss of AC events or battery-charge
 level.  Richard still don't know the root cause of the corruption, but
 has a good test case and kernel debug logs. There appears to be a case
 where EC communication fails and error recover is not working. Fixing
 it is going to involve more oscilloscope time, because turning on
 serial- port debugging appears to make the problem go away. There is
 already a workaround in the kernel to fix the mask when it becomes
 corrupted, so it's not a show-stopper.

 Richard is also writing some cron scripts that will take a snapshot of
 the battery ACR while the laptop is running on battery power and then
 then send us the data. Richard wants to use these data to build power
 usage profiles. The ACR gives us a very accurate reading on the amount
 of mA/h drawn from the battery.  Plotting it over time will begin to
 give us insight on our dynamic power draw.
   

This may have been asked before, but how far is the progress in freeing
the EC code? IIRC first there were official statements that the EC code
would be free (and all parties would agree to that), then after some
time it was announced that OLPC were talking with Quanta about setting
the code free, now we just hear about EC bugs, but nothing about the code.


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


Re: [PATCH] Fix padding in Terminal activity

2007-12-22 Thread Phil Bordelon
Phil Bordelon wrote:
 On 650, the Terminal activity doesn't have enough padding
 on the left side; this makes capital Hs, numbers, and so
 on lose some of their pixels when they're printed flush
 to the side.

I should have said that the bug for this is:

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

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


New joyride build 1466

2007-12-22 Thread Build Announcer Script
http://xs-dev.laptop.org/~cscott/olpc/streams/joyride/build1466/

-Record-48.xo
+Record-49.xo

--- Record-49 ---
   * #4525 (international .po files added)

--
 This email was automatically generated
 Aggregated logs at http://dev.laptop.org/~bert/joyride-pkgs.html
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


[PATCH] Fix default channel for XoIRC (#5378)

2007-12-22 Thread Phil Bordelon
Here's a trivial one-liner to fix the default channel that XoIRC
joins.  The patch is also attached to this bug:

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

Phil
diff -ur XoIRC.activity/xoircactivity.py XoIRC.activity.patched/xoircactivity.py
--- XoIRC.activity/xoircactivity.py	2007-12-06 21:43:58.0 -0600
+++ XoIRC.activity.patched/xoircactivity.py	2007-12-21 16:20:44.903647372 -0600
@@ -33,7 +33,7 @@
 self.set_title(_('Xo IRC Activity'))
 
 client = purk.Client()
-client.add_channel('#olpc-support')
+client.add_channel('#olpc-help')
 client.join_server('irc.freenode.net')
 client.show()
 widget = client.get_widget()
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


[PATCH] [XoIRC] Make default nicks more meaningful (#5385)

2007-12-22 Thread Phil Bordelon
At last, a non-trivial patch.

By default, XoIRC uses the username when another nick is not
provided.  Alas, for every XO, this is 'olpc'.  This makes for
rather a mess in the IRC channels.

This patch instead generates a more-meaningful nick:

* It takes up to 11 alphabetic characters from the user's Sugar
  nick;
* it appends a hyphen; and
* it adds the last four hexadecimal digits of the MD5 hash of
  the user's public key.

The last serves a dual purpose: it (fairly) uniquely identifies
each XO, and it keeps the collisions to a theoretical minimum
if there are, say, lots of 'jane's or 'john's signing on.

The bug that this patch was originally posted to is at:

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

Phil
diff -ur XoIRC.activity/purk/irc.py XoIRC.activity.nickfix/purk/irc.py
--- XoIRC.activity/purk/irc.py	2007-12-06 22:26:30.0 -0600
+++ XoIRC.activity.nickfix/purk/irc.py	2007-12-21 17:13:53.860637383 -0600
@@ -43,8 +43,34 @@
 try:
 nicks = [conf.get('nick')] + conf.get('altnicks',[])
 if not nicks[0]:
-import getpass
-nicks = [getpass.getuser()]
+
+# We're going to generate a nick based on the user's nick name
+# and their public key.
+import sugar.profile
+import md5
+
+user_name = sugar.profile.get_nick_name()
+pubkey = sugar.profile.get_pubkey()
+m = md5.new()
+m.update(pubkey)
+hexhash = m.hexdigest()
+
+# Okay.  Get all of the alphabetic bits of the username:
+user_name_letters = .join([x for x in user_name if x.isalpha()])
+
+# If that came up with nothing, make it 'XO'.  Also, shorten it
+# if it's more than 11 characters (as we need 5 for - and the
+# hash).
+if len(user_name_letters) == 0:
+   user_name_letters = XO
+if len(user_name_letters)  11:
+   user_name_letters = user_name_letters[0:11]
+
+# Finally, generate a nick by using those letters plus the last
+# four hash bits of the user's public key.
+user_nick = user_name_letters + - + hexhash[-4:]
+
+nicks = [user_nick]
 except:
 nicks = [mrurk]
 return nicks
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: OLPC News 2007-12-22

2007-12-22 Thread Rafael Enrique Ortiz Guerrero
Hi Carl

There is an effort to open the Ec code.

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

if you want to help you are welcome! :).

On Dec 22, 2007 7:37 PM, Walter Bender [EMAIL PROTECTED] wrote:

  Wasn't the clearance made wider sometime between B1 and B2 to fix the
  problem with interlocking plastic parts? Please explain further.

 As I recall, we widened the base to reduce some wobble. This is an
 effort to further reduce wobble (in the 90 degree rotation).

  Is this a hardware or software bug?

 Software.

  This may have been asked before, but how far is the progress in freeing
  the EC code? IIRC first there were official statements that the EC code
  would be free (and all parties would agree to that), then after some
  time it was announced that OLPC were talking with Quanta about setting
  the code free, now we just hear about EC bugs, but nothing about the
 code.

 I don't think we'll get this code freed up because it is a tangle of
 ownership and licenses. But we do plan to rewrite it from scratch when
 we come up for air.

 -walter

 ---
 Walter Bender
 One Laptop per Child
 http://laptop.org
 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel




-- 
Rafael Enrique Ortiz Guerrero
One Laptop Per Child
[EMAIL PROTECTED]
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: OLPC News 2007-12-22

2007-12-22 Thread Walter Bender
 Wasn't the clearance made wider sometime between B1 and B2 to fix the
 problem with interlocking plastic parts? Please explain further.

As I recall, we widened the base to reduce some wobble. This is an
effort to further reduce wobble (in the 90 degree rotation).

 Is this a hardware or software bug?

Software.

 This may have been asked before, but how far is the progress in freeing
 the EC code? IIRC first there were official statements that the EC code
 would be free (and all parties would agree to that), then after some
 time it was announced that OLPC were talking with Quanta about setting
 the code free, now we just hear about EC bugs, but nothing about the code.

I don't think we'll get this code freed up because it is a tangle of
ownership and licenses. But we do plan to rewrite it from scratch when
we come up for air.

-walter

---
Walter Bender
One Laptop per Child
http://laptop.org
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Our Stories: Commercialization?

2007-12-22 Thread Jeffrey Kesselman
Well, FWI

and realizing its not my projct so my opinion means nthoing...

I've thought sicne i first fired up the emulator and got a good look
at it that the OLPC project is probably missing a bet for funding.
I'm willing to bet if it was licensed to someone like Mattel to sell
in the first world, they could sell a ton at around $250, increase the
volume to lower production costs, as well as funnel some of hte
profits back into funding the third world efforts.

But thats just my opinion.

As far as the software goes, its all open source, right?  As  long as
someone lives up to their obligations under the open source license I
don't see anything wrong with them trying something commercial with
it. *shrug*



On Dec 22, 2007 6:25 PM, Tom Boonsiri [EMAIL PROTECTED] wrote:
 After reading the Bender update, I checked out Anna's recent effort
 (http://wiki.laptop.org/go/User:Anna_B) which seemed to be similar to Ian
 Daniher's Telehealth module effort and I noticed the following goal.

 -Van on commercializing Our Stories: would consumers pay for something like
 a virtual safari tour? A micro-franchise idea

 Are we actually avoiding the commercialization of the technologies we
 develop under OLPC?

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





-- 
~~ Microsoft help desk says: reply hazy, ask again later. ~~
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


xo-get news

2007-12-22 Thread Chris Hager
Hi,

Here a few news about the latest xo-get updates:

1. Easy installation with 'wget xo-get.linuxuser.at'

2. Installation of the process watching tool with 'xo-get install pw'
   (http://wiki.laptop.org/go/Monitoring_System_Load)

3. 32 Activities ready to install
   (http://www.olpcaustria.org/mediawiki/index.php/Xo-get/Repository)

4. Backup repository (on linuxuser.at), in case olpcaustria.org is down

The tool also proved useful for development, when you need to do many 
de-/installations of xo's for testing. Have a look at it!

http://www.olpcaustria.org/mediawiki/index.php/Xo-get

Best regards from Vienna,
- Chris

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


Re: Our Stories: Commercialization?

2007-12-22 Thread M. Edward (Ed) Borasky
Tom Boonsiri wrote:
 After reading the Bender update, I checked out Anna's recent effort
 (http://wiki.laptop.org/go/User:Anna_B) which seemed to be similar to
 Ian Daniher's Telehealth module effort and I noticed the following goal.
 
 -Van on commercializing Our Stories: would consumers pay for something
 like a virtual safari tour? A micro-franchise idea
 
 Are we actually avoiding the commercialization of the technologies we
 develop under OLPC?

Well ...

1. A recent news item stated that some countries that are heavily into
hosting on line gambling casinos are asking the World Trade Organization
to fine the USA because we have legislation to protect our citizens from
on line gambling casinos.

2. Any talk of commercialization of anything needs to be gone over
with a fine-toothed comb by dozens of accountants and attorneys here is
the USA.

In short, there are always going to be grinches trying to steal our
Christmases. :) But I'm personally a lot more interested in the stories
of the children than I am in a virtual safari. And yes, I'd pay money
for the literature, art and music that comes out of the project.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Our Stories: Commercialization?

2007-12-22 Thread Jeffrey Kesselman
On Dec 22, 2007 9:33 PM, M. Edward (Ed) Borasky [EMAIL PROTECTED] wrote:

 Well ...

 1. A recent news item stated that some countries that are heavily into
 hosting on line gambling casinos are asking the World Trade Organization
 to fine the USA because we have legislation to protect our citizens from
 on line gambling casinos.

Don't entirely get your point here.

FWIS, I think their complaint that we are acting in restraint of trade
is an interesting one.  The word protect is a pretty loaded term.

The more politics neutral would be to say we  illegalize gambling in
this country (unless its owned and operated by the government,  in
which case not only is it legal but its legal to promote and advertise
too, but thats another topic and not so politically neutral.)

Its an intrresting, global world we live in, and as soon as  trade
began on the internet it became a very small one. We can't expect the
rest of the world to live and play by our wants and prejudices any
more then we would be comfortable with another nation saying we should
live and play by theirs.

But in a global world economy its not so easy to isolate ourselves, either.

Interesting times


 2. Any talk of commercialization of anything needs to be gone over
 with a fine-toothed comb by dozens of accountants and attorneys here is
 the USA.

Well, anything with the word commercialize' in it aught to be gone
over by the attorney of those who wish to commercialize it.  Thats
basic business.


 In short, there are always going to be grinches trying to steal our
 Christmases. :)

*shrug*  I rather see it as the free software movement at work.  You
are using the software that was provided to you under open source in
ways perhapse not invisioned by the authors.  Others may use yours in
ways not invisioned by you.

Free as in speech means, by its definition, the freedom to use it in
efforts that are *not* free as in beer.  As long as the terms of use
under which it was released are being respected.


-- 
~~ Microsoft help desk says: reply hazy, ask again later. ~~
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Update of activities over the web

2007-12-22 Thread Gerard J. Cerchio
I have noticed that PlayGo is listed as an activity on the Austria 
download site. I think this great, but I have one problem: Updating the 
activity.

The browser called open routine that is connected to the open button 
does not update the activity to the latest version that is downloaded.

In fact, before the the update happens I must remove the activity from 
the start bar, delete the activity directory and reboot in order to get 
the new version of the activity to install.

Is the open button going to be more robust?

Should the activity check the git repository for updates and update 
itself? Is there a library for this?

-Gerard


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


Re: Clock?

2007-12-22 Thread Hal Murray

 OK, setting my hwclock to utc shows /etc/adjtime has UTC, but after
 rebooting it gets reset to 0 (localtime), causing the incorrect time
  offset. 

/etc/init.d/halt calls hwclock to write the current time out to the hardware.

It looks in /etc/sysconfig/clock for the UTC flag.  It defaults to local.

My XO doesn't have an /etc/sysconfig/clock

All the Linux boxes I've ever worked with have run with the hardware clock 
set to UTC.  I'm not sure why XO is setup to use local time.  It should work. 
 (The only reason I know to have the UTC set to local time is if you are dual 
booting with a popular OS that needs (needed?) local time.)

I try to avoid writing to the hwclock by hand.  It just leads to confusion 
like this.  If you get the system time set correctly and then cleanly reboot 
your machine, it should write it out the way it wants and read it back in the 
same way.


-- 
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: upgrading firmware on activated laptops

2007-12-22 Thread Mikus Grinbergs
 To exercise the second method, one uses a developer key and the
 information on http://wiki.laptop.org/go/Cheat_codes to gain
 access to the Open Firmware ok prompt.

Please note that there are users like me who have the exact problem 
described by http://dev.laptop.org/ticket/5558.  I have been totally 
__unable__ to gain access to the Open Firmware ok prompt.

mikus   (G1G1)

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


Re: upgrading firmware on activated laptops

2007-12-22 Thread Chris Ball
Hi,

Please note that there are users like me who have the exact problem
described by http://dev.laptop.org/ticket/5558.  I have been
totally __unable__ to gain access to the Open Firmware ok prompt.

Please read the top section of
http://wiki.laptop.org/go/Autoreinstallation_image:

   This page is for software developers only. It does not apply to Give
   One Get One laptops unless you first get a developer key; until then,
   please use the olpc-update or activated upgrade method.

- Chris.
-- 
Chris Ball   [EMAIL PROTECTED]
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: G1G1 laptop - Bad alt key?

2007-12-22 Thread Dan Krejsa
Hi,

The Getting Started Guide's troubleshooting guide

  http://www.laptop.org/en/laptop/start/troubleshooting.shtml

is recommending that users email bug reports to bugs at laptop.org,
which is apparently incorrect, according to bugs-owner.  Probably
the guide should be corrected.

If this is not the correct list either, and if the problem described
below is an isolated hardware failure rather than a software
issue, could someone suggest the correct list to email to?

Thanks,

- Dan


On Sat, 2007-12-22 at 23:52 -0500, [EMAIL PROTECTED] wrote:
 This list is not for bug discussion. Please respect the Reply-To:
 header and send replies to the development list, devel -AT-
 laptop.org. Thanks!
 
 email message attachment
   Forwarded Message 
  From: Dan Krejsa [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: G1G1 laptop - Bad alt key?
  Date: Sat, 22 Dec 2007 20:50:50 -0800
  
  (Hi, FYI my first attempt to send this failed as I was not subscribed
  to the [EMAIL PROTECTED] The Getting Started User's Guide's 
  troubleshooting guide 
  
http://www.laptop.org/en/laptop/start/troubleshooting.shtml
  
  suggests emailing 'bugs at laptop.org', but doesn't mention it
  is necessary to subscribe.)
  
  Hi,
  
  I just received 4 G1G1 laptops today (Yeah!). I've opened
  two already.  I had no problem with the first, but on the
  second there appears to be a problem related to the alt key.
  
  After the first time I press it, it appears that the alt modifier
  stays on -- so that if I just type the 'enter' key, the  display
  goes to full screen mode, if I type f, it toggles the frame. I can't
  type ordinary characters or keyboard shortcuts that don't have
  the alt modifier down.  If I power down the XO, things are OK
  until the next time I use the alt key.
  
  If this isn't a known software issue, I suspect it's just a
  bad keyboard, and hopefully it's a rare thing. In either case
  I thought you would be interested in the report.
  
  Please let me know how I should proceed. There's no great time
  urgency for this for me, though.
  
  Thanks for the good work!
  
  - Dan
  
  P.S. One of my nephews gets a laptop for Christmas. I'll wait
  a bit for my other nephew  neice until I can get a bit more
  comfortable with the laptop  software, and maybe reflash with
  a newer build. The last one's for me ;-)
  

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


Silly Question

2007-12-22 Thread Jeffrey Kesselman
I've been familairiazing myself wioth my OLPC but there are a few
thinsg I havent figured out yet.

(1)  I  have a 2 gig SD card in my card slot.  I can see it in the
journal, but I can't figure out how to use it for anything.

In particular Id like to dowload stuff to it  But when I download it
goes to my journal, which I assume is hiding fiels somewhere in the
main filesystem, yes?  Is there a way to redirect downloads directly
to the SD card?  If not, is ther a way from the interface to move
downlaods to it after they have been downloaded?

(2) About those journal downloads...

I thought I'd escape to the terminal and just move stufff from there
if i had to, but I can't find them.  The linux find command turns up
nothing.

Where are they stored?

Thanks

JK
-- 
~~ Microsoft help desk says: reply hazy, ask again later. ~~
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Silly Question

2007-12-22 Thread Edward Cherlin
On Dec 22, 2007 9:22 PM, Jeffrey Kesselman [EMAIL PROTECTED] wrote:

 I've been familairiazing myself wioth my OLPC but there are a few
 thinsg I havent figured out yet.

 (1)  I  have a 2 gig SD card in my card slot.  I can see it in the
 journal, but I can't figure out how to use it for anything.


Does this help?
http://wiki.laptop.org/go/Journal#External_storage_devices

If not, please post your question to the New Users page on the Wiki.

In particular Id like to dowload stuff to it  But when I download it
 goes to my journal, which I assume is hiding fiels somewhere in the
 main filesystem, yes?  Is there a way to redirect downloads directly
 to the SD card?  If not, is ther a way from the interface to move
 downlaods to it after they have been downloaded?

 (2) About those journal downloads...

 I thought I'd escape to the terminal and just move stufff from there
 if i had to, but I can't find them.  The linux find command turns up
 nothing.

 Where are they stored?

 Thanks

 JK
 --
 ~~ Microsoft help desk says: reply hazy, ask again later. ~~
 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel




-- 
Edward Cherlin
Earth Treasury: End Poverty at a Profit
http://www.EarthTreasury.org/
The best way to predict the future is to invent it.--Alan Kay
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel