Re: Problems with remote-wakeup settings
From: Alan Stern
Date: Fri Mar 05 2010 - 23:16:32 EST
On Fri, 5 Mar 2010, Rafael J. Wysocki wrote:
> On Friday 05 March 2010, Oliver Neukum wrote:
> > Am Freitag, 5. März 2010 21:59:31 schrieben Sie:
> > > > I guess it's better if drivers don't set should_wakeup if unsure, but of course
> > > > that's impossible to enforce.
> > >
> > > That's the real question. Ideally, drivers won't touch should_wakeup.
> > > How do we get there from here?
> > Enable it only for devices specifically designed for wakeup, that is
> > keyboards, power buttons and WoL, perhaps also mice and modems.
> > Are we far away from that?
> I don't think we're very far from that.
> Mice are known dangerous, especially the USB ones, though.
I agree, especially for desktop systems. You don't want the system to
wake up merely because you happened to jostle the mouse. That happened
to me just a few days ago (and it was a PS/2 mouse, not USB).
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/