(unknown charset) vt_suspend / vt_resume

From: (unknown charset) Andriy Gapon <avg_at_FreeBSD.org>
Date: Tue, 30 Sep 2014 08:47:13 +0300
I think that currently vt_suspend / vt_resume are called at quite unsuitable
times.  For example, vt_suspend performs a vt switch which requires cooperation
from an X server, but that could be problematic given that some devices may
already be suspended.
I believe that it is better to do what sc(4) does and use power_suspend /
power_resume event handlers instead of device_suspend / device_resume methods.
power_suspend event is posted when a kernel has not entered any special state yet.

What do you think?
-- 
Andriy Gapon
Received on Tue Sep 30 2014 - 03:48:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:52 UTC