Fedora 32 - Cqrlog daily - error witch rigctld

2 posts / 0 new
Last post
sp6ina
sp6ina's picture
Fedora 32 - Cqrlog daily - error witch rigctld

Hi.
I have problem witch connect radio DX3000 to cqrlog. Cqrlog can't automatic start rigctld. Cqrlog don't send command to rigctld and i can't manually in terminal open connect when cqrlog is open. I can only on terminal open connect witch rigctld and after that open cqrlog - everything work ok.

i open cqrlog from terminal:
cqrlog

Cqrlog Ver:2.4.0 (118) Date:2020-04-20
**** DEBUG LEVEL 0 ****
**** CHANGE WITH --debug=1 PARAMETER ****

OS:
Linux version 5.6.8-300.fc32.x86_64 (mockbuild@bkernel03.phx2.fedoraproject.org) (gcc version 10.0.1 20200328 (Red Hat 10.0.1-0.11) (GCC)) #1 SMP Wed Apr 29 19:01:34 UTC 2020
/usr/bin/mysqld
200504 15:15:11 mysqld_safe Logging to '/home/sp6ina/.config/cqrlog/database//mysql.err'.
200504 15:15:11 mysqld_safe Starting mysqld daemon with databases from /home/sp6ina/.config/cqrlog/database/

Settings:
-----------------------------------------------------
RigCtldPath:/usr/bin/rigctld
RigCtldArgs:-m 1037 -r /dev/ttyUSB0 -t 4532 -s 38400 --set-conf=serial_handshake=Hardware
RunRigCtld: TRUE
RigDevice: /dev/ttyUSB0
RigCtldPort:4532
RigCtldHost:localhost
RigPoll: 100
RigSendCWR: FALSE
RigId: 1037

Starting RigCtld ...
rigProcess.Executable: /usr/bin/rigctld
Parameters:
-m
1037
-r
/dev/ttyUSB0
-t
4532
-s
38400
--set-conf=serial_handshake=Hardware

Recommend using --vfo switch for rigctld if client supports it
rigctl and netrigctl will automatically detect vfo mode

Sending: fmv -- this is every secound

// cqrlog don't connnect to the radio. In previus test i have only :
Recommend using --vfo switch for rigctld if client supports it
rigctl and netrigctl will automatically detect vfo mode
// witchout parametrs rigctld

When i close cqrlog and put on terminal:
/usr/bin/rigctld -m 1037 -r /dev/ttyUSB0 -t 4532 -s 38400 --set-conf=serial_handshake=Hardware

cqrlog in terminal say:
cqrlog

Cqrlog Ver:2.4.0 (118) Date:2020-04-20
**** DEBUG LEVEL 0 ****
**** CHANGE WITH --debug=1 PARAMETER ****

OS:
Linux version 5.6.8-300.fc32.x86_64 (mockbuild@bkernel03.phx2.fedoraproject.org) (gcc version 10.0.1 20200328 (Red Hat 10.0.1-0.11) (GCC)) #1 SMP Wed Apr 29 19:01:34 UTC 2020
/usr/bin/mysqld
200504 15:19:25 mysqld_safe Logging to '/home/sp6ina/.config/cqrlog/database//mysql.err'.
200504 15:19:25 mysqld_safe Starting mysqld daemon with databases from /home/sp6ina/.config/cqrlog/database/

Settings:
-----------------------------------------------------
RigCtldPath:/usr/bin/rigctld
RigCtldArgs:-m 1037 -r /dev/ttyUSB0 -t 4532 -s 38400 --set-conf=serial_handshake=Hardware
RunRigCtld: TRUE
RigDevice: /dev/ttyUSB0
RigCtldPort:4532
RigCtldHost:localhost
RigPoll: 100
RigSendCWR: FALSE
RigId: 1037

Starting RigCtld ...
rigProcess.Executable: /usr/bin/rigctld
Parameters:
-m
1037
-r
/dev/ttyUSB0
-t
4532
-s
38400
--set-conf=serial_handshake=Hardware

Recommend using --vfo switch for rigctld if client supports it
rigctl and netrigctl will automatically detect vfo mode
rigctld started!
Connected to rigctld @ localhost:4532
Sending: fmv

Sending: fmv

Msg from rig: 14195000
VFOA
USB
1800
VFOA
Msg from rig: 14195000
VFOA
Msg from rig: USB
1800
Sending: fmv

And everything work.

oh1kh
Fedora 32 - Cqrlog daily - error witch rigctld

Hi!

Sounds mysterious.

If you get text :
Recommend using --vfo switch for rigctld if client supports it
rigctl and netrigctl will automatically detect vfo mode

It means that cqrlog has started rigctld. (in your first debug dump).

Test following first:
Before starting cqrlog at first time open command console and give:
ps ax | grep rig

Answer should NOT include /usr/bin/rigctld

keep command console open.

Start cqrlog normally (first try from startup menu or icon, next try from second command console with debug=1).
At both times repeat the command at first console while cqrlog is still running:

ps ax | grep rig

Does answer now include /usr/bin/rigctld in 1st try from startup menu and 2nd from command console with debug=1
If so your rigctld has started by cqrlog and is alive.
How ever if rig does not answer to cqrlog try to replace "localhost" with 127.0.0.1 and secondly check your firewall. It should not block localhost communication.
You can also try 3rd. console with command:
telnet localhost 4532

If you get connected "f" gives frequency "q" quits from telnet session. If not soething is blocking communication at port 4532.
Cqrlog actually first kicks rigctld running and then takes similar telnet connection to rigctld.

If no sign of /usr/bin/rigctld with ps ax, but debug shows "Recommend using --vfo " rigctld has died after start for
some reason.

Next if you start rigctld from command console 1 ( Add parameter "-vvvvv" to your rigctld parameters.)
and start cqrlog from console 2. Does it work then, or must rigctld be started from same console as cqrlog?

--
Saku
OH1KH