henrique de moraes holschuh wrote: > On Mon, 05 Jul 2010, Zhang Rui wrote: > > > I think if you can listen to uevents you can just as easily open /dev/ > > > input/eventX and listen to proper input events. > > > > > the question is users may want to get the lid switch STATUS, > > asynchronously. > > More often than not, you need to know the current state when dealing > with EV_SW, to be able to do anything sensbile with it in GUIs, etc. indeed, this is true for almost any event-on-change interface -- tablet mode, AC insertion, etc. the change event alone is never enough. paul =--------------------- paul fox, pgf@xxxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html