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 | [EMAIL PROTECTED] _______________________________________________ xorg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xorg
