Go to advanced search

by elektronist
Wed Feb 06, 2013 3:45 pm
Forum: Advanced users
Topic: Group of /dev/ttyAMA0
Replies: 5
Views: 4728

Re: Group of /dev/ttyAMA0

The device should be root:dialout unless/until you log in on that terminal, when it is correctly changed to pi:tty. Ok, that was misleading. udev sets the device to root:dialout, but getty sets it to root:tty immediately, and login changes it to pi:tty. (There may be some race condition or trigger ...
by elektronist
Sat Dec 29, 2012 11:05 am
Forum: Advanced users
Topic: Group of /dev/ttyAMA0
Replies: 5
Views: 4728

Re: Group of /dev/ttyAMA0

Also tried with Bodhi. Result is the same.

With a usb-rs232 dongle:

Code: Select all

pi@raspberrypi ~ $ ls -l /dev/ttyUSB0
crw-rw---T 1 root dialout 188, 0 Dec 29 05:00 /dev/ttyUSB0
by elektronist
Sat Dec 29, 2012 10:51 am
Forum: Advanced users
Topic: Group of /dev/ttyAMA0
Replies: 5
Views: 4728

Re: Group of /dev/ttyAMA0

For both graphical and nongraphical pi user: pi@raspberrypi ~ $ ls -la /dev/ttyAMA0 crw-rw---- 1 root tty 204, 64 Ara 28 12:59 /dev/ttyAMA0 raspbian wheezy 2012-10-28 fully updated. So, it looks like with raspbian this device's group is tty not dialout. My goal is to use my serial programs as simple...
by elektronist
Fri Dec 28, 2012 11:16 am
Forum: Advanced users
Topic: Group of /dev/ttyAMA0
Replies: 5
Views: 4728

Group of /dev/ttyAMA0

I want to change the group of /dev/ttyAMA0 from tty to dialout permanently, but couldn't find any entry in udev rules.

Where is the group of /dev/ttyAMA0 defined by udev ? Or any other system...

Go to advanced search