linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* No pinch events with Dell laptops and Alps
@ 2020-07-16 13:19 Paul Menzel
  2020-07-16 23:22 ` Peter Hutterer
  0 siblings, 1 reply; 5+ messages in thread
From: Paul Menzel @ 2020-07-16 13:19 UTC (permalink / raw)
  To: Pali Rohár; +Cc: linux-input, Peter Hutterer

Dear Linux folks,


On the Dell Latitude E7250 and Dell Precision 3340 I fail to get three 
finger pinch events generated needed for GNOME Shell gestures [1].

Debian Sid/unstable with Linux 5.7.6 is running on these systems.

     [    1.602394] input: AlpsPS/2 ALPS GlidePoint as 
/devices/platform/i8042/serio1/input/input2

I am only able to create swipe events. (Four finger swipe works to 
switch workspaces.)

```
$ sudo libinput debug-events
[…]
-event1   DEVICE_ADDED     AlpsPS/2 ALPS GlidePoint          seat0 
default group10 cap:pg  size 98x51mm tap(dl off) left scroll-nat 
scroll-2fg-edge dwt-on
-event2   DEVICE_ADDED     DELL Wireless hotkeys             seat0 
default group11 cap:k
event1  - AlpsPS/2 ALPS GlidePoint: kernel bug: Wrong slot count (4), 
reducing to 2
-event1   GESTURE_SWIPE_BEGIN +1.549s	3
  event1   GESTURE_SWIPE_UPDATE +1.549s	3 -0.36/ 0.26 (-2.59/ 1.85 
unaccelerated)
[…]
```

Does the hardware and driver support that?


Kind regards,

Paul


[1]: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2897

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: No pinch events with Dell laptops and Alps
  2020-07-16 13:19 No pinch events with Dell laptops and Alps Paul Menzel
@ 2020-07-16 23:22 ` Peter Hutterer
  2020-08-18 13:13   ` Paul Menzel
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Hutterer @ 2020-07-16 23:22 UTC (permalink / raw)
  To: Paul Menzel; +Cc: Pali Rohár, linux-input

On Thu, Jul 16, 2020 at 03:19:32PM +0200, Paul Menzel wrote:
> Dear Linux folks,
> 
> 
> On the Dell Latitude E7250 and Dell Precision 3340 I fail to get three
> finger pinch events generated needed for GNOME Shell gestures [1].
> 
> Debian Sid/unstable with Linux 5.7.6 is running on these systems.
> 
>     [    1.602394] input: AlpsPS/2 ALPS GlidePoint as
> /devices/platform/i8042/serio1/input/input2
> 
> I am only able to create swipe events. (Four finger swipe works to switch
> workspaces.)
> 
> ```
> $ sudo libinput debug-events
> […]
> -event1   DEVICE_ADDED     AlpsPS/2 ALPS GlidePoint          seat0 default
> group10 cap:pg  size 98x51mm tap(dl off) left scroll-nat scroll-2fg-edge
> dwt-on
> -event2   DEVICE_ADDED     DELL Wireless hotkeys             seat0 default
> group11 cap:k
> event1  - AlpsPS/2 ALPS GlidePoint: kernel bug: Wrong slot count (4),
> reducing to 2
> -event1   GESTURE_SWIPE_BEGIN +1.549s	3
>  event1   GESTURE_SWIPE_UPDATE +1.549s	3 -0.36/ 0.26 (-2.59/ 1.85
> unaccelerated)
> […]
> ```
> 
> Does the hardware and driver support that?

The device is an Alps GlidePoint which are usually INPUT_PROP_SEMI_MT. On
those devices, we don't support 3fg pinch gestures because we don't get
enough data to make the gestures reliable. There is no specific quirk for
your device otherwise, afaict.

If it's not semi-mt then it's too hard to say without more data, I'll need
at least the output from libinput record to figure out why (that recording
will contain the libinput version which also matters).

Cheers,
   Peter

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: No pinch events with Dell laptops and Alps
  2020-07-16 23:22 ` Peter Hutterer
@ 2020-08-18 13:13   ` Paul Menzel
  2020-08-18 21:59     ` Peter Hutterer
  0 siblings, 1 reply; 5+ messages in thread
From: Paul Menzel @ 2020-08-18 13:13 UTC (permalink / raw)
  To: Peter Hutterer; +Cc: Pali Rohár, linux-input

Dear Peter,


Am 17.07.20 um 01:22 schrieb Peter Hutterer:
> On Thu, Jul 16, 2020 at 03:19:32PM +0200, Paul Menzel wrote:

>> On the Dell Latitude E7250 and Dell Precision 3340 I fail to get three
>> finger pinch events generated needed for GNOME Shell gestures [1].
>>
>> Debian Sid/unstable with Linux 5.7.6 is running on these systems.
>>
>>      [    1.602394] input: AlpsPS/2 ALPS GlidePoint as
>> /devices/platform/i8042/serio1/input/input2
>>
>> I am only able to create swipe events. (Four finger swipe works to switch
>> workspaces.)
>>
>> ```
>> $ sudo libinput debug-events
>> […]
>> -event1   DEVICE_ADDED     AlpsPS/2 ALPS GlidePoint          seat0 default
>> group10 cap:pg  size 98x51mm tap(dl off) left scroll-nat scroll-2fg-edge
>> dwt-on
>> -event2   DEVICE_ADDED     DELL Wireless hotkeys             seat0 default
>> group11 cap:k
>> event1  - AlpsPS/2 ALPS GlidePoint: kernel bug: Wrong slot count (4),
>> reducing to 2
>> -event1   GESTURE_SWIPE_BEGIN +1.549s	3
>>   event1   GESTURE_SWIPE_UPDATE +1.549s	3 -0.36/ 0.26 (-2.59/ 1.85
>> unaccelerated)
>> […]
>> ```
>>
>> Does the hardware and driver support that?
> 
> The device is an Alps GlidePoint which are usually INPUT_PROP_SEMI_MT. On
> those devices, we don't support 3fg pinch gestures because we don't get
> enough data to make the gestures reliable. There is no specific quirk for
> your device otherwise, afaict.

Thank you for your reply, and the explanation.

Four finger gestures seem to work. At least in GNOME Shell workspaces 
can be switched with that.

> If it's not semi-mt then it's too hard to say without more data, I'll need
> at least the output from libinput record to figure out why (that recording
> will contain the libinput version which also matters).

Sorry for omitting that. It’s 1.16.1 now. I uploaded the logs [2].


Kind regards,

Paul


[2]: 
https://owww.molgen.mpg.de/~pmenzel/20200818-libinput-record-linux-5.7.10.txt

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: No pinch events with Dell laptops and Alps
  2020-08-18 13:13   ` Paul Menzel
@ 2020-08-18 21:59     ` Peter Hutterer
  2020-08-19 16:06       ` Paul Menzel
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Hutterer @ 2020-08-18 21:59 UTC (permalink / raw)
  To: Paul Menzel; +Cc: Pali Rohár, linux-input

On Tue, Aug 18, 2020 at 03:13:45PM +0200, Paul Menzel wrote:
> Dear Peter,
> 
> 
> Am 17.07.20 um 01:22 schrieb Peter Hutterer:
> > On Thu, Jul 16, 2020 at 03:19:32PM +0200, Paul Menzel wrote:
> 
> > > On the Dell Latitude E7250 and Dell Precision 3340 I fail to get three
> > > finger pinch events generated needed for GNOME Shell gestures [1].
> > > 
> > > Debian Sid/unstable with Linux 5.7.6 is running on these systems.
> > > 
> > >      [    1.602394] input: AlpsPS/2 ALPS GlidePoint as
> > > /devices/platform/i8042/serio1/input/input2
> > > 
> > > I am only able to create swipe events. (Four finger swipe works to switch
> > > workspaces.)
> > > 
> > > ```
> > > $ sudo libinput debug-events
> > > […]
> > > -event1   DEVICE_ADDED     AlpsPS/2 ALPS GlidePoint          seat0 default
> > > group10 cap:pg  size 98x51mm tap(dl off) left scroll-nat scroll-2fg-edge
> > > dwt-on
> > > -event2   DEVICE_ADDED     DELL Wireless hotkeys             seat0 default
> > > group11 cap:k
> > > event1  - AlpsPS/2 ALPS GlidePoint: kernel bug: Wrong slot count (4),
> > > reducing to 2
> > > -event1   GESTURE_SWIPE_BEGIN +1.549s	3
> > >   event1   GESTURE_SWIPE_UPDATE +1.549s	3 -0.36/ 0.26 (-2.59/ 1.85
> > > unaccelerated)
> > > […]
> > > ```
> > > 
> > > Does the hardware and driver support that?
> > 
> > The device is an Alps GlidePoint which are usually INPUT_PROP_SEMI_MT. On
> > those devices, we don't support 3fg pinch gestures because we don't get
> > enough data to make the gestures reliable. There is no specific quirk for
> > your device otherwise, afaict.
> 
> Thank you for your reply, and the explanation.
> 
> Four finger gestures seem to work. At least in GNOME Shell workspaces can be
> switched with that.
> 
> > If it's not semi-mt then it's too hard to say without more data, I'll need
> > at least the output from libinput record to figure out why (that recording
> > will contain the libinput version which also matters).
> 
> Sorry for omitting that. It’s 1.16.1 now. I uploaded the logs [2].

thanks. based on the log, it's not a semi-mt touchpad and has 5 slots. So gestures
should work in theory, let's move this to a libinput bug please and continue
there: https://gitlab.freedesktop.org/libinput/libinput/issues

Cheers,
   Peter


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: No pinch events with Dell laptops and Alps
  2020-08-18 21:59     ` Peter Hutterer
@ 2020-08-19 16:06       ` Paul Menzel
  0 siblings, 0 replies; 5+ messages in thread
From: Paul Menzel @ 2020-08-19 16:06 UTC (permalink / raw)
  To: Peter Hutterer; +Cc: Pali Rohár, linux-input

Dear Peter,


Am 18.08.20 um 23:59 schrieb Peter Hutterer:
> On Tue, Aug 18, 2020 at 03:13:45PM +0200, Paul Menzel wrote:

>> Am 17.07.20 um 01:22 schrieb Peter Hutterer:
>>> On Thu, Jul 16, 2020 at 03:19:32PM +0200, Paul Menzel wrote:
>>
>>>> On the Dell Latitude E7250 and Dell Precision 3340 I fail to get three
>>>> finger pinch events generated needed for GNOME Shell gestures [1].
>>>>
>>>> Debian Sid/unstable with Linux 5.7.6 is running on these systems.
>>>>
>>>>       [    1.602394] input: AlpsPS/2 ALPS GlidePoint as /devices/platform/i8042/serio1/input/input2
>>>>
>>>> I am only able to create swipe events. (Four finger swipe works to switch
>>>> workspaces.)
>>>>
>>>> ```
>>>> $ sudo libinput debug-events
>>>> […]
>>>> -event1   DEVICE_ADDED     AlpsPS/2 ALPS GlidePoint          seat0 default group10 cap:pg  size 98x51mm tap(dl off) left scroll-nat scroll-2fg-edge dwt-on
>>>> -event2   DEVICE_ADDED     DELL Wireless hotkeys             seat0 default group11 cap:k
>>>> event1  - AlpsPS/2 ALPS GlidePoint: kernel bug: Wrong slot count (4), reducing to 2
>>>> -event1   GESTURE_SWIPE_BEGIN +1.549s	3
>>>>    event1   GESTURE_SWIPE_UPDATE +1.549s	3 -0.36/ 0.26 (-2.59/ 1.85 unaccelerated)
>>>> […]
>>>> ```
>>>>
>>>> Does the hardware and driver support that?
>>>
>>> The device is an Alps GlidePoint which are usually INPUT_PROP_SEMI_MT. On
>>> those devices, we don't support 3fg pinch gestures because we don't get
>>> enough data to make the gestures reliable. There is no specific quirk for
>>> your device otherwise, afaict.
>>
>> Thank you for your reply, and the explanation.
>>
>> Four finger gestures seem to work. At least in GNOME Shell workspaces can be
>> switched with that.
>>
>>> If it's not semi-mt then it's too hard to say without more data, I'll need
>>> at least the output from libinput record to figure out why (that recording
>>> will contain the libinput version which also matters).
>>
>> Sorry for omitting that. It’s 1.16.1 now. I uploaded the logs [2].
> 
> thanks. based on the log, it's not a semi-mt touchpad and has 5 slots. So gestures
> should work in theory, let's move this to a libinput bug please and continue
> there: https://gitlab.freedesktop.org/libinput/libinput/issues

Thank you for your reply. I created issue #519 [1].


Kind regards,

Paul


[1]: https://gitlab.freedesktop.org/libinput/libinput/-/issues/519
      "Three finger gestures not working with AlpsPS/2 ALPS GlidePoint"

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-08-19 16:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-16 13:19 No pinch events with Dell laptops and Alps Paul Menzel
2020-07-16 23:22 ` Peter Hutterer
2020-08-18 13:13   ` Paul Menzel
2020-08-18 21:59     ` Peter Hutterer
2020-08-19 16:06       ` Paul Menzel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).