View Single Post
laasonen's Avatar
Posts: 565 | Thanked: 618 times | Joined on Jun 2010 @ Finland
#22
Originally Posted by auouymous View Post
Are you unlocking on a user event or the ICD state_sig signal (when last arg = 2) which is sent when it connects to wifi? ICD would be best because it verifies and removes the devlock as soon as a connection is made.
It unlocks when the screen is unlocked while its connected to WLAN.

Signals I use:
/com/nokia/mce/signal:tklock_mode_ind
/org/freedesktop/Hal/devices/platform_slide:PropertyModified
/org/freedesktop/Hal/devices/platform_kb_lock:PropertyModified

Plans for 0.3.0:
  • Disable automatic lock and unlock, when connected to trusted network
  • Enable automatic lock, when disconnected from trusted network
  • Add support for 2g/3g connections

Last edited by laasonen; 2011-04-11 at 19:41.