Re: [Hamlib-developer] Elecraft K3s Linux rig_open: error = Communication timed out
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: Black M. <mdb...@ya...> - 2021-06-29 22:00:10
|
Try addding the baud rate to your command line-s 9600
Adjust accordingly
Mike W9MDB
On Tuesday, June 29, 2021, 04:57:46 PM CDT, Michael P. Conlon <mpc...@zo...> wrote:
Sir or Madam:
I have performed a diligent search of the mailing list archives and have not
found an answer to my problem. Of course, there is so much stuff in the
archives that the answer might be there but perhaps I just did not find the
optimal search terms.
I had been using rigctld successfully with my K3s and WinkeyerUSB for many
months. Recently I rearranged the positions of the K3s, speaker, and P3
panadapter on my desk, and rigctld stopped talking to the K3s. I have been
unable to get it working again. The WinkeyerUSB works fine.
The K3s USB FTDI device is located on Bus 7, device 3, and the device name is
/dev/ttyUSB1. When I run rigctl, it seems to try several times to read from
the device, but gets no reply. I have tried changing the USB cable, or the PC
port into which it is plugged, to no avail. Unfortunately, I don't know the
inner workings of rigctl, so most of the output is gibberish to me. (Why is it
calling to register other rigs, when I have told it to connect to rig 2043?
Why is it calling Kenwood_init, when my rig is an Elecraft?)
I would appreciate any suggestions as to what I should try next. I am afraid
that the problem might be a hardware problem in the K3s, even though it is
recognized in the Linux USB system. Thank you for your time!
Upon trying the command:
rigctl -m 2043 -o -vvvvv -r /dev/ttyUSB1 > errors 2>&1
I get the following output:
rigctl Hamlib 4.0
Last commit was Fri Dec 25 02:30:30 2020 +0000 SHA=519f82
Report bugs to <ham...@li...>
rig_init called
initrigs4_kenwood called
rig_register called
rig_register: rig_register (2012)
rig_register called
rig_register: rig_register (2013)
rig_register called
rig_register: rig_register (2001)
rig_register called
rig_register: rig_register (2025)
rig_register called
rig_register: rig_register (2003)
rig_register called
rig_register: rig_register (2004)
rig_register called
rig_register: rig_register (2016)
rig_register called
rig_register: rig_register (2024)
rig_register called
rig_register: rig_register (2005)
rig_register called
rig_register: rig_register (2007)
rig_register called
rig_register: rig_register (2009)
rig_register called
rig_register: rig_register (2010)
rig_register called
rig_register: rig_register (2022)
rig_register called
rig_register: rig_register (2014)
rig_register called
rig_register: rig_register (2030)
rig_register called
rig_register: rig_register (2021)
rig_register called
rig_register: rig_register (2029)
rig_register called
rig_register: rig_register (2043)
rig_register called
rig_register: rig_register (2044)
rig_register called
rig_register: rig_register (2045)
rig_register called
rig_register: rig_register (2047)
rig_register called
rig_register: rig_register (2038)
rig_register called
rig_register: rig_register (2002)
rig_register called
rig_register: rig_register (2011)
rig_register called
rig_register: rig_register (2006)
rig_register called
rig_register: rig_register (2008)
rig_register called
rig_register: rig_register (2015)
rig_register called
rig_register: rig_register (2026)
rig_register called
rig_register: rig_register (2017)
rig_register called
rig_register: rig_register (2033)
rig_register called
rig_register: rig_register (2042)
rig_register called
rig_register: rig_register (2020)
rig_register called
rig_register: rig_register (2023)
rig_register called
rig_register: rig_register (2027)
rig_register called
rig_register: rig_register (2034)
rig_register called
rig_register: rig_register (2031)
rig_register called
rig_register: rig_register (2039)
rig_register called
rig_register: rig_register (2037)
rig_register called
rig_register: rig_register (2028)
rig_register called
rig_register: rig_register (2019)
rig_register called
rig_register: rig_register (2032)
rig_register called
rig_register: rig_register (2036)
rig_register called
rig_register: rig_register (2048)
rig_register called
rig_register: rig_register (2040)
rig_register called
rig_register: rig_register (2041)
rig_register called
rig_register: rig_register (2046)
kenwood_init called, version 20201214/20201214.2
kenwood_init: if_len = 37
rig_open called
port_open called
serial_open called
serial_setup called
serial_setup: tcgetattr
serial_setup: cfmakeraw
serial_setup: cfsetispeed=38400,0x000f
serial_setup: cfsetospeed=38400,0x000f
serial_setup: data_bits=8
serial_setup: parity=0
serial_setup: tcsetattr TCSANOW
serial_flush called
tcflush
elecraft_open called, rig version=20201214.2
elecraft_open: rig_model=2043,2038
verify_kenwood_id called
kenwood_get_id called
kenwood_transaction called
kenwood_transaction: cmdstr = ID
rig_flush: called for serial device
serial_flush called
tcflush
write_block called
write_block(): TX 3 bytes
0000 49 44 3b ID;
read_string called, rxmax=128
read_string(): Timed out 1.1028 seconds after 0 chars
kenwood_transaction: read_string(len=0)=''
kenwood_transaction: read_string retval < 0, retval = -5, retry_read=0, rs-
>rigport.retry=5
kenwood_transaction: cmdstr = ID
rig_flush: called for serial device
serial_flush called
tcflush
write_block called
write_block(): TX 3 bytes
0000 49 44 3b ID;
read_string called, rxmax=128
read_string(): Timed out 1.1039 seconds after 0 chars
kenwood_transaction: read_string(len=0)=''
kenwood_transaction: read_string retval < 0, retval = -5, retry_read=1, rs-
>rigport.retry=5
kenwood_transaction: cmdstr = ID
rig_flush: called for serial device
serial_flush called
tcflush
write_block called
write_block(): TX 3 bytes
0000 49 44 3b ID;
read_string called, rxmax=128
read_string(): Timed out 1.1031 seconds after 0 chars
kenwood_transaction: read_string(len=0)=''
kenwood_transaction: read_string retval < 0, retval = -5, retry_read=2, rs-
>rigport.retry=5
kenwood_transaction: cmdstr = ID
rig_flush: called for serial device
serial_flush called
tcflush
write_block called
write_block(): TX 3 bytes
0000 49 44 3b ID;
read_string called, rxmax=128
read_string(): Timed out 1.1042 seconds after 0 chars
kenwood_transaction: read_string(len=0)=''
kenwood_transaction: read_string retval < 0, retval = -5, retry_read=3, rs-
>rigport.retry=5
kenwood_transaction: cmdstr = ID
rig_flush: called for serial device
serial_flush called
tcflush
write_block called
write_block(): TX 3 bytes
0000 49 44 3b ID;
read_string called, rxmax=128
read_string(): Timed out 1.1027 seconds after 0 chars
kenwood_transaction: read_string(len=0)=''
kenwood_transaction: read_string retval < 0, retval = -5, retry_read=4, rs-
>rigport.retry=5
kenwood_transaction: cmdstr = ID
rig_flush: called for serial device
serial_flush called
tcflush
write_block called
write_block(): TX 3 bytes
0000 49 44 3b ID;
read_string called, rxmax=128
read_string(): Timed out 1.1039 seconds after 0 chars
kenwood_transaction: read_string(len=0)=''
kenwood_transaction: read_string retval < 0, retval = -5, retry_read=5, rs-
>rigport.retry=5
kenwood_transaction: returning retval=-5
verify_kenwood_id: cannot get identification
rig_open: error = Communication timed out
73,
--
Michael P. Conlon, Ph.D., N2EM
Professor Emeritus
Computer Science Department
Slippery Rock University of Pennsylvania
Home:
136 Applewood Lane
Slippery Rock PA 16057-2901
724-794-5343
_______________________________________________
Hamlib-developer mailing list
Ham...@li...
https://lists.sourceforge.net/lists/listinfo/hamlib-developer
|