shr-u: how do you keep awake?

Sebastian Krzyszkowiak seba.dos1 at gmail.com
Mon Sep 14 16:19:24 CEST 2009


On 9/14/09, Klaus 'mrmoku' Kurzmann <mok at mnet-online.de> wrote:
> Am Montag 14 September 2009 14:55:22 schrieb arne anka:
>> while playing around with shr-u the last week, i enabled autosuspend,
>> which works well.
>>
>> i was pleasantly suprised to see, that the fr stays nevertheless awake
>> when on usb -- a feat i did not yet manage with debian/fso.
>>
>> how is that done?
>>
>> looking at the config files did not really make things clear to me, but
>> posed again the question of the relation between
>>
>> [odeviced.idlenotifier]
>> ignoreinput = 2,3,4
>>
>> and
>>
>> [odeviced.input]
>> report1 = AUX,key,169,1
>> report2 = POWER,key,116,1
>> report3 = CHARGER,key,356,0
>> report4 = HEADSET,switch,2,0
>
> it is done via a rule in /etc/freesmartphone/oevents/rules.yaml:
> -
>     while: PowerStatus()
>     filters: Not(HasAttr(status, "discharging"))
>
>     actions: OccupyResource(CPU)
>
> --
>
> Klaus 'mrmoku' Kurzmann

Poor mrmoku, poor ;) It can be done by that rule on every FSO system,
but even without it SHR won't suspend when charging, as it's managed
by ophonekitd ;)

-- 
Sebastian Krzyszkowiak
dos



More information about the community mailing list