Re: 12.1.0 devel build 5 released, for the XO-1, XO-1.5 and XO-1.75

2012-03-26 Thread James Cameron
On Mon, Mar 26, 2012 at 10:41:27PM -0700, Yioryos Asprobounitis wrote:
> 
> 
> --- On Mon, 3/26/12, James Cameron  wrote:
> 
> > From: James Cameron 
> > Subject: Re: 12.1.0 devel build 5 released, for the XO-1, XO-1.5 and XO-1.75
> > To: "Walter Bender" 
> > Cc: o...@lists.fedoraproject.org, a...@lists.fedoraproject.org, 
> > devel@lists.laptop.org
> > Date: Monday, March 26, 2012, 10:51 PM
> > On Mon, Mar 26, 2012 at 10:14:57PM
> > -0400, Walter Bender wrote:
> > > On Mon, Mar 26, 2012 at 6:30 PM, Mikus Grinbergs 
> > wrote:
> > > > FYI - odd:
> > > >
> > > > I have an (ext2) USB stick. ?On Linux, or on
> > pre-12.1.0 XO1/XO1.5, -- that
> > > > stick gets automounted as /media/CAVE
> > > >
> > > > On 12.1.0.- os5 - XO 1.5 -- that stick gets
> > automounted as
> > > > ?/run/media/olpc/CAVE
> > > 
> > > This is due to the new filesystem reorg in Fedora 17.
> > 
> > There's a few things to change in documentation then, not
> > just ours, but
> > also for deployments.? Should we customise our Fedora
> > 17 builds to use
> > the old name instead?? Or release note it?
> 
> Customization maybe needed.
> On XO-1/os5 usb sticks are not automouted. /run/media is generated but 
> nothing further. The stick does not show in the frame or the gnome desktop. 
> Does show under Places>Computer but mount fails with operation not supported.
> SDcards do not generate  a /run/media (or any other I could find) entry and 
> do not show anywhere on sugar or gnome.
> Both sticks and cards mount fine with `sudo mount  '
> These are with ext2/3 formated sticks and cards

No, I wasn't talking about the bug that leads to them not being mounted,
that is well in hand already ... I was talking only about the change
from /media to /run/media/$USER and the impact on documentation.

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


Re: 12.1.0 devel build 5 released, for the XO-1, XO-1.5 and XO-1.75

2012-03-26 Thread Yioryos Asprobounitis


--- On Mon, 3/26/12, James Cameron  wrote:

> From: James Cameron 
> Subject: Re: 12.1.0 devel build 5 released, for the XO-1, XO-1.5 and XO-1.75
> To: "Walter Bender" 
> Cc: o...@lists.fedoraproject.org, a...@lists.fedoraproject.org, 
> devel@lists.laptop.org
> Date: Monday, March 26, 2012, 10:51 PM
> On Mon, Mar 26, 2012 at 10:14:57PM
> -0400, Walter Bender wrote:
> > On Mon, Mar 26, 2012 at 6:30 PM, Mikus Grinbergs 
> wrote:
> > > FYI - odd:
> > >
> > > I have an (ext2) USB stick. ?On Linux, or on
> pre-12.1.0 XO1/XO1.5, -- that
> > > stick gets automounted as /media/CAVE
> > >
> > > On 12.1.0.- os5 - XO 1.5 -- that stick gets
> automounted as
> > > ?/run/media/olpc/CAVE
> > 
> > This is due to the new filesystem reorg in Fedora 17.
> 
> There's a few things to change in documentation then, not
> just ours, but
> also for deployments.  Should we customise our Fedora
> 17 builds to use
> the old name instead?  Or release note it?

Customization maybe needed.
On XO-1/os5 usb sticks are not automouted. /run/media is generated but nothing 
further. The stick does not show in the frame or the gnome desktop. Does show 
under Places>Computer but mount fails with operation not supported.
SDcards do not generate  a /run/media (or any other I could find) entry and do 
not show anywhere on sugar or gnome.
Both sticks and cards mount fine with `sudo mount  '
These are with ext2/3 formated sticks and cards


> 
> -- 
> James Cameron
> http://quozl.linux.org.au/
> ___
> olpc mailing list
> o...@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/olpc
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: 12.1.0 devel build 5 released, for the XO-1, XO-1.5 and XO-1.75

2012-03-26 Thread James Cameron
On Mon, Mar 26, 2012 at 10:14:57PM -0400, Walter Bender wrote:
> On Mon, Mar 26, 2012 at 6:30 PM, Mikus Grinbergs  wrote:
> > FYI - odd:
> >
> > I have an (ext2) USB stick. ?On Linux, or on pre-12.1.0 XO1/XO1.5, -- that
> > stick gets automounted as /media/CAVE
> >
> > On 12.1.0.- os5 - XO 1.5 -- that stick gets automounted as
> > ?/run/media/olpc/CAVE
> 
> This is due to the new filesystem reorg in Fedora 17.

There's a few things to change in documentation then, not just ours, but
also for deployments.  Should we customise our Fedora 17 builds to use
the old name instead?  Or release note it?

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


Re: 12.1.0 devel build 5 released, for the XO-1, XO-1.5 and XO-1.75

2012-03-26 Thread Walter Bender
On Mon, Mar 26, 2012 at 6:30 PM, Mikus Grinbergs  wrote:
> FYI - odd:
>
> I have an (ext2) USB stick.  On Linux, or on pre-12.1.0 XO1/XO1.5, -- that
> stick gets automounted as /media/CAVE
>
> On 12.1.0.- os5 - XO 1.5 -- that stick gets automounted as
>  /run/media/olpc/CAVE

This is due to the new filesystem reorg in Fedora 17.

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



-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: XO1/os31 update-nand issues

2012-03-26 Thread James Cameron
On Mon, Mar 26, 2012 at 09:45:25AM -0500, Mikus Grinbergs wrote:
> >Don't use update-nand on XO-1 against a non-partitioned image.
> >
> >Once a signed build becomes available, the instructions should
> >be changed to using the four-game-key method of starting the
> >process, without any typing required.
> 
> I myself keep several "build versions" on one (large) USB stick, so
> I do need to type - to indicate which "build version" I'm
> installing.

Yes, that use case is not well supported and it could be improved.

The Australian deployment improved it by adding a boot procedure on the
USB drive, in boot/olpc.fth, which checks for certain conditions and
perhaps asks questions.  It has been a while since I reviewed it.

