[PATCH weston 00/16] Tablet device support for weston

Jason Gerecke killertofu at gmail.com
Tue Nov 7 03:21:49 UTC 2017


On Wed, Oct 25, 2017 at 4:12 AM, Bastian Farkas <bfarkas at de.adit-jv.com> wrote:
> Hi,
>
> with Peter Hutterers permission I modified an outdated patchset from him that adds support for tablet devices to the weston compositor. Several minor changes were needed to get the patches working with a recent weston version.
>
> I only tested my patches with a virtual tablet device (using python-evdev).
>
> Best regards
> Bastian Farkas
>

Hi Bastian,

I tried testing out these patches, but they almost immediately fell
flat on their face. A pointer appears and moves around when I bring my
pen into prox, and disappears when it leaves prox. When I bring the
pen into prox a second time, however, weston either hangs or crashes.
For what its worth, I did test this patchset the last time they were
posted to the list and didn't encounter this problem.

I've attached a hid-replay log of my Intuos Pro which will hopefully
let you reproduce the issue yourself. I can try to provide coredumps
or backtraces instead if you'd prefer.

Jason
---
Now instead of four in the eights place /
you’ve got three, ‘Cause you added one  /
(That is to say, eight) to the two,     /
But you can’t take seven from three,    /
So you look at the sixty-fours....

> Advanced Driver Information Technology GmbH
> Engineering System & Architecture (ADITG/ESA)
> Robert-Bosch-Str. 200
> 31139 Hildesheim
> Germany
>
> Tel. +49 5121 49 6942
> Fax +49 5121 49 6999
> bfarkas at de.adit-jv.com
>
> ADIT is a joint venture company of Robert Bosch GmbH/Robert Bosch Car Multimedia GmbH and DENSO Corporation
> Sitz: Hildesheim, Registergericht: Amtsgericht Hildesheim HRB 3438
> Geschäftsführung: Wilhelm Grabow, Ken Yaguchi
>
> Bastian Farkas (3):
>   tablet: Fixed compilation errors resulting from tablet patches.
>   tablet: Fixing compilation issues in weston desktop-shell related to
>     tablet     support patches.
>   tablet: reordered changes in weston_seat struct to not break ABI
>     compatibility
>
> Lyude Paul (13):
>   tablet: Add initial tablet support to weston
>   tablet: add handling of tablet focus
>   tablet: add weston grab interfaces for tablet tools
>   tablet: hook up libinput tablet events
>   tablet: handle tablet cursors in the compositor
>   clients: add support for handling tablets
>   client: Add tablet cursor support into libtoytoolkit
>   client: Add support for tablet cursor motion to window frames in
>     libtoytoolkit
>   tablet: Add support for moving windows around using the stylus
>   tablet: Add tablet support to the top panel of the desktop shell
>   tablet: Add binding to activate surfaces using the tablet tool
>   tablet: Add demo application for tablets
>   tablet: Remove tablet-specific tools on disconnect
>
>  .gitignore                  |   1 +
>  Makefile.am                 |  20 +-
>  clients/desktop-shell.c     |  56 +++
>  clients/tablet.c            | 254 ++++++++++++
>  clients/window.c            | 686 +++++++++++++++++++++++++++++++
>  clients/window.h            |  93 +++++
>  configure.ac                |   2 +-
>  desktop-shell/shell.c       | 289 +++++++++++++
>  libweston/bindings.c        |  39 +-
>  libweston/compositor.c      |   8 +
>  libweston/compositor.h      | 204 ++++++++++
>  libweston/input.c           | 963 ++++++++++++++++++++++++++++++++++++++++++++
>  libweston/libinput-device.c | 340 ++++++++++++++++
>  libweston/libinput-device.h |   4 +-
>  shared/cairo-util.h         |   4 +
>  shared/frame.c              |  38 ++
>  16 files changed, 2994 insertions(+), 7 deletions(-)
>  create mode 100644 clients/tablet.c
>
> --
> 2.7.4
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/wayland-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pen.hid.log
Type: text/x-log
Size: 57680 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20171106/564522c8/attachment-0001.bin>


More information about the wayland-devel mailing list