mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 01:04:19 +08:00
0361a28d3f
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 - hiddev is opened As in the current driver closed devices will be autosuspended even if they don't support remote wakeup. The patch is quite large because output to devices is done in hard interrupt context meaning a lot a queuing and locking had to be touched. The LED stuff has been solved by means of a simple counter. Additions to the generic HID code could be avoided. In addition it now covers hidraw. It contains an embryonic version of an API to let the generic HID code tell the lower levels which capabilities with respect to power management are needed. Signed-off-by: Oliver Neukum <oneukum@suse.de> Signed-off-by: Jiri Kosina <jkosina@suse.cz> |
||
---|---|---|
.. | ||
usbhid | ||
hid-a4tech.c | ||
hid-apple.c | ||
hid-belkin.c | ||
hid-cherry.c | ||
hid-chicony.c | ||
hid-core.c | ||
hid-cypress.c | ||
hid-debug.c | ||
hid-dummy.c | ||
hid-ezkey.c | ||
hid-gaff.c | ||
hid-gyration.c | ||
hid-ids.h | ||
hid-input.c | ||
hid-lg2ff.c | ||
hid-lg.c | ||
hid-lg.h | ||
hid-lgff.c | ||
hid-microsoft.c | ||
hid-monterey.c | ||
hid-ntrig.c | ||
hid-petalynx.c | ||
hid-pl.c | ||
hid-samsung.c | ||
hid-sony.c | ||
hid-sunplus.c | ||
hid-tmff.c | ||
hid-topseed.c | ||
hid-zpff.c | ||
hidraw.c | ||
Kconfig | ||
Makefile |