input: ideapad_slidebar: new input driver
Subsystems (3)
Andrey Moiseev
maintainerPATCH v8 1/1 input: ideapad_slidebar: new input driver
v8: added extended = false; line
ideapad_slidebar is a new driver which enables slidebars on some Lenovo IdeaPad laptops (the slidebars work with SlideNav/Desktop Navigator under Windows)
Fixes this: https://bugzilla.kernel.org/show_bug.cgi?id=16004
Registers 'IdeaPad Slidebar' input device and /sys/devices/platform/ideapad_slidebar/slidebar_mode for switching slidebar's modes.
Now works on:
IdeaPad Y550, Y550P.
May work on (testing and adding new models is needed):
Ideapad Y560, Y460, Y450, Y650,
and, probably, some others.
Driver source: https://github.com/o2genum/ideapad-slidebar.git
Patch is generated against current mainline kernel.
--- MAINTAINERS | 7 + drivers/input/misc/Kconfig | 9 + drivers/input/misc/Makefile | 1 + drivers/input/misc/ideapad_slidebar.c | 332 ++++++++++++++++++++++++++++++++++ 4 files changed, 349 insertions(+) create mode 100644 drivers/input/misc/ideapad_slidebar.c
MAINTAINERS +7 -0
@@ -4096,6 +4096,13 @@ W: http://launchpad.net/ideapad-laptop S: Maintained F: drivers/platform/x86/ideapad-laptop.c +IDEAPAD LAPTOP SLIDEBAR DRIVER +M: Andrey Moiseev <[email protected]> +L: [email protected] +W: https://github.com/o2genum/ideapad-slidebar +S: Maintained +F: drivers/input/misc/ideapad_slidebar.c + IDE/ATAPI DRIVERS M: Borislav Petkov <[email protected]> L: [email protected]
drivers/input/misc/Kconfig +9 -0
@@ -647,4 +647,13 @@ config INPUT_SIRFSOC_ONKEY If unsure, say N. +config INPUT_IDEAPAD_SLIDEBAR + tristate "IdeaPad Laptop Slidebar" + depends on INPUT + help + Input driver for slidebars on some Lenovo IdeaPad laptops. + + If you have an IdeaPad laptop with a slidebar, say Y or M here. + Module name is ideapad_slidebar. + endif
drivers/input/misc/Makefile +1 -0
@@ -61,3 +61,4 @@ obj-$(CONFIG_INPUT_WISTRON_BTNS) += wistron_btns.o obj-$(CONFIG_INPUT_WM831X_ON) += wm831x-on.o obj-$(CONFIG_INPUT_XEN_KBDDEV_FRONTEND) += xen-kbdfront.o obj-$(CONFIG_INPUT_YEALINK) += yealink.o +obj-$(CONFIG_INPUT_IDEAPAD_SLIDEBAR) += ideapad_slidebar.o
drivers/input/misc/ideapad_slidebar.c new file +332 -0
332 lines not on this page · raw message
Signature · 1 line
1.8.3.4
Dmitry Torokhov
maintainerHi Andrey,
Quoted 5 lines · Andrey Moiseev
v8: added
extended = false;line
ideapad_slidebaris a new driver which enables slidebars on some Lenovo IdeaPad laptops (the slidebars work with SlideNav/Desktop Navigator under Windows)
Could you tell me if after applying the patch below on top of yours the device still works?
Thanks!
Signature · 12 lines
Dmitry Input: lenovo-ideapad - a few cleanups From: Dmitry Torokhov <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]> --- drivers/input/misc/Kconfig | 7 +- drivers/input/misc/ideapad_slidebar.c | 130 +++++++++++++++++++-------------- 2 files changed, 79 insertions(+), 58 deletions(-)
drivers/input/misc/Kconfig +4 -3
@@ -676,10 +676,11 @@ config INPUT_SIRFSOC_ONKEY config INPUT_IDEAPAD_SLIDEBAR tristate "IdeaPad Laptop Slidebar" depends on INPUT + depends on SERIO_I8042 help - Input driver for slidebars on some Lenovo IdeaPad laptops. + Say Y here if you have an IdeaPad laptop with a slidebar. - If you have an IdeaPad laptop with a slidebar, say Y or M here. - Module name is ideapad_slidebar. + To compile this driver as a module, choose M here: the + module will be called ideapad_slidebar. endif
drivers/input/misc/ideapad_slidebar.c +75 -55
272 lines not on this page · raw message