In your situation, you might benefit from a boot menu that offers to
install each of the compatible builds it finds on the USB drive.  It
would only be used on unsecure laptops.  Is that interesting?

> I've been going by the filename-extension -- using 'copy-nand' for
> .img and using 'update-nand' for .onu -- but I was surprised to have
> to use 'copy-nand' with the 12.1.0 os5 for XO-1 -- 'update-nand'
> told me the file length was incorrect.

I have not tried 12.1.0 yet, but you should use whatever method the
release engineer recommends.

> p.s. James - I have a "weak" XO-1, on which I often needed to redo
> an attempted install (because fetching the data off the USB stick
> happened to experience a file read error).  Mitch Bradley came up
> with a timing change in q2e46a.rom which in my testing made
> 'copy-nand' run smoothly on that "weak" XO-1.
> 
> I noticed that with one of this year's q2f roms that I again had to
> redo 'copy-nand' on that "weak" XO-1.  Did the q2e46a change ever
> make it into the q2f roms ?

Since q2e46a was not a controlled release, I don't have any record as to
which SVN commit (if any) went into it, sorry.

The first mention of q2e46a in mail was from you on 23rd October 2011,
and you were quoting a message from Mitch, saying it was on "10/11".

The nearest USB related change was svn 2591,
http://tracker.coreboot.org/trac/openfirmware/changeset/2591

And yes, this is in the q2f series, though there may have been other
changes since.

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


Re: How to run sugar on ArchLinux

2012-03-26 Thread lite li
I have contacted with the packager - dram

I thought sugar package need a default layout to show these activity icon.
We are trying to fix it.

BR,

On Tue, Mar 27, 2012 at 12:36 AM, Sascha Silbe
 wrote:
> Excerpts from lite li's message of 2012-03-21 05:39:37 +0100:
>
>> After run this:
>>   gconftool-2 -s /desktop/sugar/desktop/favorites_layout -t string 
>> ring-layout
>>
>> The Sugar and Etoys works on archlinux with sugar-unstable package.
>
> This indicates that for some reason the Sugar gconf schema files
> (containing the defaults for all configuration settings) are not found
> and / or not used. You may get other, more subtle breakage if you
> don't fix the underlying problem.
>
> You should work with the ArchLinux Sugar packager / packaging team to
> figure out why. If Sugar packages are treated specially in Arch Linux
> (using GCONF_DEFAULT_SOURCE_PATH rather than installing to a system
> location or adjusting /etc/gconf/2/path), Gnome#664031 may be the
> culprit.
>
> Sascha
>
> [1] https://bugzilla.gnome.org/show_bug.cgi?id=664031
> --
> http://sascha.silbe.org/
> http://www.infra-silbe.de/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: 12.1.0 devel build 5 released, for the XO-1, XO-1.5 and XO-1.75

2012-03-26 Thread Mikus Grinbergs

FYI - odd:

I have an (ext2) USB stick.  On Linux, or on pre-12.1.0 XO1/XO1.5, -- 
that stick gets automounted as /media/CAVE


On 12.1.0.- os5 - XO 1.5 -- that stick gets automounted as
 /run/media/olpc/CAVE

mikus

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


Re: New boot animation for 12.1.0

2012-03-26 Thread Richard Smith
> pps.  Richard - when the "pretty boot" appears to stall, I do not think
> booting has gotten very far.  Without both USB devices plugged in, "pretty
> boot" eventually activates the camera LED (presumably while initializing the
> camera).  But when "pretty boot" stalls (with both USB devices plugged in),
> I did not see the camera LED ever being activated.
> [BTW, whenever booting completes and the system is up. powerd *is* running.]

ok. Well then someone will have to duplicate the setup and a serial
console to see whats up.

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


Re: [Techteam] Announcing Q4D06 for XO-1.75

2012-03-26 Thread Andres Salomon
On Mon, 26 Mar 2012 20:08:34 +0200
Sascha Silbe  wrote:

> Excerpts from James Cameron's message of 2012-03-21 06:11:57 +0100:
> 
> > - enable flattened device tree export to Linux, requires recent
> >   kernels, ticket #11568,
> 
> Does this just mean that recent kernels are needed in order to benefit
> from FDT passing, or is Q4D06 unable to boot kernels that expect a
> non-flattened (un-flattened?) device tree?
> 

Q4D06 will be unable to boot kernels that don't support a non-flattened
device-tree.  Kernel support has been there for a little while now*, so
your existing kernel _may_ support it.  I can't say for sure without
knowing which kernel you're running.

* Added on Feb 3rd w/ commit 4e23d0d5 ["olpc: convert device-tree code
to support both prom DT and flat DT"]
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Announcing Q4D06 for XO-1.75

2012-03-26 Thread Chris Ball
Hi,

On Mon, Mar 26 2012, Sascha Silbe wrote:
> Does this just mean that recent kernels are needed in order to benefit
> from FDT passing, or is Q4D06 unable to boot kernels that expect a
> non-flattened (un-flattened?) device tree?

It just means that the kernel will find the FDT now, shouldn't have any
effect on booting.

> I'm specifically asking because recent kernels don't like my SD card
> (only one in about twenty or fifty boots succeeds; two different
> failure modes), so I'd need to make sure I diagnose and fix that
> before upgrading OFW the next time.

That sounds bad, what are the failure modes?

- Chris.
-- 
Chris Ball  
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [OLPC Engineering] [Techteam] 12.1.0 devel build 5 released, for the XO-1, XO-1.5 and XO-1.75

2012-03-26 Thread Peter Robinson
On Mon, Mar 26, 2012 at 6:49 PM, Chris Ball  wrote:
> Hi,
>
> On Mon, Mar 26 2012, Niels de Vos wrote:
>> Now, I'd like to have the wireless working somehow. Any hints, or is
>> there a ticket open for this already?
>
> We're not sure why the crashes are happening.  If you (or anyone else)
> would be willing to help debug, it'd be appreciated.  Either of these
> two tests would be helpful:
>
> (1) Try installing the kernel from 11.3.1 build os31 on os5:
>
>     
> http://dev.laptop.org/~kernels/public_rpms/f14-xo1.75/kernel-3.0.19_xo1.75-20120320.1540.olpc.7e610e7.armv7l.rpm
>
>    and see if the problem persists.
>
> (2) Try installing the kernel from os5 onto 11.3.1 build os31:
>
>     
> http://dev.laptop.org/~kernels/public_rpms/f17-xo1.75/kernel-3.0.19_xo1.75-20120322.1410.olpc.8f384dd.armv7l.rpm
>
> That'll help work out whether the problem follows the kernel RPM or
> the build image.  (Make sure that you've checked that you are actually
> running the newly-installed kernel, with uname -r.)

In both cases above you'll need to force the arch, the kernels
themselves will work just fine but rpm won't allow you to install
without using --ignorearch.

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


Re: Announcing Q4D06 for XO-1.75

2012-03-26 Thread Sascha Silbe
Excerpts from James Cameron's message of 2012-03-21 06:11:57 +0100:

> - enable flattened device tree export to Linux, requires recent
>   kernels, ticket #11568,

Does this just mean that recent kernels are needed in order to benefit
from FDT passing, or is Q4D06 unable to boot kernels that expect a
non-flattened (un-flattened?) device tree?

I'm specifically asking because recent kernels don't like my SD card
(only one in about twenty or fifty boots succeeds; two different
failure modes), so I'd need to make sure I diagnose and fix that
before upgrading OFW the next time.

Sascha

-- 
http://sascha.silbe.org/
http://www.infra-silbe.de/


signature.asc
Description: PGP signature
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] Patch: Mobile dongles

2012-03-26 Thread Jerry Vonau
On Mon, 2012-03-26 at 13:27 -0400, Paul Fox wrote:
> jerry wrote:
>  > On Mon, 2012-03-26 at 11:54 -0400, Paul Fox wrote:
>  > > jerry wrote:
>  > >  > On Mon, 2012-03-26 at 16:44 +1100, fors...@ozonline.com.au wrote:
>  > >  > > David
>  > >  > > 
>  > >  > > This message was sent with a gsm dongle on an xo-1
>  > >  > >  
>  > >  > >  modem:Huawei E160E
>  > >  > >  carrier:Locked to Dodo (an Optus reseller)
>  > >  > >  XO-1
>  > >  > >  OS31 development which is same as os884 signed
>  > >  > >  
>  > >  > >  in my settings, enter username, password, leave *99# unaltered, 
> dodolns1, blank, blank
>  > >  > >  
>  > >  > >  turn off power management, because XO looses connection in sleep 
> mode
>  > >  > 
>  > >  > I have an enhancements to powerd to inhibit suspend for that issue. 
> The
>  > >  > attached proof of concept patch is heavy on tracing, should apply, 
> maybe
>  > >  > with an offset, and needs /etc/powerd/flags/modules-inhibits created
>  > >  > containing usb_wwan. Once usb_wwan is inserted in the kernel, it 
> remains
>  > >  > in memory you can have NM dispatcher or pppd remove the module when 
> the
>  > >  > connection is torn down to restore normal power management operation.
>  > >  > These features are in testable with au210. Sorry 4g images only, with 
> no
>  > >  > firmware in the image. http://build.laptop.org.au/xo/os/latest/
>  > > 
>  > > is presence of the module really the best way to do this?  is it
>  > > possible to look for the presence of the network interface, or maybe
>  > > simply network traffic, or something similar?  
>  > 
>  > In the field test reports are saying the modem is getting reset upon
>  > suspend while the trying to connect. Think the 15 second, 5 second if
>  > your in suspend and don't have any other user activity, sleep loop may
>  > not allow enough time to have the modem complete the pppd handshake and
>  > bring up the interface. 
> 
> who manages the connection?  network manager?  

NetworkManager/modem-manager

> does it announce the connection sequence via dbus?  

They should but I'm unsure or what signals are. 

> powerd-dbus is already listening for
> connection status to prevent sleep during wifi association -- perhaps
> that mechanism can be leveraged.
> 

That would be the best way.

>  > 
>  > > i assume using the
>  > > existing usb-inhibits is impractical because of the variety of
>  > > devices, is that right?
>  > >   
>  > Yes, that is the reason. We want a one-size-fits-all fix where the user
>  > doesn't have to populate any files. 
>  > 
>  > > i guess it would be too much to ask for all
>  > > GSM devices to be in the same USB class.  :-/
>  > > 
>  > What would be the appropriate USB class? Mine comes up as usb-storage at
>  > first and usb_modeswitch has to act on it adding time to the connection
>  > routine. 
>  > 
>  > > (maybe the module presence check is okay -- it just doesn't feel right.)
>  > > 
>  > I think this could be used for other devices also like wedo or usb2vga
>  > maybe.
> 
> perhaps.
> 
> wedo is readily identifiable by vendor, i think -- and why would one
> want it to inhibit suspend?  that seems more like it should be under
> the activity's control.
> 

Think there needs to be a consensus on what should be in powerd and
which activities need to prevent suspend.

> i'd think (but don't know) that usb2vga would be used seldom enough
> that you could either inhibit suspend manually, or change the config
> so it doesn't suspend when plugged in -- i can't imagine using usb2vga
> when you don't have plenty of power available.

Sure untick the box in the applet is a good workaround, like for a usb
modem. ;)

Jerry





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


Re: [OLPC Engineering] [Techteam] 12.1.0 devel build 5 released, for the XO-1, XO-1.5 and XO-1.75

2012-03-26 Thread Chris Ball
Hi,

On Mon, Mar 26 2012, Niels de Vos wrote:
> Now, I'd like to have the wireless working somehow. Any hints, or is
> there a ticket open for this already?

We're not sure why the crashes are happening.  If you (or anyone else)
would be willing to help debug, it'd be appreciated.  Either of these
two tests would be helpful:

(1) Try installing the kernel from 11.3.1 build os31 on os5:

 
http://dev.laptop.org/~kernels/public_rpms/f14-xo1.75/kernel-3.0.19_xo1.75-20120320.1540.olpc.7e610e7.armv7l.rpm

and see if the problem persists.

(2) Try installing the kernel from os5 onto 11.3.1 build os31:

 
http://dev.laptop.org/~kernels/public_rpms/f17-xo1.75/kernel-3.0.19_xo1.75-20120322.1410.olpc.8f384dd.armv7l.rpm

That'll help work out whether the problem follows the kernel RPM or
the build image.  (Make sure that you've checked that you are actually
running the newly-installed kernel, with uname -r.)

Thanks!

- Chris.
-- 
Chris Ball  
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] Patch: Mobile dongles

2012-03-26 Thread Paul Fox
jerry wrote:
 > On Mon, 2012-03-26 at 11:54 -0400, Paul Fox wrote:
 > > jerry wrote:
 > >  > On Mon, 2012-03-26 at 16:44 +1100, fors...@ozonline.com.au wrote:
 > >  > > David
 > >  > > 
 > >  > > This message was sent with a gsm dongle on an xo-1
 > >  > >  
 > >  > >  modem:Huawei E160E
 > >  > >  carrier:Locked to Dodo (an Optus reseller)
 > >  > >  XO-1
 > >  > >  OS31 development which is same as os884 signed
 > >  > >  
 > >  > >  in my settings, enter username, password, leave *99# unaltered, 
 > > dodolns1, blank, blank
 > >  > >  
 > >  > >  turn off power management, because XO looses connection in sleep mode
 > >  > 
 > >  > I have an enhancements to powerd to inhibit suspend for that issue. The
 > >  > attached proof of concept patch is heavy on tracing, should apply, maybe
 > >  > with an offset, and needs /etc/powerd/flags/modules-inhibits created
 > >  > containing usb_wwan. Once usb_wwan is inserted in the kernel, it remains
 > >  > in memory you can have NM dispatcher or pppd remove the module when the
 > >  > connection is torn down to restore normal power management operation.
 > >  > These features are in testable with au210. Sorry 4g images only, with no
 > >  > firmware in the image. http://build.laptop.org.au/xo/os/latest/
 > > 
 > > is presence of the module really the best way to do this?  is it
 > > possible to look for the presence of the network interface, or maybe
 > > simply network traffic, or something similar?  
 > 
 > In the field test reports are saying the modem is getting reset upon
 > suspend while the trying to connect. Think the 15 second, 5 second if
 > your in suspend and don't have any other user activity, sleep loop may
 > not allow enough time to have the modem complete the pppd handshake and
 > bring up the interface. 

who manages the connection?  network manager?  does it announce the
connection sequence via dbus?  powerd-dbus is already listening for
connection status to prevent sleep during wifi association -- perhaps
that mechanism can be leveraged.

 > 
 > > i assume using the
 > > existing usb-inhibits is impractical because of the variety of
 > > devices, is that right?
 > >   
 > Yes, that is the reason. We want a one-size-fits-all fix where the user
 > doesn't have to populate any files. 
 > 
 > > i guess it would be too much to ask for all
 > > GSM devices to be in the same USB class.  :-/
 > > 
 > What would be the appropriate USB class? Mine comes up as usb-storage at
 > first and usb_modeswitch has to act on it adding time to the connection
 > routine. 
 > 
 > > (maybe the module presence check is okay -- it just doesn't feel right.)
 > > 
 > I think this could be used for other devices also like wedo or usb2vga
 > maybe.

perhaps.

wedo is readily identifiable by vendor, i think -- and why would one
want it to inhibit suspend?  that seems more like it should be under
the activity's control.

i'd think (but don't know) that usb2vga would be used seldom enough
that you could either inhibit suspend manually, or change the config
so it doesn't suspend when plugged in -- i can't imagine using usb2vga
when you don't have plenty of power available.

paul
=-
 paul fox, p...@laptop.org
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] Patch: Mobile dongles

2012-03-26 Thread Jerry Vonau
On Mon, 2012-03-26 at 11:54 -0400, Paul Fox wrote:
> jerry wrote:
>  > On Mon, 2012-03-26 at 16:44 +1100, fors...@ozonline.com.au wrote:
>  > > David
>  > > 
>  > > This message was sent with a gsm dongle on an xo-1
>  > >  
>  > >  modem:Huawei E160E
>  > >  carrier:Locked to Dodo (an Optus reseller)
>  > >  XO-1
>  > >  OS31 development which is same as os884 signed
>  > >  
>  > >  in my settings, enter username, password, leave *99# unaltered, 
> dodolns1, blank, blank
>  > >  
>  > >  turn off power management, because XO looses connection in sleep mode
>  > 
>  > I have an enhancements to powerd to inhibit suspend for that issue. The
>  > attached proof of concept patch is heavy on tracing, should apply, maybe
>  > with an offset, and needs /etc/powerd/flags/modules-inhibits created
>  > containing usb_wwan. Once usb_wwan is inserted in the kernel, it remains
>  > in memory you can have NM dispatcher or pppd remove the module when the
>  > connection is torn down to restore normal power management operation.
>  > These features are in testable with au210. Sorry 4g images only, with no
>  > firmware in the image. http://build.laptop.org.au/xo/os/latest/
> 
> is presence of the module really the best way to do this?  is it
> possible to look for the presence of the network interface, or maybe
> simply network traffic, or something similar?  

In the field test reports are saying the modem is getting reset upon
suspend while the trying to connect. Think the 15 second, 5 second if
your in suspend and don't have any other user activity, sleep loop may
not allow enough time to have the modem complete the pppd handshake and
bring up the interface. 

> i assume using the
> existing usb-inhibits is impractical because of the variety of
> devices, is that right?
>   
Yes, that is the reason. We want a one-size-fits-all fix where the user
doesn't have to populate any files. 

> i guess it would be too much to ask for all
> GSM devices to be in the same USB class.  :-/
> 
What would be the appropriate USB class? Mine comes up as usb-storage at
first and usb_modeswitch has to act on it adding time to the connection
routine. 

