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 _______________________________________________ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community