Skip to contentSkip to conversation

Add support for Wacom W8001 penabled serial touchscreen

RFC In review Jaya Kumar 2 participants 3 messages Nov 23, 2008 – Dec 15, 2008

Subsystems (2)
lore
Share & tools
lore

Jaya Kumar

author
#0 lore raw

RFC 1/1 Add support for Wacom W8001 penabled serial touchscreen

Hi Dmitry, linux-input,

Thanks for your previous feedback. I've made the improvements to drop the use of cmd mutex, expected packet, cleanup and report tilt events. Let me know your thoughts.

Thanks,
jaya

The Wacom W8001 sensor is a sensor device (uses electromagnetic resonance) and it is interfaced via its serial microcontroller to the host.

---
 drivers/input/touchscreen/Kconfig       |   13 ++
 drivers/input/touchscreen/Makefile      |    1 +
 drivers/input/touchscreen/wacom_w8001.c |  290 +++++++++++++++++++++++++++++++
 include/linux/serio.h                   |    1 +
 4 files changed, 305 insertions(+), 0 deletions(-)
 create mode 100644 drivers/input/touchscreen/wacom_w8001.c
drivers/input/touchscreen/Kconfig +13 -0
index 6e1e8c6..239c4f6 100644
@@ -91,6 +91,19 @@ config TOUCHSCREEN_ELO
 	  To compile this driver as a module, choose M here: the
 	  module will be called elo.
 
+config TOUCHSCREEN_WACOM_W8001
+	tristate "Wacom W8001 penabled serial touchscreen"
+	select SERIO
+	help
+	  Say Y here if you have an Wacom W8001 penabled serial touchscreen
+	  connected to your system.
+
+	  If unsure, say N.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called wacom_w8001.
+
+
 config TOUCHSCREEN_MTOUCH
 	tristate "MicroTouch serial touchscreens"
 	select SERIO
drivers/input/touchscreen/Makefile +1 -0
index 15cf290..3dc84d3 100644
@@ -26,6 +26,7 @@ obj-$(CONFIG_TOUCHSCREEN_TOUCHIT213)	+= touchit213.o
 obj-$(CONFIG_TOUCHSCREEN_TOUCHRIGHT)	+= touchright.o
 obj-$(CONFIG_TOUCHSCREEN_TOUCHWIN)	+= touchwin.o
 obj-$(CONFIG_TOUCHSCREEN_UCB1400)	+= ucb1400_ts.o
+obj-$(CONFIG_TOUCHSCREEN_WACOM_W8001)	+= wacom_w8001.o
 obj-$(CONFIG_TOUCHSCREEN_WM97XX)	+= wm97xx-ts.o
 wm97xx-ts-$(CONFIG_TOUCHSCREEN_WM9705)	+= wm9705.o
 wm97xx-ts-$(CONFIG_TOUCHSCREEN_WM9712)	+= wm9712.o
drivers/input/touchscreen/wacom_w8001.c new file +290 -0

290 lines not on this page · raw message

include/linux/serio.h +1 -0
index 25641d9..1bcb357 100644
@@ -213,5 +213,6 @@ static inline void serio_unpin_driver(struct serio *serio)
 #define SERIO_ZHENHUA	0x36
 #define SERIO_INEXIO	0x37
 #define SERIO_TOUCHIT213	0x37
+#define SERIO_W8001	0x39
 
 #endif
Signature · 1 line
1.5.2.3
author
#1 lore raw
Quoted 9 lines · Jaya Kumar

Hi Dmitry, linux-input,

Thanks for your previous feedback. I've made the improvements to drop the use of cmd mutex, expected packet, cleanup and report tilt events. Let me know your thoughts.

Thanks,
jaya

Hi Dmitry,

Was this patch okay?

Thanks,
jaya

maintainer
#2 lore raw
Quoted 7 lines · Jaya Kumar
Quoted 6 lines · Jaya Kumar

Hi Dmitry, linux-input,

Thanks for your previous feedback. I've made the improvements to drop the use of cmd mutex, expected packet, cleanup and report tilt events. Let me know your thoughts.

Quoted 8 lines
Quoted 3 lines

Thanks,
jaya

Hi Dmitry,

Was this patch okay?

Hi Jaya,

The patch is in my 'next' branch, waiting for .29.

Signature · 1 line
Dmitry