[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Re: xf86-input-synaptics configuration for ThinkPad T440p
From:       Thilo-Alexander Ginkel <thilo () ginkel ! com>
Date:       2014-09-05 9:17:21
Message-ID: CANvSZQ-jQhf1f+RSDZN1HKbxRj+KVV3TebqewbDPVwPKoMX1WQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Fri, Sep 5, 2014 at 2:19 AM, Peter Hutterer <peter.hutterer@who-t.net>
wrote:

> On Thu, Sep 04, 2014 at 04:06:26PM +0200, Thilo-Alexander Ginkel wrote:
> > On Thu, Sep 4, 2014 at 8:37 AM, Peter Hutterer <peter.hutterer@who-t.net
> >
> > wrote:
> >
> > > try: Option "TouchpadOff" "1"
> > >  in addition to your software button configuration
> > >
> >
> > Unfortunately, this does not result in any changed touchpad behavior.
>
> there's nothing overriding your config in your desktop environment? check
> with synclient if the property is still set. Does it show up in your
> xorg.log?
>

No, disabling the touch feature wasn't the problem, but configuring the
virtual buttons not to span the complete clickpad height. I also
uninstalled the KDE synaptics integration to make sure none of the settings
are inadvertedly overwritten.


> once that's set any motion should be ignored, at which point only the
> software buttons take effect. which is what you want, I think.
>

It is, but that's also achieved by setting AreaBottomEdge=1.


> if it doesn't work it's likely a bug, any help debugging this would be
> appreciated.
>

After some further experimentation I came up with a working config. It
seems that the clickpad dimensions are reported incorrectly so the
percentage-based configuration does not work correctly.

My Xorg.0.log reports:
[    14.664] (--) synaptics: SynPS/2 Synaptics TouchPad: x-axis range 1472
- 5112 (res 42)
[    14.664] (--) synaptics: SynPS/2 Synaptics TouchPad: y-axis range 1408
- 3834 (res 42)

But using evtest I empirically determined different dimensions, which are
present in my current config:

  1 Section "InputClass"
  2     Identifier "T440p touchpad w/o cursor movement"
  3     MatchDriver "synaptics"
  4     Option "SoftButtonAreas" "3800 0 0 2500 2600 3800 0 2500"
  5     Option "TouchPadOff" "1"
  6     Option "AreaBottomEdge" "1"
  7
  8     Option "LeftEdge" "1024"
  9     Option "RightEdge" "5110"
 10     Option "TopEdge" "2048"
 11     Option "BottomEdge" "5000"
 12 EndSection

I remember having read something about incorrect dimension reports by the
Linux kernel, but I am currently running 3.17-rc2 and would have expected
this to be fixed already in that release.

How can I further help debugging this issue?

Thanks,
Thilo

[Attachment #5 (text/html)]

<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Sep 5, 2014 \
at 2:19 AM, Peter Hutterer <span dir="ltr">&lt;<a \
href="mailto:peter.hutterer@who-t.net" \
target="_blank">peter.hutterer@who-t.net</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div>On \
Thu, Sep 04, 2014 at 04:06:26PM +0200, Thilo-Alexander Ginkel wrote:<br> &gt; On Thu, \
Sep 4, 2014 at 8:37 AM, Peter Hutterer &lt;<a href="mailto:peter.hutterer@who-t.net" \
target="_blank">peter.hutterer@who-t.net</a>&gt;<br> &gt; wrote:<br>
&gt;<br>
&gt; &gt; try: Option &quot;TouchpadOff&quot; &quot;1&quot;<br>
&gt; &gt;   in addition to your software button configuration<br>
&gt; &gt;<br>
&gt;<br>
&gt; Unfortunately, this does not result in any changed touchpad behavior.<br>
<br>
</div></div>there&#39;s nothing overriding your config in your desktop environment? \
check<br> with synclient if the property is still set. Does it show up in your<br>
xorg.log?<br></blockquote><div><br></div><div>No, disabling the touch feature \
wasn&#39;t the problem, but configuring the virtual buttons not to span the complete \
clickpad height. I also uninstalled the KDE synaptics integration to make sure none \
of the settings are inadvertedly overwritten.</div><div>  </div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">once \
that&#39;s set any motion should be ignored, at which point only the<br> software \
buttons take effect. which is what you want, I \
think.<br></blockquote><div><br></div><div>It is, but that&#39;s also achieved by \
setting AreaBottomEdge=1.</div><div>  </div><blockquote class="gmail_quote" \
style="margin:0px 0px 0px \
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">if \
it doesn&#39;t work it&#39;s likely a bug, any help debugging this would be<br> \
appreciated.<br></blockquote><div><br></div><div>After some further experimentation I \
came up with a working config. It seems that the clickpad dimensions are reported \
incorrectly so the percentage-based configuration does not work \
correctly.</div><div><br></div><div>My Xorg.0.log reports:</div><div><div>[      \
14.664] (--) synaptics: SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5112 (res \
42)</div><div>[      14.664] (--) synaptics: SynPS/2 Synaptics TouchPad: y-axis range \
1408 - 3834 (res 42)</div><div><br></div></div><div>But using evtest I empirically \
determined different dimensions, which are present in my current \
config:</div><div><br></div><div><div>   1 Section &quot;InputClass&quot;</div><div>  \
2       Identifier &quot;T440p touchpad w/o cursor movement&quot;</div><div>   3      \
MatchDriver &quot;synaptics&quot;</div><div>   4       Option \
&quot;SoftButtonAreas&quot; &quot;3800 0 0 2500 2600 3800 0 2500&quot;</div><div>   5 \
Option &quot;TouchPadOff&quot; &quot;1&quot;</div><div>   6       Option \
&quot;AreaBottomEdge&quot; &quot;1&quot;</div><div>   7  </div><div>   8       Option \
&quot;LeftEdge&quot; &quot;1024&quot;</div><div>   9       Option \
&quot;RightEdge&quot; &quot;5110&quot;</div><div>  10       Option \
&quot;TopEdge&quot; &quot;2048&quot;</div><div>  11       Option \
&quot;BottomEdge&quot; &quot;5000&quot;</div><div>  12 \
EndSection</div><div></div></div><div><br></div><div>I remember having read something \
about incorrect dimension reports by the Linux kernel, but I am currently running \
3.17-rc2 and would have expected this to be fixed already in that \
release.</div><div><br></div><div>How can I further help debugging this \
issue?</div><div><br></div><div>Thanks,</div><div>Thilo</div></div></div></div>



_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic