Re: [PATCH libinput 0/3] Fix Lenovo X230 series touchpad

2015-04-13 Thread Benjamin Tissoires
On Mon, Apr 13, 2015 at 2:49 AM, Giulio Camuffo giuliocamu...@gmail.com wrote:
 Hi,

 I've been testing it for the last couple days, and i think it's an
 improvement. However i think it could be better still, i feel the
 pointer is too slow when moving the finger at a normal speed.


Hi Giulio,

I see what you mean. Jumping from a regular touchpad to this one makes
the X230 touchpad really slow.

I, however do not use the X230 enough to be able to find a comfortable
setting that would be good enough for anybody. And as soon as I change
one parameter, it's difficult to judge if it was faster/better or not
than before :(
If you have some time, you can play with the various factors in
touchpad_lenovo_x230_accel_profile() in src/filter.c.

I think multiplying by 1.5 (or 2.0) the incline parameter feels closer
than other touchpads, so I would encourage you to check on that first.

Feel free to send the various parameters you set, and we will see if
we can include them (after comparison with other touchpads :-P).

Cheers,
Benjamin


 --
 Giulio

 2015-04-09 20:30 GMT+03:00 Benjamin Tissoires benjamin.tissoi...@gmail.com:
 Hi,

 Here is a series to try making the touchpad found on the Lenovo
 X230 working. This touchpad has a very bad hardware resolution and by
 default, libinput jumps the cursor for 10 pixels at least whenever the
 user moves the finger.

 This series adds a special tag for such hardware and provides a separate
 acceleration profile for them. As mentioned in the documentation, nobody
 but X230 owners should use this tag.

 The fourth patch of the series is not required per se, given that we should
 push this through hwdb and not have a custom fix in libinput. With it, the
 touchpad felt a little bit better, but that's maybe just me.
 It's up to the libinput maintainer to decide to take it or not (thus the 
 4/3).

 Final note. I tested it on a X230t (t for tablet). I'd like to get some
 feedbacks from the non-tablet users too.

 Cheers,
 Benjamin

 Benjamin Tissoires (4):
   filter: break out accel_profile_linear from
 pointer_accel_profile_linear
   evdev: use a different filter for low resolution touchpad on the
 Lenovo X230
   udev: add a custom udev rule for X230 touchpads
   evdev: Fix reported resolution of Lenovo X230 touchpads

  doc/device-configuration-via-udev.dox |9 +
  src/evdev-mt-touchpad.c   |4 ++-
  src/evdev.c   |   21 +
  src/evdev.h   |2 +
  src/filter.c  |   53 
 +---
  src/filter.h  |5 +++
  udev/99-x230.rules|   14 +
  udev/Makefile.am  |4 ++-
  8 files changed, 105 insertions(+), 7 deletions(-)
  create mode 100644 udev/99-x230.rules

 ___
 wayland-devel mailing list
 wayland-devel@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/wayland-devel
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel


Re: [PATCH libinput 0/3] Fix Lenovo X230 series touchpad

2015-04-13 Thread Vasily Khoruzhick
Hi Benjamin,

On Mon, Apr 13, 2015 at 11:10 PM, Benjamin Tissoires
benjamin.tissoi...@gmail.com wrote:

 Feel free to send the various parameters you set, and we will see if
 we can include them (after comparison with other touchpads :-P).

Is it possible to speedup two finger scroll somehow? Cursor movement
with your parameters is fine (at least for me), but scroll is too
slow.
With convenient speed it scrolls only by two lines if I move finger
across whole touchpad.

Regards,
Vasily
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel


Re: [PATCH libinput 0/3] Fix Lenovo X230 series touchpad

2015-04-13 Thread Giulio Camuffo
Hi,

I've been testing it for the last couple days, and i think it's an
improvement. However i think it could be better still, i feel the
pointer is too slow when moving the finger at a normal speed.


--
Giulio

