Skip to contentSkip to conversation

input: ideapad_slidebar: new input driver

PATCH Superseded Andrey Moiseev 1 participant 1 message Aug 3, 2013

Subsystems (3)

v1 of 8 Superseded Latest is v8 →

lore
Share & tools
lore

Andrey Moiseev

author maintainer
#0 lore raw

PATCH 1/1 input: ideapad_slidebar: new input driver

ideapad-slidebar is a new driver which enables slidebars on some Lenovo IdeaPad laptops.

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:
* Lenovo IdeaPad Y550
* Lenovo IdeaPad Y550P

Driver source: https://github.com/o2genum/ideapad-slidebar.git

---
 drivers/input/misc/Kconfig            |   9 +
 drivers/input/misc/Makefile           |   1 +
 drivers/input/misc/ideapad_slidebar.c | 378 ++++++++++++++++++++++++++++++++++
 3 files changed, 388 insertions(+)
 create mode 100644 drivers/input/misc/ideapad_slidebar.c
drivers/input/misc/Kconfig +9 -0
index 0b541cd..45729a9 100644
@@ -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
index 829de43..0ebfb6d 100644
@@ -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 +378 -0

378 lines not on this page · raw message

Signature · 1 line
1.8.3.3