> (maybe the module presence check is okay -- it just doesn't feel right.)
> 
I think this could be used for other devices also like wedo or usb2vga
maybe.

Jerry

 

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


Re: How to run sugar on ArchLinux

2012-03-26 Thread Sascha Silbe
Excerpts from lite li's message of 2012-03-21 05:39:37 +0100:

> After run this:
>   gconftool-2 -s /desktop/sugar/desktop/favorites_layout -t string ring-layout
> 
> The Sugar and Etoys works on archlinux with sugar-unstable package.

This indicates that for some reason the Sugar gconf schema files
(containing the defaults for all configuration settings) are not found
and / or not used. You may get other, more subtle breakage if you
don't fix the underlying problem.

You should work with the ArchLinux Sugar packager / packaging team to
figure out why. If Sugar packages are treated specially in Arch Linux
(using GCONF_DEFAULT_SOURCE_PATH rather than installing to a system
location or adjusting /etc/gconf/2/path), Gnome#664031 may be the
culprit.

Sascha

[1] https://bugzilla.gnome.org/show_bug.cgi?id=664031
-- 
http://sascha.silbe.org/
http://www.infra-silbe.de/


signature.asc
Description: PGP signature
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: 12.1.0 devel build 5 released, for the XO-1, XO-1.5 and XO-1.75

2012-03-26 Thread Paul Fox
gary wrote:
 > On 26 Mar 2012, at 16:24, Daniel Drake  wrote:
 > 
 > > On Sat, Mar 24, 2012 at 4:56 PM, Peter Robinson  
 > > wrote:
 > >> The release is our first combined 12.1.0 / Fedora 17 release, such a
 > >> small release but represents so much time by so many people in both
 > >> OLPC and Fedora in the ARM side of things to get a "hardfp" ARM
 > >> release.
 > > 
 > > Thanks everyone for all the feedback so far!
 > 
 > Just noticed that on the XO-1, the laptop power button doesn't trigger the 
 > usual sleep/shutdown full screen UI. Works fine on the XO-1.75.

in general i wouldn't expect much from powerd for this release on the
xo-1 and xo-1.5 -- i believe it's failing to start.  i'm working on it.

paul

 > 
 > Regards,
 > --Gary
 > 
 > > We've put tickets in trac for the biggest issues reported here and
 > > will now be working to resolve all the problems. Stay tuned for new
 > > builds!
 > > 
 > > Daniel
 > > ___
 > > olpc mailing list
 > > o...@lists.fedoraproject.org
 > > https://admin.fedoraproject.org/mailman/listinfo/olpc
 > ___
 > Devel mailing list
 > Devel@lists.laptop.org
 > http://lists.laptop.org/listinfo/devel

=-
 paul fox, p...@laptop.org
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: 12.1.0 devel build 5 released, for the XO-1, XO-1.5 and XO-1.75

2012-03-26 Thread Gary Martin
On 26 Mar 2012, at 16:24, Daniel Drake  wrote:

> On Sat, Mar 24, 2012 at 4:56 PM, Peter Robinson  wrote:
>> The release is our first combined 12.1.0 / Fedora 17 release, such a
>> small release but represents so much time by so many people in both
>> OLPC and Fedora in the ARM side of things to get a "hardfp" ARM
>> release.
> 
> Thanks everyone for all the feedback so far!

Just noticed that on the XO-1, the laptop power button doesn't trigger the 
usual sleep/shutdown full screen UI. Works fine on the XO-1.75.

Regards,
--Gary

> We've put tickets in trac for the biggest issues reported here and
> will now be working to resolve all the problems. Stay tuned for new
> builds!
> 
> Daniel
> ___
> olpc mailing list
> o...@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/olpc
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: coding 88W8388 firmware

2012-03-26 Thread Sascha Silbe
Excerpts from John Watlington's message of 2012-03-22 03:27:14 +0100:

> We did pay to get a version of firmware developed for both the 8388 and
> the 8686 which offloads the packet processing to the main processor
> (normally much of this is done by the WLAN's processor).   This "thin
> firmware", while consuming more power does allow open source support
> for 802.11s and AP mode as well as open experimentation with mesh
> routing and protocols.  See http://wiki.laptop.org/go/Thinfirm_1.5 and
> http://wiki.laptop.org/go/Libertas_Thinfirmware_HOWTO

It's worth noting that while libertas_tf exists, it has never been
upstreamed and isn't maintained in any way. Fixes to libertas that
apply to libertas_tf as well don't get ported. I'm afraid that except
maybe for a few special cases it isn't very useful in this state.

It's sad to see this useful code rot away. It still requires
proprietary firmware, but at least you can use it for AP mode and
802.11s (not to be confused with the OLPC mesh protocol that was based
on an early draft of 802.11s and isn't interoperable with anything
else). And maybe it's easier to port Thinform to a different operating
system (on the libertas chip) than to port the full-MAC firmware.

I had forward-ported the libertas_tf patch set to Linux 3.1 some time
ago and even ported a few libertas fixes to libertas_tf, but there are
still some issues and I don't have any time left to work on it. If
anyone is interested in picking this up, I can publish the patches.

Sascha

-- 
http://sascha.silbe.org/
http://www.infra-silbe.de/


signature.asc
Description: PGP signature
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Patch: Mobile dongles

2012-03-26 Thread Paul Fox
jerry wrote:
 > On Mon, 2012-03-26 at 16:44 +1100, fors...@ozonline.com.au wrote:
 > > David
 > > 
 > > This message was sent with a gsm dongle on an xo-1
 > >  
 > >  modem:Huawei E160E
 > >  carrier:Locked to Dodo (an Optus reseller)
 > >  XO-1
 > >  OS31 development which is same as os884 signed
 > >  
 > >  in my settings, enter username, password, leave *99# unaltered, dodolns1, 
 > > blank, blank
 > >  
 > >  turn off power management, because XO looses connection in sleep mode
 > 
 > I have an enhancements to powerd to inhibit suspend for that issue. The
 > attached proof of concept patch is heavy on tracing, should apply, maybe
 > with an offset, and needs /etc/powerd/flags/modules-inhibits created
 > containing usb_wwan. Once usb_wwan is inserted in the kernel, it remains
 > in memory you can have NM dispatcher or pppd remove the module when the
 > connection is torn down to restore normal power management operation.
 > These features are in testable with au210. Sorry 4g images only, with no
 > firmware in the image. http://build.laptop.org.au/xo/os/latest/

is presence of the module really the best way to do this?  is it
possible to look for the presence of the network interface, or maybe
simply network traffic, or something similar?  i assume using the
existing usb-inhibits is impractical because of the variety of
devices, is that right?  i guess it would be too much to ask for all
GSM devices to be in the same USB class.  :-/

(maybe the module presence check is okay -- it just doesn't feel right.)

paul
=-
 paul fox, p...@laptop.org
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: New boot animation for 12.1.0

2012-03-26 Thread Mikus Grinbergs

On 03/26/2012 07:33 AM, Peter Robinson wrote:

Hitting escape on at least one of the XO-1/1.5/1.75 worked for me in
my testing, I don't remember exactly which one(s) it was but it was
certainly working in base testing (ie no modifications, no extra HW).


My setup *does* have extra HW.  I have an USB hub (with a keyboard and a 
mouse plugged into it) plus an USB-ethernet adapter plugged directly 
into the XO-1.5.  If I unplug either the USB Hub or the USB-ethernet 
adapter before powering up, then "pretty boot" completes normally 
(system up and running).  It is only when BOTH are plugged in to the 
XO-1.5 that the "pretty boot" stalls at the single dot.


mikus


p.s.  Reminder - non-"pretty boot" works correctly.  Pressing escape 
once the "pretty boot" has stalled does nothing.


pps.  Richard - when the "pretty boot" appears to stall, I do not think 
booting has gotten very far.  Without both USB devices plugged in, 
"pretty boot" eventually activates the camera LED (presumably while 
initializing the camera).  But when "pretty boot" stalls (with both USB 
devices plugged in), I did not see the camera LED ever being activated.

[BTW, whenever booting completes and the system is up. powerd *is* running.]

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


Re: 12.1.0 devel build 5 released, for the XO-1, XO-1.5 and XO-1.75

2012-03-26 Thread Daniel Drake
On Sat, Mar 24, 2012 at 4:56 PM, Peter Robinson  wrote:
> The release is our first combined 12.1.0 / Fedora 17 release, such a
> small release but represents so much time by so many people in both
> OLPC and Fedora in the ARM side of things to get a "hardfp" ARM
> release.

Thanks everyone for all the feedback so far!

We've put tickets in trac for the biggest issues reported here and
will now be working to resolve all the problems. Stay tuned for new
builds!

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


Re: XO1/os31 update-nand issues

2012-03-26 Thread Mikus Grinbergs

Don't use update-nand on XO-1 against a non-partitioned image.

Once a signed build becomes available, the instructions should
be changed to using the four-game-key method of starting the
process, without any typing required.


I myself keep several "build versions" on one (large) USB stick, so I do 
need to type - to indicate which "build version" I'm installing.


I've been going by the filename-extension -- using 'copy-nand' for .img 
and using 'update-nand' for .onu -- but I was surprised to have to use 
'copy-nand' with the 12.1.0 os5 for XO-1 -- 'update-nand' told me the 
file length was incorrect.


mikus


p.s. James - I have a "weak" XO-1, on which I often needed to redo an 
attempted install (because fetching the data off the USB stick happened 
to experience a file read error).  Mitch Bradley came up with a timing 
change in q2e46a.rom which in my testing made 'copy-nand' run smoothly 
on that "weak" XO-1.


I noticed that with one of this year's q2f roms that I again had to redo 
'copy-nand' on that "weak" XO-1.  Did the q2e46a change ever make it 
into the q2f roms ?


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


Re: [Techteam] [OLPC Engineering] 12.1.0 devel build 5 released, for the XO-1, XO-1.5 and XO-1.75

2012-03-26 Thread Manuel Quiñones
El día 26 de marzo de 2012 10:53, Manuel Quiñones  escribió:
> In 1.5, automount does not work.  I mounted a usb stick doing
>
>  sudo mount /dev/sda my_mount_dir

Tried again and it automounted, but was not the case the first time.

> El día 26 de marzo de 2012 07:09, Niels de Vos
>  escribió:
>> On Sun, Mar 25, 2012 at 8:45 PM, Chris Ball  wrote:
>>> Hi,
>>>
>>> On Sun, Mar 25 2012, Simon Schampijer wrote:
 Yeah, flashed now another 1.75 machine (1C2 4GB) and the first boot
 when I did not sit next to the machine it came up the same as my 1B1
 with a non usable keyboard and trackpad. I rebooted and directly
 entered a name and could use than the machine.

 Things I came across from a first quick look:
 - the trackpad was not as good responsible
 - the neighborhood view had no APs listed
 - Paint did not start due to missing binaries (does start on the 1.5)
>>>
>>> It might have crashed on its way into idle suspend (probably due to the
>>> libertas bugs) leading to an apparant symptom of no keyboard/trackpad.
>>> I stopped powerd straight away to avoid that.
>>
>> These crashes/hangs happen very reliable for me too. Stopping powerd
>> was a nice hint :-)
>> I did the following, in case someone has the same issues:
>> 1. boot
>> 2. switch to a console (CTRL+ALT+F2), as soon as the GUI starts
>> 3. press enter to activate the shell
>> 4. (optional) ignore the timeout errors related to the libertas
>> driver, just keep typing
>> 5. execute 'systemctl stop powerd.service' to stop the currently running 
>> daemon
>> 6. execute 'systemctl disable powerd.service' to prevent the daemon
>> from starting on the next boot
>>
>> Now, I'd like to have the wireless working somehow. Any hints, or is
>> there a ticket open for this already?
>>
>> Thanks,
>> Niels
>> ___
>> Techteam mailing list
>> techt...@lists.laptop.org
>> http://lists.laptop.org/listinfo/techteam
>
>
>
> --
> .. manuq ..



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


Re: [Techteam] [OLPC Engineering] 12.1.0 devel build 5 released, for the XO-1, XO-1.5 and XO-1.75

2012-03-26 Thread Manuel Quiñones
In 1.5, automount does not work.  I mounted a usb stick doing

 sudo mount /dev/sda my_mount_dir

El día 26 de marzo de 2012 07:09, Niels de Vos
 escribió:
> On Sun, Mar 25, 2012 at 8:45 PM, Chris Ball  wrote:
>> Hi,
>>
>> On Sun, Mar 25 2012, Simon Schampijer wrote:
>>> Yeah, flashed now another 1.75 machine (1C2 4GB) and the first boot
>>> when I did not sit next to the machine it came up the same as my 1B1
>>> with a non usable keyboard and trackpad. I rebooted and directly
>>> entered a name and could use than the machine.
>>>
>>> Things I came across from a first quick look:
>>> - the trackpad was not as good responsible
>>> - the neighborhood view had no APs listed
>>> - Paint did not start due to missing binaries (does start on the 1.5)
>>
>> It might have crashed on its way into idle suspend (probably due to the
>> libertas bugs) leading to an apparant symptom of no keyboard/trackpad.
>> I stopped powerd straight away to avoid that.
>
> These crashes/hangs happen very reliable for me too. Stopping powerd
> was a nice hint :-)
> I did the following, in case someone has the same issues:
> 1. boot
> 2. switch to a console (CTRL+ALT+F2), as soon as the GUI starts
> 3. press enter to activate the shell
> 4. (optional) ignore the timeout errors related to the libertas
> driver, just keep typing
> 5. execute 'systemctl stop powerd.service' to stop the currently running 
> daemon
> 6. execute 'systemctl disable powerd.service' to prevent the daemon
> from starting on the next boot
>
> Now, I'd like to have the wireless working somehow. Any hints, or is
> there a ticket open for this already?
>
> Thanks,
> Niels
> ___
> Techteam mailing list
> techt...@lists.laptop.org
> http://lists.laptop.org/listinfo/techteam



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


Re: [Sugar-devel] Patch: Mobile dongles

2012-03-26 Thread Paul Fox
fors...@ozonline.com.au wrote:
 > Thanks
 > 
 > I have noticed another issue with the mobile dongle.  OS31, XO-1.75
 > Press the power button once and wait for sleep.  The dongle remains

this is very surprising.  do other USB devices remain powered when the
laptop sleeps?  we've done nothing intentional to change this (or fix this,
depending on your point of view :-) in this release. 

paul

 > powered on (which is a good or bad thing depending on your point of
 > view), then press the power button to wake the laptop, the dongle
 > is briefly turned off and the connection is lost, negating any
 > benefit from keeping it powered during sleep.
 > 
 > Tony
 > 
=-
 paul fox, p...@laptop.org
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: New boot animation for 12.1.0

2012-03-26 Thread Peter Robinson
On Mon, Mar 26, 2012 at 1:25 PM, Richard Smith  wrote:
>>
>> My point was if you hit escape once it stops you can see where the
>> boot is stopping so to find out what is causing the problem.
>
> He reported that doesn't work.
>
>>> pause at the ok prompt, but BEFORE the boot process stalls. [Once booting
>>> has paused at the single dot, pressing escape does nothing.]
>
> I suspect what may be happening is that the screen is not getting
> unfrozen.  So even though the system is running you won't ever see
> anything and pressing escape won't help.

Hitting escape on at least one of the XO-1/1.5/1.75 worked for me in
my testing, I don't remember exactly which one(s) it was but it was
certainly working in base testing (ie no modifications, no extra HW).

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


Re: New boot animation for 12.1.0

2012-03-26 Thread Paul Fox
peter wrote:
 > On Sun, Mar 25, 2012 at 10:50 PM, Mikus Grinbergs  wrote:
 > >>> I do not think the two-step progression from one dot to three dots is
 > >>> very
 > >>> useful.  Particularly since on an XO with 21005xx1 with both an USB hub
 > >>> and
 > >>> an USB-ethernet adapter plugged in, "pretty boot" stalls with the one dot
 > >>> showing.  [No change after 30 minutes;  no clue as to what the user
 > >>> should
 > >>> do now.]  Note - the same setup with pressing the check button (_no_
 > >>> pretty
 > >>> boot) will boot correctly to completion.>
 > >
 > >>
 > >>
 > >> Hit escape and you'll get the output and you can see what it's doing.
 > >
 > >
 > > That just brings me into "non-pretty" boot -- which I already know will
 > > work.
 > >
 > > Besides, hitting escape has to be precisely timed -- AFTER it would cause a
 > > pause at the ok prompt, but BEFORE the boot process stalls. [Once booting
 > > has paused at the single dot, pressing escape does nothing.]
 > >
 > > If I wanted to run non-pretty boot -- much simpler to press the check 
 > > button
 > > as the XO-1,5 powers on.
 > 
 > My point was if you hit escape once it stops you can see where the
 > boot is stopping so to find out what is causing the problem.