2015-04-09 20:30 GMT+03:00 Benjamin Tissoires benjamin.tissoi...@gmail.com:
 Hi,

 Here is a series to try making the touchpad found on the Lenovo
 X230 working. This touchpad has a very bad hardware resolution and by
 default, libinput jumps the cursor for 10 pixels at least whenever the
 user moves the finger.

 This series adds a special tag for such hardware and provides a separate
 acceleration profile for them. As mentioned in the documentation, nobody
 but X230 owners should use this tag.

 The fourth patch of the series is not required per se, given that we should
 push this through hwdb and not have a custom fix in libinput. With it, the
 touchpad felt a little bit better, but that's maybe just me.
 It's up to the libinput maintainer to decide to take it or not (thus the 4/3).

 Final note. I tested it on a X230t (t for tablet). I'd like to get some
 feedbacks from the non-tablet users too.

 Cheers,
 Benjamin

 Benjamin Tissoires (4):
   filter: break out accel_profile_linear from
 pointer_accel_profile_linear
   evdev: use a different filter for low resolution touchpad on the
 Lenovo X230
   udev: add a custom udev rule for X230 touchpads
   evdev: Fix reported resolution of Lenovo X230 touchpads

  doc/device-configuration-via-udev.dox |9 +
  src/evdev-mt-touchpad.c   |4 ++-
  src/evdev.c   |   21 +
  src/evdev.h   |2 +
  src/filter.c  |   53 +---
  src/filter.h  |5 +++
  udev/99-x230.rules|   14 +
  udev/Makefile.am  |4 ++-
  8 files changed, 105 insertions(+), 7 deletions(-)
  create mode 100644 udev/99-x230.rules

 ___
 wayland-devel mailing list
 wayland-devel@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/wayland-devel
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel


Re: [PATCH libinput 0/3] Fix Lenovo X230 series touchpad

2015-04-09 Thread Vasily Khoruzhick
Hi Benjamin,

On Thu, Apr 9, 2015 at 8:30 PM, Benjamin Tissoires
benjamin.tissoi...@gmail.com wrote:

 Hi,

 Here is a series to try making the touchpad found on the Lenovo
 X230 working. This touchpad has a very bad hardware resolution and by
 default, libinput jumps the cursor for 10 pixels at least whenever the
 user moves the finger.

 This series adds a special tag for such hardware and provides a separate
 acceleration profile for them. As mentioned in the documentation, nobody
 but X230 owners should use this tag.

 The fourth patch of the series is not required per se, given that we should
 push this through hwdb and not have a custom fix in libinput. With it, the
 touchpad felt a little bit better, but that's maybe just me.
 It's up to the libinput maintainer to decide to take it or not (thus the 4/3).

 Final note. I tested it on a X230t (t for tablet). I'd like to get some
 feedbacks from the non-tablet users too.

Works fine for me on x230 (tested all 4 patches), thanks! Much better
than with tuned xf86-input-synaptics.

Regards,
Vasily
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel


Re: [PATCH libinput 0/3] Fix Lenovo X230 series touchpad

2015-04-09 Thread Benjamin Tissoires
On Thu, Apr 9, 2015 at 2:17 PM, Giulio Camuffo giuliocamu...@gmail.com wrote:
 2015-04-09 20:30 GMT+03:00 Benjamin Tissoires benjamin.tissoi...@gmail.com:
 Hi,

 Here is a series to try making the touchpad found on the Lenovo
 X230 working. This touchpad has a very bad hardware resolution and by
 default, libinput jumps the cursor for 10 pixels at least whenever the
 user moves the finger.

 This series adds a special tag for such hardware and provides a separate
 acceleration profile for them. As mentioned in the documentation, nobody
 but X230 owners should use this tag.

 The fourth patch of the series is not required per se, given that we should
 push this through hwdb and not have a custom fix in libinput. With it, the
 touchpad felt a little bit better, but that's maybe just me.
 It's up to the libinput maintainer to decide to take it or not (thus the 
 4/3).

 Final note. I tested it on a X230t (t for tablet). I'd like to get some
 feedbacks from the non-tablet users too.


 Hi,

 This sounds very interesting. I have a X230, without the t, but i'm
 faling to find a way to get the patches from the gmail webclient. Do
 you have a branch somewhere?


There you go:
https://github.com/bentiss/libinput branch x230

As for gmail, for small series you can simply hit the more option
(the little triangle pointing down), click show original and save
the resulting page.
For bigger series, thunderbird or any other mail client works better.

Cheers,
Benjamin
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel


[PATCH libinput 0/3] Fix Lenovo X230 series touchpad

2015-04-09 Thread Benjamin Tissoires
Hi,

Here is a series to try making the touchpad found on the Lenovo
X230 working. This touchpad has a very bad hardware resolution and by
default, libinput jumps the cursor for 10 pixels at least whenever the
user moves the finger.

This series adds a special tag for such hardware and provides a separate
acceleration profile for them. As mentioned in the documentation, nobody
but X230 owners should use this tag.

The fourth patch of the series is not required per se, given that we should
push this through hwdb and not have a custom fix in libinput. With it, the
touchpad felt a little bit better, but that's maybe just me.
It's up to the libinput maintainer to decide to take it or not (thus the 4/3).

Final note. I tested it on a X230t (t for tablet). I'd like to get some
feedbacks from the non-tablet users too.

Cheers,
Benjamin

