V12 patches have below main updates compared with v10 patches:
1) Add check that when TP is detected but not operational, do not exit driver
immediately, but wait and export the update_fw interface for recovering.
2) Re-arrange the function codes, remove unnesseary protype definitions in
the
Remove cyapa_remove() method, add cyapa_open() and cyapa_close() methods for
input interface, also modified together with driver's memory and IRQ resource
allocations to support device resource management infrastructure to reduce
the mistakes of resource management.
TEST=test on Chromebooks.
Add runtime_suspend_scanrate_ms power management interfaces in device's
power group, so users or applications can control the runtime power
management strategy of trackpad device as their requirements.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
Add read sensors' raw data from trackpad device interface supported in cyapa
driver through debugfs raw_data interface.
Through this interface, user can read difference count map of each sensors
directly from trackpad device (some customers want). And it's useful to help
users to find out the root
Add read firmware image function supported for gen5 trackpad device,
it can be used through debugfs read_fw interface.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/cyapa.h | 1 +
drivers/input/mouse/cyapa_gen5.c | 155
Add read firmware image function supported for gen3 trackpad device,
it can be used through debugfs read_fw interface.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/cyapa_gen3.c | 67
1 file changed,
Add read raw data function supported for gen5 trackpad device,
it can be used through debugfs raw_data interface.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/cyapa_gen5.c | 138 +++
1 file changed, 138
Add read firmware image from trackpad device interface supported in cyapa
driver through debugfs read_fw interface.
Through this interface user can read out, check and backup the firmware image
of the trackpad device before any firmware update, or can use the backed image
to do firmware image
Add acpi device tree supported.
acpi device id CYAP is for old gen3 trackpad devices.
acpi device id CYAP0001 is for new gen5 trackpad devices.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/cyapa.c | 13 +
1 file changed, 13
Add force re-calibrate function supported for gen5 trackpad device,
it can be used through sysfs calibrate interface.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/cyapa_gen5.c | 65
1 file changed, 65
Add read baseline function supported for gen5 trackpad device,
it can be used through sysfs baseline interface.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/cyapa.h | 2 +
drivers/input/mouse/cyapa_gen5.c | 621
Add firmware image update function supported for gen5 trackpad device,
it can be used through sysfs update_fw interface.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/Kconfig | 2 +-
drivers/input/mouse/cyapa_gen5.c | 290
Add force re-calibrate function supported for gen3 trackpad device,
it can be used through sysfs calibrate interface.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/cyapa_gen3.c | 58
1 file changed, 58
Add firmware image update function supported for gen3 trackpad device,
it can be used through sysfs update_fw interface.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/cyapa_gen3.c | 284 +++
1 file changed,
Add device's basic control and features supported in cyapa driver through
sysfs file system interfaces. These interfaces are commonly used in
pre- and after production, for trackpad device state checking, managing
and firmware image updating.
These interfaces including mode, firmware_version and
Add read baseline function supported for gen3 trackpad device,
it can be used through sysfs baseline interface.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/cyapa_gen3.c | 71
1 file changed, 71
Add suspend_scanrate_ms power management interfaces in device's
power group, so users or applications can control the power management
strategy of trackpad device as their requirements.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
drivers/input/mouse/cyapa.c |
Based on the cyapa core, add the gen5 trackpad device's basic functions
supported, so gen5 trackpad device can work with kernel input system.
And also based on the state parse interface, the cyapa driver can
automatically determine the attached is gen3 or gen5 protocol trackpad
device, then set
In order to support multiple different chipsets and communication protocols
trackpad devices in one cyapa driver, the new cyapa driver is re-designed
with one cyapa driver core and multiple device specific functions component.
The cyapa driver core is contained in this patch, it supplies basic
This patch modified the code to fix the patch check warning issue with latest
checkpatch.sh tool, and also changed the return variable name from ret to
error when there is only one error path to follow code style.
TEST=test on Chromebooks.
Signed-off-by: Dudley Du dudley.duli...@gmail.com
---
On Wed, Dec 03, 2014 at 02:56:07AM +0100, Rafael J. Wysocki wrote:
From: Rafael J. Wysocki rafael.j.wyso...@intel.com
After commit b2b49ccbdd54 (PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is
selected) PM_RUNTIME is always set if PM is set, so #ifdef blocks
depending on CONFIG_PM_RUNTIME may now
Hi Mark,
I'm (hopefully) picking up the work for this series.
On Mon, Jun 30, 2014 at 5:48 PM, Mark Rutland mark.rutl...@arm.com wrote:
On Sun, Jun 29, 2014 at 07:23:52PM +0100, Carlo Caione wrote:
Bindings documentation for the AXP20x driver. In this file also
sub-nodes are documented.
On Thursday 27 November 2014 19:08:04 Dmitry Torokhov wrote:
On November 25, 2014 3:08:31 AM PST, Pali Rohár
pali.ro...@gmail.com wrote:
On Thursday 20 November 2014 00:29:49 Pali Rohár wrote:
On Monday 17 November 2014 08:39:14 Pali Rohár wrote:
On Friday 14 November 2014 21:59:31 Dmitry
On Sun 2014-11-23 14:41:17, Pali Rohár wrote:
Hello,
pressing some keys on laptops could cause some side effects.
Example scenario 1:
Laptop has Fn key for enabling/disabling WIFI and when that key
is pressed BIOS is doing two things:
1) Switch hard rfkill state of WIFI
2) Report
On Wednesday 03 December 2014 13:40:42 Pavel Machek wrote:
On Sun 2014-11-23 14:41:17, Pali Rohár wrote:
Hello,
pressing some keys on laptops could cause some side effects.
Example scenario 1:
Laptop has Fn key for enabling/disabling WIFI and when that
key is pressed BIOS is
On Wed, 03 Dec 2014, Pali Rohár wrote:
Ok, and what about KEY_KBDILLUMTOGGLE when bios also handle
keyboard backlight level? Should be this key filtered too?
IME, heck yes.
If you ever make the mistake of sending to userspace something the
BIOS/kernel already reacted to, they will find a way
On Wednesday 03 December 2014 14:12:54 Henrique de Moraes
Holschuh wrote:
On Wed, 03 Dec 2014, Pali Rohár wrote:
Ok, and what about KEY_KBDILLUMTOGGLE when bios also handle
keyboard backlight level? Should be this key filtered too?
IME, heck yes.
If you ever make the mistake of sending
NEW packets are send to indicate a discontinuity in the finger coordinate
reporting. Specifically a finger may have moved from slot 0 to 1 or vice versa.
INPUT_MT_TRACK takes care of this for us.
NEW packets have 3 problems:
1) They do not contain middle / right button info (on non clickpads)
The v7 proto differentiates between a primary touch (with high precision)
and a secondary touch (with lower precision). Normally when 2 fingers are
down and one is lifted the still present touch becomes the primary touch,
but some traces have shown that this does not happen always.
This commit
Add a table documenting where all the bits are in the v7 touchpad packets.
Cc: sta...@vger.kernel.org # 3.17
Signed-off-by: Hans de Goede hdego...@redhat.com
---
drivers/input/mouse/alps.c | 28
1 file changed, 28 insertions(+)
diff --git
Protocol v7 uses the middle / right button bits on clickpads to communicate
location information of a 3th touch (and possible 4th) touch on clickpads.
Specifically when 3 touches are down, if one of the 3 touches is in the
left / right button area, this will get reported in the middle / right
On Wednesday 03 December 2014 14:24:11 Pali Rohár wrote:
On Wednesday 03 December 2014 14:12:54 Henrique de Moraes
Holschuh wrote:
On Wed, 03 Dec 2014, Pali Rohár wrote:
Ok, and what about KEY_KBDILLUMTOGGLE when bios also handle
keyboard backlight level? Should be this key filtered
On Wed, Dec 03, 2014 at 08:12:39AM -0500, nick wrote:
No I don't. I am was wondering why they are there still if there is no reason
for them.
Cheers Nick
I'd rather hear this statement from a person with the hardware (such as
Geert for example).
Thanks.
On 2014-12-03 12:52 AM, Dmitry
Hi Karl,
On Tue, Dec 02, 2014 at 12:17:40AM -0500, Karl Dahlke wrote:
From: Karl Dahlke ekl...@gmail.com
Add clicks, tones, and tone sequences to the pc speaker.
The speaker driver can play a tone at a specified frequency,
or the standard control G bell,
which is a special case of TONE
This patch initializes atomic_t variables by -1 in order to avoid
extra subtraction operation performed everytime for allocation of
an input device.
Signed-off-by: Aniroop Mathur aniroop.mat...@gmail.com
---
drivers/input/gameport/gameport.c | 4 ++--
drivers/input/joystick/xpad.c | 4 ++--
This patch initializes input device count variables by -1 in order
to avoid extra subtraction operation performed everytime for
allocation of an input device.
Signed-off-by: Aniroop Mathur aniroop.mat...@gmail.com
---
drivers/input/gameport/gameport.c | 4 ++--
drivers/input/joystick/xpad.c
Thank you for your thoughtful reply.
I do not think it is a good idea to add SND_PULSE as it can be easily
implemented by SND_TONE.
It isn't that simple.
Example: if a tone is playing for any reason the clicks do not interrupt
the tone. (It would sound terrible, I've tried it).
Clicks and
On Thu, Dec 04, 2014 at 02:09:06AM +0530, Aniroop Mathur wrote:
This patch initializes input device count variables by -1 in order
to avoid extra subtraction operation performed everytime for
allocation of an input device.
Signed-off-by: Aniroop Mathur aniroop.mat...@gmail.com
Applied,
On Wed, Dec 03, 2014 at 04:02:58PM -0500, Karl Dahlke wrote:
Thank you for your thoughtful reply.
I do not think it is a good idea to add SND_PULSE as it can be easily
implemented by SND_TONE.
It isn't that simple.
Example: if a tone is playing for any reason the clicks do not interrupt
---
drivers/input/serio/Kconfig |9 ++
drivers/input/serio/Makefile|1 +
drivers/input/serio/sunxi-ps2.c | 305 +++
3 files changed, 315 insertions(+)
create mode 100644 drivers/input/serio/sunxi-ps2.c
diff --git a/drivers/input/serio/Kconfig
On Sun, Nov 30, 2014 at 10:30:20AM +0100, Geert Uytterhoeven wrote:
Allocate the temporary buffer needed for initialization of the console
keyboard maps (512 bytes, as NR_KEYS = 256) on the stack instead of
statically, to reduce kernel size.
add/remove: 0/1 grow/shrink: 0/0 up/down: 0/-512
On Thu, Dec 04, 2014 at 04:23:44AM +0530, vishnupatekar wrote:
---
drivers/input/serio/Kconfig |9 ++
drivers/input/serio/Makefile|1 +
drivers/input/serio/sunxi-ps2.c | 305
+++
3 files changed, 315 insertions(+)
create mode 100644
On Wed, Dec 03, 2014 at 11:58:11AM -0800, Dmitry Torokhov wrote:
Hi Karl,
On Tue, Dec 02, 2014 at 12:17:40AM -0500, Karl Dahlke wrote:
From: Karl Dahlke ekl...@gmail.com
Add clicks, tones, and tone sequences to the pc speaker.
The speaker driver can play a tone at a specified
Hi Dmity,
2014년 12월 03일 15:29에 Jaewon Kim 이(가) 쓴 글:
Hi Dmitry,
2014년 12월 03일 15:02에 Dmitry Torokhov 이(가) 쓴 글:
Hi Jaewon,
On Mon, Dec 01, 2014 at 11:11:12AM +0900, Jaewon Kim wrote:
This patch adds support for haptic driver controlled by
voltage of regulator. And this driver support for
It seems to be the general consensus that these sound functions
should not be integrated into the kernel - and that's ok.
Allow me then to ask one more question if I may.
I have a module, ttyclicks.ko, that makes sounds and clicks and such,
and is used primarily by adapters.
By design, it operates
On Thu, Dec 4, 2014 at 4:05 AM, Dmitry Torokhov
dmitry.torok...@gmail.com wrote:
On Thu, Dec 04, 2014 at 02:09:06AM +0530, Aniroop Mathur wrote:
This patch initializes input device count variables by -1 in order
to avoid extra subtraction operation performed everytime for
allocation of an
46 matches
Mail list logo