user access to /dev/ttyXXX

Post here if you are a new Porteus member and you're looking for some help.

user access to /dev/ttyXXX

Postby tego » 31 May 2017, 17: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
tego
Ronin
Ronin
 
Posts: 1
Joined: 31 May 2017, 01:59
Location: USA
Distribution: Porteus 3.2.2

Return to Newbie questions



Who is online

Users browsing this forum: No registered users and 3 guests