Closed Aleziss closed 5 months ago
Out of curiosity, if you select something like RTS instead of "None (RX Only)" in "PTT Uses", does that cause FreeDV to work any better?
That is what I used to do before the None (RX Only)
option was in the PTT uses
options and it did work fine.
I will test if that works better than None (RX Only)
setting.
Thank you for reply.
So I try to set PTT uses
to DTR or RTS, grounded the CTS pin on the PTT In
section, both radio and FreeDV keyed but got stuck on TX. I can stop FreeDV with the PTT
button but now the Stop
button is greyed out and I can't stop FreeDV beside killing the process.
It used to work before the None (RX Only)
option was there...
I tried to run FreeDV with admin priviledges, for the first couple seconds, it seemed to have work and then it resume to the previous behavior describe before.
Another thing I noticed is that when set PTT uses
to DTR or RTS, if I push the PTT
button, the radio get keyed anyway and that should not be the case since it is expecting a DTR or RTS signal on the radio com port...
If I deactivate CAT control via Hamlib
and only use PTT In
CTS pin, it works flawlessly, able to key both software and radio but without frequency being pulled from the radio.
So there is something going on when CAT control via Hamlib
is enable.
If you want to monitor what is going on, we can do a RustDesk session and you can try to see what is going on from my computer...
I don't know if this is any help but here is a debug dump I collected.
Start FreeDV only with PTT In
works perfect:
PTT input state is now 1
PTT input state is now 0
PTT input state is now 1
PTT input state is now 0
[2024-04-02 22:49:39] [warning] got non-close frame while closing
Stop FreeDV
Enable on CAT control via Hamlib
Restart FreeDV Setting callsign to VA2CST rig_init: rig_model=Icom IC-7300 rig_init: rig has VFO_A rig_init: rig has VFO_B rig_init: rig has VFO_MEM 1:icom.c(623):icom_init entered 1:icom.c(724):icom_init returning(0) rig_token_lookup called for civaddr rig_confparam_lookup called for civaddr rig_set_conf called rig_confparam_lookup called for 1 rig_set_conf: civaddr='0x94' 1:icom.c(4958):icom_set_conf entered 1:icom.c(4988):icom_set_conf returning(0) rig_token_lookup called for rig_pathname rig_confparam_lookup called for rig_pathname rig_set_conf called rig_confparam_lookup called for 1073741834 rig_set_conf: rig_pathname='COM3' rig_token_lookup called for ptt_pathname rig_confparam_lookup called for ptt_pathname rig_set_conf called rig_confparam_lookup called for 1073741855 rig_set_conf: ptt_pathname='COM3' rig_token_lookup called for serial_speed rig_confparam_lookup called for serial_speed rig_set_conf called rig_confparam_lookup called for 1073741844 rig_set_conf: serial_speed='115200' rig_token_lookup called for ptt_type rig_confparam_lookup called for ptt_type rig_set_conf called rig_confparam_lookup called for 1073741854 rig_set_conf: ptt_type='NONE' 1:rig.c(817):rig_open entered rig_settings_load_all: settings_file (.hamlib_settings): No such file or directory rig_open: cwd=C:\Program Files\FreeDV 1.9.8\bin rig_open: C:\Program Files\FreeDV 1.9.8\bin/hamlib_settings does not exist create_sync_data_pipe: created data pipe for synchronous transactions serial_open: COM3 port_read_sync_data(): WaitForMultipleObjects() error: 0 read_string_generic(1333): I/O error after 0 chars, direct=0: -7 tcflush PTT input state is now 0 2:rig.c(7481):async_data_handler_start entered 2:rig.c(7517):async_data_handler_start returning(0) async_data_handler: Starting async data handler thread rig.c(254):add_opened_rig returning2(0) rig_open: 000001a937218cdc rs->comm_state==1?=1 2:rig.c(6084):rig_get_powerstat entered 3:icom.c(8103):icom_get_powerstat entered rig_get_freq(2034) called vfo=VFOA rig.c(2043) vfo=VFOA, curr_vfo=None rig_get_freq(2130): vfo_opt=0, model=3073 icom_get_freq called for VFOA, curr_vfo=None icom_get_freq: using vfo=VFOA 4:frame.c(425):icom_transaction entered icom_transaction: cmd=0x25, subcmd=0x00, payload_len=0 5:frame.c(138):icom_one_transaction entered async_data_handler: received frame: len=7 async=0 async_data_handler: received frame: len=12 async=0 5:frame.c(403):icom_one_transaction returning(0) 4:frame.c(455):icom_transaction returning(0) from_bcd called icom_get_freq exit vfo=VFOA, curr_vfo=None icom.c(1783):icom_get_freq returning2(0) 3:rig.c(6109):rig_get_powerstat returning(0) 3:icom.c(987):icom_rig_open entered icom_rig_open: IC-7300 v20230109.10 4:icom.c(777):icom_get_usb_echo_off entered 5:frame.c(425):icom_transaction entered icom_transaction: cmd=0x03, subcmd=0xffffffff, payload_len=0 6:frame.c(138):icom_one_transaction entered async_data_handler: received frame: len=6 async=0 6:frame.c(403):icom_one_transaction returning(0) 5:frame.c(455):icom_transaction returning(0) icom_get_usb_echo_off: ack_len=1 async_data_handler: received frame: len=11 async=0 icom_get_usb_echo_off: USB echo on detected, get freq retval=11 4:icom.c(806):icom_get_usb_echo_off returning(0) rig_get_freq(2034) called vfo=currVFO rig.c(2043) vfo=currVFO, curr_vfo=None rig_get_freq(2034) called vfo=otherVFO rig.c(2043) vfo=otherVFO, curr_vfo=None rig_get_cache(303): unknown vfo=otherVFO rig_get_freq(2130): vfo_opt=0, model=3073 icom_get_freq called for otherVFO, curr_vfo=None icom_get_freq: using vfo=otherVFO 4:frame.c(425):icom_transaction entered icom_transaction: cmd=0x25, subcmd=0x01, payload_len=0 5:frame.c(138):icom_one_transaction entered async_data_handler: received frame: len=7 async=0 async_data_handler: received frame: len=12 async=0 5:frame.c(403):icom_one_transaction returning(0) 4:frame.c(455):icom_transaction returning(0) from_bcd called icom_get_freq exit vfo=otherVFO, curr_vfo=None icom.c(1783):icom_get_freq returning2(0) rig_set_cache_freq(209): unknown vfo?, vfo=otherVFO rig_set_cache_freq(209): unknown vfo?, vfo=otherVFO 4:rig.c(2771):rig_set_vfo entered rig_set_vfo called vfo=VFOA icom_set_vfo called vfo=VFOA 5:frame.c(425):icom_transaction entered icom_transaction: cmd=0x07, subcmd=0x00, payload_len=0 6:frame.c(138):icom_one_transaction entered async_data_handler: received frame: len=7 async=0 async_data_handler: received frame: len=6 async=0 6:frame.c(403):icom_one_transaction returning(0) 5:frame.c(455):icom_transaction returning(0) icom.c(3108):icom_set_vfo returning2(0) icom_get_freq called for VFOA, curr_vfo=VFOA icom_get_freq: using vfo=VFOA 5:frame.c(425):icom_transaction entered icom_transaction: cmd=0x25, subcmd=0x00, payload_len=0 6:frame.c(138):icom_one_transaction entered async_data_handler: received frame: len=7 async=0 async_data_handler: received frame: len=12 async=0 6:frame.c(403):icom_one_transaction returning(0) 5:frame.c(455):icom_transaction returning(0) from_bcd called icom_get_freq exit vfo=VFOA, curr_vfo=VFOA icom.c(1783):icom_get_freq returning2(0) 4:rig.c(2903):rig_set_vfo returning(0) rig_get_freq(2034) called vfo=currVFO rig.c(2043) vfo=currVFO, curr_vfo=VFOA rig_get_freq(2034) called vfo=currVFO rig.c(2043) vfo=currVFO, curr_vfo=VFOA rig_get_freq(2034) called vfo=currVFO rig.c(2043) vfo=currVFO, curr_vfo=VFOA rig_get_freq(2034) called vfo=otherVFO rig.c(2043) vfo=VFOB, curr_vfo=VFOA rig_get_freq(2130): vfo_opt=0, model=3073 icom_get_freq called for VFOB, curr_vfo=VFOA icom_get_freq: using vfo=VFOB 4:frame.c(425):icom_transaction entered icom_transaction: cmd=0x25, subcmd=0x01, payload_len=0 5:frame.c(138):icom_one_transaction entered async_data_handler: received frame: len=7 async=0 async_data_handler: received frame: len=12 async=0 5:frame.c(403):icom_one_transaction returning(0) 4:frame.c(455):icom_transaction returning(0) from_bcd called icom_get_freq exit vfo=VFOB, curr_vfo=VFOA icom.c(1783):icom_get_freq returning2(0) 4:rig.c(2771):rig_set_vfo entered rig_set_vfo called vfo=VFOA icom_set_vfo called vfo=VFOA 5:frame.c(425):icom_transaction entered icom_transaction: cmd=0x07, subcmd=0x00, payload_len=0 6:frame.c(138):icom_one_transaction entered async_data_handler: received frame: len=7 async=0 async_data_handler: received frame: len=6 async=0 6:frame.c(403):icom_one_transaction returning(0) 5:frame.c(455):icom_transaction returning(0) icom.c(3108):icom_set_vfo returning2(0) icom_get_freq called for VFOA, curr_vfo=VFOA icom_get_freq: using vfo=VFOA 5:frame.c(425):icom_transaction entered icom_transaction: cmd=0x25, subcmd=0x00, payload_len=0 6:frame.c(138):icom_one_transaction entered async_data_handler: received frame: len=7 async=0 async_data_handler: received frame: len=12 async=0 6:frame.c(403):icom_one_transaction returning(0) 5:frame.c(455):icom_transaction returning(0) from_bcd called icom_get_freq exit vfo=VFOA, curr_vfo=VFOA icom.c(1783):icom_get_freq returning2(0) 4:rig.c(2903):rig_set_vfo returning(0) rig_get_freq(2034) called vfo=currVFO rig.c(2043) vfo=currVFO, curr_vfo=VFOA 3:icom.c(1127):icom_rig_open returning(0) rig_get_freq(2034) called vfo=VFOA rig.c(2043) vfo=VFOA, curr_vfo=VFOA rig_get_freq(2034) called vfo=VFOB rig.c(2043) vfo=VFOB, curr_vfo=VFOA 3:rig.c(5130):rig_get_split_vfo entered 4:icom.c(6682):icom_get_split_vfo entered 5:frame.c(425):icom_transaction entered icom_transaction: cmd=0x0f, subcmd=0xffffffff, payload_len=0 6:frame.c(138):icom_one_transaction entered async_data_handler: received frame: len=6 async=0 async_data_handler: received frame: len=7 async=0 6:frame.c(403):icom_one_transaction returning(0) 5:frame.c(455):icom_transaction returning(0) 5:icom.c(5357):icom_get_split_vfos entered 5:icom.c(5434):icom_get_split_vfos returning(0) icom_get_split_vfo: vfo=currVFO rx_vfo=VFOA tx_vfo=VFOA split=0 4:icom.c(6750):icom_get_split_vfo returning(0) 3:rig.c(5195):rig_get_split_vfo returning(0) rig_open(1380): Current split=0, tx_vfo=VFOA 3:rig.c(2453):rig_get_mode entered icom_get_mode_with_data called vfo=VFOA icom_get_mode called vfo=VFOA icom_get_mode: targetable=3, targetable_mode=2, and=2 4:frame.c(425):icom_transaction entered icom_transaction: cmd=0x26, subcmd=0x00, payload_len=0 5:frame.c(138):icom_one_transaction entered async_data_handler: received frame: len=7 async=0 async_data_handler: received frame: len=10 async=0 5:frame.c(403):icom_one_transaction returning(0) 4:frame.c(455):icom_transaction returning(0) 4:frame.c(711):icom2rig_mode entered icom_get_dsp_flt called, mode=LSB 5:frame.c(425):icom_transaction entered icom_transaction: cmd=0x1a, subcmd=0x03, payload_len=0 6:frame.c(138):icom_one_transaction entered async_data_handler: received frame: len=7 async=0 async_data_handler: received frame: len=8 async=0 6:frame.c(403):icom_one_transaction returning(0) 5:frame.c(455):icom_transaction returning(0) from_bcd called icom.c(1993):icom_get_dsp_flt returning2(3600) icom.c(2753):icom_get_mode returning2(0) icom_get_mode_with_data mode=8 icom_get_mode_with_data databuf[2]=0, mode=8 icom.c(2555):icom_get_mode_with_data returning2(0) 5:cache.c(35):rig_set_cache_mode entered 5:cache.c(108):rig_set_cache_mode returning(0) 4:rig.c(2586):rig_get_mode returning(0) 3:rig.c(1403):rig_open returning(0) 3:rig.c(2928):rig_get_vfo entered rig_get_vfo: no get_vfo 3:rig.c(2951):rig_get_vfo returning(-11) Feature not available
3:rig.c(2453):rig_get_mode entered 3:rig.c(2512):rig_get_mode returning(0) rig_get_freq(2034) called vfo=currVFO rig.c(2043) vfo=currVFO, curr_vfo=VFOA 3:rig.c(2453):rig_get_mode entered 3:rig.c(2512):rig_get_mode returning(0) rig_get_freq(2034) called vfo=currVFO rig.c(2043) vfo=currVFO, curr_vfo=VFOA 3:rig.c(3016):rig_set_ptt entered 4:icom.c(5039):icom_set_ptt entered 5:frame.c(425):icom_transaction entered icom_transaction: cmd=0x1c, subcmd=0x00, payload_len=1 6:frame.c(138):icom_one_transaction entered async_data_handler: received frame: len=8 async=0 async_data_handler: received frame: len=6 async=0 6:frame.c(403):icom_one_transaction returning(0) 5:frame.c(455):icom_transaction returning(0) 4:icom.c(5064):icom_set_ptt returning(0) 3:rig.c(3301):rig_set_ptt returning(0) rig_set_freq called vfo=currVFO, freq=7120000 icom_set_freq called currVFO=7120000 rig_get_freq(2034) called vfo=currVFO rig.c(2043) vfo=currVFO, curr_vfo=VFOA to_bcd called icom_set_freq(1364): vfo=currVFO, currvfo=VFOA 3:frame.c(425):icom_transaction entered icom_transaction: cmd=0x25, subcmd=0x00, payload_len=5 4:frame.c(138):icom_one_transaction entered async_data_handler: received frame: len=12 async=0 async_data_handler: received frame: len=6 async=0 4:frame.c(403):icom_one_transaction returning(0) 3:frame.c(455):icom_transaction returning(0) icom.c(1496):icom_set_freq returning2(0) rig.c(1992):rig_set_freq returning2(0) rig_set_mode called, vfo=currVFO, mode=PKTLSB, width=-1, curr_vfo=VFOA icom_get_mode_with_data called vfo=VFOA icom_get_mode called vfo=VFOA icom_get_mode: targetable=3, targetable_mode=2, and=2 3:frame.c(425):icom_transaction entered icom_transaction: cmd=0x26, subcmd=0x00, payload_len=0 4:frame.c(138):icom_one_transaction entered async_data_handler: received frame: len=7 async=0 async_data_handler: received frame: len=10 async=0 4:frame.c(403):icom_one_transaction returning(0) 3:frame.c(455):icom_transaction returning(0) 3:frame.c(711):icom2rig_mode entered icom_get_dsp_flt called, mode=LSB 4:frame.c(425):icom_transaction entered icom_transaction: cmd=0x1a, subcmd=0x03, payload_len=0 5:frame.c(138):icom_one_transaction entered async_data_handler: received frame: len=7 async=0 async_data_handler: received frame: len=8 async=0 5:frame.c(403):icom_one_transaction returning(0) 4:frame.c(455):icom_transaction returning(0) from_bcd called icom.c(1993):icom_get_dsp_flt returning2(3600) icom.c(2753):icom_get_mode returning2(0) icom_get_mode_with_data mode=8 icom_get_mode_with_data databuf[2]=0, mode=8 icom.c(2555):icom_get_mode_with_data returning2(0) 4:icom.c(2189):icom_set_mode_with_data entered 5:rig.c(2453):rig_get_mode entered 5:rig.c(2512):rig_get_mode returning(0) icom_set_mode_with_data mode=8, width=-1, curr_vfo=VFOA 5:frame.c(562):rig2icom_mode entered 6:rig.c(2453):rig_get_mode entered 6:rig.c(2512):rig_get_mode returning(0) 5:frame.c(702):rig2icom_mode returning(0) 5:icom.c(2119):icom_set_mode_x26 entered 6:frame.c(425):icom_transaction entered icom_transaction: cmd=0x26, subcmd=0x00, payload_len=3 7:frame.c(138):icom_one_transaction entered async_data_handler: received frame: len=10 async=0 async_data_handler: received frame: len=6 async=0 7:frame.c(403):icom_one_transaction returning(0) 6:frame.c(455):icom_transaction returning(0) 5:icom.c(2158):icom_set_mode_x26 returning(0) 5:icom.c(2011):icom_set_dsp_flt entered 5:icom.c(2018):icom_set_dsp_flt returning(0) 4:icom.c(2329):icom_set_mode_with_data returning(0) 4:cache.c(35):rig_set_cache_mode entered 4:cache.c(108):rig_set_cache_mode returning(0) rig.c(2419):rig_set_mode returning2(0) 4:rig.c(2453):rig_get_mode entered 4:rig.c(2512):rig_get_mode returning(0) rig_get_freq(2034) called vfo=currVFO rig.c(2043) vfo=currVFO, curr_vfo=VFOA 4:rig.c(2453):rig_get_mode entered 4:rig.c(2512):rig_get_mode returning(0) rig_get_freq(2034) called vfo=currVFO rig.c(2043) vfo=currVFO, curr_vfo=VFOA 4:rig.c(2453):rig_get_mode entered 4:rig.c(2512):rig_get_mode returning(0) rig_get_freq(2034) called vfo=currVFO rig.c(2043) vfo=currVFO, curr_vfo=VFOA read_string_generic(): Timed out 1.094 seconds after 0 chars, direct=1 read_string_generic(): Timed out 1.092 seconds after 0 chars, direct=1 read_string_generic(): Timed out 1.095 seconds after 0 chars, direct=1 4:rig.c(2453):rig_get_mode entered icom_get_mode_with_data called vfo=currVFO icom_get_mode called vfo=currVFO icom_get_mode: targetable=3, targetable_mode=2, and=2 5:frame.c(425):icom_transaction entered icom_transaction: cmd=0x26, subcmd=0x00, payload_len=0 6:frame.c(138):icom_one_transaction entered async_data_handler: received frame: len=7 async=0 async_data_handler: received frame: len=10 async=0 6:frame.c(403):icom_one_transaction returning(0) 5:frame.c(455):icom_transaction returning(0) 5:frame.c(711):icom2rig_mode entered icom_get_dsp_flt called, mode=LSB 6:frame.c(425):icom_transaction entered icom_transaction: cmd=0x1a, subcmd=0x03, payload_len=0 7:frame.c(138):icom_one_transaction entered async_data_handler: received frame: len=7 async=0 async_data_handler: received frame: len=8 async=0 7:frame.c(403):icom_one_transaction returning(0) 6:frame.c(455):icom_transaction returning(0) from_bcd called icom.c(1993):icom_get_dsp_flt returning2(3000) icom.c(2753):icom_get_mode returning2(0) icom_get_mode_with_data mode=8 icom_get_mode_with_data databuf[2]=1, mode=8 icom.c(2555):icom_get_mode_with_data returning2(0) 6:cache.c(35):rig_set_cache_mode entered 6:cache.c(108):rig_set_cache_mode returning(0) 5:rig.c(2586):rig_get_mode returning(0) rig_get_freq(2034) called vfo=currVFO rig.c(2043) vfo=currVFO, curr_vfo=VFOA rig_get_freq(2130): vfo_opt=0, model=3073 icom_get_freq called for VFOA, curr_vfo=VFOA icom_get_freq: using vfo=VFOA 5:frame.c(425):icom_transaction entered icom_transaction: cmd=0x25, subcmd=0x00, payload_len=0 6:frame.c(138):icom_one_transaction entered async_data_handler: received frame: len=7 async=0 async_data_handler: received frame: len=12 async=0 6:frame.c(403):icom_one_transaction returning(0) 5:frame.c(455):icom_transaction returning(0) from_bcd called icom_get_freq exit vfo=VFOA, curr_vfo=VFOA icom.c(1783):icom_get_freq returning2(0) read_string_generic(): Timed out 1.095 seconds after 0 chars, direct=1 read_string_generic(): Timed out 1.095 seconds after 0 chars, direct=1 read_string_generic(): Timed out 1.095 seconds after 0 chars, direct=1 read_string_generic(): Timed out 1.096 seconds after 0 chars, direct=1
Grounded CTS pin on PTT In PTT input state is now 1 5:rig.c(2453):rig_get_mode entered icom_get_mode_with_data called vfo=currVFO icom_get_mode called vfo=currVFO icom_get_mode: targetable=3, targetable_mode=2, and=2 6:frame.c(425):icom_transaction entered icom_transaction: cmd=0x26, subcmd=0x00, payload_len=0 7:frame.c(138):icom_one_transaction entered async_data_handler: received frame: len=7 async=0 async_data_handler: received frame: len=10 async=0 7:frame.c(403):icom_one_transaction returning(0) 6:frame.c(455):icom_transaction returning(0) 6:frame.c(711):icom2rig_mode entered icom_get_dsp_flt called, mode=LSB 7:frame.c(425):icom_transaction entered icom_transaction: cmd=0x1a, subcmd=0x03, payload_len=0 8:frame.c(138):icom_one_transaction entered async_data_handler: received frame: len=7 async=0 async_data_handler: received frame: len=8 async=0 8:frame.c(403):icom_one_transaction returning(0) 7:frame.c(455):icom_transaction returning(0) from_bcd called icom.c(1993):icom_get_dsp_flt returning2(3000) icom.c(2753):icom_get_mode returning2(0) icom_get_mode_with_data mode=8 icom_get_mode_with_data databuf[2]=1, mode=8 icom.c(2555):icom_get_mode_with_data returning2(0) 7:cache.c(35):rig_set_cache_mode entered 7:cache.c(108):rig_set_cache_mode returning(0) 6:rig.c(2586):rig_get_mode returning(0) rig_get_freq(2034) called vfo=currVFO rig.c(2043) vfo=currVFO, curr_vfo=VFOA rig_get_freq(2130): vfo_opt=0, model=3073 icom_get_freq called for VFOA, curr_vfo=VFOA icom_get_freq: using vfo=VFOA 6:frame.c(425):icom_transaction entered icom_transaction: cmd=0x25, subcmd=0x00, payload_len=0 7:frame.c(138):icom_one_transaction entered async_data_handler: received frame: len=7 async=0 async_data_handler: received frame: len=12 async=0 7:frame.c(403):icom_one_transaction returning(0) 6:frame.c(455):icom_transaction returning(0) from_bcd called icom_get_freq exit vfo=VFOA, curr_vfo=VFOA icom.c(1783):icom_get_freq returning2(0) 6:rig.c(3016):rig_set_ptt entered 7:icom.c(5039):icom_set_ptt entered 8:frame.c(425):icom_transaction entered icom_transaction: cmd=0x1c, subcmd=0x00, payload_len=1 9:frame.c(138):icom_one_transaction entered async_data_handler: received frame: len=8 async=0 async_data_handler: received frame: len=6 async=0 9:frame.c(403):icom_one_transaction returning(0) 8:frame.c(455):icom_transaction returning(0) 7:icom.c(5064):icom_set_ptt returning(0) 6:rig.c(3301):rig_set_ptt returning(0) 6:rig.c(2453):rig_get_mode entered 6:rig.c(2512):rig_get_mode returning(0) rig_get_freq(2034) called vfo=currVFO rig.c(2043) vfo=currVFO, curr_vfo=VFOA read_string_generic(): Timed out 1.092 seconds after 0 chars, direct=1 read_string_generic(): Timed out 1.099 seconds after 0 chars, direct=1 read_string_generic(): Timed out 1.098 seconds after 0 chars, direct=1 read_string_generic(): Timed out 1.091 seconds after 0 chars, direct=1 6:rig.c(2453):rig_get_mode entered icom_get_mode_with_data called vfo=currVFO icom_get_mode called vfo=currVFO icom_get_mode: targetable=3, targetable_mode=2, and=2 7:frame.c(425):icom_transaction entered icom_transaction: cmd=0x26, subcmd=0x00, payload_len=0 8:frame.c(138):icom_one_transaction entered async_data_handler: received frame: len=7 async=0 async_data_handler: received frame: len=10 async=0 8:frame.c(403):icom_one_transaction returning(0) 7:frame.c(455):icom_transaction returning(0) 7:frame.c(711):icom2rig_mode entered icom_get_dsp_flt called, mode=LSB 8:frame.c(425):icom_transaction entered icom_transaction: cmd=0x1a, subcmd=0x03, payload_len=0 9:frame.c(138):icom_one_transaction entered async_data_handler: received frame: len=7 async=0 async_data_handler: received frame: len=8 async=0 9:frame.c(403):icom_one_transaction returning(0) 8:frame.c(455):icom_transaction returning(0) from_bcd called icom.c(1993):icom_get_dsp_flt returning2(3000) icom.c(2753):icom_get_mode returning2(0) icom_get_mode_with_data mode=8 icom_get_mode_with_data databuf[2]=1, mode=8 icom.c(2555):icom_get_mode_with_data returning2(0) 8:cache.c(35):rig_set_cache_mode entered 8:cache.c(108):rig_set_cache_mode returning(0) 7:rig.c(2586):rig_get_mode returning(0) rig_get_freq(2034) called vfo=currVFO rig.c(2043) vfo=currVFO, curr_vfo=VFOA rig_get_freq(2130): vfo_opt=0, model=3073 icom_get_freq called for VFOA, curr_vfo=VFOA icom_get_freq: using vfo=VFOA 7:frame.c(425):icom_transaction entered icom_transaction: cmd=0x25, subcmd=0x00, payload_len=0 8:frame.c(138):icom_one_transaction entered async_data_handler: received frame: len=7 async=0 async_data_handler: received frame: len=12 async=0 8:frame.c(403):icom_one_transaction returning(0) 7:frame.c(455):icom_transaction returning(0) from_bcd called icom_get_freq exit vfo=VFOA, curr_vfo=VFOA icom.c(1783):icom_get_freq returning2(0) read_string_generic(): Timed out 1.095 seconds after 0 chars, direct=1 read_string_generic(): Timed out 1.097 seconds after 0 chars, direct=1 read_string_generic(): Timed out 1.092 seconds after 0 chars, direct=1 7:rig.c(3016):rig_set_ptt entered 8:icom.c(5039):icom_set_ptt entered 9:frame.c(425):icom_transaction entered icom_transaction: cmd=0x1c, subcmd=0x00, payload_len=1 10:frame.c(138):icom_one_transaction entered PTT input state is now 0 async_data_handler: received frame: len=8 async=0 async_data_handler: received frame: len=6 async=0 10:frame.c(403):icom_one_transaction returning(0) 9:frame.c(455):icom_transaction returning(0) 8:icom.c(5064):icom_set_ptt returning(0) 7:rig.c(3301):rig_set_ptt returning(0) rig_set_mode called, vfo=currVFO, mode=LSB, width=-1, curr_vfo=VFOA icom_get_mode_with_data called vfo=VFOA icom_get_mode called vfo=VFOA icom_get_mode: targetable=3, targetable_mode=2, and=2 7:frame.c(425):icom_transaction entered icom_transaction: cmd=0x26, subcmd=0x00, payload_len=0 8:frame.c(138):icom_one_transaction entered async_data_handler: received frame: len=7 async=0 async_data_handler: received frame: len=10 async=0 8:frame.c(403):icom_one_transaction returning(0) 7:frame.c(455):icom_transaction returning(0) 7:frame.c(711):icom2rig_mode entered icom_get_dsp_flt called, mode=LSB 8:frame.c(425):icom_transaction entered icom_transaction: cmd=0x1a, subcmd=0x03, payload_len=0 9:frame.c(138):icom_one_transaction entered async_data_handler: received frame: len=7 async=0 async_data_handler: received frame: len=8 async=0 9:frame.c(403):icom_one_transaction returning(0) 8:frame.c(455):icom_transaction returning(0) from_bcd called icom.c(1993):icom_get_dsp_flt returning2(3000) icom.c(2753):icom_get_mode returning2(0) icom_get_mode_with_data mode=8 icom_get_mode_with_data databuf[2]=1, mode=8 icom.c(2555):icom_get_mode_with_data returning2(0) 8:icom.c(2189):icom_set_mode_with_data entered 9:rig.c(2453):rig_get_mode entered icom_get_mode_with_data called vfo=VFOA icom_get_mode called vfo=VFOA icom_get_mode: targetable=3, targetable_mode=2, and=2 10:frame.c(425):icom_transaction entered icom_transaction: cmd=0x26, subcmd=0x00, payload_len=0 11:frame.c(138):icom_one_transaction entered async_data_handler: received frame: len=7 async=0 async_data_handler: received frame: len=10 async=0 11:frame.c(403):icom_one_transaction returning(0) 10:frame.c(455):icom_transaction returning(0) 10:frame.c(711):icom2rig_mode entered icom_get_dsp_flt called, mode=LSB 11:frame.c(425):icom_transaction entered icom_transaction: cmd=0x1a, subcmd=0x03, payload_len=0 12:frame.c(138):icom_one_transaction entered async_data_handler: received frame: len=7 async=0 async_data_handler: received frame: len=8 async=0 12:frame.c(403):icom_one_transaction returning(0) 11:frame.c(455):icom_transaction returning(0) from_bcd called icom.c(1993):icom_get_dsp_flt returning2(3000) icom.c(2753):icom_get_mode returning2(0) icom_get_mode_with_data mode=8 icom_get_mode_with_data databuf[2]=1, mode=8 icom.c(2555):icom_get_mode_with_data returning2(0) 11:cache.c(35):rig_set_cache_mode entered 11:cache.c(108):rig_set_cache_mode returning(0) 10:rig.c(2586):rig_get_mode returning(0) icom_set_mode_with_data mode=8, width=-1, curr_vfo=VFOA 10:frame.c(562):rig2icom_mode entered 11:rig.c(2453):rig_get_mode entered 11:rig.c(2512):rig_get_mode returning(0) 10:frame.c(702):rig2icom_mode returning(0) 10:icom.c(2119):icom_set_mode_x26 entered 11:frame.c(425):icom_transaction entered icom_transaction: cmd=0x26, subcmd=0x00, payload_len=3 12:frame.c(138):icom_one_transaction entered async_data_handler: received frame: len=10 async=0 async_data_handler: received frame: len=6 async=0 12:frame.c(403):icom_one_transaction returning(0) 11:frame.c(455):icom_transaction returning(0) 10:icom.c(2158):icom_set_mode_x26 returning(0) 10:icom.c(2011):icom_set_dsp_flt entered 10:icom.c(2018):icom_set_dsp_flt returning(0) 9:icom.c(2329):icom_set_mode_with_data returning(0) 9:cache.c(35):rig_set_cache_mode entered 9:cache.c(108):rig_set_cache_mode returning(0) rig.c(2419):rig_set_mode returning2(0) 9:rig.c(3016):rig_set_ptt entered 10:icom.c(5039):icom_set_ptt entered 11:frame.c(425):icom_transaction entered icom_transaction: cmd=0x1c, subcmd=0x00, payload_len=1 12:frame.c(138):icom_one_transaction entered async_data_handler: received frame: len=8 async=0 PTT input state is now 1 async_data_handler: received frame: len=6 async=0 12:frame.c(403):icom_one_transaction returning(0) 11:frame.c(455):icom_transaction returning(0) 10:icom.c(5064):icom_set_ptt returning(0) 9:rig.c(3301):rig_set_ptt returning(0) 9:rig.c(2453):rig_get_mode entered 9:rig.c(2512):rig_get_mode returning(0) rig_get_freq(2034) called vfo=currVFO rig.c(2043) vfo=currVFO, curr_vfo=VFOA rig_get_freq(2130): vfo_opt=0, model=3073 icom_get_freq called for VFOA, curr_vfo=VFOA icom_get_freq: using vfo=VFOA 9:frame.c(425):icom_transaction entered icom_transaction: cmd=0x25, subcmd=0x00, payload_len=0 10:frame.c(138):icom_one_transaction entered async_data_handler: received frame: len=7 async=0 async_data_handler: received frame: len=12 async=0 10:frame.c(403):icom_one_transaction returning(0) 9:frame.c(455):icom_transaction returning(0) from_bcd called icom_get_freq exit vfo=VFOA, curr_vfo=VFOA icom.c(1783):icom_get_freq returning2(0) 9:rig.c(2453):rig_get_mode entered 9:rig.c(2512):rig_get_mode returning(0) rig_get_freq(2034) called vfo=currVFO rig.c(2043) vfo=currVFO, curr_vfo=VFOA 9:rig.c(3016):rig_set_ptt entered 10:icom.c(5039):icom_set_ptt entered 11:frame.c(425):icom_transaction entered icom_transaction: cmd=0x1c, subcmd=0x00, payload_len=1 12:frame.c(138):icom_one_transaction entered async_data_handler: received frame: len=8 async=0 async_data_handler: received frame: len=6 async=0 12:frame.c(403):icom_one_transaction returning(0) 11:frame.c(455):icom_transaction returning(0) 10:icom.c(5064):icom_set_ptt returning(0) 9:rig.c(3301):rig_set_ptt returning(0) 9:rig.c(2453):rig_get_mode entered 9:rig.c(2512):rig_get_mode returning(0) rig_get_freq(2034) called vfo=currVFO rig.c(2043) vfo=currVFO, curr_vfo=VFOA 9:rig.c(3016):rig_set_ptt entered 10:icom.c(5039):icom_set_ptt entered 11:frame.c(425):icom_transaction entered icom_transaction: cmd=0x1c, subcmd=0x00, payload_len=1 12:frame.c(138):icom_one_transaction entered async_data_handler: received frame: len=8 async=0 async_data_handler: received frame: len=6 async=0 12:frame.c(403):icom_one_transaction returning(0) 11:frame.c(455):icom_transaction returning(0) 10:icom.c(5064):icom_set_ptt returning(0) 9:rig.c(3301):rig_set_ptt returning(0) 9:rig.c(2453):rig_get_mode entered 9:rig.c(2512):rig_get_mode returning(0) rig_get_freq(2034) called vfo=currVFO rig.c(2043) vfo=currVFO, curr_vfo=VFOA 9:rig.c(3016):rig_set_ptt entered 10:icom.c(5039):icom_set_ptt entered 11:frame.c(425):icom_transaction entered icom_transaction: cmd=0x1c, subcmd=0x00, payload_len=1 12:frame.c(138):icom_one_transaction entered
Lift CTS pin from ground but still stuck on TX PTT input state is now 0 async_data_handler: received frame: len=8 async=0 async_data_handler: received frame: len=6 async=0 12:frame.c(403):icom_one_transaction returning(0) 11:frame.c(455):icom_transaction returning(0) 10:icom.c(5064):icom_set_ptt returning(0) 9:rig.c(3301):rig_set_ptt returning(0) 9:rig.c(1425):rig_close entered 10:icom.c(1141):icom_rig_close entered 10:icom.c(1165):icom_rig_close returning(0) 10:rig.c(7525):async_data_handler_stop entered read_string_generic(): Timed out 1.094 seconds after 0 chars, direct=1 async_data_handler: Stopping async data handler thread 10:rig.c(7555):async_data_handler_stop returning(0) ser_close: restoring options rig_close(1561): 000001a937218cdc rs->comm_state==0?=0 9:rig.c(1563):rig_close returning(0) 9:icom.c(736):icom_cleanup entered 9:icom.c(761):icom_cleanup returning(0)
I think I'm able to duplicate your issue here and made a build with a possible fix: https://www.dropbox.com/scl/fi/leina451hu2y0ng2t4yp2/FreeDV-1.9.9-devel-2024-04-03-566b6e64-windows-x86_64.exe?rlkey=6ajvvckbaxcky90im35oqel1t&dl=0. Would you be able to test and let me know if that helps at all? Thanks!
I cannot start that version :
I think I'm able to duplicate your issue here and made a build with a possible fix: https://www.dropbox.com/scl/fi/leina451hu2y0ng2t4yp2/FreeDV-1.9.9-devel-2024-04-03-566b6e64-windows-x86_64.exe?rlkey=6ajvvckbaxcky90im35oqel1t&dl=0. Would you be able to test and let me know if that helps at all? Thanks!
I don't know what happened but all of a sudden, the error went away and I confirm that when the PTT uses
is set to None
and the PTT In
CTS pin get grounded/ungrounded, it now works properly !!!
That seems to be fixed now !
Thanks !!
I am not sure if the PTT
button should be working ? It's like FreeDV switch to transmit but does not control radio. Not sure what the use of the PTT
button would be used for ?
I don't know what happened but all of a sudden, the error went away and I confirm that when the
PTT uses
is set toNone
and thePTT In
CTS pin get grounded/ungrounded, it now works properly !!!
Yeah, Windows can sometimes be weird with audio. I'm glad it's working properly now, though! I'll go ahead and merge.
I am not sure if the
PTT
button should be working ? It's like FreeDV switch to transmit but does not control radio. Not sure what the use of thePTT
button would be used for ?
Some people use interfaces such as SignaLink (which doesn't provide CAT control and keys the radio effectively via VOX), so this is as expected.
Hello everyone,
it seems that when you set CAT control to a 7300 (in my demonstration) and set the welcomed option of NOT using CAT to PTT the transceiver but rather use separate COM port to key FreeDV instead from an external PTT button, it cause FreeDV to get stuck on transmit even though the CAT PTT control is set to none.
I also sometime get FreeDV Stop button becomes greyed out, I have to kill the process in order to stop FreeDV to transmit. This happend when the external COM port is disconnected and FreeDV seem to be trying to connect to the PTT control that is absent. I cannot pinpoint exactly how and what cause the issue.
You can check this video to see what goes on.
The goal, have an external PTT switch that grounds the CTS pin of a USB to TTL converter on a different COM port than the CAT control.
That CTS pin will key the FreeDV software but is also used through a relay to key the radio.
That way, I can still pull the transceiver info frequency and mode over CAT control but use a separate PTT control.
When CAT is deactivated, it works perfectly. When CAT is enable, it gets stuck to TX.
Thank you !