Messages in this thread | | | Date | Thu, 5 Feb 2015 17:49:24 -0800 | From | Dmitry Torokhov <> | Subject | Re: [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
| |