* [PATCH] INPUT: enable remote wakeup for PNP i8042 keyboard ports
@ 2010-03-08 21:52 Alan Stern
2010-03-09 7:46 ` Dmitry Torokhov
0 siblings, 1 reply; 2+ messages in thread
From: Alan Stern @ 2010-03-08 21:52 UTC (permalink / raw)
To: Dmitry Torokhov; +Cc: linux-input
This patch (as1355) enables remote wakeup by default on PNP i8042
keyboard ports.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
---
Index: usb-2.6/drivers/input/serio/i8042-x86ia64io.h
===================================================================
--- usb-2.6.orig/drivers/input/serio/i8042-x86ia64io.h
+++ usb-2.6/drivers/input/serio/i8042-x86ia64io.h
@@ -624,6 +624,9 @@ static int i8042_pnp_kbd_probe(struct pn
strlcat(i8042_pnp_kbd_name, pnp_dev_name(dev), sizeof(i8042_pnp_kbd_name));
}
+ /* Keyboard ports are always supposed to be wakeup-enabled */
+ device_set_wakeup_enable(&dev->dev, true);
+
i8042_pnp_kbd_devices++;
return 0;
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] INPUT: enable remote wakeup for PNP i8042 keyboard ports
2010-03-08 21:52 [PATCH] INPUT: enable remote wakeup for PNP i8042 keyboard ports Alan Stern
@ 2010-03-09 7:46 ` Dmitry Torokhov
0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2010-03-09 7:46 UTC (permalink / raw)
To: Alan Stern; +Cc: linux-input
On Mon, Mar 08, 2010 at 04:52:42PM -0500, Alan Stern wrote:
> This patch (as1355) enables remote wakeup by default on PNP i8042
> keyboard ports.
>
> Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
>
Will apply, thank you Alan.
> ---
>
> Index: usb-2.6/drivers/input/serio/i8042-x86ia64io.h
> ===================================================================
> --- usb-2.6.orig/drivers/input/serio/i8042-x86ia64io.h
> +++ usb-2.6/drivers/input/serio/i8042-x86ia64io.h
> @@ -624,6 +624,9 @@ static int i8042_pnp_kbd_probe(struct pn
> strlcat(i8042_pnp_kbd_name, pnp_dev_name(dev), sizeof(i8042_pnp_kbd_name));
> }
>
> + /* Keyboard ports are always supposed to be wakeup-enabled */
> + device_set_wakeup_enable(&dev->dev, true);
> +
> i8042_pnp_kbd_devices++;
> return 0;
> }
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-input" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Dmitry
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-03-09 7:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-08 21:52 [PATCH] INPUT: enable remote wakeup for PNP i8042 keyboard ports Alan Stern
2010-03-09 7:46 ` Dmitry Torokhov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).