cbaurtx
Posts: 6
Joined: Sun Oct 30, 2011 7:49 pm

Problem accessing the serial port (/dev/ttyAMA0)

Tue Sep 25, 2012 8:41 pm

I cannot access /dev/tty/AMA0 anymore.

ls -l /dev/ttyAMA0
crwxrwx--- 1 root uucp 204, 64 Sep 25 22:10 /dev/ttyAMA0
[[email protected]]$ groups cb
uucp audio users
[[email protected]]$ cat /dev/ttyAMA0
cat: /dev/ttyAMA0: Permission denied

obviously cb is member of uucp and should be allowed to access /dev/ttyAMA0.

If I change the access right to allow access for everybody (chmod 666 /dev/ttyAMA0)
I can access the port without problems, but this is not what I want to do as everybody can access
/dev/ttyAMA0 in this case.

User avatar
mister_wavey
Posts: 98
Joined: Sun Sep 02, 2012 8:23 am
Location: Abergavenny, Wales, UK
Contact: Website

Re: Problem accessing the serial port (/dev/ttyAMA0)

Tue Sep 25, 2012 9:40 pm

sudo adduser cb tty

mr.Tall
Posts: 1
Joined: Sat Mar 05, 2016 1:39 pm

Re: Problem accessing the serial port (/dev/ttyAMA0)

Sat Mar 05, 2016 1:42 pm

I have absolutely the same problem with raspberry pi2b
Share you experience please:))) Did you solve this problem?

Return to “Troubleshooting”

Who is online

Users browsing this forum: Alex Blain-Laider and 35 guests