On Tue, Oct 13, 2009 at 09:08:18PM +0800, Xiangfu Liu wrote: > Dmitry Torokhov wrote: > > On Wed, Oct 07, 2009 at 11:33:47AM +0800, xiangfu liu wrote: > >> thanks for reply > >> so i must write userspace daemon. right? > >> > > > > Yes. > > > Hi Dmitry. > can you give me some tips on write the daemon. > have no idea on it. > Xiangfu, I don't think you want to write a demon from scratch really. I don't know your platform/framework but I would expect you are using some kind of HAL daemon/layer that handles power mamagement and other system functions. That framework should handle powering off as well. But this is somewhat off-topic for the linux-input mailing list which deals with the _kernel_ issues. -- Dmitry -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html