user access to /dev/ttyXXX

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
tego
Ronin
Ronin
Posts: 1
Joined: 31 May 2017, 00:59
Distribution: Porteus 3.2.2
Location: USA

user access to /dev/ttyXXX

Post#1 by tego » 31 May 2017, 16:47

Good day, I'm testing the new 3.2.2 version of Desktop and attempting to read/write to a device through a serial port ( /dev/ttyUSB0).
I'm testing with "picocom" but will be using my own code in the future.
When running under the guest account i receive the following error:

picocom -b 115200 -recei /dev/ttyUSB0

FATAL: cannot lock /dev/ttyUSB0: Permission denied

guest is in groups uucp and dialout

Any help will be appreciated !
Thanks

Post Reply