[Xastir] Good serial port comm program for linux

Tapio Sokura oh2kku at iki.fi
Fri Mar 20 06:10:25 EDT 2009


Dale Seaburg wrote:
> OK guys,  I'm getting thoroughly frustrated with minicom.  It's not 
> minicom's fault, but the stupid security on the serial ports.  My lack 

Switching to another terminal program won't fix your serial port 
permission problems. Like John demonstrated, one way to fix it is to add 
yourself to a group that has access to the serial ports in question.

If your OS creates /dev entries on-the-fly, you might need to tweak the 
udev rules so that the devices are group readable/writable.

For example I have the following line in my 
/etc/udev/rules.d/50-udev.rules file:

KERNEL=="tty[A-Z]*",            NAME="%k", GROUP="uucp", MODE="0660"

That means serial port devices will have r/w permissions (MODE="0660") 
for group uucp (GROUP="uucp"), as seems to be the case:

$ ls -l /dev/ttyS0
crw-rw---- 1 root uucp 4, 64 Mar 19 15:17 /dev/ttyS0

So to access serial ports, I add my login to group uucp.

   Tapio



More information about the Xastir mailing list