SOLVED! Rigctld problem on Linux Mint 22

6 posts / 0 new
Last post
SP4TB
SOLVED! Rigctld problem on Linux Mint 22

Hi, new installation of Linux Mint 22. moved .Config/cqrlog from old LM 21
Serial Port I have on ttyUSB0 and ttyUSB1. Below are the results from the console. What am I doing wrong?

Thanks for your help in advance, 73 Tom SP4TB

Cqrlog Ver:alpha_(129)_Gtk2 Date:2024-07-30
**** DEBUG LEVEL 0 ****
**** CHANGE WITH --debug=NR PARAMETER ****
*** Parameter -h or --help for details ***

OS:
Linux version 6.8.0-39-generic (buildd@lcy02-amd64-112) (x86_64-linux-gnu-gcc-13 (Ubuntu 13.2.0-23ubuntu4) 13.2.0, GNU ld (GNU Binutils for Ubuntu) 2.42) #39-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 5 21:49:14 UTC 2024
/usr/bin/mysqld

Settings:
-----------------------------------------------------
RigCtldPath:/usr/bin/rigctld
RigCtldArgs:-m 1028 -r /dev/ttyUSB0 -t 4532 -s 38400 --set-conf=data_bits=8,stop_bits=1,serial_parity=None,serial_handshake=None,dtr_state=OFF,rts_state=ON
RunRigCtld: TRUE
RigDevice: /dev/ttyUSB0
RigCtldPort:4532
RigCtldHost:localhost
RigPoll: 500
RigSendCWR: FALSE
RigChkVfo TRUE
RigId: 1028

Starting RigCtld ...
rigProcess.Executable: /usr/bin/rigctld
Parameters:
-m
1028
-r
/dev/ttyUSB0
-t
4532
-s
38400
--set-conf=data_bits=8,stop_bits=1,serial_parity=None,serial_handshake=None,dtr_state=OFF,rts_state=ON
-C
auto_power_on=1

rigctld started!
Waiting for rigctld 1 @ localhost:4532
Error on connect: connection refused
Waiting for rigctld 2 @ localhost:4532
Connected to rigctld
Polling - allowcommand:10

Sending: +\chk_vfo
Polling - allowcommand:-1
Polling - allowcommand:-1
Polling - allowcommand:-1
Polling - allowcommand:-1
Polling - allowcommand:-1
Polling - allowcommand:-1
Polling - allowcommand:-1
Polling - allowcommand:-1
Polling - allowcommand:-1
Polling - allowcommand:-1
Polling - allowcommand:-1
Polling - allowcommand:-1
Polling - allowcommand:-1
Polling - allowcommand:-1
Polling - allowcommand:-1
Rig/rigctld did not respond to command within timeout!
Polling - allowcommand:1

Poll Sending:+f +m +v
Polling - allowcommand:-1
Polling - allowcommand:-1
Polling - allowcommand:-1
Polling - allowcommand:-1
Polling - allowcommand:-1
Polling - allowcommand:-1
Polling - allowcommand:-1
Polling - allowcommand:-1
Shutdown error [107]: Transport endpoint is not connected
Get error [104]: Connection reset by peer
Polling - allowcommand:-1
Polling - allowcommand:-1
Polling - allowcommand:-1
Polling - allowcommand:-1
Polling - allowcommand:-1
Polling - allowcommand:-1
Polling - allowcommand:-1
Rig/rigctld did not respond to command within timeout!
Polling - allowcommand:1

Poll Sending:+f +m +v
No connected socket to send through
Polling - allowcommand:-1
Polling - allowcommand:-1
Polling - allowcommand:-1
Polling - allowcommand:-1
Polling - allowcommand:-1
Polling - allowcommand:-1
Polling - allowcommand:-1
Polling - allowcommand:-1
Polling - allowcommand:-1
Polling - allowcommand:-1
Polling - allowcommand:-1
Polling - allowcommand:-1
Polling - allowcommand:-1
Polling - allowcommand:-1
Polling - allowcommand:-1
Rig/rigctld did not respond to command within timeout!
Polling - allowcommand:1

oh1kh
Rigctld problem on Linux Mint 22

HI!
It looks like your rig is not there.
Try to start rigctld manually from command console using line:

/usr/bin/rigctld m 1028 -r /dev/ttyUSB0 -t 4532 -s 38400 --set-conf=data_bits=8,stop_bits=1,serial_parity=None,serial_handshake=None,dtr_state=OFF,rts_state=ON -vvvvv

And see if there are any errors.

If that looks good keep console open and open another console wit:
telnet localhost 4532
When opened give:
f
you should get frequency as reply

--
Saku
OH1KH

SP4TB
Hi Saku, thanks a lot for

Hi Saku, thanks a lot for answer.
I made your suggestion and It was effect:

../../tests/rigctld.c(664) Startup: /usr/bin/rigctld -r /dev/ttyUSB0 -t 4532 -s 38400 --set-conf=data_bits=8,stop_bits=1,serial_parity=None,serial_handshake=None,dtr_state=OFF,rts_state=ON -vvvvv m 1028
rigctld Hamlib 4.5.5 Apr 05 11:43:08Z 2023 SHA=6eecd3
Report bugs to

Max# of rigctld client services=32
rig_check_rig_caps: p1=0x7e368f88c260, p2=0x7e368f8927e0, rig_model=0x7e368f88c260, macro_name=0x7e368f8927e0
initrigs4_dummy: _init called
rig_init: rig_model=Hamlib Dummy
rig_init: rig has VFO_A
rig_init: rig has VFO_B
rig_init: rig has VFO_C
rig_init: rig has VFO_SUB_A
rig_init: rig has VFO_SUB_B
rig_init: rig has VFO_MAIN_A
rig_init: rig has VFO_MAIN_B
rig_init: rig has VFO_SUB
rig_init: rig has VFO_MAIN
rig_init: rig has VFO_MEM
1:dummy.c(224):dummy_init entered
dummy_init called
2:rig.c(2607):rig_passband_normal entered
2:rig_passband_normal: return filter#15, width=15000
2:rig.c(2628):rig_passband_normal returning(15000)
2:rig.c(2607):rig_passband_normal entered
2:rig_passband_normal: return filter#15, width=15000
2:rig.c(2628):rig_passband_normal returning(15000)
2:rig.c(2607):rig_passband_normal entered
2:rig_passband_normal: return filter#15, width=15000
2:rig.c(2628):rig_passband_normal returning(15000)
2:rig.c(2607):rig_passband_normal entered
2:rig_passband_normal: return filter#15, width=15000
2:rig.c(2628):rig_passband_normal returning(15000)
2:rig.c(2607):rig_passband_normal entered
2:rig_passband_normal: return filter#15, width=15000
2:rig.c(2628):rig_passband_normal returning(15000)
2:rig.c(2607):rig_passband_normal entered
2:rig_passband_normal: return filter#15, width=15000
2:rig.c(2628):rig_passband_normal returning(15000)
1:dummy.c(306):dummy_init returning(0)
rig_token_lookup called for data_bits
rig_confparam_lookup called for data_bits
rig_set_conf called
rig_confparam_lookup called for 0
Config parameter error: 2:rig_passband_normal: return filter#15, width=15000
2:rig.c(2628):rig_passband_normal returning(15000)
2:rig.c(2607):rig_passband_normal entered
2:rig_passband_normal: return filter#15, width=15000
2:rig.c(2628):rig_passband_normal returning(15000)
2:rig.c(2607):rig_passband_normal entered
2:rig_passband_normal: return filter#15, width=15000
2:rig.c(2628):rig_passband_normal returning(15000)
2:rig.c(2607):rig_passband_normal entered
2:rig_passband_normal: return filter#15, width=15000
2:rig.c(2628):rig_passband_normal returning(15000)
2:rig.c(2607):rig_passband_normal entered
2:rig_passband_normal: return filter#15, width=15000
2:rig.c(2628):rig_passband_normal returning(15000)
1:dummy.c(306):dummy_init returning(0)
rig_token_lookup called for data_bits
rig_confparam_lookup called for data_bits
rig_set_conf called
rig_confparam_lookup called for 0
Invalid parameter

SP4TB
SOLVED!

In my case, I was needed to make permissions on dialout group
I add myself to dialout group and it works:
sudo usermod -a -G dialout your_user_name

thanks for help, Vy 73, Tom

oh1kh
SOLVED!

HI Tom!

There was typo on my example command line:
It had "m 1028" should have been "-m 1028"
Form you debug I see you left it away and started rig mode "Hamlib dummy" instead.

But fine that you find the root reason!

--
Saku
OH1KH

SP4TB
Hi Saku,

Hi Saku,
thanks for the correction, I did as you recommended and after the "f" command it shows the frequency.
thank you very much and best regards,
73 Tom SP4TB