I have a question regarding Weston.
Weston didn't work with error "failed to create input device '/dev/input/event0'".
/dev/input/event0 device is a touch screen. I doubt touch screen doesn't work but it looks working fine in evtest.
I think it is strange that weston failed to create input device in spite of working well in evtest.
Any ideas what prevent weston from creating input device?
Weston said is:
[02:54:17.254] weston 1.6.0
wayland.freedesktop.org/
Bug reports to: bugs.freedesktop.org/enter_bug.cgi
Build: 1.5.93-5-g2858cc2 configure.ac: bump version to 1.6.0 (2014-09-19 13:40:14 +0300)
[02:54:17.255] OS: Linux, 4.1.6-GJM-NPF-1_2_0----g52c4aa7, #2 SMP PREEMPT Tue Jun 14 11:15:38 JST 2016, armv7l
[02:54:17.255] Using config file '/etc//weston.ini'
[02:54:17.255] Loading module '/usr/lib/weston/drm-backend.so'
[02:54:17.258] initializing drm backend
[02:54:17.262] using /dev/dri/card0
[02:54:17.264] Loading module '/usr/lib/weston/gl-renderer.so'
failed to load module: /usr/lib/gbm/gbm_dri.so: cannot open shared object file: No such file or directory
failed to load module: /usr/lib/gbm/gbm_gallium_drm.so: cannot open shared object file: No such file or directory
loaded module: gbm_pvr.so
PVR:(Warning): PVRSRVOpenDCDevice: Warning - 138 returned [80, /bridged_pvr_dc_glue.c]
[02:54:17.357] warning: EGL_EXT_buffer_age not supported. Performance could be affected.
[02:54:17.410] failed to create input device '/dev/input/event0'.
[02:54:17.410] warning: no input devices on entering Weston. Possible causes:
- no permissions to read /dev/input/event*
- seats misconfigured (Weston backend option 'seat', udev device property ID_SEAT)
[02:54:17.410] failed to create input device
udevadm said is:
root@am57xx-evm:~# udevadm info -q all -n /dev/input/event0
P: /devices/platform/44000000.ocp/4806a000.serial/tty/ttyS0/serio0/input/input0/event0
N: input/event0
S: input/by-path/platform-4806a000.serial-serio-0-event
S: input/touchscreen0
E: DEVLINKS=/dev/input/by-path/platform-4806a000.serial-serio-0-event /dev/input/touchscreen0
E: DEVNAME=/dev/input/event0
E: DEVPATH=/devices/platform/44000000.ocp/4806a000.serial/tty/ttyS0/serio0/input/input0/event0
E: ID_INPUT=1
E: ID_INPUT_TOUCHSCREEN=1
E: ID_PATH=platform-4806a000.serial-serio-0
E: ID_PATH_TAG=platform-4806a000_serial-serio-0
E: MAJOR=13
E: MINOR=64
E: SUBSYSTEM=input
E: USEC_INITIALIZED=56679037
evtest said is:
evtest /dev/input/event0
[ 135.728520] input: MITSUBISHI UART Touch as /devices/platform/44000000.ocp/4806a000.serial/tty/ttyS0/serio0/input/input0
[ 135.740032] mitsubishi: MITSUBISHI UART Touch
Input driver version is 1.0.1
Input device ID: bus 0x13 vendor 0x40 product 0x0 version 0x102
Input device name: "MITSUBISHI UART Touch"
Supported events:
Event type 0 (EV_SYN)
Event type 3 (EV_ABS)
Event code 53 (ABS_MT_POSITION_X)
Value 0
Min 0
Max 4095
Event code 54 (ABS_MT_POSITION_Y)
Value 0
Min 0
Max 4095
Event code 57 (ABS_MT_TRACKING_ID)
Value 0
Min 0
Max 1
Testing ... (interrupt to exit)
Event: time 1460203316.000011, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 0
Event: time 1460203316.000011, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 1756
Event: time 1460203316.000011, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 1728
Event: time 1460203316.000011, ++++++++++++++ SYN_MT_REPORT ++++++++++++