Radio Transmits Automatically upon CQRLOG Startup

7 posts / 0 new
Last post
KB7TIU
Radio Transmits Automatically upon CQRLOG Startup

My IC-706 starts transmitting automatically when the CQRLOG Db is opened. If I shut down CQRLOG the transmitter continues transmitting. If I remove the rig control USB cable from the computer and reinstall, the radio stops transmitting.

I running the latest Ubunto build: 18.0xx.

The TRX Control settings are:
Rig Model (309 Icom IC-706),
Device (/dev/ttyUSB0) and
"Run rigctld when program starts" selected.
Serial speed is set to 19200. Path to rigctld binary: is set to the default /usr/bin/rigctld

oh1kh
Radio Transmits Automatically upon CQRLOG Startup

Hi!
As a long time owner of ic706 I can say that it should not do that.
How is your ptt line connected?
Check preferences/trxcontrol handshake,dtr and rts to be as "unset".
Then, if you need ptt function from handshake line use field " extra command line arguments" like: -p /dev/ttyUSB0 -P RTS

"-p" tells the port used for ptt
"-P" tells the line connected to ptt (rts or dtr)

You also may be interested in this:
http://www.saunalahti.fi/~sakny/bin/cqrlog2/setting_rigctld_for_all_prog...

--
Saku
OH1KH

oz1gnn
Radio Transmits Automatically upon CQRLOG Startup

Hi guys

I am sorry to tell you that I think it's a hamlib feature. When I was using my 706 I noticed that it just transmitted shortly when rigctrld was loaded. Now I downgraded to a KX3 and it's doing the same, so are the IC7610 in the club. I have tampered Saku's udev scripts a bit; but I am starting rigctrld like and still having the transmit feature:

if [ -e /dev/kx3 ]
then
/usr/bin/rigctld -m 229 -r /dev/kx3 -t 4532 -s 38400 --set-conf=dtr_state=OFF,rts_state=OFF &
rig="kx3"
elif [ -e /dev/ci-v ]
then

/usr/bin/rigctld -m 357 -r /dev/ci-v -t 4532 -s 19200 --set-conf=dtr_state=OFF,rts_state=OFF &
rig="Icom 756proIII"
elif [ -e /dev/IC-7610 ]
then

/usr/bin/rigctld -m 378 -r /dev/IC-7610 -t 4532 -s 19200 --set-conf=dtr_state=OFF,rts_state=OFF &
rig="Icom IC-7610"
elif [ -e /dev/IC-9100 ]

73 de OZ1GNN

Chris

Vy 73 de oz1gnn

oh1kh
Radio Transmits Automatically upon CQRLOG Startup

Hi Chris !
Have you tested this way:
--set-conf=serial_handshake=None,dtr_state=Unset,rts_state=Unset

And if you need dtr or rts for PTTrelay add:
-p /dev/rig -P RTS
With correct device and handshake line name.
PTT can be activated from same dev or from a different serial dev.

Problems, if still exist, can be avoided by starting rigctld at system startup or user login. I am using user saku's crontab to run starting script with * * * * * (run every minute) timing.

[saku@hamtpad ~]$ cat rigctld_start.sh
#!/bin/bash
#
/usr/bin/date >> /tmp/start.log
case "$1" in
start)
#
# Nothing to do if it is already running.
#
a=$(/usr/bin/pidof rigctld)
if [ "$a" != "" ]; then
echo "Already running." >> /tmp/start.log
else
/usr/bin/date >> /tmp/start.log
/usr/bin/rigctld -m 309 -r /dev/rig -t 14532 -p /dev/rig -P RTS -s 19200 --set-conf=serial_handshake=None,dtr_state=Unset,rts_state=Unset &
/usr/bin/rigctld -m 373 -r /dev/icom7300 -t 4532 -s 19200 &

echo "Started." >> /tmp/start.log
fi
;;
stop)
killall rigctld
killall rigctld
echo "Killed." >> /tmp/start.log
;;
restart)
echo "Restarting." >> /tmp/start.log
killall rigctld
killall rigctld
echo "Killed." >> /tmp/start.log
#
# Nothing to do if it is already running.
#
a=$(/usr/bin/pidof rigctld)
if [ "$a" != "" ]; then
echo "Already running." >> /tmp/start.log
else
/usr/bin/date >> /tmp/start.log
/usr/bin/rigctld -m 309 -r /dev/rig -t 14532 -p /dev/rig -P RTS -s 19200 --set-conf=serial_handshake=None,dtr_state=Unset,rts_state=Unset &
/usr/bin/rigctld -m 373 -r /dev/icom7300 -t 4532 -s 19200 &

echo "Started." >> /tmp/start.log
echo "Restarted." >> /tmp/start.log
fi
;;
esac

echo "-----------------------" >> /tmp/start.log


After starting that way cqrlog/preferences/trxconrol "run rigctld at program start" must be unchecked and rig type2 Net hamlib rigctld.
See the web link in my previous message on this thread.

--
Saku
OH1KH

oz1gnn
Short transmit during startup

Hi Saku

Now I finally had some time to do some testing with the Icom IC-7610.

Your suggestion to put 'Unset' instead of 'OFF', lead only to the radio turned into transmit from start and stayed there.
I think the Unset is a feature from the days of old tristate ports at the computer. I am not so sure about an USB gismo like to be in a tristate condition. I think it like to be ON or OFF, not something in between. My common sence tells me that the results are not very predictable, when you have something floating with high impedance close to a transmitter. Mousepads are a good example.

I think that the short transmit at startup is something we have to live with.

73
Chris

Vy 73 de oz1gnn

oh1kh
Short transmit during startup

Hi!

Do you really need "USB send keying"? It can be turned off. Then there should not be any transmit at startup.
With IC7300 there is selction "Inhibit timer at USB connection" but I can not see it in IC7610. So the only way is to turn it OFF.

Wsjt-x does not need it, fldigi does not need it. Both can be set so that ptt is driven via CAT command.
fldigi "Configure/rig/Hamlib/PTT via Hamlib Command"
wsjt-x "Settings/radio/PTT method/CAT"

Only cqrlog/NewQSO/File/Tune fails with that if CWkeyer "Hamlib" is selected.

File: 

--
Saku
OH1KH

KB7TIU
Radio Transmits Automatically upon CQRLOG Startup

Hi Saku,

I apologize for not providing feedback until now. I tried the suggestion you offered on 1 Dec 18 it the radio transmit anomaly has bee resolved:

"Check preferences/trxcontrol handshake,dtr and rts to be as "unset".
Then, if you need ptt function from handshake line use field " extra command line arguments" like: -p /dev/ttyUSB0 -P RTS"

Thank you much!

73, Jon, KB7TIU