How to use hamlib rpc.rigd or rigctld daemons for Trx Control with CQRLog?

6 posts / 0 new
Last post
VE9GJ
How to use hamlib rpc.rigd or rigctld daemons for Trx Control with CQRLog?

Hi

First let me say thanks for the great Linux Logging software!

I'm using CQRLog 0.8.5 and Hamlib version 1.2.10 (svn)

Trx control works fine as long as I enter a direct serial port in Trx Control Preferences. However I would really like to use rigctld (rig model = 2) or even rpc.rigd (rig model = 1901) for radio control.

I can use rpc.rigd with fldigi or grig etc, but not cqrlog.
For example I start the rigctl running with
$ rigctld -m 122 -r /dev/ttyS0 -s 4800

and then in another xterm I can:
$ rigctl -m 2 -r localhost get_freq
14070000

If I enter localhost for Device and RID ID Model = 2 in CQRLog and set Debug =1 on startup I get:

In inicializerig
Model:2
Port:localhost
Baudrate:4800
Databits:8
StopBits:1
Handshake:
Parity:None
DTR:OFF
RTS:OFF
Poll:500
An error has occured setting the serial speed:4800
Reloading rig configuration
An error has occured setting the serial speed:4800

CQRLog should not be trying to use Serial settings here I don't think.

I see a previous thread in this form http://www.cqrlog.com/?q=node/115 where N0NB was having the same trouble with rpc.rigd.

Has anyone got this to work or is it something that needs to be fixed?

73

Glenn VE9GJ

ok2cqr
ok2cqr's picture
Re: How to use hamlib rpc.rigd or rigctld daemons for Trx Contro

Hi Glenn,

rpc.rigd works with hamlib version 1.2.6.2. Newer vesrions doesn't work. I don't know why, it's probably a bug in hamlib wrapper in cqrlog. I hope I'll find it and fix it.
Serial speed settings doesn't matter, if you use rpc.rigd, hamlib ignores it.

73! Petr, OK2CQR

VE9GJ
Hi Petr Thanks for the info.

Hi Petr

Thanks for the info. I'll try with an older version of hamlib.

Does rigctld (Rig ID Model =2) work with CQRLog with hamlib version 1.2.6.2 also?

Good luck finding the bug. If I can help in anyway finding or testing please just ask!

ve9gj-at-nbnet.nb.ca

73
Glenn VE9GJ

ok2cqr
ok2cqr's picture
Re: Hi Petr Thanks for the info.

Hi Glenn,

yes, it should work.

73 Petr, OK2CQR

N0NB
Glenn, I doubt rigctld will

Glenn, I doubt rigctld will work satisfactorily in 1.2.6 as that is a fairly old version and rigctld is still quite new. It may not even be in 1.2.6!

Petr, can you work with Stephane on the Hamlib-developer list on the rpc.rigd issue? He is much more knowledgeable with that code than I am.

ok2cqr
ok2cqr's picture
Re: Glenn, I doubt rigctld will

Hi John,

I will work with Stephane but at first I must find yout changes between hamlib versions. I'm sorry, I'm very busy with my real work.

73 Petr, OK2CQR