On 15/10/17 20:00, chirp_users-request@intrepid.danplanet.com wrote:
On Sat, Oct 14, 2017 at 3:50 PM, rick via chirp_users
<chirp_users@intrepid.danplanet.com> wrote:
Running Linux Mint 18.2
Loaded newest release version of Chirp-daily (CHIRP daily-20171013)
When I try to download from radio, this error message is displayed before I
can press send on the radio
X An error has occurred
Could not configure port: (5, 'input/output error')
Attached png is screengrab
I did some further digging and tried the first 10 "ttyS*" with the same
results.
lsusb command provides bus and device numbers but not which ttyS* is in use.
Any Help?
I also run Linux Mint here. If you are using a USB based programming
cable you must scroll all the way down to the bottom of the list and
choose: /dev/ttyUSB0
Jim
Also make sure you are a member of the 'dialout' group (that is not the
default case, sadly) else no serial port's (of whatever type) will be
available to you.
Open a terminal window, (and make it wide so lines don't wrap, making it
much easier to see what's going on.)
Then...
dave-XPS-L502X ~ $ *groups*
dave adm /dialout/ cdrom sudo dip plugdev lpadmin sambashare wireshark
(Everything BEFORE and including the '$' is the system prompt on the
first line.? Your machine will be different.
The command 'groups' was the entered command.?? The line under that is
the system response)
If 'dialout' does not appear in that list.?? Then do this...
(Substitute <name> for /your/ login username,? sudo will ask for your
login password.)
dave-XPS-L502X ~ $ *sudo adduser <name> dialout*
You'll see a reply saying if you've been added to the dialout group, or
are already a member.
/*If */you were just added to that group, then, log out and log back in
again (no need to reboot) and you'll now have access to the serial ports.
An easy way to find out what port something is assigned to, is (again,
in a terminal window)
dave-XPS-L502X ~ $ *ls /dev/ttyU**
/dev/ttyUSB0
This will list all attached and configured USB based serial ports.
If you have multiple USB serial devices, then do that before and after
connecting a new device, to find out what "device ID" the new device is
assigned to.
Hope something here helps.
73.
Dave B
Results;
rick@rick-ham ~ $ groups
rick adm dialout cdrom sudo dip plugdev lpadmin sambashare
rick@rick-ham ~ $ ls /dev/ttyU**
ls: cannot access '/dev/ttyU**': No such file or directory <<
with Yaesu cord plugged in
rick@rick-ham ~ $ ls /dev/ttyU**
ls: cannot access '/dev/ttyU**': No such file or directory
<< with RT systems cord plugged in
rick@rick-ham ~ $ lsusb
Bus 001 Device 002: ID 0bda:0111 Realtek Semiconductor Corp. RTS5111
Card Reader Controller
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 0c45:7412 Microdia
Bus 002 Device 010: ID 2100:9068 RT Systems
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
rick@rick-ham ~ $ ls /dev
autofs i2c-4 rfkill tty11 tty39
tty9 ttyS6
block initctl rtc tty12 tty4
ttyprintk ttyS7
bsg input rtc0 tty13 tty40
ttyS0 ttyS8
btrfs-control kmsg sda tty14 tty41
ttyS1 ttyS9
bus lightnvm sdb tty15 tty42
ttyS10 uhid
cdrom log sdc tty16 tty43
ttyS11 uinput
cdrw loop0 sdd tty17 tty44
ttyS12 urandom
char loop1 sde tty18 tty45
ttyS13 usb
console loop2 sdf tty19 tty46
ttyS14 userio
core loop3 sdf1 tty2 tty47
ttyS15 vcs
cpu_dma_latency loop4 sdf2 tty20 tty48
ttyS16 vcs1
cuse loop5 sdf5 tty21 tty49
ttyS17 vcs2
disk loop6 sg0 tty22 tty5
ttyS18 vcs3
dri loop7 sg1 tty23 tty50
ttyS19 vcs4
dvd loop-control sg2 tty24 tty51
ttyS2 vcs5
dvdrw mapper sg3 tty25 tty52
ttyS20 vcs6
ecryptfs mcelog sg4 tty26 tty53
ttyS21 vcsa
fb0 mem sg5 tty27 tty54
ttyS22 vcsa1
fd memory_bandwidth sg6 tty28 tty55
ttyS23 vcsa2
full mqueue shm tty29 tty56
ttyS24 vcsa3
fuse net snapshot tty3 tty57
ttyS25 vcsa4
hidraw0 network_latency snd tty30 tty58
ttyS26 vcsa5
hidraw1 network_throughput sr0 tty31 tty59
ttyS27 vcsa6
hpet null stderr tty32 tty6
ttyS28 vfio
hugepages port stdin tty33 tty60
ttyS29 vga_arbiter
hwrng ppp stdout tty34 tty61
ttyS3 vhci
i2c-0 psaux tty tty35 tty62
ttyS30 vhost-net
i2c-1 ptmx tty0 tty36 tty63
ttyS31 zero
i2c-2 pts tty1 tty37 tty7 ttyS4
i2c-3 random tty10 tty38 tty8 ttyS5
rick@rick-ham ~ $ ls /dev/usb
hiddev0
rick@rick-ham ~ $ ls /dev/usb << with RT systems cord
unplugged
hiddev0
rick@rick-ham ~ $