> Could we have write(powerstate_fd, "qos",3) block until all > QOS_EVENTUALLY constraints are lifted or the system successfully > suspends and resumes or a signal arrives? Yes - and you can then use alarm() or similar to do timeouts (or write the timeout to the fd ?) _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm