Menu

rigctl>rigctld vfoA>B toggle issue Icom

Help
Bob VK2YQA
2024-12-23
2024-12-26
  • Bob VK2YQA

    Bob VK2YQA - 2024-12-23

    Have had an interesting problem with rigctld (-m 3068) and launching rigctl (-m 2) from a bash script that I thought worth a mention. I have actually found a workaround so not a big disaster.

    Using the latest source from github.

    I have a Icom 9100 connected via USB (with a udev name function) and launch a fairly standard rigctld as;
    /usr/local/bin/rigctld -m 3068 -x 2 -c 0x7c -s 19200 -r /dev/icom9100a &

    Whenever I launch something like;
    /usr/local/bin/rigctl -m 2 T 0
    or set VFO frequency etc, the rig does a fast VFOA/VFOB toggle and a vv verbose of rigctld shows a chk_vfo
    rigctl_chk_vfo: ******
    rigctl_dump_state: chk_vfo_executed=1
    rigctl_set_ptt: ptt=0

    This tends to play havoc with fast TX/RX transmission in digital ARQ modes, often cutting off any audio stream in the progress.

    My workaround is quite simple, to not use rigctl at all. Applications that use the hamlib calls (eg gpredict) work fine.
    PTT>TX is now;
    echo "\set_ptt 1"|nc -w 1 -q 0 localhost 4532
    PTT>RX is now;
    echo "\set_ptt 0"|nc -w 1 -q 0 localhost 4532
    and some other examples
    echo "\set_freq 146950000"|nc -w 1 -q 0 localhost 4532
    echo "\vfo_op CPY"|nc -w 1 -q 0 localhost 4532
    echo "\set_mem 61"|nc -w 1 -q 0 localhost 4532

    Chk_vfo and -o mode seem to be a no-no for the 9100. I assume rigctl wants to check what VFO is active and how that is done is the problem. I have also had VFOA/VFOB toggle "fails" where the rig eventually TX's on the wrong one, which I got around by copying A>B or B>A as needed.

    I am not personally looking for a fix, but I'd like some opinions on whether there is a rigctl or rigctld switch/parameter that disables the vfo check.

    Cheers Bob VK2YQA

     
    • Michael Black

      Michael Black - 2024-12-23

      Try adding --skipinit

      Mike W9MDB

      On Monday, December 23, 2024 at 10:54:37 AM CST, Bob VK2YQA vk2yqa@users.sourceforge.net wrote:

      Have had an interesting problem with rigctld (-m 3068) and launching rigctl (-m 2) from a bash script that I thought worth a mention. I have actually found a workaround so not a big disaster.

      Using the latest source from github.

      I have a Icom 9100 connected via USB (with a udev name function) and launch a fairly standard rigctld as;
      /usr/local/bin/rigctld -m 3068 -x 2 -c 0x7c -s 19200 -r /dev/icom9100a &

      Whenever I launch something like;
      /usr/local/bin/rigctl -m 2 T 0
      or set VFO frequency etc, the rig does a fast VFOA/VFOB toggle and a vv verbose of rigctld shows a chk_vfo
      rigctl_chk_vfo: **
      rigctl_dump_state: chk_vfo_executed=1
      rigctl_set_ptt: ptt=0

      This tends to play havoc with fast TX/RX transmission in digital ARQ modes, often cutting off any audio stream in the progress.

      My workaround is quite simple, to not use rigctl at all. Applications that use the hamlib calls (eg gpredict) work fine.
      PTT>TX is now;
      echo "\set_ptt 1"|nc -w 1 -q 0 localhost 4532
      PTT>RX is now;
      echo "\set_ptt 0"|nc -w 1 -q 0 localhost 4532
      and some other examples
      echo "\set_freq 146950000"|nc -w 1 -q 0 localhost 4532
      echo "\vfo_op CPY"|nc -w 1 -q 0 localhost 4532
      echo "\set_mem 61"|nc -w 1 -q 0 localhost 4532

      Chk_vfo and -o mode seem to be a no-no for the 9100. I assume rigctl wants to check what VFO is active and how that is done is the problem. I have also had VFOA/VFOB toggle "fails" where the rig eventually TX's on the wrong one, which I got around by copying A>B or B>A as needed.

      I am not personally looking for a fix, but I'd like some opinions on whether there is a rigctl or rigctld switch/parameter that disables the vfo check.

      Cheers Bob VK2YQA


      rigctl>rigctld vfoA>B toggle issue Icom


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/hamlib/discussion/25919/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       
      • Bob VK2YQA

        Bob VK2YQA - 2024-12-25

        Thanks Mike

        That solved the problem. Thought it worth a mention though that --skipinit is not in the man page, but skip_init is and fails as follows

        $ rigctl -m 2 skip_init f
        rigctld: Hamlib 4.7~git 2024-12-22T21:48:56Z SHA=8589d5 64-bit
        14066000
        Command '' not found!

        and to verify the syntax

        $ rigctl -m 2 get_rig_info f
        rigctld: Hamlib 4.7~git 2024-12-22T21:48:56Z SHA=8589d5 64-bit
        VFO=VFOA Freq=14066000 Mode=PKTUSB Width=2500 RX=1 TX=1
        VFO=VFOB Freq=14071030 Mode=None Width=0 RX=0 TX=0
        Split=0 SatMode=0
        Rig=NET rigctl
        App=Hamlib
        Version=20241103 1.1.0
        Model=2
        CRC=0x4d38dbda

        14066000

        Also to elaborate on the VFOA/VFOB "fail" per previous - when I launch;

        $ rigctld -m 3068 -c 0x7c -s 19200 -r /dev/icom9100a

        whilst VFOA is showing on the rig display, it toggles VFOB, VFOA then back to VFOB
        whilst VFOB is showing on the rig display, it toggles VFOA, then back to VFOB

        There being no --skipinit option for this?

        A rig reset is not really a test option.

        Is it worth posting the lengthy vvvv log for both the rigctld command?

        Cheers Bob VK2YQA

         
        • Michael Black

          Michael Black - 2024-12-25

          There is no skip_init for rigctld  -- and there won't be -- rigctld needs to do the entire initialize.
          However the skip_init should work for rigctl -m 2 -- I'll fix that.
          Besides the skip_init regular command there is the --skipinit switch too which shows up in the help in rigctl.

          The VFO swap is needed to find the "other" VFO's frequency and mode.

          Mike W9MDB

          On Tuesday, December 24, 2024 at 06:15:00 PM CST, Bob VK2YQA vk2yqa@users.sourceforge.net wrote:

          Thanks Mike

          That solved the problem. Thought it worth a mention though that --skipinit is not in the man page, but skip_init is and fails as follows

          $ rigctl -m 2 skip_init f
          rigctld: Hamlib 4.7~git 2024-12-22T21:48:56Z SHA=8589d5 64-bit
          14066000
          Command '' not found!

          and to verify the syntax

          $ rigctl -m 2 get_rig_info f
          rigctld: Hamlib 4.7~git 2024-12-22T21:48:56Z SHA=8589d5 64-bit
          VFO=VFOA Freq=14066000 Mode=PKTUSB Width=2500 RX=1 TX=1
          VFO=VFOB Freq=14071030 Mode=None Width=0 RX=0 TX=0
          Split=0 SatMode=0
          Rig=NET rigctl
          App=Hamlib
          Version=20241103 1.1.0
          Model=2
          CRC=0x4d38dbda

          14066000

          Also to elaborate on the VFOA/VFOB "fail" per previous - when I launch;

          $ rigctld -m 3068 -c 0x7c -s 19200 -r /dev/icom9100a

          whilst VFOA is showing on the rig display, it toggles VFOB, VFOA then back to VFOB
          whilst VFOB is showing on the rig display, it toggles VFOA, then back to VFOB

          There being no --skipinit option for this?

          A rig reset is not really a test option.

          Is it worth posting the lengthy vvvv log for both the rigctld command?

          Cheers Bob VK2YQA


          rigctl>rigctld vfoA>B toggle issue Icom


          Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/hamlib/discussion/25919/

          To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

           
          • Bob VK2YQA

            Bob VK2YQA - 2024-12-26

            Tnxs Mike

            The patch has resolved the rigctl toggles.

            I would ask that some others with Icom's test the rigctld initialise
            "problem". I understand the need to test for the "other" VFO's, but the

            • whilst VFOA is showing on the rig display, it toggles VFOB, VFOA then
              back to VFOB

            is likely to cause some irritation/confusion. I would expect the active
            frequency to be the same before and after launching rigctld. This may be
            IC-9100 specific so pls advise if you'd like a vvvvv dump.

            Cheers Bob VK2YQA

            On 25/12/24 16:10, Michael Black wrote:

            There is no skip_init for rigctld  -- and there won't be -- rigctld
            needs to do the entire initialize.
            However the skip_init should work for rigctl -m 2 -- I'll fix that.
            Besides the skip_init regular command there is the --skipinit switch
            too which shows up in the help in rigctl.

            The VFO swap is needed to find the "other" VFO's frequency and mode.

            Mike W9MDB

             
            • Michael Black

              Michael Black - 2024-12-26

              Yes -- if you can get some debug that shows wrong behavior (other than the VFO swap).

              On Wednesday, December 25, 2024 at 08:25:51 PM CST, Bob VK2YQA vk2yqa@users.sourceforge.net wrote:

              Tnxs Mike

              The patch has resolved the rigctl toggles.

              I would ask that some others with Icom's test the rigctld initialise
              "problem". I understand the need to test for the "other" VFO's, but the

              * whilst VFOA is showing on the rig display, it toggles VFOB, VFOA then
              back to VFOB

              is likely to cause some irritation/confusion. I would expect the active
              frequency to be the same before and after launching rigctld. This may be
              IC-9100 specific so pls advise if you'd like a vvvvv dump.

              Cheers Bob VK2YQA

              On 25/12/24 16:10, Michael Black wrote:

              There is no skip_init for rigctld  -- and there won't be -- rigctld
              needs to do the entire initialize.
              However the skip_init should work for rigctl -m 2 -- I'll fix that.
              Besides the skip_init regular command there is the --skipinit switch
              too which shows up in the help in rigctl.

              The VFO swap is needed to find the "other" VFO's frequency and mode.

              Mike W9MDB


              rigctl>rigctld vfoA>B toggle issue Icom


              Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/hamlib/discussion/25919/

              To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

               
              • Bob VK2YQA

                Bob VK2YQA - 2024-12-26

                Hi Mike

                Would be fine if it toggles VFOB>VFOA>VFOB, but it does an extra >VFOA
                VFOA>VFOB>VFOA works fine.

                Rig was set to;

                VFOB 14071 USB F1
                VFOA 14066 USB F1
                then left on VFOA

                After the following (before ctrl-c) rig was on VFOB

                Cheers Bob VK2YQA

                rigctld.c(641) Startup: /usr/local/bin/rigctld -m 3068 -c 0x7c -s 19200
                -vvvvv -r /dev/icom9100a
                rigctld Hamlib 4.7~git 2024-12-25T05:19:02Z SHA=e0a805 64-bit
                Report bugs to hamlib-developer@lists.sourceforge.net

                Max# of rigctld client services=32
                rig_test_2038: enter _TIME_BITS=64, __TIMESIZE=64 testing enabled for
                GLIBC 2.36
                rig_init: 2038 time test passed
                rig_check_rig_caps: p1=0x7f9cebd97be0, p2=0x7f9cebd9e168,
                rig_model=0x7f9cebd97be0, macro_name=0x7f9cebd9e168
                initrigs4_icom: _init called
                rig_init: rig_model=Icom IC-9100 20241203.5
                rig_init: rig has VFO_A
                rig_init: rig has VFO_B
                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
                2:icom.c(705):icom_init entered
                icom_set_x25x26_ability: Hamlib thinks rig does not support x25/x26 command
                icom_init: done
                2:icom.c(777):icom_init returning(0)
                rig_set_conf called
                rig_confparam_lookup called for rig_pathname
                rig_set_conf: rig_pathname='/dev/icom9100a'
                main: twiddle=0, uplink=0, twiddle_rit=0
                rig_token_lookup called for civaddr
                rig_confparam_lookup called for civaddr
                rig_set_conf called
                rig_confparam_lookup called for civaddr
                rig_set_conf: civaddr='0x7c'
                2:icom.c(5260):icom_set_conf entered
                2:icom.c(5330):icom_set_conf returning(0)
                rig.c(944):rig_open entered
                rig_settings_get_path: path=/home/bcameron/.config/hamlib_settings
                rig_open: cwd=/home/bcameron
                rig_open: /home/bcameron/hamlib_settings No such file or directory
                rig_open: async_data_enable=0, async_data_supported=0
                serial_open: /dev/icom9100a
                serial_setup: tcgetattr
                serial_setup: cfmakeraw
                serial_setup: cfsetispeed=19200,0x000e
                serial_setup: cfsetospeed=19200,0x000e
                serial_setup: data_bits=8
                serial_setup: stopbits=1
                serial_setup: parity=0
                serial_setup: Handshake=None
                serial_setup: tcsetattr TCSANOW
                2:rig.c(8397):async_data_handler_start entered
                async_data_handler_start: async data support disabled since
                async_data_enabled=0
                2:rig.c(8404):async_data_handler_start returning(0)
                rig_open: 0x561a50e69e34 rs->comm_state==1?=1
                2:icom.c(1158):icom_rig_open entered
                icom_rig_open: IC-9100 v20241203.5
                3:icom.c(825):icom_get_usb_echo_off entered
                4:frame.c(525):icom_transaction entered
                icom_transaction: cmd=0x03, subcmd=0xffffffff, payload_len=0
                5:frame.c(145):icom_one_transaction entered
                write_block(): TX 6 bytes
                0000    fe fe 7c e0 03 fd ..|...
                read_string_generic(): RX 6 characters, direct=1
                0000    fe fe 7c e0 03 fd ..|...
                read_string_generic(): RX 11 characters, direct=1
                0000    fe fe e0 7c 03 00 60 06 14 00 fd ...|...... icom_one_transaction: frm_len=11, frm_len-1=fd, frm_len-2=00 *****5:frame.c(503):icom_one_transaction returning(0) ****4:frame.c(556):icom_transaction returning(0) icom_get_usb_echo_off: ack_len=6 icom_get_usb_echo_off: USB echo off detected ***3:icom.c(854):icom_get_usb_echo_off returning(0) icom_rig_open: echo status result=0 icom_get_func called ***3:icom.c(7321):icom_get_func entered ****4:frame.c(525):icom_transaction entered icom_transaction: cmd=0x16, subcmd=0x59, payload_len=0 *****5:frame.c(145):icom_one_transaction entered write_block(): TX 7 bytes 0000    fe fe 7c e0 16 59 fd ..|..Y. read_string_generic(): RX 7 characters, direct=1 0000    fe fe 7c e0 16 59 fd ..|..Y. icom_one_transaction: DEBUG retval=7, frm_len=7, cmd=0x16 read_string_generic(): RX 8 characters, direct=1 0000    fe fe e0 7c 16 59 01 fd ...|.Y.. icom_one_transaction: frm_len=8, frm_len-1=fd, frm_len-2=01 *****5:frame.c(503):icom_one_transaction returning(0) ****4:frame.c(556):icom_transaction returning(0) ***3:icom.c(7554):icom_get_func returning(0) icom_rig_open: dual_watch=1 icom_rig_open: echo status known, getting frequency ***3:rig.c(2432):rig_get_freq entered rig_get_freq called vfo=currVFO rig_get_freq(2450) called vfo=currVFO vfo_fixup:(from rig_get_freq:2457) vfo=currVFO, vfo_curr=currVFO, split=0 vfo_fixup: Leaving currVFO alone rig.c(2459) vfo=currVFO, curr_vfo=currVFO rig_get_freq: cache miss age=1000000ms, cached_vfo=currVFO, asked_vfo=currVFO, use_cached_freq=0 rig_get_freq(2572): vfo_opt=0, model=3068 icom_get_freq called for currVFO, curr_vfo=currVFO icom_get_freq: using vfo=currVFO ***icom.c(1836) trace set_vfo_curr: vfo=currVFO, curr_vfo=currVFO set_vfo_curr: Asking for currVFO,  currVFO=currVFO icom.c(9605):set_vfo_curr returning2(0) ****4:frame.c(525):icom_transaction entered icom_transaction: cmd=0x03, subcmd=0xffffffff, payload_len=0 *****5:frame.c(145):icom_one_transaction entered write_block(): TX 6 bytes 0000    fe fe 7c e0 03 fd ..|... read_string_generic(): RX 6 characters, direct=1 0000    fe fe 7c e0 03 fd ..|... read_string_generic(): RX 11 characters, direct=1 0000    fe fe e0 7c 03 00 60 06 14 00 fd ...|......
                icom_one_transaction: frm_len=11, frm_len-1=fd, frm_len-2=00
                5:frame.c(503):icom_one_transaction returning(0)
                4:frame.c(556):icom_transaction returning(0)
                icom.c(1852) trace
                4:frame.c(525):icom_transaction entered
                icom_transaction: cmd=0x03, subcmd=0xffffffff, payload_len=0
                5:frame.c(145):icom_one_transaction entered
                write_block(): TX 6 bytes
                0000    fe fe 7c e0 03 fd ..|...
                read_string_generic(): RX 6 characters, direct=1
                0000    fe fe 7c e0 03 fd ..|...
                icom_one_transaction: DEBUG retval=6, frm_len=6, cmd=0x03
                read_string_generic(): RX 11 characters, direct=1
                0000    fe fe e0 7c 03 00 60 06 14 00 fd ...|...... icom_one_transaction: frm_len=11, frm_len-1=fd, frm_len-2=00 *****5:frame.c(503):icom_one_transaction returning(0) ****4:frame.c(556):icom_transaction returning(0) ***icom.c(1852) trace set_vfo_curr: vfo=currVFO, curr_vfo=currVFO set_vfo_curr: Asking for currVFO,  currVFO=currVFO icom.c(9605):set_vfo_curr returning2(0) from_bcd called icom_get_freq exit vfo=currVFO, curr_vfo=currVFO, freq=1.4066e+07 icom.c(1932):icom_get_freq returning2(0) ***3:rig_get_freq: elapsed=43ms ***3:rig.c(2709):rig_get_freq returning(0) icom_get_func called ***3:icom.c(7321):icom_get_func entered ****4:frame.c(525):icom_transaction entered icom_transaction: cmd=0x16, subcmd=0x5a, payload_len=0 *****5:frame.c(145):icom_one_transaction entered write_block(): TX 7 bytes 0000    fe fe 7c e0 16 5a fd ..|..Z. read_string_generic(): RX 7 characters, direct=1 0000    fe fe 7c e0 16 5a fd ..|..Z. read_string_generic(): RX 8 characters, direct=1 0000    fe fe e0 7c 16 5a 00 fd ...|.Z.. icom_one_transaction: frm_len=8, frm_len-1=fd, frm_len-2=00 *****5:frame.c(503):icom_one_transaction returning(0) ****4:frame.c(556):icom_transaction returning(0) icom_get_func(7542): satmode=0 ***3:icom.c(7554):icom_get_func returning(0) **2:icom.c(1300):icom_rig_open returning(0) rig_open: vfo_curr=currVFO, tx_vfo=TX rig_open: default vfo = currVFO **2:rig.c(2432):rig_get_freq entered rig_get_freq called vfo=VFOA rig_get_freq(2450) called vfo=VFOA vfo_fixup:(from rig_get_freq:2457) vfo=VFOA, vfo_curr=currVFO, split=0 vfo_fixup: final vfo=VFOA rig.c(2459) vfo=VFOA, curr_vfo=currVFO rig_get_freq: VFOA cache hit age=21ms, freq=14066000, use_cached_freq=0 **2:rig_get_freq: elapsed=0ms **2:rig.c(2552):rig_get_freq returning(0) **2:rig.c(2432):rig_get_freq entered rig_get_freq called vfo=VFOB rig_get_freq(2450) called vfo=VFOB vfo_fixup:(from rig_get_freq:2457) vfo=VFOB, vfo_curr=currVFO, split=0 vfo_fixup: final vfo=VFOB rig.c(2459) vfo=VFOB, curr_vfo=currVFO rig_get_freq: cache miss age=1000000ms, cached_vfo=VFOB, asked_vfo=VFOB, use_cached_freq=0 rig_get_freq(2572): vfo_opt=0, model=3068 **rig.c(2620) trace icom_get_freq called for VFOB, curr_vfo=currVFO icom_get_freq: using vfo=VFOB **icom.c(1836) trace set_vfo_curr: vfo=VFOB, curr_vfo=currVFO set_vfo_curr: setting new vfo=VFOB **icom.c(9645) trace ***3:rig.c(3305):rig_set_vfo entered rig_set_vfo called vfo=VFOB rig_set_vfo called vfo=VFOB vfo_fixup:(from rig_set_vfo:3319) vfo=VFOB, vfo_curr=currVFO, split=0 vfo_fixup: final vfo=VFOB vfo_fixup:(from rig_set_vfo:3340) vfo=VFOB, vfo_curr=currVFO, split=0 vfo_fixup: final vfo=VFOB ***rig.c(3359) trace icom_set_vfo called vfo=VFOB icom_set_vfo: vfo line#3149 vfo=VFOB icom_set_vfo: VFO changing from VFOB to Sub icom_set_vfo: line#3190 icom_set_vfo: Sub asked for, ended up with vfo=VFOB icom_set_vfo: line#3377 ****4:frame.c(525):icom_transaction entered icom_transaction: cmd=0x07, subcmd=0x01, payload_len=0 *****5:frame.c(145):icom_one_transaction entered write_block(): TX 7 bytes 0000    fe fe 7c e0 07 01 fd ..|.... read_string_generic(): RX 7 characters, direct=1 0000    fe fe 7c e0 07 01 fd ..|.... icom_one_transaction: DEBUG retval=7, frm_len=7, cmd=0x07 read_string_generic(): RX 6 characters, direct=1 0000    fe fe e0 7c fb fd ...|.. icom_one_transaction: frm_len=6, frm_len-1=fd, frm_len-2=fb *****5:frame.c(503):icom_one_transaction returning(0) ****4:frame.c(556):icom_transaction returning(0) icom_set_vfo: line#3380 icom_set_vfo: line#3393 curr_vfo=Sub icom.c(3395):icom_set_vfo returning2(0) rig_set_vfo: rs->current_vfo=Sub ***rig.c(3387) trace icom_get_freq called for Sub, curr_vfo=Sub icom_get_freq: using vfo=Sub ***icom.c(1836) trace set_vfo_curr: vfo=Sub, curr_vfo=Sub set_vfo_curr: curr_vfo now=Sub icom.c(9660):set_vfo_curr returning2(0) ****4:frame.c(525):icom_transaction entered icom_transaction: cmd=0x03, subcmd=0xffffffff, payload_len=0 *****5:frame.c(145):icom_one_transaction entered write_block(): TX 6 bytes 0000    fe fe 7c e0 03 fd ..|... read_string_generic(): RX 6 characters, direct=1 0000    fe fe 7c e0 03 fd ..|... read_string_generic(): RX 11 characters, direct=1 0000    fe fe e0 7c 03 00 10 07 14 00 fd ...|....... icom_one_transaction: frm_len=11, frm_len-1=fd, frm_len-2=00 *****5:frame.c(503):icom_one_transaction returning(0) ****4:frame.c(556):icom_transaction returning(0) ***icom.c(1852) trace ****4:frame.c(525):icom_transaction entered icom_transaction: cmd=0x03, subcmd=0xffffffff, payload_len=0 *****5:frame.c(145):icom_one_transaction entered write_block(): TX 6 bytes 0000    fe fe 7c e0 03 fd ..|... read_string_generic(): RX 6 characters, direct=1 0000    fe fe 7c e0 03 fd ..|... icom_one_transaction: DEBUG retval=6, frm_len=6, cmd=0x03 read_string_generic(): RX 11 characters, direct=1 0000    fe fe e0 7c 03 00 10 07 14 00 fd ...|....... icom_one_transaction: frm_len=11, frm_len-1=fd, frm_len-2=00 *****5:frame.c(503):icom_one_transaction returning(0) ****4:frame.c(556):icom_transaction returning(0) ***icom.c(1852) trace set_vfo_curr: vfo=Sub, curr_vfo=Sub set_vfo_curr: curr_vfo now=Sub icom.c(9660):set_vfo_curr returning2(0) from_bcd called icom_get_freq exit vfo=Sub, curr_vfo=Sub, freq=1.4071e+07 icom.c(1932):icom_get_freq returning2(0) rig_set_vfo: retcode from rig_get_freq = 0 rig_set_vfo: returning 0, vfo=Sub, curr_vfo=Sub ***3:rig_set_vfo: elapsed=64ms ***3:rig.c(3413):rig_set_vfo returning(0) set_vfo_curr: curr_vfo now=Sub icom.c(9660):set_vfo_curr returning2(0) ***3:frame.c(525):icom_transaction entered icom_transaction: cmd=0x03, subcmd=0xffffffff, payload_len=0 ****4:frame.c(145):icom_one_transaction entered write_block(): TX 6 bytes 0000    fe fe 7c e0 03 fd ..|... read_string_generic(): RX 6 characters, direct=1 0000    fe fe 7c e0 03 fd ..|... read_string_generic(): RX 11 characters, direct=1 0000    fe fe e0 7c 03 00 10 07 14 00 fd ...|....... icom_one_transaction: frm_len=11, frm_len-1=fd, frm_len-2=00 ****4:frame.c(503):icom_one_transaction returning(0) ***3:frame.c(556):icom_transaction returning(0) **icom.c(1852) trace ***3:frame.c(525):icom_transaction entered icom_transaction: cmd=0x03, subcmd=0xffffffff, payload_len=0 ****4:frame.c(145):icom_one_transaction entered write_block(): TX 6 bytes 0000    fe fe 7c e0 03 fd ..|... read_string_generic(): RX 6 characters, direct=1 0000    fe fe 7c e0 03 fd ..|... icom_one_transaction: DEBUG retval=6, frm_len=6, cmd=0x03 read_string_generic(): RX 11 characters, direct=1 0000    fe fe e0 7c 03 00 10 07 14 00 fd ...|....... icom_one_transaction: frm_len=11, frm_len-1=fd, frm_len-2=00 ****4:frame.c(503):icom_one_transaction returning(0) ***3:frame.c(556):icom_transaction returning(0) **icom.c(1852) trace set_vfo_curr: vfo=currVFO, curr_vfo=VFOB set_vfo_curr: Asking for currVFO,  currVFO=VFOB icom.c(9605):set_vfo_curr returning2(0) from_bcd called icom_get_freq exit vfo=VFOB, curr_vfo=VFOB, freq=1.4071e+07 icom.c(1932):icom_get_freq returning2(0) icom_set_vfo called vfo=VFOB icom_set_vfo: vfo line#3149 vfo=VFOB icom_set_vfo: VFO changing from VFOB to Sub icom_set_vfo: line#3190 icom_set_vfo: Sub asked for, ended up with vfo=VFOB icom_set_vfo: line#3377 ***3:frame.c(525):icom_transaction entered icom_transaction: cmd=0x07, subcmd=0x01, payload_len=0 ****4:frame.c(145):icom_one_transaction entered write_block(): TX 7 bytes 0000    fe fe 7c e0 07 01 fd ..|.... read_string_generic(): RX 7 characters, direct=1 0000    fe fe 7c e0 07 01 fd ..|.... read_string_generic(): RX 6 characters, direct=1 0000    fe fe e0 7c fb fd ...|.. icom_one_transaction: frm_len=6, frm_len-1=fd, frm_len-2=fb ****4:frame.c(503):icom_one_transaction returning(0) ***3:frame.c(556):icom_transaction returning(0) icom_set_vfo: line#3380 icom_set_vfo: line#3393 curr_vfo=Sub icom.c(3395):icom_set_vfo returning2(0) **rig.c(2643) trace icom_get_freq called for VFOB, curr_vfo=Sub icom_get_freq: using vfo=VFOB **icom.c(1836) trace set_vfo_curr: vfo=VFOB, curr_vfo=Sub set_vfo_curr: setting new vfo=VFOB **icom.c(9645) trace ***3:rig.c(3305):rig_set_vfo entered rig_set_vfo called vfo=VFOB rig_set_vfo called vfo=VFOB vfo_fixup:(from rig_set_vfo:3319) vfo=VFOB, vfo_curr=Sub, split=0 vfo_fixup: final vfo=VFOB vfo_fixup:(from rig_set_vfo:3340) vfo=VFOB, vfo_curr=Sub, split=0 vfo_fixup: final vfo=VFOB ***rig.c(3359) trace icom_set_vfo called vfo=VFOB icom_set_vfo: vfo line#3149 vfo=VFOB icom_set_vfo: VFO changing from VFOB to Sub icom_set_vfo: line#3190 icom_set_vfo: Sub asked for, ended up with vfo=VFOB icom_set_vfo: line#3377 ****4:frame.c(525):icom_transaction entered icom_transaction: cmd=0x07, subcmd=0x01, payload_len=0 *****5:frame.c(145):icom_one_transaction entered write_block(): TX 7 bytes 0000    fe fe 7c e0 07 01 fd ..|.... read_string_generic(): RX 7 characters, direct=1 0000    fe fe 7c e0 07 01 fd ..|.... icom_one_transaction: DEBUG retval=7, frm_len=7, cmd=0x07 read_string_generic(): RX 6 characters, direct=1 0000    fe fe e0 7c fb fd ...|.. icom_one_transaction: frm_len=6, frm_len-1=fd, frm_len-2=fb *****5:frame.c(503):icom_one_transaction returning(0) ****4:frame.c(556):icom_transaction returning(0) icom_set_vfo: line#3380 icom_set_vfo: line#3393 curr_vfo=Sub icom.c(3395):icom_set_vfo returning2(0) rig_set_vfo: rs->current_vfo=Sub ***rig.c(3387) trace icom_get_freq called for Sub, curr_vfo=Sub icom_get_freq: using vfo=Sub ***icom.c(1836) trace set_vfo_curr: vfo=Sub, curr_vfo=Sub set_vfo_curr: curr_vfo now=Sub icom.c(9660):set_vfo_curr returning2(0) ****4:frame.c(525):icom_transaction entered icom_transaction: cmd=0x03, subcmd=0xffffffff, payload_len=0 *****5:frame.c(145):icom_one_transaction entered write_block(): TX 6 bytes 0000    fe fe 7c e0 03 fd ..|... read_string_generic(): RX 6 characters, direct=1 0000    fe fe 7c e0 03 fd ..|... read_string_generic(): RX 11 characters, direct=1 0000    fe fe e0 7c 03 00 10 07 14 00 fd ...|....... icom_one_transaction: frm_len=11, frm_len-1=fd, frm_len-2=00 *****5:frame.c(503):icom_one_transaction returning(0) ****4:frame.c(556):icom_transaction returning(0) ***icom.c(1852) trace ****4:frame.c(525):icom_transaction entered icom_transaction: cmd=0x03, subcmd=0xffffffff, payload_len=0 *****5:frame.c(145):icom_one_transaction entered write_block(): TX 6 bytes 0000    fe fe 7c e0 03 fd ..|... read_string_generic(): RX 6 characters, direct=1 0000    fe fe 7c e0 03 fd ..|... icom_one_transaction: DEBUG retval=6, frm_len=6, cmd=0x03 read_string_generic(): RX 11 characters, direct=1 0000    fe fe e0 7c 03 00 10 07 14 00 fd ...|....... icom_one_transaction: frm_len=11, frm_len-1=fd, frm_len-2=00 *****5:frame.c(503):icom_one_transaction returning(0) ****4:frame.c(556):icom_transaction returning(0) ***icom.c(1852) trace set_vfo_curr: vfo=Sub, curr_vfo=Sub set_vfo_curr: curr_vfo now=Sub icom.c(9660):set_vfo_curr returning2(0) from_bcd called icom_get_freq exit vfo=Sub, curr_vfo=Sub, freq=1.4071e+07 icom.c(1932):icom_get_freq returning2(0) rig_set_vfo: retcode from rig_get_freq = 0 rig_set_vfo: returning 0, vfo=Sub, curr_vfo=Sub ***3:rig_set_vfo: elapsed=61ms ***3:rig.c(3413):rig_set_vfo returning(0) set_vfo_curr: curr_vfo now=Sub icom.c(9660):set_vfo_curr returning2(0) ***3:frame.c(525):icom_transaction entered icom_transaction: cmd=0x03, subcmd=0xffffffff, payload_len=0 ****4:frame.c(145):icom_one_transaction entered write_block(): TX 6 bytes 0000    fe fe 7c e0 03 fd ..|... read_string_generic(): RX 6 characters, direct=1 0000    fe fe 7c e0 03 fd ..|... read_string_generic(): RX 11 characters, direct=1 0000    fe fe e0 7c 03 00 10 07 14 00 fd ...|....... icom_one_transaction: frm_len=11, frm_len-1=fd, frm_len-2=00 ****4:frame.c(503):icom_one_transaction returning(0) ***3:frame.c(556):icom_transaction returning(0) **icom.c(1852) trace ***3:frame.c(525):icom_transaction entered icom_transaction: cmd=0x03, subcmd=0xffffffff, payload_len=0 ****4:frame.c(145):icom_one_transaction entered write_block(): TX 6 bytes 0000    fe fe 7c e0 03 fd ..|... read_string_generic(): RX 6 characters, direct=1 0000    fe fe 7c e0 03 fd ..|... icom_one_transaction: DEBUG retval=6, frm_len=6, cmd=0x03 read_string_generic(): RX 11 characters, direct=1 0000    fe fe e0 7c 03 00 10 07 14 00 fd ...|....... icom_one_transaction: frm_len=11, frm_len-1=fd, frm_len-2=00 ****4:frame.c(503):icom_one_transaction returning(0) ***3:frame.c(556):icom_transaction returning(0) **icom.c(1852) trace set_vfo_curr: vfo=Sub, curr_vfo=VFOB set_vfo_curr: curr_vfo now=VFOB icom.c(9660):set_vfo_curr returning2(0) from_bcd called icom_get_freq exit vfo=VFOB, curr_vfo=Sub, freq=1.4071e+07 icom.c(1932):icom_get_freq returning2(0) icom_set_vfo called vfo=currVFO icom_set_vfo: Asking for currVFO,  currVFO=Sub icom.c(3101):icom_set_vfo returning2(0) **2:rig_get_freq: elapsed=233ms **2:rig.c(2709):rig_get_freq returning(0) **2:rig.c(5927):rig_get_split_vfo entered rig_get_split_vfo: cache check age=1000000ms rig_get_split_vfo: cache miss age=1000000ms **rig.c(5974) trace ***3:icom.c(6795):icom_get_split_vfo entered ****4:frame.c(525):icom_transaction entered icom_transaction: cmd=0x0f, subcmd=0xffffffff, payload_len=0 *****5:frame.c(145):icom_one_transaction entered write_block(): TX 6 bytes 0000    fe fe 7c e0 0f fd ..|... read_string_generic(): RX 6 characters, direct=1 0000    fe fe 7c e0 0f fd ..|... read_string_generic(): RX 7 characters, direct=1 0000    fe fe e0 7c 0f 00 fd ...|... icom_one_transaction: frm_len=7, frm_len-1=fd, frm_len-2=00 *****5:frame.c(503):icom_one_transaction returning(0) ****4:frame.c(556):icom_transaction returning(0) icom_get_func called ****4:icom.c(7321):icom_get_func entered *****5:frame.c(525):icom_transaction entered icom_transaction: cmd=0x16, subcmd=0x5a, payload_len=0 ******6:frame.c(145):icom_one_transaction entered write_block(): TX 7 bytes 0000    fe fe 7c e0 16 5a fd ..|..Z. read_string_generic(): RX 7 characters, direct=1 0000    fe fe 7c e0 16 5a fd ..|..Z. icom_one_transaction: DEBUG retval=7, frm_len=7, cmd=0x16 read_string_generic(): RX 8 characters, direct=1 0000    fe fe e0 7c 16 5a 00 fd ...|.Z.. icom_one_transaction: frm_len=8, frm_len-1=fd, frm_len-2=00 ******6:frame.c(503):icom_one_transaction returning(0) *****5:frame.c(556):icom_transaction returning(0) icom_get_func(7542): satmode=0 ****4:icom.c(7554):icom_get_func returning(0) ****4:icom.c(5678):icom_get_split_vfos entered icom_get_func called *****5:icom.c(7321):icom_get_func entered ******6:frame.c(525):icom_transaction entered icom_transaction: cmd=0x16, subcmd=0x5a, payload_len=0 *******7:frame.c(145):icom_one_transaction entered write_block(): TX 7 bytes 0000    fe fe 7c e0 16 5a fd ..|..Z. read_string_generic(): RX 7 characters, direct=1 0000    fe fe 7c e0 16 5a fd ..|..Z. read_string_generic(): RX 8 characters, direct=1 0000    fe fe e0 7c 16 5a 00 fd ...|.Z.. icom_one_transaction: frm_len=8, frm_len-1=fd, frm_len-2=00 *******7:frame.c(503):icom_one_transaction returning(0) ******6:frame.c(556):icom_transaction returning(0) icom_get_func(7542): satmode=0 *****5:icom.c(7554):icom_get_func returning(0) icom_get_split_vfos: VFO_HAS_MAIN_SUB_A_B_ONLY, split=0, rx=Sub, tx=Sub ****4:icom.c(5764):icom_get_split_vfos returning(0) icom_get_split_vfo: rx_vfo=currVFO rx_vfo=Sub tx_vfo=Sub split=0 ***3:icom.c(6858):icom_get_split_vfo returning(0) rig_get_split_vfo(5984): cache.split=0 **2:rig_get_split_vfo: elapsed=59ms **2:rig.c(5989):rig_get_split_vfo returning(0) rig_open(1564): Current split=0, tx_vfo=Sub **2:rig.c(2974):rig_get_mode entered vfo_fixup:(from rig_get_mode:2993) vfo=VFOA, vfo_curr=Sub, split=0 vfo_fixup: final vfo=VFOA rig_get_mode: VFOA cache check age=355ms rig_get_mode: cache miss age mode=355ms, width=355ms rig_get_mode(3060): vfo=VFOA, curr_vfo=Sub **rig.c(3062) trace icom_set_vfo called vfo=VFOA icom_set_vfo: vfo line#3137 vfo=VFOA, split=0 icom_set_vfo: VFO changing from Sub to Main icom_set_vfo: line#3190 icom_set_vfo: Main asked for, ended up with vfo=VFOA icom_set_vfo: line#3377 ***3:frame.c(525):icom_transaction entered icom_transaction: cmd=0x07, subcmd=0x00, payload_len=0 ****4:frame.c(145):icom_one_transaction entered write_block(): TX 7 bytes 0000    fe fe 7c e0 07 00 fd ..|.... read_string_generic(): RX 7 characters, direct=1 0000    fe fe 7c e0 07 00 fd ..|.... icom_one_transaction: DEBUG retval=7, frm_len=7, cmd=0x07 read_string_generic(): RX 6 characters, direct=1 0000    fe fe e0 7c fb fd ...|.. icom_one_transaction: frm_len=6, frm_len-1=fd, frm_len-2=fb ****4:frame.c(503):icom_one_transaction returning(0) ***3:frame.c(556):icom_transaction returning(0) icom_set_vfo: line#3380 icom_set_vfo: line#3393 curr_vfo=Main icom.c(3395):icom_set_vfo returning2(0) **rig.c(3074) trace icom.c(2896):icom_get_mode entered icom_get_mode called vfo=VFOA set_vfo_curr: vfo=VFOA, curr_vfo=Main set_vfo_curr: setting new vfo=VFOA **icom.c(9645) trace ***3:rig.c(3305):rig_set_vfo entered rig_set_vfo called vfo=VFOA vfo_fixup:(from rig_set_vfo:3319) vfo=VFOA, vfo_curr=Main, split=0 vfo_fixup: final vfo=VFOA vfo_fixup:(from rig_set_vfo:3340) vfo=VFOA, vfo_curr=Main, split=0 vfo_fixup: final vfo=VFOA ***rig.c(3359) trace icom_set_vfo called vfo=VFOA icom_set_vfo: vfo line#3137 vfo=VFOA, split=0 icom_set_vfo: VFO changing from VFOA to Main icom_set_vfo: line#3190 icom_set_vfo: Main asked for, ended up with vfo=VFOA icom_set_vfo: line#3377 ****4:frame.c(525):icom_transaction entered icom_transaction: cmd=0x07, subcmd=0x00, payload_len=0 *****5:frame.c(145):icom_one_transaction entered write_block(): TX 7 bytes 0000    fe fe 7c e0 07 00 fd ..|.... read_string_generic(): RX 7 characters, direct=1 0000    fe fe 7c e0 07 00 fd ..|.... read_string_generic(): RX 6 characters, direct=1 0000    fe fe e0 7c fb fd ...|.. icom_one_transaction: frm_len=6, frm_len-1=fd, frm_len-2=fb *****5:frame.c(503):icom_one_transaction returning(0) ****4:frame.c(556):icom_transaction returning(0) icom_set_vfo: line#3380 icom_set_vfo: line#3393 curr_vfo=Main icom.c(3395):icom_set_vfo returning2(0) rig_set_vfo: rs->current_vfo=Main ***rig.c(3387) trace icom_get_freq called for Main, curr_vfo=Main icom_get_freq: using vfo=Main ***icom.c(1836) trace set_vfo_curr: vfo=Main, curr_vfo=Main set_vfo_curr: curr_vfo now=Main icom.c(9660):set_vfo_curr returning2(0) ****4:frame.c(525):icom_transaction entered icom_transaction: cmd=0x03, subcmd=0xffffffff, payload_len=0 *****5:frame.c(145):icom_one_transaction entered write_block(): TX 6 bytes 0000    fe fe 7c e0 03 fd ..|... read_string_generic(): RX 6 characters, direct=1 0000    fe fe 7c e0 03 fd ..|... icom_one_transaction: DEBUG retval=6, frm_len=6, cmd=0x03 read_string_generic(): RX 11 characters, direct=1 0000    fe fe e0 7c 03 00 60 06 14 00 fd ...|......
                icom_one_transaction: frm_len=11, frm_len-1=fd, frm_len-2=00
                5:frame.c(503):icom_one_transaction returning(0)
                4:frame.c(556):icom_transaction returning(0)
                icom.c(1852) trace
                4:frame.c(525):icom_transaction entered
                icom_transaction: cmd=0x03, subcmd=0xffffffff, payload_len=0
                5:frame.c(145):icom_one_transaction entered
                write_block(): TX 6 bytes
                0000    fe fe 7c e0 03 fd ..|...
                read_string_generic(): RX 6 characters, direct=1
                0000    fe fe 7c e0 03 fd ..|...
                read_string_generic(): RX 11 characters, direct=1
                0000    fe fe e0 7c 03 00 60 06 14 00 fd ...|...... icom_one_transaction: frm_len=11, frm_len-1=fd, frm_len-2=00 *****5:frame.c(503):icom_one_transaction returning(0) ****4:frame.c(556):icom_transaction returning(0) ***icom.c(1852) trace set_vfo_curr: vfo=Main, curr_vfo=Main set_vfo_curr: curr_vfo now=Main icom.c(9660):set_vfo_curr returning2(0) from_bcd called icom_get_freq exit vfo=Main, curr_vfo=Main, freq=1.4066e+07 icom.c(1932):icom_get_freq returning2(0) rig_set_vfo: retcode from rig_get_freq = 0 rig_set_vfo: returning 0, vfo=Main, curr_vfo=Main ***3:rig_set_vfo: elapsed=63ms ***3:rig.c(3413):rig_set_vfo returning(0) set_vfo_curr: curr_vfo now=Main icom.c(9660):set_vfo_curr returning2(0) icom.c(2731):icom_get_mode_without_data entered icom_get_mode_without_data called vfo=VFOA **icom.c(2737) trace ***3:frame.c(525):icom_transaction entered icom_transaction: cmd=0x04, subcmd=0xffffffff, payload_len=0 ****4:frame.c(145):icom_one_transaction entered write_block(): TX 6 bytes 0000    fe fe 7c e0 04 fd ..|... read_string_generic(): RX 6 characters, direct=1 0000    fe fe 7c e0 04 fd ..|... icom_one_transaction: DEBUG retval=6, frm_len=6, cmd=0x04 read_string_generic(): RX 8 characters, direct=1 0000    fe fe e0 7c 04 01 03 fd ...|.... icom_one_transaction: frm_len=8, frm_len-1=fd, frm_len-2=03 ****4:frame.c(503):icom_one_transaction returning(0) ***3:frame.c(556):icom_transaction returning(0) icom_get_mode_without_data(2781): modebuf[0]=0x04, modebuf[1]=0x01, mode_len=2 icom2rig_mode: mode=0x01, pd=3 ***3:rig.c(3185):rig_passband_narrow entered ***3:rig.c(3204):rig_passband_narrow returning(0) icom_get_dsp_flt called, mode=USB ***3:frame.c(525):icom_transaction entered icom_transaction: cmd=0x1a, subcmd=0x03, payload_len=0 ****4:frame.c(145):icom_one_transaction entered write_block(): TX 7 bytes 0000    fe fe 7c e0 1a 03 fd ..|.... read_string_generic(): RX 7 characters, direct=1 0000    fe fe 7c e0 1a 03 fd ..|.... read_string_generic(): RX 8 characters, direct=1 0000    fe fe e0 7c 1a 03 29 fd ...|..). icom_one_transaction: frm_len=8, frm_len-1=fd, frm_len-2=29 ****4:frame.c(503):icom_one_transaction returning(0) ***3:frame.c(556):icom_transaction returning(0) from_bcd called icom_get_dsp_flt: i=29, [0]=1a, [1]=03, [2]=29, [3]=00 icom_get_dsp_flt: using filtericom width=29 icom.c(2116):icom_get_dsp_flt returning2(2500) icom.c(2879):icom_get_mode_without_data returning2(0) icom_get_mode mode=4 ***3:frame.c(525):icom_transaction entered icom_transaction: cmd=0x1a, subcmd=0x06, payload_len=0 ****4:frame.c(145):icom_one_transaction entered write_block(): TX 7 bytes 0000    fe fe 7c e0 1a 06 fd ..|.... read_string_generic(): RX 7 characters, direct=1 0000    fe fe 7c e0 1a 06 fd ..|.... icom_one_transaction: DEBUG retval=7, frm_len=7, cmd=0x1a read_string_generic(): RX 9 characters, direct=1 0000    fe fe e0 7c 1a 06 01 03 fd ...|..... icom_one_transaction: frm_len=9, frm_len-1=fd, frm_len-2=03 ****4:frame.c(503):icom_one_transaction returning(0) ***3:frame.c(556):icom_transaction returning(0) icom_get_mode databuf[2]=1, mode=4 set_vfo_curr: vfo=Main, curr_vfo=VFOA set_vfo_curr: setting new vfo=Main **icom.c(9645) trace ***3:rig.c(3305):rig_set_vfo entered rig_set_vfo called vfo=Main vfo_fixup:(from rig_set_vfo:3319) vfo=Main, vfo_curr=VFOA, split=0 vfo_fixup: final vfo=VFOA vfo_fixup:(from rig_set_vfo:3340) vfo=VFOA, vfo_curr=VFOA, split=0 vfo_fixup: final vfo=VFOA ***rig.c(3359) trace icom_set_vfo called vfo=VFOA icom_set_vfo: vfo line#3137 vfo=VFOA, split=0 icom_set_vfo: VFO changing from VFOA to Main icom_set_vfo: line#3190 icom_set_vfo: Main asked for, ended up with vfo=VFOA icom_set_vfo: line#3377 ****4:frame.c(525):icom_transaction entered icom_transaction: cmd=0x07, subcmd=0x00, payload_len=0 *****5:frame.c(145):icom_one_transaction entered write_block(): TX 7 bytes 0000    fe fe 7c e0 07 00 fd ..|.... read_string_generic(): RX 7 characters, direct=1 0000    fe fe 7c e0 07 00 fd ..|.... read_string_generic(): RX 6 characters, direct=1 0000    fe fe e0 7c fb fd ...|.. icom_one_transaction: frm_len=6, frm_len-1=fd, frm_len-2=fb *****5:frame.c(503):icom_one_transaction returning(0) ****4:frame.c(556):icom_transaction returning(0) icom_set_vfo: line#3380 icom_set_vfo: line#3393 curr_vfo=Main icom.c(3395):icom_set_vfo returning2(0) rig_set_vfo: rs->current_vfo=Main ***rig.c(3387) trace icom_get_freq called for Main, curr_vfo=Main icom_get_freq: using vfo=Main ***icom.c(1836) trace set_vfo_curr: vfo=Main, curr_vfo=Main set_vfo_curr: curr_vfo now=Main icom.c(9660):set_vfo_curr returning2(0) ****4:frame.c(525):icom_transaction entered icom_transaction: cmd=0x03, subcmd=0xffffffff, payload_len=0 *****5:frame.c(145):icom_one_transaction entered write_block(): TX 6 bytes 0000    fe fe 7c e0 03 fd ..|... read_string_generic(): RX 6 characters, direct=1 0000    fe fe 7c e0 03 fd ..|... icom_one_transaction: DEBUG retval=6, frm_len=6, cmd=0x03 read_string_generic(): RX 11 characters, direct=1 0000    fe fe e0 7c 03 00 60 06 14 00 fd ...|......
                icom_one_transaction: frm_len=11, frm_len-1=fd, frm_len-2=00
                5:frame.c(503):icom_one_transaction returning(0)
                4:frame.c(556):icom_transaction returning(0)
                icom.c(1852) trace
                4:frame.c(525):icom_transaction entered
                icom_transaction: cmd=0x03, subcmd=0xffffffff, payload_len=0
                5:frame.c(145):icom_one_transaction entered
                write_block(): TX 6 bytes
                0000    fe fe 7c e0 03 fd ..|...
                read_string_generic(): RX 6 characters, direct=1
                0000    fe fe 7c e0 03 fd ..|...
                read_string_generic(): RX 11 characters, direct=1
                0000    fe fe e0 7c 03 00 60 06 14 00 fd ...|..`....
                icom_one_transaction: frm_len=11, frm_len-1=fd, frm_len-2=00
                5:frame.c(503):icom_one_transaction returning(0)
                4:frame.c(556):icom_transaction returning(0)
                icom.c(1852) trace
                set_vfo_curr: vfo=Main, curr_vfo=Main
                set_vfo_curr: curr_vfo now=Main
                icom.c(9660):set_vfo_curr returning2(0)
                from_bcd called
                icom_get_freq exit vfo=Main, curr_vfo=Main, freq=1.4066e+07
                icom.c(1932):icom_get_freq returning2(0)
                rig_set_vfo: retcode from rig_get_freq = 0
                rig_set_vfo: returning 0, vfo=Main, curr_vfo=Main
                3:rig_set_vfo: elapsed=63ms
                3:rig.c(3413):rig_set_vfo returning(0)
                set_vfo_curr: curr_vfo now=Main
                icom.c(9660):set_vfo_curr returning2(0)
                icom.c(3036):icom_get_mode returning2(0)
                icom_set_vfo called vfo=Sub
                icom_set_vfo: Rig does not have MAIN/SUB so Sub changed to VFOB
                icom_set_vfo: VFO changing from Main to VFOB
                icom_set_vfo: line#3190
                icom_set_vfo: line#3377
                3:frame.c(525):icom_transaction entered
                icom_transaction: cmd=0x07, subcmd=0x01, payload_len=0
                4:frame.c(145):icom_one_transaction entered
                write_block(): TX 7 bytes
                0000    fe fe 7c e0 07 01 fd ..|....
                read_string_generic(): RX 7 characters, direct=1
                0000    fe fe 7c e0 07 01 fd ..|....
                icom_one_transaction: DEBUG retval=7, frm_len=7, cmd=0x07
                read_string_generic(): RX 6 characters, direct=1
                0000    fe fe e0 7c fb fd ...|..
                icom_one_transaction: frm_len=6, frm_len-1=fd, frm_len-2=fb
                4:frame.c(503):icom_one_transaction returning(0)
                3:frame.c(556):icom_transaction returning(0)
                icom_set_vfo: line#3380
                icom_set_vfo: line#3393 curr_vfo=VFOB
                icom.c(3395):icom_set_vfo returning2(0)
                3:cache.c(40):rig_set_cache_mode entered
                3:cache.c(156):rig_set_cache_mode returning(0)
                2:rig_get_mode: elapsed=228ms
                2:rig.c(3106):rig_get_mode returning(0)
                2:network.c(1589):network_multicast_publisher_start entered
                network.c(1598): multicast publisher address=0.0.0.0, port=4532
                network.c(1616): not starting multicast publisher
                2:network.c(1618):network_multicast_publisher_start returning(0)
                2:network.c(1800):network_multicast_receiver_start entered
                network.c(1810): multicast receiver address=0.0.0.0, port=4532
                network.c(1817): not starting multicast receiver
                2:network.c(1819):network_multicast_receiver_start returning(0)
                2:event.c(272):rig_poll_routine_start entered
                *2:event.c(312):rig_poll_routine_start returning(0)
                rig.c(287):add_opened_rig entered
                rig.c(299):add_opened_rig returning2(0)
                event.c(85): Starting rig poll routine thread
                rig.c(1641):rig_open returning2(0)
                rig_set_cache_timeout_ms: called selection=0, ms=1000
                Opened rig model 3068, 'IC-9100'
                Backend version: 20241203.5, Status: Stable
                main: Using IPV4
                main: rigctld listening on port 4532

                (ctrl-c)

                Terminating application, caught signal 2
                main: select() failed: Interrupted system call
                main: ctrl_c when retcode==-1
                main: while loop done
                mutex_rigctld: client lock engaged
                2:rig.c(1672):rig_close entered
                3:rig.c(8523):morse_data_handler_stop entered
                3:rig.c(8569):morse_data_handler_stop returning(0)
                3:rig.c(8482):async_data_handler_stop entered
                3:rig.c(8513):async_data_handler_stop returning(0)
                3:event.c(327):rig_poll_routine_stop entered
                event.c(253): Stopping rig poll routine thread
                3:event.c(362):rig_poll_routine_stop returning(0)
                3:network.c(1908):network_multicast_receiver_stop entered
                3:network.c(1917):network_multicast_receiver_stop returning(0)
                3:network.c(1740):network_multicast_publisher_stop entered
                3:network.c(1749):network_multicast_publisher_stop returning(0)
                3:icom.c(1312):icom_rig_close entered
                3:icom.c(1336):icom_rig_close returning(0)
                ser_close: restoring options
                rig_close(1814): 0x56220023be34 rs->comm_state==0?=0
                2:rig.c(1818):rig_close returning(0)
                mutex_rigctld: client lock disengaged
                2:icom.c(789):icom_cleanup entered
                2:icom.c(809):icom_cleanup returning(0)

                On 26/12/24 15:46, Michael Black wrote:

                Yes -- if you can get some debug that shows wrong behavior (other than
                the VFO swap).

                 
        • Michael Black

          Michael Black - 2024-12-25

          skip_init should no longer be necessary now in your example.
          Grab the current version from git since I put in a patch that makes it automatic when commands are on the line.

          Mike W9MDB

          On Tuesday, December 24, 2024 at 06:15:00 PM CST, Bob VK2YQA vk2yqa@users.sourceforge.net wrote:

          Thanks Mike

          That solved the problem. Thought it worth a mention though that --skipinit is not in the man page, but skip_init is and fails as follows

          $ rigctl -m 2 skip_init f
          rigctld: Hamlib 4.7~git 2024-12-22T21:48:56Z SHA=8589d5 64-bit
          14066000
          Command '' not found!

          and to verify the syntax

          $ rigctl -m 2 get_rig_info f
          rigctld: Hamlib 4.7~git 2024-12-22T21:48:56Z SHA=8589d5 64-bit
          VFO=VFOA Freq=14066000 Mode=PKTUSB Width=2500 RX=1 TX=1
          VFO=VFOB Freq=14071030 Mode=None Width=0 RX=0 TX=0
          Split=0 SatMode=0
          Rig=NET rigctl
          App=Hamlib
          Version=20241103 1.1.0
          Model=2
          CRC=0x4d38dbda

          14066000

          Also to elaborate on the VFOA/VFOB "fail" per previous - when I launch;

          $ rigctld -m 3068 -c 0x7c -s 19200 -r /dev/icom9100a

          whilst VFOA is showing on the rig display, it toggles VFOB, VFOA then back to VFOB
          whilst VFOB is showing on the rig display, it toggles VFOA, then back to VFOB

          There being no --skipinit option for this?

          A rig reset is not really a test option.

          Is it worth posting the lengthy vvvv log for both the rigctld command?

          Cheers Bob VK2YQA


          rigctl>rigctld vfoA>B toggle issue Icom


          Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/hamlib/discussion/25919/

          To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

           
        • Michael Black

          Michael Black - 2024-12-25

          Also --skipinit should work in the current version.

          On Tuesday, December 24, 2024 at 06:15:00 PM CST, Bob VK2YQA vk2yqa@users.sourceforge.net wrote:

          Thanks Mike

          That solved the problem. Thought it worth a mention though that --skipinit is not in the man page, but skip_init is and fails as follows

          $ rigctl -m 2 skip_init f
          rigctld: Hamlib 4.7~git 2024-12-22T21:48:56Z SHA=8589d5 64-bit
          14066000
          Command '' not found!

          and to verify the syntax

          $ rigctl -m 2 get_rig_info f
          rigctld: Hamlib 4.7~git 2024-12-22T21:48:56Z SHA=8589d5 64-bit
          VFO=VFOA Freq=14066000 Mode=PKTUSB Width=2500 RX=1 TX=1
          VFO=VFOB Freq=14071030 Mode=None Width=0 RX=0 TX=0
          Split=0 SatMode=0
          Rig=NET rigctl
          App=Hamlib
          Version=20241103 1.1.0
          Model=2
          CRC=0x4d38dbda

          14066000

          Also to elaborate on the VFOA/VFOB "fail" per previous - when I launch;

          $ rigctld -m 3068 -c 0x7c -s 19200 -r /dev/icom9100a

          whilst VFOA is showing on the rig display, it toggles VFOB, VFOA then back to VFOB
          whilst VFOB is showing on the rig display, it toggles VFOA, then back to VFOB

          There being no --skipinit option for this?

          A rig reset is not really a test option.

          Is it worth posting the lengthy vvvv log for both the rigctld command?

          Cheers Bob VK2YQA


          rigctl>rigctld vfoA>B toggle issue Icom


          Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/hamlib/discussion/25919/

          To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

           

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.