X input module suspend/resume aware?
Matthew Garrett
mjg59 at srcf.ucam.org
Fri Nov 28 20:55:44 PST 2008
On Sat, Nov 29, 2008 at 10:15:48AM +0800, Chueh Steel wrote:
> Hi, all,
>
> We are creating a X input module,, which might need to be aware of
> system suspend and reusme event so that it could send out commands to
> our input device. Any hints would help. Really thanks.
X is currently entirely unaware of suspend/resume as such. Your options
are to move your input driver to the kernel, have a separate userspace
application that's run around suspend/resume or alternatively to perform
the suspend/resume calls when the OS switches away or to X's virtual
terminal.
As KMS gets to the point where we don't need to switch way from X at
all, this will probably get easier to deal with.
--
Matthew Garrett | mjg59 at srcf.ucam.org
More information about the xorg
mailing list