Bug #11015
closedDownload from radio ... no dialog
0%
Description
OS: Ubuntu 22.04.3 LTS
CHIRP/next-20231209, installed via snap
Quansheng UV-K5(8) connected via USB-serial cable
Bus 001 Device 011: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port / Mobile Action MA-8910P
usb 1-1: pl2303 converter now attached to ttyUSB0
When I try to open the download dialog an exception occurs (see debug.log):
File "/snap/chirp-snap/831/lib/python3.10/site-packages/serial/tools/list_ports_linux.py", line 48, in __init__
num_if = int(self.read_line(self.usb_device_path, 'bNumInterfaces'))
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
The same hardware works fine on a Windows environment. When opening the Download dialog a sub window opens and requests the communication port parameters.
Files
Updated by Thomas Hoffmann 8 months ago
Problem solved, snap needs permissions for usb:
sudo snap connect chirp-snap:raw-usb
Updated by Terry Palmatier 8 months ago
Thomas Hoffmann wrote in #note-1:
Problem solved, snap needs permissions for usb:
sudo snap connect chirp-snap:raw-usb
I have a Raspberry Pi 5 running Ubuntu 23.10 and it won't open the USB ports in CHRP. I tried "sudo snap connect chirp-snap:raw-usb" and it didn't work. CHIRP does not work on this machine running that OS.
Terry Palmatier
AC8NR
Updated by Tony Fuller 8 months ago
- Status changed from New to Resolved
Hi Thomas,
Thanks for posting the resolution for your issue and I apologize for not seeing this issue months ago. I'm going to close this issue out since it's resolved now.
Terry, can you get your pi5 connected to a wifi network and post the details I requested over at https://github.com/goldstar611/chirp/issues/9
Thanks!
Tony
Updated by Terry Palmatier 8 months ago
Tony Fuller wrote in #note-3:
Hi Thomas,
Thanks for posting the resolution for your issue and I apologize for not seeing this issue months ago. I'm going to close this issue out since it's resolved now.
Terry, can you get your pi5 connected to a wifi network and post the details I requested over at https://github.com/goldstar611/chirp/issues/9
Thanks!
Tony
I can connect to a wifi sure, but I don't know how to do what you asked me to.
Terry
AC8NR
Updated by Terry Palmatier 8 months ago
Terry Palmatier wrote in #note-4:
Tony Fuller wrote in #note-3:
Hi Thomas,
Thanks for posting the resolution for your issue and I apologize for not seeing this issue months ago. I'm going to close this issue out since it's resolved now.
Terry, can you get your pi5 connected to a wifi network and post the details I requested over at https://github.com/goldstar611/chirp/issues/9
Thanks!
TonyI can connect to a wifi sure, but I don't know how to do what you asked me to.
Terry
AC8NR
[ 755.947780] usbserial: USB Serial support registered for pl2303 [ 755.947813] pl2303 4-2:1.0: pl2303 converter detected [ 755.949362] usb 4-2: pl2303 converter now attached to ttyUSB0 [ 756.483820] [UFW BLOCK] IN=wlan0 OUT= MAC=2c:cf:67:0a:6f:2f:84:a9:3e:d9:bb:b0:08:00 SRC=192.168.1.10 DST=192.168.1.66 LEN=2346 TOS=0x00 PREC=0x00 TTL=64 ID=2945 PROTO=UDP SPT=3702 DPT=56209 LEN=2326 [ 756.484294] [UFW BLOCK] IN=wlan0 OUT= MAC=2c:cf:67:0a:6f:2f:84:a9:3e:d9:bb:b0:08:00 SRC=192.168.1.10 DST=192.168.1.66 LEN=2346 TOS=0x00 PREC=0x00 TTL=64 ID=2946 PROTO=UDP SPT=3702 DPT=56209 LEN=2326 [ 756.575268] [UFW BLOCK] IN=wlan0 OUT= MAC=2c:cf:67:0a:6f:2f:84:a9:3e:d9:bb:b0:08:00 SRC=192.168.1.10 DST=192.168.1.66 LEN=2346 TOS=0x00 PREC=0x00 TTL=64 ID=2947 PROTO=UDP SPT=3702 DPT=56209 LEN=2326 [ 756.690845] [UFW BLOCK] IN=wlan0 OUT= MAC=2c:cf:67:0a:6f:2f:f4:39:09:57:7a:87:08:00 SRC=192.168.1.132 DST=192.168.1.66 LEN=2558 TOS=0x00 PREC=0x00 TTL=64 ID=12413 PROTO=UDP SPT=56209 DPT=56209 LEN=2538 [ 756.695325] [UFW BLOCK] IN=wlan0 OUT= MAC=2c:cf:67:0a:6f:2f:f4:39:09:57:7a:87:08:00 SRC=192.168.1.132 DST=192.168.1.66 LEN=2558 TOS=0x00 PREC=0x00 TTL=64 ID=12538 PROTO=UDP SPT=56209 DPT=56209 LEN=2538 [ 756.751145] [UFW BLOCK] IN=wlan0 OUT= MAC=2c:cf:67:0a:6f:2f:94:57:a5:93:be:b0:08:00 SRC=192.168.1.27 DST=192.168.1.66 LEN=2319 TOS=0x00 PREC=0x00 TTL=64 ID=4351 PROTO=UDP SPT=3702 DPT=56209 LEN=2299 [ 756.883158] [UFW BLOCK] IN=wlan0 OUT= MAC=2c:cf:67:0a:6f:2f:84:a9:3e:d9:bb:b0:86:dd SRC=fe80:0000:0000:0000:86a9:3eff:fed9:bbb0 DST=fe80:0000:0000:0000:33ce:9b7a:eeeb:5f84 LEN=2366 TC=0 HOPLIMIT=64 FLOWLBL=0 PROTO=UDP SPT=3702 DPT=51016 LEN=2326 [ 756.973040] [UFW BLOCK] IN=wlan0 OUT= MAC=2c:cf:67:0a:6f:2f:84:a9:3e:d9:bb:b0:86:dd SRC=fe80:0000:0000:0000:86a9:3eff:fed9:bbb0 DST=fe80:0000:0000:0000:33ce:9b7a:eeeb:5f84 LEN=2366 TC=0 HOPLIMIT=64 FLOWLBL=0 PROTO=UDP SPT=3702 DPT=51016 LEN=2326 [ 757.167404] [UFW BLOCK] IN=wlan0 OUT= MAC=2c:cf:67:0a:6f:2f:84:a9:3e:d9:bb:b0:86:dd SRC=fe80:0000:0000:0000:86a9:3eff:fed9:bbb0 DST=fe80:0000:0000:0000:33ce:9b7a:eeeb:5f84 LEN=2366 TC=0 HOPLIMIT=64 FLOWLBL=0 PROTO=UDP SPT=3702 DPT=51016 LEN=2326 [ 757.200579] [UFW BLOCK] IN=wlan0 OUT= MAC=2c:cf:67:0a:6f:2f:94:57:a5:93:be:b0:86:dd SRC=fe80:0000:0000:0000:9657:a5ff:fe93:beb0 DST=fe80:0000:0000:0000:33ce:9b7a:eeeb:5f84 LEN=2339 TC=0 HOPLIMIT=64 FLOWLBL=0 PROTO=UDP SPT=3702 DPT=51016 LEN=2299 [ 757.408358] [UFW BLOCK] IN=wlan0 OUT= MAC=2c:cf:67:0a:6f:2f:84:a9:3e:d9:bb:b0:86:dd SRC=fe80:0000:0000:0000:86a9:3eff:fed9:bbb0 DST=fe80:0000:0000:0000:33ce:9b7a:eeeb:5f84 LEN=2366 TC=0 HOPLIMIT=64 FLOWLBL=0 PROTO=UDP SPT=3702 DPT=51016 LEN=2326 [ 757.618069] [UFW BLOCK] IN=wlan0 OUT= MAC=2c:cf:67:0a:6f:2f:94:57:a5:93:be:b0:86:dd SRC=fe80:0000:0000:0000:9657:a5ff:fe93:beb0 DST=fe80:0000:0000:0000:33ce:9b7a:eeeb:5f84 LEN=2339 TC=0 HOPLIMIT=64 FLOWLBL=0 PROTO=UDP SPT=3702 DPT=51016 LEN=2299 [ 758.207138] [UFW BLOCK] IN=wlan0 OUT= MAC=2c:cf:67:0a:6f:2f:d8:80:83:e4:0d:04:86:dd SRC=fe80:0000:0000:0000:da80:83ff:fee4:0d04 DST=fe80:0000:0000:0000:33ce:9b7a:eeeb:5f84 LEN=2370 TC=0 HOPLIMIT=64 FLOWLBL=0 PROTO=UDP SPT=3702 DPT=51016 LEN=2330 [ 758.634306] [UFW BLOCK] IN=wlan0 OUT= MAC=2c:cf:67:0a:6f:2f:fc:01:7c:46:41:bd:86:dd SRC=fe80:0000:0000:0000:ea42:df9a:be36:c17d DST=fe80:0000:0000:0000:33ce:9b7a:eeeb:5f84 LEN=1291 TC=0 HOPLIMIT=128 FLOWLBL=472924 PROTO=UDP SPT=3702 DPT=51016 LEN=1251 [ 758.751044] [UFW BLOCK] IN=wlan0 OUT= MAC=2c:cf:67:0a:6f:2f:fc:01:7c:46:41:bd:86:dd SRC=fe80:0000:0000:0000:ea42:df9a:be36:c17d DST=fe80:0000:0000:0000:33ce:9b7a:eeeb:5f84 LEN=1291 TC=0 HOPLIMIT=128 FLOWLBL=472924 PROTO=UDP SPT=3702 DPT=51016 LEN=1251 [ 759.097611] [UFW BLOCK] IN=wlan0 OUT= MAC=2c:cf:67:0a:6f:2f:fc:01:7c:46:41:bd:86:dd SRC=fe80:0000:0000:0000:ea42:df9a:be36:c17d DST=fe80:0000:0000:0000:33ce:9b7a:eeeb:5f84 LEN=1291 TC=0 HOPLIMIT=128 FLOWLBL=472924 PROTO=UDP SPT=3702 DPT=51016 LEN=1251 [ 791.194515] [UFW BLOCK] IN=wlan0 OUT= MAC=2c:cf:67:0a:6f:2f:6c:cd:d6:43:ec:64:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=56752 DF PROTO=2 terry@terry-desktop:~$