[PATCH libinput] udev: Fix Chromebook R13 CB5-312T hwdb name

2018-05-07 Thread Paul Kocialkowski
This fixes a typo in the Chromebook R13 CB5-312T hwdb name match and extends it to the full model name, so that potential future other Chromebook R13 devices (that are not CB5-312T) won't use these quirks. Signed-off-by: Paul Kocialkowski --- udev/90-libinput-model-quirks.hwdb | 2 +- 1

Re: [PATCH libinput 0/3] Device-tree-based model detection

2017-06-06 Thread Paul Kocialkowski
Hey, Le mardi 02 mai 2017 à 16:21 +1000, Peter Hutterer a écrit : > On Fri, Apr 28, 2017 at 03:32:58PM +0200, Paul Kocialkowski wrote: > > This series introduces device-tree-based model detection and uses it for > > fine tuning on the Chromebook R13 CB5-312T. > > > &

Re: [PATCH 1/3] udev: Remove unused Elantech touchpad model binding

2017-05-02 Thread Paul Kocialkowski
Le mardi 02 mai 2017 à 12:00 +1000, Peter Hutterer a écrit : > On Fri, Apr 28, 2017 at 03:29:02PM +0200, Paul Kocialkowski wrote: > > The Elantech touchpad model binding in udev is currently unused, since > > pressure values were moved to a udev binding of their own. > > >

[PATCH libinput 2/3] udev: Add generic pressure range values for I2C Elan touchpads

2017-04-28 Thread Paul Kocialkowski
This adds generic pressure range values for I2C Elan touchpads used with device-tree. These values were tested to work with various devices and should be acceptable in most cases. Signed-off-by: Paul Kocialkowski --- udev/90-libinput-model-quirks.hwdb | 3 +++ 1 file changed, 3 insertions

[PATCH libinput 3/3] udev: Add specific pressure range for the Chromebook R13 CB5-312T

2017-04-28 Thread Paul Kocialkowski
This adds specific pressure range values for the Elan touchpad found in the Chromebook R13 CB5-312T (codename elm). These values allow using the touchpad from the tip of the finger and makes scrolling generally more reactive. Signed-off-by: Paul Kocialkowski --- udev/90-libinput-model

[PATCH libinput 1/3] udev: Add support for device-tree-based model selection

2017-04-28 Thread Paul Kocialkowski
This adds support for detecting input peripherals based on their name and the device-tree model of the device they're used with. This is mostly an equivalent to dmi-based model detection (e.g. on x86 devices) for device that use device-tree (e.g. on ARM devices). Signed-off-by: Paul Kocialk

[PATCH libinput 0/3] Device-tree-based model detection

2017-04-28 Thread Paul Kocialkowski
This series introduces device-tree-based model detection and uses it for fine tuning on the Chromebook R13 CB5-312T. It applies on top of my series fixing the default range values for PS/2 Elantech touchpads. For this to work properly, a patch in systemd (that is still under review) is required:

[PATCH 1/3] udev: Remove unused Elantech touchpad model binding

2017-04-28 Thread Paul Kocialkowski
The Elantech touchpad model binding in udev is currently unused, since pressure values were moved to a udev binding of their own. This gets rid of the deprecated model binding. Signed-off-by: Paul Kocialkowski --- src/evdev.c| 1 - src/evdev.h| 1

[PATCH 3/3] udev: Add specific pressure range for the ASUS ZenBook UX21E

2017-04-28 Thread Paul Kocialkowski
This adds specific pressure range values for the Elantech touchpad found in the ASUS ZenBook UX21E. Signed-off-by: Paul Kocialkowski --- udev/90-libinput-model-quirks.hwdb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/udev/90-libinput-model-quirks.hwdb b/udev/90-libinput-model

[PATCH 2/3] udev: Select more generic pressure range values for Elantech touchpads

2017-04-28 Thread Paul Kocialkowski
The current pressure values for Elantech touchpads are too high for various devices and make the touchpad almost unusable on them. Decreasing the pressure range values makes those devices usable again. Signed-off-by: Paul Kocialkowski --- udev/90-libinput-model-quirks.hwdb | 2 +- 1 file

Re: [PATCH libinput 1/3] udev: Add name-based input device detection without dmi

2017-04-26 Thread Paul Kocialkowski
Le mardi 25 avril 2017 à 10:53 +1000, Peter Hutterer a écrit : > On Mon, Apr 24, 2017 at 03:31:39PM +0200, Paul Kocialkowski wrote: > > Le lundi 24 avril 2017 à 16:11 +1000, Peter Hutterer a écrit : > > > On Fri, Apr 21, 2017 at 01:31:56PM +0200, Paul Kocialkowski wrote: >

Re: [PATCH libinput 3/3] udev: Decrease high pressure value for Elantech touchpads

2017-04-26 Thread Paul Kocialkowski
Le mardi 25 avril 2017 à 10:33 +1000, Peter Hutterer a écrit : > On Mon, Apr 24, 2017 at 03:43:56PM +0200, Paul Kocialkowski wrote: > > Le lundi 24 avril 2017 à 16:22 +1000, Peter Hutterer a écrit : > > > On Fri, Apr 21, 2017 at 01:31:58PM +0200, Paul Kocialkowski wrote: > &g

Re: [PATCH libinput 3/3] udev: Decrease high pressure value for Elantech touchpads

2017-04-24 Thread Paul Kocialkowski
Le lundi 24 avril 2017 à 16:22 +1000, Peter Hutterer a écrit : > On Fri, Apr 21, 2017 at 01:31:58PM +0200, Paul Kocialkowski wrote: > > The high pressure value for Elantech touchpads (both PS/2 and I2C) is > > not adapted to various devices, on which the touchpad i

Re: [PATCH libinput 2/3] udev: Add support for I2C Elan touchpads (without dmi)

2017-04-24 Thread Paul Kocialkowski
Le lundi 24 avril 2017 à 16:15 +1000, Peter Hutterer a écrit : > On Fri, Apr 21, 2017 at 01:31:57PM +0200, Paul Kocialkowski wrote: > > This adds support for I2C Elan touchpads, such as the ones found in > > various ARM CrOS devices. These devices do not use dmi. > > >

Re: [PATCH libinput 1/3] udev: Add name-based input device detection without dmi

2017-04-24 Thread Paul Kocialkowski
Le lundi 24 avril 2017 à 16:11 +1000, Peter Hutterer a écrit : > On Fri, Apr 21, 2017 at 01:31:56PM +0200, Paul Kocialkowski wrote: > > Some devices do not use dmi at all (this is the case on most non-x86 > > platforms, such as arm and arm64) but should able to select specific >

[PATCH libinput 1/3] udev: Add name-based input device detection without dmi

2017-04-21 Thread Paul Kocialkowski
Some devices do not use dmi at all (this is the case on most non-x86 platforms, such as arm and arm64) but should able to select specific quirks based on the input device name too. This adds name-based input device detection without dmi to support these devices. Signed-off-by: Paul Kocialkowski

Support for I2C Elan touchpads and pressure range fix

2017-04-21 Thread Paul Kocialkowski
This series both introduces support for I2C Elan touchpads, thanks to dmi-independent name-based input device detection and fixes the pressure range on Elan touchpads (both PS/2 and I2C). It applies on top of: touchpad: move the pressure range to a hwdb entry from Peter Hutterer. The initial prob

[PATCH libinput 3/3] udev: Decrease high pressure value for Elantech touchpads

2017-04-21 Thread Paul Kocialkowski
The high pressure value for Elantech touchpads (both PS/2 and I2C) is not adapted to various devices, on which the touchpad is barely usable. Decreasing the high value makes those devices usable again, while not introducing any major drawback for other devices. Signed-off-by: Paul Kocialkowski

[PATCH libinput 2/3] udev: Add support for I2C Elan touchpads (without dmi)

2017-04-21 Thread Paul Kocialkowski
This adds support for I2C Elan touchpads, such as the ones found in various ARM CrOS devices. These devices do not use dmi. The pressure range is copied as-is from the current Elantech PS/2 touchpads entry. It is not adapted to every touchpad configuration. Signed-off-by: Paul Kocialkowski