On Mon, Mar 13, 2017 at 06:04:42PM +0200, Andy Shevchenko wrote: > On Tue, Mar 7, 2017 at 9:27 PM, Dmitry Torokhov > <dmitry.torokhov@xxxxxxxxx> wrote: > > On Fri, Feb 24, 2017 at 02:01:30PM +0100, Pau Espin Pedrol wrote: > >> >> Dmitry, do we have special events for AC (un)plug? What is the best > >> >> approach in your opinion? > >> > > >> > Not route them through input as they not input events would be the best. > >> > > >> Is my patch good enough for this or would you recommend doing it another way? > > > > > From input POV your patch makes sense. > > Could you give your tag? Sorry for the delay, I was out of service for a couple of days. I see that Darren already picked up the patch, anyway, for the record: Acked-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx> -- Dmitry