2016-12-05, 04:26 PM
In OpenPlotter kplex runs as user <pi>
pi@openplotter:~ $ ps aux | grep kplex
pi 3343 0.0 0.0 0 0 pts/0 Z+ 15:55 0:00 [kplex] <defunct>
pi 3395 0.1 0.1 51292 1300 pts/0 Sl+ 15:55 0:01 kplex
pi 5518 0.0 0.1 4296 1848 pts/2 S+ 16:12 0:00 grep --color=auto kplex
pi@openplotter:~ $ groups pi
pi : pi adm dialout cdrom sudo audio video plugdev games users input netdev spi i2c gpio
User pi is in group dialout. Your /dev/ttyACM0 is also in dialout. There is no need to start kplex as root.
pi@openplotter:~ $ ps aux | grep kplex
pi 3343 0.0 0.0 0 0 pts/0 Z+ 15:55 0:00 [kplex] <defunct>
pi 3395 0.1 0.1 51292 1300 pts/0 Sl+ 15:55 0:01 kplex
pi 5518 0.0 0.1 4296 1848 pts/2 S+ 16:12 0:00 grep --color=auto kplex
pi@openplotter:~ $ groups pi
pi : pi adm dialout cdrom sudo audio video plugdev games users input netdev spi i2c gpio
User pi is in group dialout. Your /dev/ttyACM0 is also in dialout. There is no need to start kplex as root.