11 Oct, 2011
1 commit
-
This will ensure our reporting is consistent with the rest of the system
and we do not refer to obsolete source file names.Reviewed-by: Wanlong Gao
Reviewed-by: JJ Ding
Reviewed-by: Daniel Kurtz
Signed-off-by: Dmitry Torokhov
10 Oct, 2011
3 commits
-
Medium size Bamboo P&T driver reused max X/Y form older Bamboo 1
medium size tablets and never updated to real value. Actual
active area of tablet is slightly larger in Y direction.Signed-off-by: Chris Bagwell
Acked-by: Ping Cheng
Signed-off-by: Dmitry Torokhov -
Tablet reports a distance of 0 right at highest point possible
to be in proximity and distance_max when touching tablet. Inverse
the distance since user land has no way of knowing ABS_DISTANCE
is not distance from tablet.Signed-off-by: Chris Bagwell
Signed-off-by: Dmitry Torokhov -
These were left in during removal of touch pressure reports but not
needed now.Signed-off-by: Chris Bagwell
Reviewed-by: Ping Cheng
Signed-off-by: Dmitry Torokhov
07 Oct, 2011
5 commits
-
CONFIG_PM is defined when CONFIG_PM_SLEEP or CONFIG_PM_RUNTIME is defined,
however suspend and resume methods are only valid in the context of
CONFIG_PM_SLEEP. If only CONFIG_PM_RUNTIME is defined we get the following
warning (courtesy of Geerts randconfig builds):lm8323.c: warning: 'lm8323_resume' defined but not used
Signed-off-by: Dmitry Torokhov
-
CONFIG_PM is defined when CONFIG_PM_SLEEP or CONFIG_PM_RUNTIME is defined,
however suspend and resume methods are only valid in the context of
CONFIG_PM_SLEEP. If only CONFIG_PM_RUNTIME is defined we get the following
warning (courtesy of Geerts randconfig builds):ad7879-i2c.c: warning: 'ad7879_i2c_resume' defined but not used
Signed-off-by: Dmitry Torokhov
-
CONFIG_PM is defined when CONFIG_PM_SLEEP or CONFIG_PM_RUNTIME is defined,
however suspend and resume methods are only valid in context of
CONFIG_PM_SLEEP. If only CONFIG_PM_RUNTIME is defined we get the following
warning (courtesy of Geerts randconfig builds):synaptics_i2c.c: warning: 'synaptics_i2c_resume' defined but not used
Signed-off-by: Dmitry Torokhov
-
Sometimes GCC is not smart enough to recognize that x, y and z are
always used properly initialized in mma8450_poll(). Let's rearrange
the code a bit to help GCC.Signed-off-by: Dmitry Torokhov
-
Sysfs attribute show methods are always passed a buffer of length
PAGE_SIZE. To keep from overwriting this buffer and causing havoc, use
snprintf() to guarantee we never write more than the buffer can hold.In addition, at least for my touchscreen, the number and size of objects
was far too big to fit in a single 4K page. Therefore, this patch also
trims some redundant framing text to leave more room for actual data.Signed-off-by: Daniel Kurtz
Acked-by: Nick Dyer
Signed-off-by: Dmitry Torokhov
05 Oct, 2011
4 commits
-
Reviewed-by: Eduard Hasenleithner
Tested-by: Eduard Hasenleithner
Signed-off-by: Ping Cheng
Signed-off-by: Dmitry Torokhov -
Cintiq 21ux2 has two sets of four LEDs on right and left side of
the tablet, respectively.Reviewed-by: Eduard Hasenleithner
Tested-by: Eduard Hasenleithner
Signed-off-by: Ping Cheng
Signed-off-by: Dmitry Torokhov -
The LED also indicates the status of the tablet. Don't turn it off.
Reviewed-by: Eduard Hasenleithner
Tested-by: Eduard Hasenleithner
Signed-off-by: Ping Cheng
Signed-off-by: Dmitry Torokhov -
The LED luminance level is normally lower when no button is pressed.
Reviewed-by: Eduard Hasenleithner
Tested-by: Eduard Hasenleithner
Signed-off-by: Ping Cheng
Signed-off-by: Dmitry Torokhov
29 Sep, 2011
1 commit
-
This patch adds the TSC-40 serial touchscreen driver and should be
compatible with TSC-10 and TSC-25.The driver was written by Linutronix on behalf of Bachmann electronic GmbH.
Signed-off-by: Sebastian Andrzej Siewior
Signed-off-by: Christian Gmeiner
Signed-off-by: Dmitry Torokhov
21 Sep, 2011
10 commits
-
This patch clarifies a few bits of documentation in the header file
for the adxl34x driver.Signed-off-by: Michael Tandy
Acked-by: Michael Hennerich
Signed-off-by: Dmitry Torokhov -
Use the of_property_read_u32() helper function to retrieve u32 values
from the device tree. Also do not pass the len parameter to
of_get_property if it isn't checked afterwards.Signed-off-by: Tobias Klauser
Signed-off-by: Dmitry Torokhov -
Since touchscreen driver does not handle any events to be sent to the
device we can close serio port first and then unregister the input device.Tested-by: John Sung
Signed-off-by: Dmitry Torokhov -
Instead of having one large switch based on product ID use pointer to
function actually doing protocol decoding.Tested-by: John Sung
Signed-off-by: Dmitry Torokhov -
Add multi touch support for PenMount 6250 touch controller.
Signed-off-by: John Sung
Signed-off-by: Dmitry Torokhov -
Add dual touch support for PenMount 3000 touch controller.
Signed-off-by: John Sung
Signed-off-by: Dmitry Torokhov -
Add support for PenMount 6000 touch controller.
Signed-off-by: John Sung
Signed-off-by: Dmitry Torokhov -
The MSB and LSB of the XY axis value are switched according to the PenMount 9000 protocol. The driver name is also changed from penmountlpc, since it is not for LPC interface at all.
Signed-off-by: John Sung
Signed-off-by: Dmitry Torokhov -
This essentially reverts commit f81bc788ff91d4efd4baf88b2c29713838caa8e5.
With recent work on elantech driver, I believe we now have complete support
for all elantech touchpads. So remove this hack.Signed-off-by: JJ Ding
Reviewed-by: Éric Piel
Signed-off-by: Dmitry Torokhov -
V2 hardware has many variants. This patch adddresses two issues:
- some model also has debounce packets, but with a different signature
than v3. Now we just check debounce for all v2 hardware.- due to different scanning methods the hardware uses, x and y ranges have
to be calculated differently. And for some specific versions, we can just
see them as custom-made, so set {x, y} the same values as Windows driver
does.Signed-off-by: JJ Ding
Tested-by: Richard Schütz
Reviewed-by: Éric Piel
Signed-off-by: Dmitry Torokhov
10 Sep, 2011
11 commits
-
v4 hardware is a true multitouch capable touchpad (up to 5 fingers).
The packet format is quite complex, please see protocol document for
reference.Signed-off-by: JJ Ding
Signed-off-by: Dmitry Torokhov -
v3 hardware's packet format is almost identical to v2 (one/three finger touch),
except when sensing two finger touch, the hardware sends 12 bytes of data.Signed-off-by: JJ Ding
Acked-by: Daniel Kurtz
Acked-by: Éric Piel
Signed-off-by: Dmitry Torokhov -
Group property setting code into elantech_set_properties.
Signed-off-by: JJ Ding
Acked-by: Daniel Kurtz
Acked-by: Éric Piel
Signed-off-by: Dmitry Torokhov -
For v2 hardware, there is no real parity check, but we can still check
some constant bits for data integrity.Also rename elantech_check_parity_v1 to elantech_packet_check_v1 to make
these packet checking function names consistent.Signed-off-by: JJ Ding
Acked-by: Daniel Kurtz
Acked-by: Éric Piel
Signed-off-by: Dmitry Torokhov -
Don't try to be too clever and remove ETP_EDGE_FUZZ_V2. X, Y ranges
should be just the raw resolution of the device. Otherwise, they can
cause underflow on the Y axis.Suggested-by: Éric Piel
Signed-off-by: JJ Ding
Acked-by: Daniel Kurtz
Acked-by: Éric Piel
Signed-off-by: Dmitry Torokhov -
With newer hardware, the touchpad provides range info.
Let's use it.Signed-off-by: JJ Ding
Acked-by: Daniel Kurtz
Acked-by: Éric Piel
Signed-off-by: Dmitry Torokhov -
For two finger touches the coordinate of each finger gets reported
separately but with reduced resolution.With this change, we now have the same range for ST and MT data and
scale MT data because it has lower resolution to match ST.Suggested-by: Dmitry Torokhov
Signed-off-by: JJ Ding
Acked-by: Daniel Kurtz
Acked-by: Éric Piel
Signed-off-by: Dmitry Torokhov -
x, y values are actually 12-bit long. Also update protocol document to
reflect the change.Signed-off-by: JJ Ding
Acked-by: Daniel Kurtz
Acked-by: Éric Piel
Signed-off-by: Dmitry Torokhov -
Fix warning from Geert's build summary emails by changing "if" to
"ifdef". Thsi should fix the following:drivers/input/misc/twl6040-vibra.c:231:5: warning: "CONFIG_PM_SLEEP" is not defined
Builds cleanly with CONFIG_PM_SLEEP enabled or disabled.
Signed-off-by: Randy Dunlap
Signed-off-by: Dmitry Torokhov -
Take spinlock when entering ISR and timer routine to ensure that we do not
race while enabling/disabling FIFO interrupts.Also we do not need to take teh spinlock in tegra_kbc_startremove() since
interrupt is completely disabled.Tested-by: Rakesh Iyer
Signed-off-by: Dmitry Torokhov -
For wakeup to be reliable, kbc needs to be in interrupt mode before suspend.
Created common routine to control the FIFO interrupt.
Added synchronization to ensure orderly suspend.Signed-off-by: Rakesh Iyer
Signed-off-by: Dmitry Torokhov
09 Sep, 2011
1 commit
-
WARNING: drivers/input/keyboard/built-in.o(.text+0xb55b): Section mismatch in reference from the function tc3589x_keypad_open() to the function .devinit.text:tc3589x_keypad_init_key_hardware()
The function tc3589x_keypad_open() references
the function __devinit tc3589x_keypad_init_key_hardware().
This is often because tc3589x_keypad_open lacks a __devinit
annotation or the annotation of tc3589x_keypad_init_key_hardware is wrong.Signed-off-by: Harvey Yang
Signed-off-by: Dmitry Torokhov
08 Sep, 2011
3 commits
-
This flag is a NOOP and can be removed now.
Signed-off-by: Yong Zhang
Signed-off-by: Dmitry Torokhov -
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-wacomSigned-off-by: Eduard Hasenleithner
Signed-off-by: Dmitry Torokhov
29 Aug, 2011
1 commit