]> code.ossystems Code Review - openembedded-core.git/commit
udev: avoid autosuspend of USB input devices
authorNitin A Kamble <nitin.a.kamble@intel.com>
Fri, 13 Sep 2013 21:16:44 +0000 (21:16 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 17 Sep 2013 13:22:34 +0000 (14:22 +0100)
commitd74a0ecdbc85a482cab6e7eae8dcb48185d44d84
treeb1c00d316f0bfa394ccedb8dcbe0673bff29e52e
parent27e7162840482c7790480be5f52c7651d5b71794
udev: avoid autosuspend of USB input devices

Some of the external USB devices has internal USB hub, which
make them look like "fixed" rather than "removable". And USB
autosuspend does not work with some of these devices resulting
in inoperable pointing device.

Now the code detect these false "fixed" devices by looking at their
parents.  If any of their parent is "removable", then USB autosuspend
is not enabled for that device, which keeps the pointing device
functional.

Fixes bug:
[YOCTO #5166]

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/udev/udev.inc
meta/recipes-core/udev/udev/avoid-mouse-autosuspend.patch [new file with mode: 0644]