XOs with no sound

2008-12-30 Thread Philipp Kocher
Hi

The sound of 5 of our 100 XOs doesn't work anymore.
The hardware test is okay (sound works), but all the sugar activities I 
tested (Scratch, TamTamMini, Speak, Gcompris) don't have sound. 
Rebooting the XO doesn't help.

I checked the sugar log files and /var/log/messages, but couldn't find 
any sound related warnings or errors.

We are running build 767, but I have seen the same problem with build 
708 (but not that often).
Reinstalling the OS solves the problem, but I would prefer an easier 
solution.

I checked if such a bug is reported, but couldn't find a ticket (the 
sound resume problem of ticket 6201 is normally solved with a reboot). 
Since I don't know how to reproduce the problem, I would like to 
localize it before opening a ticket.
What can I do to localize the problem (e.g. low level sound tests)?

Is it possible that running out of battery while playing sound can have 
such an effect or could it be related to the resume problem of ticket 
6201 (we had that problem very often with Scratch when the experimental 
power management was switched on )?

Regards,
Philipp
Pepyride School
Cambodia
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: XOs with no sound

2008-12-30 Thread rihowa...@gmail.com

I have seen this problem when the alsamixer settings have become  
messed up.  Seems like there are one or 2 processes that occasionally  
write to the alsamixer config file.

You can alter the settings by running the graphical program /usr/bin/ 
alsamixer  from the terminal.  There is also a command line program / 
usr/sbin/alsactl but being late at night I can't remember the syntax  
off hand.

On Dec 30, 2008, at 12:12 AM, Philipp Kocher wrote:

 Hi

 The sound of 5 of our 100 XOs doesn't work anymore.
 The hardware test is okay (sound works), but all the sugar  
 activities I
 tested (Scratch, TamTamMini, Speak, Gcompris) don't have sound.
 Rebooting the XO doesn't help.

 I checked the sugar log files and /var/log/messages, but couldn't find
 any sound related warnings or errors.

 We are running build 767, but I have seen the same problem with build
 708 (but not that often).
 Reinstalling the OS solves the problem, but I would prefer an easier
 solution.

 I checked if such a bug is reported, but couldn't find a ticket (the
 sound resume problem of ticket 6201 is normally solved with a reboot).
 Since I don't know how to reproduce the problem, I would like to
 localize it before opening a ticket.
 What can I do to localize the problem (e.g. low level sound tests)?

 Is it possible that running out of battery while playing sound can  
 have
 such an effect or could it be related to the resume problem of ticket
 6201 (we had that problem very often with Scratch when the  
 experimental
 power management was switched on )?

 Regards,
 Philipp
 Pepyride School
 Cambodia
 ___
 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: XOs with no sound

2008-12-30 Thread quozl
How to fix no sound caused by operating system.

1.  obtain the root prompt, e.g. by starting the Terminal activity and
clicking on become root button,

2.  if you wish to find out in which way the settings have been
corrupted, copy the file /etc/asound.state before proceeding,

cp /etc/asound.state /home/olpc/asound.state.orig

3.  obtain a copy of /etc/asound.state from a working XO, or from a
reinstalled XO, and place it in /etc/asound.state on the failed XO,

4.  restore the settings from the file,

alsactl restore

5.  test that sound now works.

Note: there is a possibility that the build 767 ALSA saved state file is
in some other place.  I've not checked.  I found out where the file was
on Joyride 2612 using a command:

strace -e open alsactl restore

-- 
James Cameronmailto:qu...@us.netrek.org http://quozl.netrek.org/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: G1G1 updates, Lennon video and other vids

2008-12-30 Thread Yoshiki Ohshima
At Sat, 27 Dec 2008 14:42:51 -0500,
Samuel Klein wrote:
 
 Hi,
 
 The Lennon video that's been murmured about for weeks has been
 released.  I'm curious to see reactions from the list.

  I have to agree wtih David on making a dead cerebrity say something
he didn't say.  And, while the message of Imagine and Lennon have
some overlap with the mission of OLPC, but it is not as big as one
might think.  Looking at Yoko Ono has been saying and doing, she/they
are more into new-agey, peseudo-sciencey, and not quite a good message
in conjunction with education.

  I like some of the songs, and I don't oppose to progressive art and
their activities, but I feel it awkward if people treat Lennon as a
big symbol for practical world changer and not to mention for
education.)

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


Re: G1G1 updates, Lennon video and other vids

2008-12-30 Thread Bastien
Yoshiki Ohshima yosh...@vpri.org writes:

   I like some of the songs, and I don't oppose to progressive art and
 their activities, but I feel it awkward if people treat Lennon as a
 big symbol for practical world changer and not to mention for
 education.)

Yeah.

Too bad OLPC didn't make an animated movie with Socrates using a XO!

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


Re: [Grassroots-l] G1G1 updates, Lennon video and other vids

2008-12-30 Thread Marten Vijn
On Sat, 2008-12-27 at 22:58 -0500, Samuel Klein wrote:
 Aha!  Yes, I've made that a response to the recent spot.  As for the
 comments... this is a chance to work on your skill at teaching through
 one-liners.
 There are a few other great videos up that are worth sharing where
 appropriate; Joels video of an 8 and 10-year old repairing a keyboard
 comes to mind.  For those who haven't seen it:
 http://www.youtube.com/watch?v=Pus_fA1Tv9w
 
 Project4Awesome has some tips for using YouTube to spread an idea
 [they run an annual 'take over YT for charity' day every Dec. 17] -
 http://www.projectforawesome.com/?page_id=16




 
 SJ
 
 On Sat, Dec 27, 2008 at 9:53 PM, S Page i...@skierpage.com wrote:
   the common reaction How are kids going to use laptops in the middle of
  the jungle?  give them food!
 
  I didn't know about OLPC Mission: Part 2 The XO Laptop ,
  http://www.youtube.com/watch?v=qMeX2D4AOjM
  That video is outstanding!  I don't know how to suggest it as a stock
  response to the doubters.
 
  --
  =S
 
 
 
 ___
 Grassroots mailing list
 grassro...@lists.laptop.org
 http://lists.laptop.org/listinfo/grassroots
-- 
http://martenvijn.nl  Marten Vijn 
http://www.deupsidevandown.nl ***
http://laptop.org/xo Give One Get One
http://har2009.org August 13-16th 
http://opencommunitycamp.org 26th Jul 2nd August


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


re: anonymous gray activity circles

2008-12-30 Thread Greg Smith
Hi Chris,

Unless someone else has seen this, I think we need more detail on how to
reproduce it.

Can you write down the steps it takes to get a gray activity circle? 
Include the version of XO software you are running: 
http://wiki.laptop.org/go/What_release_am_I_running%3F

It may be that you are double clicking to start an activity. That can 
cause a second activity instance to try and start then fail and leave an 
icon in the frame. That's the only thing that comes to mind without more 
detail.

Thanks,

Greg S

*

From: jns-cmarsh...@comcast.net
Subject: anonymous gray activity circles
To: devel@lists.laptop.org

Is there a way to prevent the
anonymous gray activity circles
in the frame?  Some X apps
seem to accumulate circles with
no way i have been able to
determine to remove dead ones.
I tried to google the list but was
not able to generate useful links.

--Chris

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


Re: anonymous gray activity circles

2008-12-30 Thread Bert Freudenberg
On 30.12.2008, at 15:19, Greg Smith wrote:

 Hi Chris,

 Unless someone else has seen this


Anyone who ever tried to run a non-sugarized application has seen this.

- Bert -

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


Re: XOs with no sound

2008-12-30 Thread Greg Smith
Hi James et al,

That's great debugging and repair info. I especially like the use of the 
stack trace command! That's a great trick for hunting down which process 
is calling what files.

Do we know how this gets in a failed state to begin with?

I read the headlines of them most recent 100 bugs with sound in them 
and I didn't see anything that would cause this. I only saw 3 old, 
closed bugs with alsactl in them.

If we have an ideas on why or how this happens, let's file a bug and I 
can track it for 9.1.

Thanks,

Greg S

*

Date: Tue, 30 Dec 2008 20:46:39 +1100
From: qu...@laptop.org
Subject: Re: XOs with no sound
To: Philipp Kocher philipp.koc...@gmx.net
Cc: devel@lists.laptop.org
Message-ID: 20081230094639.ga12...@us.netrek.org
Content-Type: text/plain; charset=us-ascii

How to fix no sound caused by operating system.

1.  obtain the root prompt, e.g. by starting the Terminal activity and
clicking on become root button,

2.  if you wish to find out in which way the settings have been
corrupted, copy the file /etc/asound.state before proceeding,

cp /etc/asound.state /home/olpc/asound.state.orig

3.  obtain a copy of /etc/asound.state from a working XO, or from a
reinstalled XO, and place it in /etc/asound.state on the failed XO,

4.  restore the settings from the file,

alsactl restore

5.  test that sound now works.


Note: there is a possibility that the build 767 ALSA saved state file is
in some other place.  I've not checked.  I found out where the file was
on Joyride 2612 using a command:

strace -e open alsactl restore

-- James Cameron mailto:qu...@us.netrek.org http://quozl.netrek.org/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Grassroots-l] G1G1 updates, Lennon video and other vids

2008-12-30 Thread david
On Tue, 30 Dec 2008, Kevin Cole wrote:

 On Mon, Dec 29, 2008 at 16:21, Andr?s Ambrois andresambr...@gmail.com wrote:

 I also wouldn't feel comfortable articulating dead people imagery to make it
 seem like they said something they didn't. No matter how obvious it may seem
 that it is an actor, no matter how much his wife agrees with the statement.

 I feel Sagan's voice in this video would have made a true a deep message:

 http://www.youtube.com/watch?v=hLkC7ralR30

 I would suggest Sagan's Cosmos and Pale Blue Dot passages for future ads of
 this nature. There are countless great poets out there, no need to fake them
 :)

 At first, I didn't want to rain on anyone's parade, but I see others
 feel as I do.  Putting words in someone's mouth without a strong hint
 of parody isn't right.

Parody isn't nessasarily a requirement. The scenes in Forrest Gump where 
they have him meeting with the President isn't parody, but it's very 
clearly fiction, and a very appropriate use of this sort of technology.

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


Re: anonymous gray activity circles

2008-12-30 Thread Mikus Grinbergs
 Some X apps seem to accumulate circles with no way
 I have been able to determine to remove dead ones.

I happen to have sugarized Sonata.  [There appears to be some 
uncertainty in the launching of the mpd daemon that performs the 
actual playback.]  I do not mind the Sonata gray circle while the 
Activity is running.  On Joyride-2610, if I exit from Sonata by 
hovering on its gray circle in Frame, and clicking 'Stop' in the 
palette Frame shows me, the Activity seems to quit without leaving 
the gray circle behind.

But [probably depending on the state of the mpd daemon] if I exit 
from Sonata by clicking on the octagonal 'Stop sign' in the top bar, 
sometimes an anonymous gray activity circle gets left in Frame.

It would be nice if there were a way for an user to remove dead 
circles from Frame.

mikus

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


Fedora Desktop on XO

2008-12-30 Thread Greg Smith
Hi Peter et al,

I'm still looking for help resolving the dependencies Chris found when 
he tried to install Gnome.

The issue and thread are documented in the specifications section here:
http://wiki.laptop.org/go/Feature_roadmap/Run_Fedora_applications_on_XO

What do we do next when we get a list of dependency errors?

Paul,

I believe that you got XFCE running. Can you add the description of what 
you did to make that happen to this page?
http://wiki.laptop.org/go/Feature_roadmap/Run_Fedora_applications_on_XO

I may have a little time tomorrow to try it out if its not too complicated.

Thanks,

Greg S


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


Re: Auto-suspend and Presence Service

2008-12-30 Thread Greg Smith
Hi John,

Thanks for the comments and early catch on this.

Robert and wireless/collaboration experts,

Can you comment on this?

There are a couple of relevant requirements and known issues documented 
here: http://wiki.laptop.org/go/Feature_roadmap/Improved_battery_life

It sounds like we need a solid design proposal which defines exactly 
how/when the wireless uses power and how/when the XO wakes up. Any links 
or suggestions welcome.

Thanks,

Greg S

John Gilmore wrote:
 In 9.1.0, auto-suspend is going to be on by default, which we estimate
 will roughly triple our battery life.  We're working on fixing all the
 bugs that would prevent that.
 
 One of them is not strictly a bug -- it's a performance issue.  The
 Presence Service sends packets frequently, for tracking the presence
 of your friends and any shared activities.  Many of these are
 multicast packets (some are probably unicast jabber packets, too).
 
 In 8.2.0, with auto-suspend enabled, you have to run a specific command
 to enable suspended laptops to awaken when multicast packets arrive;
 see bug #6818 and run ethtool -s msh0 wol um.  This will become the
 default in 9.1.0.
 
 The problem I can foresee is that the Presence Service will send 
 packets so frequently that everyone's laptop will always be waking up,
 negating the power-stretching abilities of auto-suspend.  This seems
 to occur with only a few laptops around (in my tests at home); yet
 we need to make it work with dozens of laptops within range, for
 our deployments.
 
 I hope that the Collabora team is running in this mode now, and
 working out ways to reduce packet traffic to let sleeping laptops lie.
 The cellular phone industry went through several cycles of design
 improvements like this, enabling today's remarkable phone battery
 life, without impact on our ability to rapidly communicate whenever
 desired.  OLPC hasn't yet done the first round of such improvements,
 and I hope it WILL do so before 9.1.0.  We could all use those long
 battery lives -- especially the kids in the rural deployments.  We
 don't want to tell them to turn off collaboration if they want their
 laptop to last all day; it's one of our key features.
 
 John
 
 
 
 
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


New joyride build 2613

2008-12-30 Thread Build Announcer v2
http://xs-dev.laptop.org/~cscott/olpc/streams/joyride/build2613

Changes in build 2613 from build: 2612

Size delta: 0.00M

-cronie 1.2-4.fc10
+cronie 1.2-7.fc10
-perl 4:5.10.0-51.fc10
+perl 4:5.10.0-52.fc10
-perl-Module-Pluggable 1:3.60-51.fc10
+perl-Module-Pluggable 1:3.60-52.fc10
-perl-Pod-Escapes 1:1.04-51.fc10
+perl-Pod-Escapes 1:1.04-52.fc10
-perl-Pod-Simple 1:3.07-51.fc10
+perl-Pod-Simple 1:3.07-52.fc10
-perl-libs 4:5.10.0-51.fc10
+perl-libs 4:5.10.0-52.fc10
-perl-version 3:0.74-51.fc10
+perl-version 3:0.74-52.fc10
-portaudio 19-5.fc9
+portaudio 19-6.fc10
-python-setuptools 0.6c8-1.fc10
+python-setuptools 0.6c9-1.fc10
-sugar 0.83.4-2.olpc4
+sugar 0.83.3-1.olpc4
-sugar-toolkit 0.83.3-2.olpc4
+sugar-toolkit 0.83.2-3.olpc4

--- Changes for portaudio 19-6.fc10 from 19-5.fc9 ---
  + Add a patch by Kevin Kofler to make non mmap alsa (and thus pulseaudio) work

--
This mail was automatically generated
See http://dev.laptop.org/~rwh/announcer/joyride-pkgs.html for aggregate logs
See http://dev.laptop.org/~rwh/announcer/joyride_vs_update1.html for a 
comparison
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: New joyride build 2613

2008-12-30 Thread Mikus Grinbergs
 -sugar 0.83.4-2.olpc4
 +sugar 0.83.3-1.olpc4

What was wrong with sugar 0.83.4 ?

Why not start putting 0.84 in Joyride ?

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


Re: New joyride build 2613

2008-12-30 Thread david
On Tue, 30 Dec 2008, Build Announcer v2 wrote:

 Size delta: 0.00M

 -cronie 1.2-4.fc10
 +cronie 1.2-7.fc10
 -perl 4:5.10.0-51.fc10
 +perl 4:5.10.0-52.fc10
 -perl-Module-Pluggable 1:3.60-51.fc10
 +perl-Module-Pluggable 1:3.60-52.fc10
 -perl-Pod-Escapes 1:1.04-51.fc10
 +perl-Pod-Escapes 1:1.04-52.fc10
 -perl-Pod-Simple 1:3.07-51.fc10
 +perl-Pod-Simple 1:3.07-52.fc10
 -perl-libs 4:5.10.0-51.fc10
 +perl-libs 4:5.10.0-52.fc10
 -perl-version 3:0.74-51.fc10
 +perl-version 3:0.74-52.fc10

I thought you were trying to not have perl in the system?

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


Re: New joyride build 2613

2008-12-30 Thread Nate Ridderman
On Tue, Dec 30, 2008 at 3:51 PM, da...@lang.hm wrote:

 I thought you were trying to not have perl in the system?


My understanding is that Joyride builds are kicked off automatically when
there is something new to build. A new version of Perl was posted to the
Fedora repositories, so Joyride picked it up. This doesn't mean that perl
will stick around. Please correct me if I misstated something.


On Tue, Dec 30, 2008 at 2:42 PM, Mikus Grinbergs mi...@bga.com wrote:
 Why not start putting 0.84 in Joyride ?


From http://sugarlabs.org/go/DevelopmentTeam/Release/Roadmap:

Sucrose 0.83.x is an unstable development series intended for testing and
development purposes. Sucrose uses odd minor version numbers to indicate
development status, so this unstable 0.83.x series will eventually become
the 0.84 stable release. 

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


Re: New joyride build 2613

2008-12-30 Thread Sayamindu Dasgupta
On Wed, Dec 31, 2008 at 2:21 AM,  da...@lang.hm wrote:
 On Tue, 30 Dec 2008, Build Announcer v2 wrote:

 Size delta: 0.00M

 -cronie 1.2-4.fc10
 +cronie 1.2-7.fc10
 -perl 4:5.10.0-51.fc10
 +perl 4:5.10.0-52.fc10
 -perl-Module-Pluggable 1:3.60-51.fc10
 +perl-Module-Pluggable 1:3.60-52.fc10
 -perl-Pod-Escapes 1:1.04-51.fc10
 +perl-Pod-Escapes 1:1.04-52.fc10
 -perl-Pod-Simple 1:3.07-51.fc10
 +perl-Pod-Simple 1:3.07-52.fc10
 -perl-libs 4:5.10.0-51.fc10
 +perl-libs 4:5.10.0-52.fc10
 -perl-version 3:0.74-51.fc10
 +perl-version 3:0.74-52.fc10

 I thought you were trying to not have perl in the system?



Perl has been around for sometime in the joyrides now. I think it is
being pulled in via abiword and libgoffice and friends.

-sdg-



-- 
Sayamindu Dasgupta
[http://sayamindu.randomink.org/ramblings]
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: XOs with no sound

2008-12-30 Thread James Cameron
On Tue, Dec 30, 2008 at 09:32:38AM -0500, Greg Smith wrote:
 That's great debugging and repair info. I especially like the use of the 
 stack trace command! That's a great trick for hunting down which process 
 is calling what files.

Actually, it's a system call tracing command.  It can be used to show
what a process is asking the kernel to do.  Yes, it is an essential
technical support tool.  It can also be used on processes that are
already running.

 Do we know how this gets in a failed state to begin with?

No, not yet.

I've two theories as to cause.  Seeing the content of a failed
/etc/asound.state file beside a working file from the same build would
help confirm the theories.  I hope these can be made available.  My
theories are:

1.  one of the mixer controls was changed by an activity or other
program, and not changed back, (this is the most likely),

2.  some hitherto undetected defect in alsactl or the way it is being
called by our OS build.

The mixer is the hardware component that controls the many output
volumes, the microphone sensitivity, and the use of the microphone input
jack as a voltage sensor.  The set of controls is referred to as the
mixer settings.  There are more controls in the set than are exposed to
the Sugar or activity user.  All the controls can be changed on the
shell command line.  The Sugar volume keys manipulate the main output
volume.  The Frame shows the current main output volume.  The Measure
activity manipulates the microphone and voltage sensor.  The mixer
settings are preserved over shutdown and reboot by the operating system.

/etc/init.d/halt is where the mixer settings are saved.

/etc/init.d/olpc-configure is where the mixer settings are restored.

(I wonder why we want to save and restore mixer settings anyway?  Would
it not be better to set them to default on each boot?)

I have excluded empty mixer settings file as a cause.  If the file is
empty, alsactl uses default settings, and these are not significantly
different to the working settings.  Tested on Joyride 2612.

Revision to my previous instructions ... merely moving /etc/asound.state
to another name and rebooting may solve the immediate problem though not
the cause.

-- 
James Cameronmailto:qu...@us.netrek.org http://quozl.netrek.org/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Installing Flash on the OLPC

2008-12-30 Thread S Page
Dear genesee, Carlos Nazareno, Everybody,

gently Many more people are going to read 
http://wiki.laptop.org/go/Adobe_Flash page than follow this mailing 
list.  Your effect on XO users by only answering problems here is 
limited, you're just making the smart smarter still.

Just in time for New Year's resolutions:  edit the wiki page first.


Anyway, why does this wiki page tell you to enter
   sudo su -
   commands
when every other page I've seen says
   su -  (or su -l)
   commands
? `sudo su -` seems redundant.

Cheers,
--
=S Page
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: XOs with no sound

2008-12-30 Thread Philipp Kocher
What is the ticket number for that problem?

It seems like always the same 7 values are wrong.

There is a shorter solution:
1. Copy /etc/alsa/asound.state of a healthy XO to USB flash drive
2. Type alsactl -f /media/{flash_dirve_name}/asound.state restore on 
the XO with no sound

Thanks

qu...@laptop.org wrote:
 How to fix no sound caused by operating system.
 
 1.  obtain the root prompt, e.g. by starting the Terminal activity and
 clicking on become root button,
 
 2.  if you wish to find out in which way the settings have been
 corrupted, copy the file /etc/asound.state before proceeding,
 
   cp /etc/asound.state /home/olpc/asound.state.orig
 
 3.  obtain a copy of /etc/asound.state from a working XO, or from a
 reinstalled XO, and place it in /etc/asound.state on the failed XO,
 
 4.  restore the settings from the file,
 
   alsactl restore
 
 5.  test that sound now works.
 
 Note: there is a possibility that the build 767 ALSA saved state file is
 in some other place.  I've not checked.  I found out where the file was
 on Joyride 2612 using a command:
 
   strace -e open alsactl restore
 
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: anonymous gray activity circles

2008-12-30 Thread Chris Marshall
Greg Smith wrote:
 Hi Chris,
 
 Unless someone else has seen this, I think we need more detail on how to
 reproduce it.

os767 and Firefox-6 activity
start firefox
click on a file link to download
exit firefox after
left a gray circle

(Actually, it almost always leaves behind one
or more circles but I have not done exhaustive
testing to determine how many or under what
conditions.  It would be easier to start from
an understanding of how the circle gets there
to begin with (what is being used to trigger
the circle's appearance)...

--Chris

 Can you write down the steps it takes to get a gray activity circle? 
 Include the version of XO software you are running: 
 http://wiki.laptop.org/go/What_release_am_I_running%3F
 
 It may be that you are double clicking to start an activity. That can 
 cause a second activity instance to try and start then fail and leave an 
 icon in the frame. That's the only thing that comes to mind without more 
 detail.
 
 Thanks,
 
 Greg S
 
 *
 
 From: jns-cmarsh...@comcast.net
 Subject: anonymous gray activity circles
 To: devel@lists.laptop.org
 
 Is there a way to prevent the
 anonymous gray activity circles
 in the frame?  Some X apps
 seem to accumulate circles with
 no way i have been able to
 determine to remove dead ones.
 I tried to google the list but was
 not able to generate useful links.
 
 --Chris
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: New joyride build 2613

2008-12-30 Thread Peter Robinson
 Size delta: 0.00M

 -cronie 1.2-4.fc10
 +cronie 1.2-7.fc10
 -perl 4:5.10.0-51.fc10
 +perl 4:5.10.0-52.fc10
 -perl-Module-Pluggable 1:3.60-51.fc10
 +perl-Module-Pluggable 1:3.60-52.fc10
 -perl-Pod-Escapes 1:1.04-51.fc10
 +perl-Pod-Escapes 1:1.04-52.fc10
 -perl-Pod-Simple 1:3.07-51.fc10
 +perl-Pod-Simple 1:3.07-52.fc10
 -perl-libs 4:5.10.0-51.fc10
 +perl-libs 4:5.10.0-52.fc10
 -perl-version 3:0.74-51.fc10
 +perl-version 3:0.74-52.fc10

 I thought you were trying to not have perl in the system?



 Perl has been around for sometime in the joyrides now. I think it is
 being pulled in via abiword and libgoffice and friends.

Abiword no longer depends on perl. Its primarily cups and the libgnome
deps that pull it in. libgnome is pulled in by xulrunner.

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


Re: performance work

2008-12-30 Thread Jordan Crouse
Neil Graham wrote:
 On Mon, 2008-12-22 at 15:36 -0700, Jordan Crouse wrote:
 
 You might want to re-acquire the numbers with wireless turned off and 
 the system in a very quiet state.  If you want to be extra careful, you 
 can run the benchmarks in an empty X server (no sugar) and save the 
 results to a ramfs backed directory to avoid NAND. 
 
 
 The XO Numbers were recorded from a fairly inactive state.  Wireless was
 active but there shouldn't have been any traffic.  I did launch X with
 just an xterm, so sugar shouldn't be in play at all.  I didn't think of
 the speed of nand writes however.
 
 
  2) The accel path requires reading from video memory (which is 
 very slow)
 
 I'm curious as to why reads from video memory are so slow,  On standard
 video cards it's slow because there is quite a division between the CPU
 and the video memory,  but on the geode isn't the video memory shared in
 the same SDRAM as Main memory. 

It is, in that they share the same physical RAM chips, but they are 
controlled by different entities - one is managed by the system memory 
controller and the other is handled by the GPU.   At start up time, the 
memory is carved up by the firmware, and after the top of system RAM is 
established, video and system memory behave for all intents and purposes 
like separate components.  Put simply, there is no way to directly 
address video memory from the system memory.  Access to the video memory 
has to happen via PCI cycles, and for obvious reasons the active video 
region has the cache disabled, accounting for relatively slow readback.

That said, the read from memory performance is still worse then you 
might expect - I never really got a good answer from the silicon guys as 
to why.  If Tom Sylla is still reading this list, he might know more.

 There's a separate 2 meg for DCON memory, but I was under the impression
 that was just to remember the last frame.
 
 Do I have that all wrong?   

No - thats right, there is a completely separate bank of chips just for 
the DCON.

Jordan


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


Re: XOs with no sound

2008-12-30 Thread James Cameron
On Wed, Dec 31, 2008 at 09:22:17AM +0700, Philipp Kocher wrote:
 It seems like always the same 7 values are wrong.

Which 7 values?

 1. Copy /etc/alsa/asound.state of a healthy XO to USB flash drive

Okay, so it is in /etc/alsa on those builds?  Are you sure that file is
in use?  On the build I'm using, there is a file in
/etc/alsa/asound.state that is not updated, as well as one in
/etc/asound.state .  (I would have thought /var would have been more
appropriate).

Your process has two steps and requires a working XO.  I think it is
even simpler to

alsactl -f /dev/null restore

-- 
James Cameronmailto:qu...@us.netrek.org http://quozl.netrek.org/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Server-devel] XS 0.5.1-dev03 with ejabberd goodness, kernel bling, Access Point workingness... looking for xmas testers

2008-12-30 Thread Reuben K. Caron
David,

Thank you for the information.

Can you attempt to perform a clean install again with edits in line below.

David Leeming wrote:
 Hi Reuben

  

 -  Installed 0.5 Nov 19th download on Toshiba notebook computer with
 black box prototype AA (USB)

 -  Fresh install (overwriting not upgrading the previously fully
 working 0.4 installation

 -  Set location Guadalcanal, use local time
   
(I did not change this in my tests; I doubt this has any effect but want
to note I left this at the default setting)

 -  No optional application selected

 -  Install.. restart

 -  /etc/sysconfig/olpc-scripts/domain_config oceania.org
   
After running domain_config

Then edit the file /etc/sysconfig/network and set hostname to
schoolserver.oceania.org (nano /etc/sysconfig/network)

Then restart (shutdown -r now)


 -  chkconfig --level 345 ejabberd on

 -  service ejabberd start

   
Wait a few minutes for ejabberd to completely startup. You can check
it's status by running: service ejabberd status

 -  ejabberdctl register admin schoolserver.oceania.org admin 

   

With a fresh install of 0.5.1 dev 3 you don't need the following from
here --
 -  restart

 -  yum --enablerepo=olpcxs-testing update

 -  restart

   
to here --

 -  One one of 4 XOs, log onto ejabberd web admin and set up shared
 roster Online

 -  restart

 -  start all four XOs and register, then restart

  
   
On the XOs are registering from a fresh OS install, 8.2? If the XOs have
been previously registered; you will need to clean out their
registration by removing the server fields in
/home/olpc/.sugar/default/config.

After removing these fields; restart the XOs
Then connect the XOs to the appropriate SSID or AA.
Then register the XO.
Then restart the XO.

I hope this helps. Please let us know.

 At this stage I cannot see any other XO, and still had to do the work around
 of removing all four users from the ejabberd webadmin and restarting
 everything before I could see them in the neighbourhood views.  (as advised
 by Martin):

  

 (Martin wrote...) To avoid re-installing the XS to re-test the just
 registered scenario you can

  - go with a webbrowser to the ejabberd admin panel, go into the
 'schoolserver' vhost listed there and delete all the users registered

  - restart ejabberd

  - restart the laptops

  

 This happens each time a laptop is restarted. 

  

 However, once all going, it is fine: 

 - All four show up in the eJabberd control panel as users

 - All have the same correct results for olpc-netstatus 

 - I tried sharing Memorize - all four OK

 - Video chat is OK between any two

 - Server access and Internet browsing all OK (updated them each online)

  

  

 Log attached

  

  

  

  

 David Leeming

 Technical Advisor, People First Network, Honiara, Solomon Islands

 Alternative email address: leemingda...@yahoo.com.au 

  

  

 From: Reuben Caron [mailto:caron.reu...@gmail.com] On Behalf Of Reuben K.
 Caron
 Sent: Tuesday, 30 December 2008 12:15 p.m.
 To: David Leeming
 Cc: XS Devel; Martin Langhoff
 Subject: Re: [Server-devel] XS 0.5.1-dev03 with ejabberd goodness, kernel
 bling, Access Point workingness... looking for xmas testers

  

 Hmm..

 Are you upgrading or doing this from fresh install? 

 If upgrade from what previous version?

 If from fresh install can you give more detail to the exact steps you are
 performing?

 (pardon me if you provided this information earlier; I quickly reviewed the
 archive and could not find anything)

 Reuben


 Martin Langhoff wrote: 

 On Mon, Dec 29, 2008 at 10:04 PM, David Leeming
  mailto:leem...@pipolfastaem.gov.sb leem...@pipolfastaem.gov.sb wrote:
   

 It works but you have to run through the procedure below each time you start
 the XOs up with the server.
 

  
 Hmmm, well, that's definitely not normal procedure!
  
   

 - I have to log onto ejabberd web admin with all XOs turned off and delete
 all users (time consuming for a class of 40) and then start them up.
 Then it will work fine and the neighbourhood screens populate, until you
 want to start again. Next time you start everything up, you will not see the
 other XOs, until the procedure is repeated.
 

  
 I suspect there's something else happening there... on the server
 there should be a log for ejabberd, /var/log/ejabberd.log I think. Can
 you post it to the list or to me? That should give us something to
 chew on...
  
 cheers,
  
  
 m
   

  


   

-- 
Reuben K. Caron
Country Support Engineer
One Laptop per Child
Mobile: +1-617-230-3893
reu...@laptop.org
Deployments Support http://wiki.laptop.org/go/Deployments_Support
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel