[chirp_users] Download From Radio under Ubuntu 20.04 error

Robert Withers
Wed Apr 7 12:15:18 PDT 2021


I ran this command, found on web to install python-future, as the apt install command was unable to locate package python-future.

> rabbit at ganymede:~$ pip install future
> Defaulting to user installation because normal site-packages is not writeable
> Requirement already satisfied: future in /usr/lib/python3/dist-packages (0.18.2)
> WARNING: You are using pip version 20.2.4; however, version 21.0.1 is available.
> You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.

I ran the two commands you specified. The output is attached. In the syslog file, the first 3 lines are unplug, the rest are due to replugging in the FTDI cable. Here seems to be the pertinent line from syslog;

> Apr 7 15:06:08 ganymede ModemManager[1098]: <info> Couldn't check support for device '/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1.3': not supported by any plugin

Not sure what move to make now.

Kindly,
Robert

On 4/7/21 11:51 AM, Matthew Poletiek wrote:

> Hi Robert,
>
> Looks like you're missing the future module. Not sure if that's
> absolutely required for your radio, but I recommend it.
>
> `sudo apt install python-future`
>
> Did you add rabbit to the usb group? I can't remember if there is one
> in Ubuntu. Don't forget to refresh your profile or try chirp in a new
> terminal after making group adjustments.
>
> Besides that I can't think of anything else you should need to do to
> get this working from Linux's perspective. Out of curiosity can I see
> the output of `sudo dmesg | grep -i ttyusb` ?
>
> Another thing you can watch is syslog while trying to connect to your
> radio. `sudo tail -f /var/log/syslog`.
>
> If everything looks good in those two places I'd double check the
> radio/cable setup.
>
> -------------------------------------------
> Matthew Poletiek
> 303.810.9082
> matthew.poletiek at gmail.com
>
> www.matthewpoletiek.com
> On Wed, Apr 7, 2021 at 9:38 AM Robert Withers
> [<robert.withers at pm.me>](mailto:robert.withers at pm.me)
> wrote:
>
>> Hi Matthew, here is my attached output from chirpw...
>>
>> Kindly,
>> Robert
>>
>> On 4/6/21 9:49 PM, Matthew Poletiek wrote:
>>
>>> Hi Robert,
>>>
>>> I see Linux sees the device just fine, and you should be in the right
>>> groups. I'd add the 'usb' group just in case as well.
>>>
>>> If that doesn't work then maybe the output of CHIRP run in the command
>>> line might hint at whats going wrong.
>>>
>>> Also, how did you install this? You might be missing some Python 2
>>> dependencies. Personally I use Gentoo and they ditched Python 2 a
>>> while back and we lost CHIRP due to lack of Python 3 support so I
>>> forked and use this version instead:
>>> https://github.com/mpoletiek/py3-CHIRP
>>> But before you try that, let's add rabbit to the usb group if there is
>>> one and see what CHIRP is outputting when run from a terminal.
>>> -------------------------------------------
>>> Matthew Poletiek
>>> 303.810.9082
>>> matthew.poletiek at gmail.com
>>>
>>> www.matthewpoletiek.com
>>> On Tue, Apr 6, 2021 at 7:20 PM Robert
>>> [<robert.withers at pm.me>](mailto:robert.withers at pm.me)
>>> wrote:
>>>
>>>> Hi Matthew, user is in the dialout group, which is the correct group for /dev/ttyUSB0.
>>>>
>>>> rabbit at ganymede:~$ cat /etc/group | grep -i rabbit
>>>> adm:x:4:syslog,rabbit
>>>> dialout:x:20:rabbit
>>>> cdrom:x:24:rabbit
>>>> sudo:x:27:rabbit
>>>> dip:x:30:rabbit
>>>> plugdev:x:46:rabbit
>>>> lpadmin:x:120:rabbit
>>>> lxd:x:131:rabbit
>>>> rabbit:x:1000:
>>>> sambashare:x:132:rabbit
>>>> rabbit at ganymede:~$ ll /dev/ttyUSB0
>>>> crw-rw---- 1 root dialout 188, 0 Apr  6 19:10 /dev/ttyUSB0
>>>>
>>>> I wasn't sure that there may be a new graphical device manager I did not know about in Ubuntu. And why not? I don't think there is a System menu, either! So back to the command line...I started with Slackware 0.96, so not a noob to Linux, but it has been awhile since serious sysadmin hacking and never before any serial work. I am a noob to Chirp. As I mentioned earlier, my ham radio appears to be on /dev/ttyUSB0:
>>>>
>>>> rabbit at ganymede:~$ dmesg | grep tty
>>>> [    0.108706] printk: console [tty0] enabled
>>>> [    0.396467] 00:05: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
>>>> [    0.418518] 0000:00:16.3: ttyS4 at I/O 0xf0e0 (irq = 19, base_baud = 115200) is a 16550A
>>>> [    3.348131] usb 1-1.1.3: FTDI USB Serial Device converter now attached to ttyUSB0
>>>>
>>>> Kindly,
>>>> Robert
>>>>
>>>> . .. ... ‘...^,^
>>>>
>>>> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
>>>>
>>>> On Tuesday, April 6th, 2021 at 7:21 PM, Matthew Poletiek
>>>> [<matthew.poletiek at gmail.com>](mailto:matthew.poletiek at gmail.com)
>>>> wrote:
>>>>
>>>>> I'll just add you can see your current groups with;
>>>>>
>>>>> `cat /etc/group | grep -i <username>`
>>>>>
>>>>> Matthew Poletiek
>>>>>
>>>>> 303.810.9082
>>>>> matthew.poletiek at gmail.com
>>>>>
>>>>> www.matthewpoletiek.com
>>>>> On Tue, Apr 6, 2021 at 6:20 PM Matthew Poletiek
>>>>> matthew.poletiek at gmail.com
>>>>> wrote:
>>>>>
>>>>>> Hi Robert,
>>>>>>
>>>>>> You might want to check to make sure your user has proper permissions.
>>>>>>
>>>>>> In linux, typically the groups you might need for this kind of
>>>>>>
>>>>>> operation include `dialout`, `usb`, and while you're at it you might
>>>>>>
>>>>>> as well include `plugdev`.
>>>>>>
>>>>>> The command to add your user to a group might be `sudo gpasswd -a <user> group`.
>>>>>>
>>>>>> Once thats finished you might need to refresh your profile. Either try
>>>>>>
>>>>>> opening CHIRP in a new terminal, or log out and log back in.
>>>>>> ------------------------------------------------------------------------------------------------------------------------------------
>>>>>>
>>>>>> Matthew Poletiek
>>>>>>
>>>>>> 303.810.9082
>>>>>> matthew.poletiek at gmail.com
>>>>>>
>>>>>> www.matthewpoletiek.com
>>>>>> On Tue, Apr 6, 2021 at 5:56 PM Robert via chirp_users
>>>>>> chirp_users at intrepid.danplanet.com
>>>>>> wrote:
>>>>>>
>>>>>>> Nigel,
>>>>>>>
>>>>>>> Here is some more info, I think this is saying it is attached to /dev/ttyUSB0, but same issue.
>>>>>>>
>>>>>>> rabbit at ganymede:/dev$ dmesg | grep tty
>>>>>>>
>>>>>>> [ 0.108543] printk: console [tty0] enabled
>>>>>>>
>>>>>>> [ 0.396294] 00:05: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
>>>>>>>
>>>>>>> [ 0.418318] 0000:00:16.3: ttyS4 at I/O 0xf0e0 (irq = 19, base_baud = 115200) is a 16550A
>>>>>>>
>>>>>>> [ 9667.132474] usb 1-1.1.3: FTDI USB Serial Device converter now attached to ttyUSB0
>>>>>>>
>>>>>>> [10669.642560] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
>>>>>>>
>>>>>>> [10670.495576] usb 1-1.1.3: FTDI USB Serial Device converter now attached to ttyUSB0
>>>>>>>
>>>>>>> Kindly,
>>>>>>>
>>>>>>> Robert
>>>>>>>
>>>>>>> . .. ... ‘...^,^
>>>>>>>
>>>>>>> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
>>>>>>>
>>>>>>> On Tuesday, April 6th, 2021 at 5:51 PM, Nigel A. Gunn G8IFF/W8IFF
>>>>>>> nigel at ngunn.net
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Usually /dev/ttyUSB0 unless you already have another serial device already plugged in to a USB port.
>>>>>>>>
>>>>>>>> Go to file manager and look in /dev/ and see what appears and disappears when you plun in and unplug the cable.
>>>>>>>>
>>>>>>>>> On 06/04/2021 17:34 Robert via chirp_users
>>>>>>>>> chirp_users at intrepid.danplanet.com
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>> Hello,
>>>>>>>>>
>>>>>>>>> Total noob, here. Taking my exams on Thursday. Got my TIDRADIO UV-5R and the FTDI cable. How can I detect which /dev/tty is being used for the FTDI connection to my radio? I tried /dev/ttyS0 and /dev/ttyUSB0 which resulted in the error 'Radio did not respond'.
>>>>>>>>>
>>>>>>>>> Kindly,
>>>>>>>>>
>>>>>>>>> Robert
>>>>>>>>>
>>>>>>>>> . .. ... ‘...^,^
>>>>>>>>>
>>>>>>>>> _______________________________________________ chirp_users mailing list
>>>>>>>>> chirp_users at intrepid.danplanet.com
>>>>>>>>>
>>>>>>>>> http://intrepid.danplanet.com/mailman/listinfo/chirp_users
>>>>>>>>> This message was sent to Nigel Gunn, W8IFF at
>>>>>>>>> nigel at ngunn.net
>>>>>>>>> To unsubscribe, send an email to
>>>>>>>>> chirp_users-unsubscribe at intrepid.danplanet.com
>>>>>>>>
>>>>>>>> Nigel A. Gunn, ///shoulders.outwards.resolutions tel +1-937-971-0366
>>>>>>>>
>>>>>>>> Amateur Radio G8IFF W8IFF and GMRS WRBV701, e-mail
>>>>>>>> nigel at ngunn.net
>>>>>>>> www
>>>>>>>> http://www.ngunn.net
>>>>>>>
>>>>>>> chirp_users mailing list
>>>>>>> chirp_users at intrepid.danplanet.com
>>>>>>>
>>>>>>> http://intrepid.danplanet.com/mailman/listinfo/chirp_users
>>>>>>> This message was sent to Matthew Poletiek at
>>>>>>> matthew.poletiek at gmail.com
>>>>>>> To unsubscribe, send an email to
>>>>>>> chirp_users-unsubscribe at intrepid.danplanet.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://intrepid.danplanet.com/pipermail/chirp_users/attachments/20210407/7e8453ad/attachment.html 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: lsmod-count.txt
Url: http://intrepid.danplanet.com/pipermail/chirp_users/attachments/20210407/7e8453ad/attachment.txt 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dmesg-ttyUSB0-output.txt
Url: http://intrepid.danplanet.com/pipermail/chirp_users/attachments/20210407/7e8453ad/attachment-0001.txt 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: syslog-unplug-replug-FTDI.txt
Url: http://intrepid.danplanet.com/pipermail/chirp_users/attachments/20210407/7e8453ad/attachment-0002.txt 


More information about the chirp_users mailing list