Benjamin Tissoires (4):
  filter: break out accel_profile_linear from
pointer_accel_profile_linear
  evdev: use a different filter for low resolution touchpad on the
Lenovo X230
  udev: add a custom udev rule for X230 touchpads
  evdev: Fix reported resolution of Lenovo X230 touchpads

 doc/device-configuration-via-udev.dox |9 +
 src/evdev-mt-touchpad.c   |4 ++-
 src/evdev.c   |   21 +
 src/evdev.h   |2 +
 src/filter.c  |   53 +---
 src/filter.h  |5 +++
 udev/99-x230.rules|   14 +
 udev/Makefile.am  |4 ++-
 8 files changed, 105 insertions(+), 7 deletions(-)
 create mode 100644 udev/99-x230.rules

___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel


Re: [PATCH libinput 0/3] Fix Lenovo X230 series touchpad

2015-04-09 Thread Giulio Camuffo
2015-04-09 21:23 GMT+03:00 Benjamin Tissoires benjamin.tissoi...@gmail.com:
 On Thu, Apr 9, 2015 at 2:17 PM, Giulio Camuffo giuliocamu...@gmail.com 
 wrote:
 2015-04-09 20:30 GMT+03:00 Benjamin Tissoires benjamin.tissoi...@gmail.com:
 Hi,

 Here is a series to try making the touchpad found on the Lenovo
 X230 working. This touchpad has a very bad hardware resolution and by
 default, libinput jumps the cursor for 10 pixels at least whenever the
 user moves the finger.

 This series adds a special tag for such hardware and provides a separate
 acceleration profile for them. As mentioned in the documentation, nobody
 but X230 owners should use this tag.

 The fourth patch of the series is not required per se, given that we should
 push this through hwdb and not have a custom fix in libinput. With it, the
 touchpad felt a little bit better, but that's maybe just me.
 It's up to the libinput maintainer to decide to take it or not (thus the 
 4/3).

 Final note. I tested it on a X230t (t for tablet). I'd like to get some
 feedbacks from the non-tablet users too.


 Hi,

 This sounds very interesting. I have a X230, without the t, but i'm
 faling to find a way to get the patches from the gmail webclient. Do
 you have a branch somewhere?


 There you go:
 https://github.com/bentiss/libinput branch x230

Thanks.


 As for gmail, for small series you can simply hit the more option
 (the little triangle pointing down), click show original and save
 the resulting page.

That's what i usually do but this time it encoded the actual patch and
i didn't manage to build it back.

 For bigger series, thunderbird or any other mail client works better.

 Cheers,
 Benjamin
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel


Re: [PATCH libinput 0/3] Fix Lenovo X230 series touchpad

2015-04-09 Thread Giulio Camuffo
2015-04-09 20:30 GMT+03:00 Benjamin Tissoires benjamin.tissoi...@gmail.com:
 Hi,

 Here is a series to try making the touchpad found on the Lenovo
 X230 working. This touchpad has a very bad hardware resolution and by
 default, libinput jumps the cursor for 10 pixels at least whenever the
 user moves the finger.

 This series adds a special tag for such hardware and provides a separate
 acceleration profile for them. As mentioned in the documentation, nobody
 but X230 owners should use this tag.

 The fourth patch of the series is not required per se, given that we should
 push this through hwdb and not have a custom fix in libinput. With it, the
 touchpad felt a little bit better, but that's maybe just me.
 It's up to the libinput maintainer to decide to take it or not (thus the 4/3).

 Final note. I tested it on a X230t (t for tablet). I'd like to get some
 feedbacks from the non-tablet users too.


Hi,

This sounds very interesting. I have a X230, without the t, but i'm
faling to find a way to get the patches from the gmail webclient. Do
you have a branch somewhere?


---
Giulio


 Cheers,
 Benjamin

 Benjamin Tissoires (4):
   filter: break out accel_profile_linear from
 pointer_accel_profile_linear
   evdev: use a different filter for low resolution touchpad on the
 Lenovo X230
   udev: add a custom udev rule for X230 touchpads
   evdev: Fix reported resolution of Lenovo X230 touchpads

  doc/device-configuration-via-udev.dox |9 +
  src/evdev-mt-touchpad.c   |4 ++-
  src/evdev.c   |   21 +
  src/evdev.h   |2 +
  src/filter.c  |   53 +---
  src/filter.h  |5 +++
  udev/99-x230.rules|   14 +
  udev/Makefile.am  |4 ++-
  8 files changed, 105 insertions(+), 7 deletions(-)
  create mode 100644 udev/99-x230.rules

 ___
 wayland-devel mailing list
 wayland-devel@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/wayland-devel
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel