[Linux-ham] /dev ports for USB serial adapter

Bryan n3txu at yahoo.com
Sun Mar 2 10:10:29 EST 2014


One more important thing I forgot to mention.  You will want to add the 
"pi" user (or whichever user you are running minicom as) to the "uucp" 
group.  When udev creates the new /dev/ttyUSBx device, it will give it 
permissions like this:

$ ls -l /dev/ttyUSB4
crw-rw---- 1 root uucp 188, 4 Mar  1 21:29 /dev/ttyUSB4

Translating all that:
    c - means it is a "charater device" (text terminal)
    rw-  file owner, root, can read and write
    rw-  group uucp can read and write
    ---  everyone else gets nothing

So, unless the user 'pi' is part of group uucp, pi can't access that port.

"sudo gpasswd --add pi uucp" will do the trick.  You only have to do 
that once on the system, not per serial port.

-- Bryan




More information about the Linux-ham mailing list