-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlinux-mint-otherhidpoll-config.patch
56 lines (54 loc) · 2.66 KB
/
linux-mint-otherhidpoll-config.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
Only in linux-4.13.9-patched: .config
Only in linux-4.13.9-patched: .config.old
diff -cr linux-4.13.9/drivers/hid/usbhid/hid-core.c linux-4.13.9-patched/drivers/hid/usbhid/hid-core.c
*** linux-4.13.9/drivers/hid/usbhid/hid-core.c 2017-10-21 16:55:07.000000000 +0100
--- linux-4.13.9-patched/drivers/hid/usbhid/hid-core.c 2017-10-27 19:52:30.976840677 +0100
***************
*** 56,61 ****
--- 56,65 ----
module_param_named(jspoll, hid_jspoll_interval, uint, 0644);
MODULE_PARM_DESC(jspoll, "Polling interval of joysticks");
+ static unsigned int hid_otherhid_interval;
+ module_param_named(otherhidpoll, hid_otherhid_interval, uint, 0644);
+ MODULE_PARM_DESC(otherhidpoll, "Polling interval of all non-mice/joystick hid devices");
+
static unsigned int ignoreled;
module_param_named(ignoreled, ignoreled, uint, 0644);
MODULE_PARM_DESC(ignoreled, "Autosuspend with active leds");
***************
*** 1105,1110 ****
--- 1109,1120 ----
if (hid_jspoll_interval > 0)
interval = hid_jspoll_interval;
break;
+ default:
+ if (hid_otherhid_interval > 0)
+ printk(KERN_INFO "%s: Changed interval to hid_otherhid_interval: %d -> %d\n",
+ hid->name, interval, hid_otherhid_interval);
+ interval = hid_otherhid_interval;
+ break;
}
ret = -ENOMEM;
Only in linux-4.13.9-patched/scripts/basic: fixdep
Only in linux-4.13.9-patched/scripts/basic: .fixdep.cmd
Only in linux-4.13.9-patched/scripts/kconfig/lxdialog: checklist.o
Only in linux-4.13.9-patched/scripts/kconfig/lxdialog: .checklist.o.cmd
Only in linux-4.13.9-patched/scripts/kconfig/lxdialog: inputbox.o
Only in linux-4.13.9-patched/scripts/kconfig/lxdialog: .inputbox.o.cmd
Only in linux-4.13.9-patched/scripts/kconfig/lxdialog: menubox.o
Only in linux-4.13.9-patched/scripts/kconfig/lxdialog: .menubox.o.cmd
Only in linux-4.13.9-patched/scripts/kconfig/lxdialog: textbox.o
Only in linux-4.13.9-patched/scripts/kconfig/lxdialog: .textbox.o.cmd
Only in linux-4.13.9-patched/scripts/kconfig/lxdialog: util.o
Only in linux-4.13.9-patched/scripts/kconfig/lxdialog: .util.o.cmd
Only in linux-4.13.9-patched/scripts/kconfig/lxdialog: yesno.o
Only in linux-4.13.9-patched/scripts/kconfig/lxdialog: .yesno.o.cmd
Only in linux-4.13.9-patched/scripts/kconfig: mconf
Only in linux-4.13.9-patched/scripts/kconfig: .mconf.cmd
Only in linux-4.13.9-patched/scripts/kconfig: mconf.o
Only in linux-4.13.9-patched/scripts/kconfig: .mconf.o.cmd
Only in linux-4.13.9-patched/scripts/kconfig: zconf.hash.c
Only in linux-4.13.9-patched/scripts/kconfig: zconf.lex.c
Only in linux-4.13.9-patched/scripts/kconfig: zconf.tab.c
Only in linux-4.13.9-patched/scripts/kconfig: zconf.tab.o
Only in linux-4.13.9-patched/scripts/kconfig: .zconf.tab.o.cmd