@lex Posted February 11, 2017 Posted February 11, 2017 If someone is interested i have compiled some TSLIB deb packages for the Pine64 Touch Screen to work without evdev driver or any other service behind. Advantages: * Easy to install (if you know how to edit xorg.conf) * No service needed * No calibration needed Disadvantages: * works on X11 only Information and deb packages: https://github.com/avafinger/pine64-touchscreen Hope it can be useful. 1
Learnincurve Posted February 14, 2017 Posted February 14, 2017 Hi and many thanks for your work with the tslib X11 driver. I tried following this on a pine64+ running kernel 3.10.104-pine64 but X is failing to start with a segfault: 9.307] (**) Option "config_info" "udev:/sys/devices/virtual/input/input0/event0"[ 9.307] (II) XINPUT: Adding extended input device "sunxi-keyboard" (type: KEYBOARD, id 10)[ 9.307] (**) Option "xkb_rules" "evdev"[ 9.307] (**) Option "xkb_model" "pc105"[ 9.307] (**) Option "xkb_layout" "us"[ 9.308] (II) config/udev: Adding input device sunxi-ths (/dev/input/event2)[ 9.309] (II) No input driver specified, ignoring this device.[ 9.309] (II) This device may have been added with another device file.[ 9.309] (II) config/udev: Adding input device gt9xxf_ts (/dev/input/event5)[ 9.310] (**) gt9xxf_ts: Applying InputClass "evdev touchscreen catchall"[ 9.310] (**) gt9xxf_ts: Applying InputClass "Pine64-Touchscreen"[ 9.310] (II) LoadModule: "tslib"[ 9.310] (II) Loading /usr/lib/xorg/modules/input/tslib_drv.so[ 9.314] (II) Module tslib: vendor="X.Org Foundation"[ 9.314] compiled for 1.18.4, module version = 0.0.1[ 9.314] Module class: X.Org XInput Driver[ 9.314] ABI class: X.Org XInput driver, version 22.1[ 9.314] (II) Using input driver 'tslib' for 'gt9xxf_ts'[ 9.314] (**) gt9xxf_ts: always reports core events[ 9.314] (**) gt9xxf_ts: always reports core events[ 9.333] (EE)[ 9.333] (EE) Backtrace:[ 9.333] (EE) 0: /usr/lib/xorg/Xorg (xorg_backtrace+0x58) [0x5557b0cc48][ 9.333] (EE)[ 9.333] (EE) Segmentation fault at address 0x0[ 9.333] (EE)Fatal server error:[ 9.333] (EE) Caught signal 11 (Segmentation fault). Server aborting[ 9.333] (EE)[ 9.333] (EE)Please consult the The X.Org Foundation support at http://wiki.x.orgfor help.[ 9.333] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.[ 9.333] (EE) Any ideas? BR. --Marius--
Learnincurve Posted February 14, 2017 Posted February 14, 2017 Answering my own post, I had an empty /etc/pointercal file, which was causing the segfault. Removed it and x started fine, using the driver. Thanks again!
Recommended Posts