Comment 1 for bug 814289

Revision history for this message
Martin Pool (mbp) wrote :

There's enough data in the /sys/bus/usb/devices/ directory to see that a particular device is an input device (eg by the presence of an 'input/' subdirectory, or by looking at the bInterfaceClass. Perhaps in that case powernap should avoid putting it to sleep, or at least it should turn up the timeout substantially?

It's not clear to me yet whether it's enough to suppress autosuspend only for that device or if it also needs to be manually done up the device tree so that it stays reachable. (But I thought the kernel took care of the latter.)

(Perhaps there are other input devices that can be asleep, and that save substantial energy, without any down side?)