Closed liuyishengalan closed 1 year ago
You shouldnt need to start the service manually, that should be done by the udev rules automatically.
You can check the status with something like systemctl status iptsd@/dev/hidrawN.service
That error is a mathematical error, but sadly C++ doesnt actually print where the error originates. Could you generate a coredump for me? You would have to build iptsd from source, and then run the following commands.
$ gdb ./build/src/daemon/iptsd
(gdb) catch throw
(gdb) run /dev/hidrawN
[trigger the error here]
(gdb) generate-core-file
Then upload the core.XXXX
file it produces in the current working directory.
I am following the SPX wiki configuration step and re-assign
4000
todft_button_min_mag
to avoid spurious button presses. stylus fully works after the modification. However, as I touch the screen with finger and stylus simultaneously, the driver stops:It doesn't happen as default value has been assigned to
dft_button_min_mag
The original service is:
ExecStart=@bindir@/iptsd %I
, from my end, the service cannot start unless I change%I
to/dev/hidraw0
. It will lead to error:Failed to open hidraw device