[Sugar-devel] Wanting to know a bit of (NetworkManager) workflow upon resume-from-suspend

Anish Mangal anish at activitycentral.com
Wed May 2 11:14:30 EDT 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/02/2012 07:59 PM, Martin Langhoff wrote:
> On Wed, May 2, 2012 at 10:18 AM, Ajay Garg <ajaygargnsit at gmail.com>
> wrote:
>> Good News.
>> 
>> I managed to get this working (albeit via changes in sugar).
>> 
>> The details are at :: 
>> http://git.sugarlabs.org/dextrose/mainline/commit/4ac1a5300f4c43608b0f009a23d966d404a15632
>
>> 
> The patch seems fairly wrong to me. You are hiding the mesh icons
> in sugar, but the mesh is active. Packet forwarding is still
> happening.
> 
> One of the top reasons we stopped using mesh is because it
> saturates the RF spectrum, which is a bad thing to do when you have
> many users in a small space (ie: in a school).
> 
> You had the mesh disable trick working on F11, and (I assume)
> happy users of that feature. With this, the feature is broken, but
> you're making the UI look right...
> 

I agree.

The *problem* we are trying to solve is not to have a pretty
mesh-icon-free-UI (which is a side effect), but disable the mesh at a
hardware level.

This patch *won't* solve the problem, as it will still flood the air
with packet forwarding.

- From the discussion, it seems to me that the kernel level switch is
present in 12.x.x onwards, but not so for 11.3.x.

In 10.3.x(f11) we got lucky as we were able to avoid the race condition.

I suggest we keep looking for a proper solution:
* Can the kernel fix be backported (might require a lot of work)
* Can we tinker with the udev, postresume scripts to have it 'just'
working

I have reverted the commit:

http://git.sugarlabs.org/dextrose/mainline/commit/20ef9a14dd55908aec6c04cf3edddc51004aabb0

> cheers,
> 
> 
> 
> m


- -- 
Anish
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPoU9PAAoJEBoxUdDHDZVp+DAH/j/RUl6AarwSlz0oUGIuPa5b
FxpFOwO6edA0Avd4Zv0/0x3FWlaAEHwkkyz6Vcsq3Px0lxecX0JgYrEgaXWJP4l0
YRBqROOBCzkVKxk7dEWZ003igZSGKbSmuRMlj4v4Qpv0yU9Tfi/GS3T1Q+r02B0o
igF9XjmLT5lFcZ4U1e7vE/foU4f7Y5ugg/TON6u/Oh0GNF8bDdOSkY/xKhGlAkIf
72d1pSt03ypcQgUHy7mRhORj1rc1d1YCWiyZLv2iUXdR2OyR8qjukw2HjQ2Gu5ts
DwTeumIy+QSF7fDIZkE83dErrmLJLUGvQ/4oqT50zhgI63o+/v8qBpa40XRo3bc=
=KMS0
-----END PGP SIGNATURE-----



More information about the Devel mailing list