On Tuesday, January 04, 2011, Raj Kumar wrote: > > Hi, Hi, > I have question regarding the timers during system suspend. If a software timer is > active in device driver, will this timer be stopped during system suspend? What do you mean by "stopped"? Do you mean canceled? > If the timer is active, will it prevent the system from full suspend? No, it won't. > The another thing is during system suspend, how the user space code know about suspend? It doesn't, unless it's notified by the user space process initiating suspend. > One way is that device driver gets the suspend and it notifies the user space. That doesn't work, because user space is frozen when drivers' suspend routines are being called. It might work if the driver in question registered a power management notifier and sent a notification to user space from there. > But is there way that during system goes into full suspend, is any user space component that will > give notifications to applications that has registered for system suspend transition? That depends on the configuration of user space. pm-utils can do that for one example. Thanks, Rafael _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm