n-trig pen with evdev drivers - Sony Vaio Duo 11

Peter Hutterer peter.hutterer at who-t.net
Mon Feb 16 18:13:28 PST 2015

On Mon, Feb 16, 2015 at 12:47:55PM +0100, Carlo Nucera wrote:
> Hi, you're right about the link. For future reference and search, the
> page I was referring to is located here:
> http://www.linuxquestions.org/questions/linux-hardware-18/getting-xinput-and-an-n-trig-pen-working-sony-vaio-duo-11-a-4175533235/
> I'm happy this question got finally an answer, at least I understand
> the problem now. Could you point me towards what should I study to be
> able to make that sort of patch myself? Where should the path go,
> conceptually? Could you give me a better idea of what do you mean when
> you say "too much effort"?

the main patch yould likely have to be in the xf86-input-wacom driver since
that's the main tablet driver these days (well, until libinput takes over).
essentially what you'd have to do is map the BTN_TOOL_ERASER to some other 
button in the driver and discard any proximity events caused before/after
the button press (that's the tricky bit). and of course make sure you don't
break anything else. The chance of upstreaming this is almost nil though,
there's too much guesswork involved and it goes explicitly against the HW


> 2015-02-16 5:17 GMT+01:00 Peter Hutterer <peter.hutterer at who-t.net>:
> > On Sun, Feb 15, 2015 at 11:26:20PM +0100, Carlo Nucera wrote:
> >> Hi,
> >> I have some problems setting up the active digitizer of my Sony Vaio
> >> Duo 11: in particular, one of the buttons is seen by the kernel, but
> >> not picked up by `xinput test`.
> >> This makes impossible to use that button, eg, in xournal.
> >>
> >> To avoid information duplication, I provided a detailed rundown of
> >> what I tried, and more information, at http://goo.gl/nJpfJR
> >> If you have other questions, I'll be happy to answer.
> >
> > please don't link to random pages, especially not with an URL shortener.
> > Aside from not knowing where the page will end up it also makes it
> > impossible to archive and search for in the future.
> > pastebin etc. have the same issue (except one at least knows where the URL
> > goes to).
> >
> > Anyway, in regards to your problems:
> > http://who-t.blogspot.com.au/2014/09/stylus-behaviour-on-microsoft-surface-3.html
> >
> > Cheers,
> >    Peter

More information about the xorg mailing list