History log of /drivers/input/tablet/wacom.h
Revision Date Author Comments
a1d552cc15b0be9124ccba593f99f59c4ec1e153 26-Mar-2012 Chris Bagwell <chris@cnpbagwell.com> Input: wacom - wireless battery status

Signed-off-by: Chris Bagwell <chris@cnpbagwell.com>
Tested-by: Jason Gerecke <killertofu@gmail.com>
Acked-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
16bf288c4be67b68c3fcb6561ff145702cb7bd22 26-Mar-2012 Chris Bagwell <chris@cnpbagwell.com> Input: wacom - create inputs when wireless connect

When a tablet connect or disconnect is detected, schedule
work queue to register or unregister related input devices.

When a wireless tablet connects, it reports same USB PID
used if tablet is connected with USB cable. Use this to
update features values, set input capabilities, and then
register device. From there, the Pen and Touch interfaces
will reuse the existing tablet's IRQ routines.

Its possible that 1 receiver is shared with 2 tablets with
different PID (small and medium Bamboo for example) so the
input is unregister at disconnect to better support this case.

Signed-off-by: Chris Bagwell <chris@cnpbagwell.com>
Tested-by: Jason Gerecke <killertofu@gmail.com>
Acked-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
09e7d9410764f96f83ebf4a435028ac5e6240af6 05-Oct-2011 Ping Cheng <pinglinux@gmail.com> Input: wacom - add LED support for Cintiq 21ux2

Cintiq 21ux2 has two sets of four LEDs on right and left side of
the tablet, respectively.

Reviewed-by: Eduard Hasenleithner <eduard@hasenleithner.at>
Tested-by: Eduard Hasenleithner <eduard@hasenleithner.at>
Signed-off-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
77e82516a69ad7dd10ada425930ba35e933abcfb 05-Oct-2011 Ping Cheng <pinglinux@gmail.com> Input: wacom - don't expose LED inactive option

The LED also indicates the status of the tablet. Don't turn it off.

Reviewed-by: Eduard Hasenleithner <eduard@hasenleithner.at>
Tested-by: Eduard Hasenleithner <eduard@hasenleithner.at>
Signed-off-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
5d7e7d479856f23eebc272128905a7ecada367fb 07-Sep-2011 Eduard Hasenleithner <eduard@hasenleithner.at> Input: wacom - add Intuos4 LED and OLED control

This commit enables control of the LEDs and OLED displays found on the
Wacom Intuos4 M, L, and XL. For this purpose, a new "wacom_led" attribute
group is added to the sysfs entry of the USB device.

This "wacom_led" group only shows up when the correct device (M, L, or XL)
is detected. The attributes are described in
Documentation/ABI/testing/sysfs-wacom

Signed-off-by: Eduard Hasenleithner <eduard@hasenleithner.at>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
7b4b30689d688d9ca2e5c3859db6bbe1c35e6014 23-Dec-2010 Ajay Ramaswamy <ajay@ramaswamy.net> Input: wacom - add support for digitizer in Lenovo W700

Signed-off-by: Ajay Ramaswamy <ajay@ramaswamy.net>
Reviewed-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
bc73dd39e78dd6e5b34cd938b7f037a8bc041bdd 05-Sep-2010 Henrik Rydberg <rydberg@euromail.se> Input: wacom - collect device quirks into single function

Collect device-specific code into a single function, and use quirks to
flag specific behavior instead.

Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Acked-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
252f77698fe37bdd784e514820852a3ea9827fd0 20-Mar-2010 Dmitry Torokhov <dmitry.torokhov@gmail.com> Input: wacom - use get_unaligned to access unaligned data

Also get rid of wacom_le16_to_cpu() and wacom_be16_to_cpu() helpers and
ise le16_to_cpup() and be16_to_cpup() directly.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
95dd3b30ced3ee740e5dd92fc44515a5a6a350d4 20-Mar-2010 Dmitry Torokhov <dmitry.torokhov@gmail.com> Input: wacom - get rid of wacom_combo structure

Now that we moved input device from struct wacom to struct wacom_wac,
presence of wacom_combo just complicats things for no good reason.
Let's get rid of it and simply pass URB length to wacom_wac_irq().

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
8da23fc113e8bdaf813545ec935a6c60254ac439 20-Mar-2010 Dmitry Torokhov <dmitry.torokhov@gmail.com> Input: wacom - get rid of input event wrappers

Input event interface is pretty stable so let's get rig of wrappers
for input_event() and fiends and call them directly. This will simplify
and speed up code a bit.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
51269fe86c263ec4fafbafe82970e6d7f6f79102 20-Mar-2010 Dmitry Torokhov <dmitry.torokhov@gmail.com> Input: wacom - do not allocate wacom_wac separately

There is no reason for allocating struct wacom_wac separately from
struct wacom since both have the same lifetime rules and are not
shared. Also make 'open' field a boolean.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
b036f6fb3aa23a52d90da5fc57e0803f08292e82 11-Feb-2010 Bastian Blank <waldi@debian.org> Input: wacom - get features from driver info

Get the features information from the driver info of the usb device id
structure provided by the caller. The device ids and feature structs
are strong coupled using indices.

Signed-off-by: Bastian Blank <waldi@debian.org>
Tested-by: Jason Childs <oblivian@users.sourceforge.net>
Acked-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
ec67bbedcf290ef182a897017f65a2707106c7f8 15-Dec-2009 Ping Cheng <pingc@wacom.com> Input: wacom - add support for new LCD tablets

This adds support for the foolowing Wacom devices:

- 0x9F - a single touch only LCD tablet;
- 0xE2 - a two finger touch only LCD tablet;
- 0xE3 - a two finger touch, penabled LCD tablet.

Signed-off-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
ee54500d7b960984df125bdd0cd2105d6150e8f1 15-Dec-2009 Ping Cheng <pingc@wacom.com> Input: wacom - add defines for packet lengths of various devices

Signed-off-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
232f5693e5c9483e222528ef81979e42ea2f2908 15-Dec-2009 Ping Cheng <pingc@wacom.com> Input: wacom - ensure the device is initialized properly upon resume

Call wacom_query_tablet_data() from wacom_resume() so the device will be
switched to Wacom mode upon resume. Devices that require this are: regular
tablets and two finger touch devices.

Signed-off-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
6f660f12d703fa23069317f0a64c6b75d08c15c2 09-May-2009 Ping Cheng <pingc@wacom.com> Input: wacom - add support for Intuos4 tablets

Signed-oof-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
384318ecd2eb4fdbcbe7c4df6e8bb55986bf52d4 28-Apr-2009 Ping Cheng <pingc@wacom.com> Input: wacom - fix TabletPC touch bug

This patch fixed a bug that was introduced in kernel 2.6.28 for
TabletPC touch data. The wacom_parse_hid routine in wacom_sys.c
should always return 0 even when usb_control_msg got an error.

Signed-off-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
545f4e99dee7284ed57c79384c5c1d5ac58dcd59 24-Nov-2008 Ping Cheng <pingc@wacom.com> Input: wacom - add support for new USB Tablet PCs

Signed-off-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
c6a3ead2ab5d82b549237c52a785b9f736e13463 05-May-2008 Harvey Harrison <harvey.harrison@gmail.com> Input: wacom - make one-bit signed bitfields unsigned

Otherwise it can only take the values 0/-1 which doesn't seem to
have been intended.

drivers/input/tablet/wacom.h:108:12: error: dubious one-bit signed bitfield

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
e722409445fbe718f09f6d5e03d0ae84cf0954d0 15-Apr-2008 Oliver Neukum <oliver@neukum.org> Input: wacom - implement suspend and autosuspend

This implements suspend and autosuspend support for wacom devices.
It works by using the usb last busy functionality triggered in the
completion callback.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
0e1763f530af71bd82e58e407991a9ded6aae73e 13-Mar-2008 Ping Cheng <pingc@wacom.com> Input: wacom - add support for Bamboo1, BambooFun, and Cintiq 12WX

Add support for new wacom tablets - Bamboo1, BambooFun, and Cintiq 12WX

Signed-off-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
7ecfbfd3d000a5d6787cf3369228e7f0082b8758 15-Jun-2007 Ping Cheng <pingc@wacom.com> Input: wacom - add support for the new Bamboo tablets

Signed-off-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
4104d13fe0194736393d97c88ee045fb689c783b 07-May-2007 Dmitry Torokhov <dtor@insightbb.com> Input: move USB tablets under drivers/input/tablet

This will allow concentrating all input devices in one place
in {menu|x|q}config.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>