On Tue, 23 Feb 2010, Dmitry Torokhov wrote: > Yes, I agree, we need a genric mechanism for PNP to emable wakups. It > was discussed a bit here: > > http://bugzilla.kernel.org/show_bug.cgi?id=8286 > > but David was too hung up on the fact that number of devices in ACPI > does not map directly onto number of serio ports when i8042 is in active > multiplexing mode that it id not go anywhere. I tend to agree with your views. Although there still is a question about why my system has both /sys/devices/pnp0/00:09 and /sys/devices/platform/i8042/serio0. Since they refer to the same keyboard device, why should there be two different sysfs nodes and two different drivers? (Somewhat tangentially, why do the "i8042 aux" and "i8042 kbd" drivers on the pnp bus have names containing space characters? Isn't that likely to mess up shell scripts?) At any rate, can the wakeup matter get fixed? On my system I see two issues related to the keyboard/mouse devices. The first is that they are not enabled for wakeup by default. The second is that doing echo enabled >/sys/devices/pnp0/00:09/power/wakeup does not actually enable the keyboard for wakeup; only writing to /proc/acpi/wakeup works. Rafael's suggestion for a PNP analog of pci_enable_wake() should solve the second issue. I don't know what's needed to solve the first. Alan Stern _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm