[Dextrose] Automatic Power Management and 3G Modems

Gonzalo Odiard gonzalo at laptop.org
Thu Nov 4 23:36:27 EDT 2010


See the methods  _inhibit_suspend and _allow_suspend
https://dev.laptop.org/git/projects/acoustic-measure-activity/tree/activity.py

Gonzalo

On Thu, Nov 4, 2010 at 9:32 PM, Martin Abente
<martin.abente.lahaye at gmail.com> wrote:
> I don't know to much about how the APM policy works, but maybe it is
> possible to set some rules for this case? If not, we could just check if APM
> is enabled and throw an alert like Daniel said.
>
> On Thu, Nov 4, 2010 at 8:09 PM, Steven Parrish <smparrish at gmail.com> wrote:
>>
>> On Thu, Nov 4, 2010 at 12:57 PM, Gonzalo Odiard <gonzalo at laptop.org>
>> wrote:
>> > You can disable APM by software when the modem is connected.
>> > You can see examples of code in many places (Distance activity, etc)
>> >
>> > Gonzalo
>> >
>> > On Thu, Nov 4, 2010 at 1:22 PM, Daniel Castelo
>> > <dcastelo at plan.ceibal.edu.uy> wrote:
>> >> If you are using the option "Automatic Power Management" and you plug
>> >> in a
>> >> 3G Modem, the device disconnects after some seconds.
>> >> Just something to communicate to users. Maybe we could show a alert to
>> >> the
>> >> user when try to connect a 3G Modem with this configuration.
>> >> What do you think?
>> >>
>> >> Regards, Daniel
>> >>
>> >>
>> >>
>> >> --
>> >> Ing. Daniel Castelo
>> >> Plan Ceibal - Área Técnica
>> >> Avda. Italia 6201
>> >> Montevideo - Uruguay.
>> >> Tel.: 2 601 57 73 Interno 2228
>> >> E-mail : dcastelo at plan.ceibal.edu.uy
>> >>
>> >> _______________________________________________
>> >> Dextrose mailing list
>> >> Dextrose at lists.sugarlabs.org
>> >> http://lists.sugarlabs.org/listinfo/dextrose
>> >>
>> >>
>> > _______________________________________________
>> > Dextrose mailing list
>> > Dextrose at lists.sugarlabs.org
>> > http://lists.sugarlabs.org/listinfo/dextrose
>> >
>>
>> Martin, since you have been working on the 3g code can you look into
>> disabling the APM when 3g is active.
>>
>> Steven
>
>


More information about the Dextrose mailing list