@Jin, in case this helps, something to double check is that the X server was successfully started before running the xinput
and xinput_calibrator
commands. Are you starting the X server with startx
or some other similar command? In another thread (link below), another user reported their issue was that they were trying to run xinput
before startx
, rather than the other way around. The following worked for them:
# Start application
startx /usr/src/app/node_modules/electron/dist/electron /usr/src/app --enable-logging
# Wait for X to come up
sleep 3
# Rotate display and touchscreen
xrandr -o right # this is for screen rotation, probably doesn't apply to you
xinput ...
Related posts:
- Rotating display on Intel NUC?
- Get Touchscreen eGalaxy Touch working (agherzan’s summary post)