Thread: Serial Port?
View Single Post
Old 22 February 2017, 20:49   #3
Registered User

Join Date: Dec 2010
Location: Athens/Greece
Age: 50
Posts: 651
I'll show a case with /dev/ttyS0 , replace with your device

ls >/dev/ttyS0
ls: write error: Input/output error

ls -l /dev/ttyS0
crw-rw----+ 1 root dialout 4, 64 Feb 22 19:28 /dev/ttyS0
Ok, only root and whoever is in the group "dialout" can access the device.
My user is "alex" so...

sudo usermod -a -G dialout alex
now "alex" is in the "dialout" group. Logout and login and you should be ok.
alkis is offline  
Page generated in 0.04673 seconds with 11 queries