Re: [PATCH] HID: usbhid: enable remote wakeup for mice

From: Alan Stern
Date: Sat Oct 15 2011 - 15:07:31 EST


On Sat, 15 Oct 2011, Oliver Neukum wrote:

> Am Freitag, 14. Oktober 2011, 17:09:32 schrieb Alan Stern:
> > > Anyway, I'll solve this problem on my system by writing to wakeup
> > > property on device attach. Consider my change abandoned.
> >
> > That seems like the best approach.
>
> Do you think this could be added to the USB configuration tool I wrote
> last week?

I don't see why not. It's exactly the sort of thing that should be
handled on a per-user basis.

> In the longer run, we might consider that this properties may also need
> to be changed based on AC vs. DC or the battery's charge level.

Is that really true? I'm not sure -- in general people want their
computers to be consistent. In particular, they want to conserve power
regardless of the power source.

However, you could add such a mechanism to the program in case some
people do want to use it.

Alan Stern

--
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/