From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oliver Neukum Subject: Re: [patch]aggessive autosuspend for HID devices (resent due to corruption) Date: Tue, 28 Oct 2008 09:47:15 +0100 Message-ID: <200810280947.16006.oliver@neukum.org> References: <200810271042.37365.oliver@neukum.org> <1225211162.4017.1.camel@yangyi-dev> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1225211162.4017.1.camel@yangyi-dev> Content-Disposition: inline Sender: linux-usb-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: yi.y.yang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org Cc: Jiri Kosina , "linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" List-Id: linux-input@vger.kernel.org Am Dienstag, 28. Oktober 2008 17:26:02 schrieb Yi Yang: > > This uses the USB busy mechanism for aggessive autosuspend of USB > > HID devices. It autosuspends all opened devices supporting remote wakeup > > after a timeout unless > > > > - output is being done to the device > > - a key is being held down (remote wakeup isn't triggered upon key release) > > - LED(s) are lit > Why we shouldn't autosuspend it if it has LED lit? If you suspend LEDs go dark. You'd hit e.g. caps lock, the LED would go bright and two seconds later dark. That's no good. Regards Oliver -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html