i think mikus might be saying that without animation, it's harder to
tell that the boot has stopped.  hopefully the much shorter boot times
will make that more obvious, after we all become used to the speedup. 
(right now, given how we're used to pretty slow boots, it would be
easier to wait at a single dot for some time before realizing something
is wrong.)

paul
=-
 paul fox, p...@laptop.org
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: New boot animation for 12.1.0

2012-03-26 Thread Richard Smith
>
> My point was if you hit escape once it stops you can see where the
> boot is stopping so to find out what is causing the problem.

He reported that doesn't work.

>> pause at the ok prompt, but BEFORE the boot process stalls. [Once booting
>> has paused at the single dot, pressing escape does nothing.]

I suspect what may be happening is that the screen is not getting
unfrozen.  So even though the system is running you won't ever see
anything and pressing escape won't help.

When you boot with pretty boot disabled check to see if powerd is
running.  If powerd isn't starting right then I don't think the screen
will get unfrozen.

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


Re: Patch: Mobile dongles

2012-03-26 Thread forster
Thanks

I have noticed another issue with the mobile dongle. OS31, XO-1.75
Press the power button once and wait for sleep. The dongle remains powered on 
(which is a good or bad thing depending on your point of view), then press the 
power button to wake the laptop, the dongle is briefly turned off and the 
connection is lost, negating any benefit from keeping it powered during sleep.

Tony


> On Mon, 2012-03-26 at 16:44 +1100, fors...@ozonline.com.au wrote:
> > David
> > 
> > This message was sent with a gsm dongle on an xo-1
> >  
> >  modem:Huawei E160E
> >  carrier:Locked to Dodo (an Optus reseller)
> >  XO-1
> >  OS31 development which is same as os884 signed
> >  
> >  in my settings, enter username, password, leave *99# unaltered, dodolns1, 
> > blank, blank
> >  
> >  turn off power management, because XO looses connection in sleep mode
> 
> I have an enhancements to powerd to inhibit suspend for that issue. The
> attached proof of concept patch is heavy on tracing, should apply, maybe
> with an offset, and needs /etc/powerd/flags/modules-inhibits created
> containing usb_wwan. Once usb_wwan is inserted in the kernel, it remains
> in memory you can have NM dispatcher or pppd remove the module when the
> connection is torn down to restore normal power management operation.
> These features are in testable with au210. Sorry 4g images only, with no
> firmware in the image. http://build.laptop.org.au/xo/os/latest/
> 
> Jerry
> 
> _
> This mail has been virus scanned by Australia On Line
> see http://www.australiaonline.net.au/mailscanning

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


Re: [OLPC Engineering] [Techteam] 12.1.0 devel build 5 released, for the XO-1, XO-1.5 and XO-1.75

2012-03-26 Thread Niels de Vos
On Sun, Mar 25, 2012 at 8:45 PM, Chris Ball  wrote:
> Hi,
>
> On Sun, Mar 25 2012, Simon Schampijer wrote:
>> Yeah, flashed now another 1.75 machine (1C2 4GB) and the first boot
>> when I did not sit next to the machine it came up the same as my 1B1
>> with a non usable keyboard and trackpad. I rebooted and directly
>> entered a name and could use than the machine.
>>
>> Things I came across from a first quick look:
>> - the trackpad was not as good responsible
>> - the neighborhood view had no APs listed
>> - Paint did not start due to missing binaries (does start on the 1.5)
>
> It might have crashed on its way into idle suspend (probably due to the
> libertas bugs) leading to an apparant symptom of no keyboard/trackpad.
> I stopped powerd straight away to avoid that.

These crashes/hangs happen very reliable for me too. Stopping powerd
was a nice hint :-)
I did the following, in case someone has the same issues:
1. boot
2. switch to a console (CTRL+ALT+F2), as soon as the GUI starts
3. press enter to activate the shell
4. (optional) ignore the timeout errors related to the libertas
driver, just keep typing
5. execute 'systemctl stop powerd.service' to stop the currently running daemon
6. execute 'systemctl disable powerd.service' to prevent the daemon
from starting on the next boot

Now, I'd like to have the wireless working somehow. Any hints, or is
there a ticket open for this already?

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


Patch: Mobile dongles

2012-03-26 Thread Jerry Vonau
On Mon, 2012-03-26 at 16:44 +1100, fors...@ozonline.com.au wrote:
> David
> 
> This message was sent with a gsm dongle on an xo-1
>  
>  modem:Huawei E160E
>  carrier:Locked to Dodo (an Optus reseller)
>  XO-1
>  OS31 development which is same as os884 signed
>  
>  in my settings, enter username, password, leave *99# unaltered, dodolns1, 
> blank, blank
>  
>  turn off power management, because XO looses connection in sleep mode

I have an enhancements to powerd to inhibit suspend for that issue. The
attached proof of concept patch is heavy on tracing, should apply, maybe
with an offset, and needs /etc/powerd/flags/modules-inhibits created
containing usb_wwan. Once usb_wwan is inserted in the kernel, it remains
in memory you can have NM dispatcher or pppd remove the module when the
connection is torn down to restore normal power management operation.
These features are in testable with au210. Sorry 4g images only, with no
firmware in the image. http://build.laptop.org.au/xo/os/latest/

Jerry
diff --git a/powerd b/powerd
index e849f87..d6af071 100755
--- a/powerd
+++ b/powerd
@@ -1237,6 +1237,35 @@ inhibited_by_files()
 inhibit_files_present || filetimes_busy $t1
 }
 
+# let the presence of kernel modules inhibit suspend
+kmod_inhibit()
+{
+kmodconf=$CONFIGFLAGS/modules-inhibits
+
+loadedmodules=$(lsmod)
+
+trace kmod looking for $(cat $kmodconf)
+wanted=$(cat $kmodconf)   
+
+for module in $wanted
+do 
+trace kmod looking at $module
+foundmodule=$(lsmod | grep $module)
+if [ x"$foundmodule" = "x" ]
+then 
+foundmodule=
+trace kmod not found
+else
+trace kmod matched $foundmodule
+# implicit return value
+trace kmod busy: $foundmodule
+return 0
+break
+fi
+done
+return 1
+}
+
 usb_inhibit()
 {
 
@@ -1266,7 +1295,7 @@ general_inhibit()
 
 laptop_busy()
 {
-general_inhibit || usb_inhibit || cpu_or_network_busy
+general_inhibit || usb_inhibit || cpu_or_network_busy || kmod_inhibit
 }
 
 if [ -e $TPAD_RECAL ]
@@ -1794,6 +1823,9 @@ snooze()
 then
 inhibited_by_files && break 2
 
+# check kernel modules against kmod_inhibit
+kmod_inhibit && break 2
+
 # recheck network packets.
 check_network_activity finish && break
 fi
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Announcing an OpenFirmware-based Power Log Collector

2012-03-26 Thread James Cameron
http://wiki.laptop.org/go/Power_Log_Collector#OpenFirmware

How to prepare a bootable USB drive for collecting power logs from
multiple XO-1, XO-1.5 and XO-1.75.

Note: not widely tested.  It uses OpenFirmware functions to write files
to USB drive, and in the face of minor filesystem corruption these
functions have been known to make the corruption far worse, to the point
of losing files.

Testing of FAT filesystems is especially needed, with an image of the
filesystem taken before running the program.

Recently verified FAT filesystems have not shown any problem.

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


Re: New boot animation for 12.1.0

2012-03-26 Thread Peter Robinson
On Sun, Mar 25, 2012 at 10:50 PM, Mikus Grinbergs  wrote:
>>> I do not think the two-step progression from one dot to three dots is
>>> very
>>> useful.  Particularly since on an XO with 21005xx1 with both an USB hub
>>> and
>>> an USB-ethernet adapter plugged in, "pretty boot" stalls with the one dot
>>> showing.  [No change after 30 minutes;  no clue as to what the user
>>> should
>>> do now.]  Note - the same setup with pressing the check button (_no_
>>> pretty
>>> boot) will boot correctly to completion.>
>
>>
>>
>> Hit escape and you'll get the output and you can see what it's doing.
>
>
> That just brings me into "non-pretty" boot -- which I already know will
> work.
>
> Besides, hitting escape has to be precisely timed -- AFTER it would cause a
> pause at the ok prompt, but BEFORE the boot process stalls. [Once booting
> has paused at the single dot, pressing escape does nothing.]
>
> If I wanted to run non-pretty boot -- much simpler to press the check button
> as the XO-1,5 powers on.

My point was if you hit escape once it stops you can see where the
boot is stopping so to find out what is causing the problem.

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


Re: [OLPC Engineering] [Techteam] 12.1.0 devel build 5 released, for the XO-1, XO-1.5 and XO-1.75

2012-03-26 Thread Simon Schampijer

On 03/25/2012 09:25 PM, Jon Nettleton wrote:

On Mar 25, 2012 9:15 PM, "Simon Schampijer"  wrote:


On 03/25/2012 08:45 PM, Chris Ball wrote:


Hi,

On Sun, Mar 25 2012, Simon Schampijer wrote:


Yeah, flashed now another 1.75 machine (1C2 4GB) and the first boot
when I did not sit next to the machine it came up the same as my 1B1
with a non usable keyboard and trackpad. I rebooted and directly
entered a name and could use than the machine.

Things I came across from a first quick look:
- the trackpad was not as good responsible
- the neighborhood view had no APs listed
- Paint did not start due to missing binaries (does start on the 1.5)



It might have crashed on its way into idle suspend (probably due to the
libertas bugs) leading to an apparant symptom of no keyboard/trackpad.
I stopped powerd straight away to avoid that.

- Chris.



Yeah, that is what I did, now I don't get hangs anymore at least. The

trackpad is still not as responsible, though.


I filed a few more activity bugs on the sugarlabs tracker verifying the

bugs we already found in os4 [1], marked them with the keyword '12.1.0'.


Regards,
   Simon

[1] http://wiki.laptop.org/go/User:Erikos/Testing/os4
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


I would recommend disabling render acceleration in the xorg.conf of the
1.75 it seems to be very crashy.

Jon


On os5 "RenderAccel" is set to false already to workaround #11256 and 
#11237.


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