lkml.org 
[lkml]   [2015]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] Input - synaptics: re-route tracksticks buttons on the Lenovo 2015 series
On Thu, Feb 05, 2015 at 05:33:07PM -0800, Andrew Duggan wrote:
> On 02/05/2015 12:38 PM, Benjamin Tissoires wrote:
> >Lenovos 2015 series has the physical tracktick buttons wired
> >through the touchpad. The kernel should re-route them through
> >the pass-through interface.
> >
> >Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
> >---
> >
> >Hi Dmitry,
> >
> >Well, in one of your replies regarding the Synaptics Lenovo 2015
> >series, you mentioned that you wouldn't mind having the trackstick
> >buttons re-routed through the trackstick (pass-through interface).
> >
> >I came out with this patch (checkpatch complains a lot about it but
> >today's setup is not that convenient), and I'd like to hear what you
> >think of it.
> >
> >If you agree to go this path, I'll remove the warnings from checkpatch
> >and do a proper submission.
> >
> >The patch is still not future proof (if Synaptics updates the board like
> >they did for the *40 series, we will need to fix this all over again),
> >so I might have a little bit more of work to do. Anyway, it works.
>
> I discovered that there is a firmware query to determine if the
> touchpad has stick buttons which are wired to the touchpad and are
> reported as extended buttons. Query $01 bit 17 indicates that Query
> $10 exists. Then Query $10 bit 0 indicates indicates the extended
> buttons should be mapped to the guest stick buttons.
>
> Additional information and some diagrams are in the pdf here:
> https://www.dropbox.com/s/vv1j4zsytgrw7mm/synaptics-tp-stick-buttons.pdf?dl=0

Awesome, thanks Andrew.

--
Dmitry


\
 
 \ /
  Last update: 2015-02-06 03:21    [W:0.038 / U:0.552 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site