Project

General

Profile

Actions

Bug #4935

closed

Radio not seen in Linux Mint

Added by Jake McGill almost 7 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
06/22/2017
Due date:
% Done:

0%

Estimated time:
Chirp Version:
daily
Model affected:
(All models)
Platform:
Linux
Debug Log:
I read the instructions above:

Description

Running Chirp with linux Mint 17. Boefang GT-3TP. CHIRP daily-20170420. Runs great on my desktop using port /dev/ttyUSB0.

But on my Linux Laptop I get the following error with latest daily build 20170618.

[Errno 13] could not open port /dev/ttyUSB0: [Errno 13] PErmission denied:'/dev/ttyUSB0'

Need to program my mobile radio in my car. Would rather not unmount..Can you help?


Related issues

Related to Bug #4939: Possible documentation problem with adding user name to dialout groupClosed06/23/2017

Actions
Actions #1

Updated by Jim Unroe almost 7 years ago

  • Status changed from New to Feedback

Did you add you Linux user to the "dialout" group? See "serial port permissions" on the "Running CHIRP Under Linux":http://chirp.danplanet.com/projects/chirp/wiki/Running_Under_Linux wiki page.

Jim KC9HI

Actions #2

Updated by Jake McGill almost 7 years ago

Yes, I did add my user name to the dialout group.

BTW: The syntax provided at that location is wrong I think.

** Someone at Chirp may want to check this part of docs. ** Actually I guess I should present as a bug report.

It shows "sudo usermod -aG dialout username" which reacts with a command options list, which I think means there is an error in the syntax.

I used "sudo usermod -a -G dialout username" which seems to be accepted.

Didn't change the failure symptom though.

-Jake
W1JKM

Actions #3

Updated by Jake McGill almost 7 years ago

Found my problem... I was making a mistake with case in my user name. When corrected, adding name to dialout group solved problem...

Actions #4

Updated by Pavel Milanes almost 7 years ago

  • Status changed from Feedback to Resolved
  • Chirp Version changed from 0.4.0 to daily
  • Platform changed from Windows to Linux

Hi to all.

I modded the instructions to use a global variable for the username and a syntax that must be understood by almost any GNU/Linux distro out there.

73 de Pavel CO7WT.

Actions #5

Updated by marek lukasik over 6 years ago

What about if the dialout group wasn't created during setup (I suspect ?)
[marek@marex-x1:~]$ sudo useradd -G dialout "$USERNAME"
useradd: group 'dialout' does not exist

I added the group and reran the command to modify my group membership but still getting:
"[Errno 13] could not open port /dev/ttyUSB0: [Errno 13] Permission denied: '/dev/ttyUSB0'"

Actions #6

Updated by Pavel Milanes over 6 years ago

  • Status changed from Resolved to Feedback

That's weird.

Can you produce the result of this:

cat /etc/group

Of curse in a console, this is to check if you installation has the dialout group.

Hi have installed a copy of the last linux min I have (linuxmint-17.3-mate-64bit.iso) and the dialout group is there...

What version did you installed/has?

This in a console will help us:

uname -a

73 de CO7WT.

Actions #7

Updated by Pavel Milanes over 6 years ago

  • Status changed from Feedback to Resolved

Hi,

After a few mails back and forward it was a minor miss-configuration problem not related to Chirp.

Status back to resolved.

73 CO7WT, Pavel.

Actions #8

Updated by marek lukasik over 6 years ago

yeah sorry for reopening this .
On my Arch I fixed it by adding a group and adding user to it . Later also running sudo chmod 666 /dev/ttyUSB0.
Keep up the good work and thank you!!

Actions #9

Updated by Bernhard Hailer about 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF