libts / tslib

Touchscreen access library
GNU Lesser General Public License v2.1
596 stars 290 forks source link

ts_setup: No such file or directory #200

Open bexizuo opened 2 years ago

bexizuo commented 2 years ago

missing install for binary file ts_setup is missing on clean compilation ... UPDATE: i'm getting message : ts_setup: No such file or directory ... when i run "ts_print" ... UPDATE2: when i add on Linux : TSLIB_TSDEVICE ... it runs ... but manual says that it's automatic on linux ... so i tried: strace i got output:

open("/dev/input/ts", O_RDWR) = -1 ENOENT (No such file or directory) open("/dev/input/touchscreen", O_RDWR) = -1 ENOENT (No such file or directory) open("/dev/touchscreen/ucb1x00", O_RDWR) = -1 ENOENT (No such file or directory) open("/dev/input", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 3 fcntl64(3, F_GETFD) = 0x1 (flags FD_CLOEXEC) getdents(3, / 7 entries /, 32768) = 128 getdents(3, / 0 entries /, 32768) = 0 close(3) = 0 open("/dev/input/event0", O_RDONLY) = 3 ioctl(3, 0x80044509, 0xbe9ceb1c) = 4 close(3) = 0 open("/dev/input/event1", O_RDONLY) = 3 ioctl(3, 0x80044509, 0xbe9ceb1c) = 4 close(3) = 0 dup(2) = 3 fcntl64(3, F_GETFL) = 0x20002 (flags O_RDWR|O_LARGEFILE) fstat64(3, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 0), ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6fb5000 _llseek(3, 0, 0xbe9cea20, SEEK_CUR) = -1 ESPIPE (Illegal seek) write(3, "ts_setup: No such file or direct"..., 36ts_setup: No such file or directory ) = 36 close(3) = 0