Project

General

Profile

Connection Issues using Ubuntu » History » Version 3

Dan Smith, 12/20/2022 03:47 PM

1 3 Dan Smith
# Connection Issues using Ubuntu (and derivatives)
2 1 Mike Agner
3
These are not Chirp issues; they are operating system (Linux, Ubuntu) issues. If these notes do not help, get Ubuntu help either through a search or using the Ubuntu support sites.
4
5
6 3 Dan Smith
## Symptom with a USB connection
7 1 Mike Agner
8 3 Dan Smith
1. Click _Radio_ then _Download from Radio_ at the top menu bar; a window appears with Port, Vendor and Model 
9
1. Click Port and from the pull-down list pick the USB option. Usually that is at the bottom of the list with a name like `/dev/ttyUSB0`
10
1. An error window appears with words like *An error has occurred*. 
11
1. Below the error words is something like *Permission denied* 
12 1 Mike Agner
13
14 3 Dan Smith
## Symptom with a serial (RS232) connection
15 1 Mike Agner
16 3 Dan Smith
1. Click _Radio_ then _Download from Radio_ at the top menu bar; a window appears with Port, Vendor and Model 
17
1. Click Port and from the pull-down list pick the serial port (TTY) with a name like `/dev/ttyS0`. If you have more than one physical serial port (uncommon these days), it may be `ttyS1`, etc.
18
1. An error window appears with words like *An error has occured*. 
19
1. Below the error words is something like *Permission denied*
20 1 Mike Agner
21 3 Dan Smith
## Solution
22 1 Mike Agner
23 3 Dan Smith
The most common cause is that the user(s) do not have permission to use the serial connection. Permission must be established for the user. There is much more on this common issue in Linux or Ubuntu wikis and support websites.
24
1. Start a terminal session. 
25
1. Enter this this command into the terminal session: `sudo gpasswd --add ${USER} dialout`
26
1. Logout and login again on any sessions you want to see the new group.
27
1. After executing the command, check that it worked with: `groups ${USER}`
28
1. The user name will be followed by a list that includes `dialout`. Being in the `dialout` group means permission is granted for the TTY set that includes serial and USB connections.