Serial touchscreen device in Weston

Peter Hutterer peter.hutterer at who-t.net
Mon May 25 04:31:53 PDT 2015


On Mon, May 25, 2015 at 11:07:17AM +0000, Keskinarkaus, Teemu wrote:
> Hi,
> 
> For reasons beyond me I'm forced to use serial port as a mean to connect
> touchscreen to my device. I've already verified that I get serial data out
> from it when touching the screen so that part is working.
> 
> Now next part is to get it working with the Weston.
> 
> The I'm running Weston in iMX6 with Yocto based Linux.
> 
> I did search the Weston.ini, but it doesn't seem to have any touchscreen
> configuration options. Is it possible to configure serial touch screen to
> Weston and if so how?
> 
> If it's not possible to just configure then any ideas how to do it? I
> remember vaguely that there is daemon that does the serial conversion to
> input-device, but I can't remember anymore what it is called.

all the input in weston is handled by libinput, which itself relies on the
kernel's evdev devices. For serial devices you best write a kernel driver
and use inputattach to start it.

Cheers,
   Peter


More information about the wayland-devel mailing list