Unable to get events from my touchscreen in Weston using libinput
Pekka Paalanen
ppaalanen at gmail.com
Tue Sep 30 03:24:21 PDT 2014
On Wed, 24 Sep 2014 16:59:44 +0100
Aurelien Bouin <a_bouin at yahoo.fr> wrote:
> Hello,
>
> I am using weston-1.6.0 with wayland-1.6.0 libinput-0.6.0 compiled for ARM with yocto
> When I start weston I can see that the touch is detected in the logs :
> """[13:28:20.166] input device 'ADS7846 Touchscreen', /dev/input/event0 is a touch device """
> Here is the complete log : http://pastebin.com/raw.php?i=dHjWSH16
> But I am unable to get a launcher launch ... or weston-calibrator do not detect a touch ...
>
> What is wierd though is that when weston goes to screensaver ... when I touch the screen it wakes up ...
> I can see event with event-debug the tools of libinput ...
> I tried export WAYLAND_DEBUG=1 ... I am sure that debug is enable since there is a bunch of messages at start up ... but i get nothing on touch event ... when I plug a mouse then I get event when the mouse is moving ...
>
>
> Where should I look to ?
Hi,
maybe the coordinates are somehow completely off... you could try
adding weston_log() in src/input.c notify_touch() to print the
coordinates (use e.g. wl_fixed_to_int()).
If the coordinates do not hit any surface, you won't see them in the
protocol debug either.
Thanks,
pq
More information about the wayland-devel
mailing list