Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Malachite SDR TS-480 not working #645

Closed
mdblack98 opened this issue Apr 4, 2021 · 19 comments
Closed

Malachite SDR TS-480 not working #645

mdblack98 opened this issue Apr 4, 2021 · 19 comments
Labels
critical A problem for common operations with WSJT-X, GPredict, RigPi, etc. enhancement

Comments

@mdblack98
Copy link
Contributor

mdblack98 commented Apr 4, 2021

Malachite SDR uses TS-480 emulation but does not work with set_freq in hamlib.
Seems SDR does not like having the ID command sent immediately after a set command (at least FA/FB)
FA0000185000;ID;

So we'll add new parm NO_ID that can be set true that will not send the ID; with every set command

Along with that a new Malachite SDR model will be added

@mdblack98 mdblack98 added enhancement critical A problem for common operations with WSJT-X, GPredict, RigPi, etc. labels Apr 4, 2021
@mdblack98 mdblack98 added this to the 4.2 milestone Apr 4, 2021
@mdblack98 mdblack98 added the needs test Patches have been submitted but need testing to close issue label Apr 4, 2021
mdblack98 added a commit that referenced this issue Apr 4, 2021
@mdblack98 mdblack98 removed the needs test Patches have been submitted but need testing to close issue label Apr 5, 2021
mdblack98 added a commit that referenced this issue Apr 6, 2021
mdblack98 added a commit that referenced this issue Apr 6, 2021
mdblack98 added a commit that referenced this issue Apr 6, 2021
mdblack98 added a commit that referenced this issue Apr 6, 2021
@mdblack98 mdblack98 modified the milestones: 4.2, 4.3 Apr 6, 2021
@mdblack98
Copy link
Contributor Author

Malachite firmware has a bug when changing across HF/VHF/UHF/GHz where it doesn't change frequency and you have to select a different frequency and then your target to get it to change. I'm not inclined to fix a firmware bug like this in hamlib.

@timo12357
Copy link

Hi, I volunteer to test this wonderful fix.
I have the following equipment

  • Malachite with version 1.10c Firmware
  • Ubuntu 21.04 with libhamlib-utils 4.0 installed with APT.

How to test?

@mdblack98
Copy link
Contributor Author

mdblack98 commented Jul 1, 2021 via email

@timo12357
Copy link

Hello,
1st test report:

Did the following

  1. wget https://github.com/Hamlib/Hamlib/releases/download/4.2/hamlib-4.2.tar.gz: OK
  2. sudo apt purge libhamlib-utils: OK
  3. tar xzf hamlib-4.2.tar.gz: OK
  4. cd hamlib-4.2/: OK
  5. ./bootstrap: No such file
  6. ./configure --prefix=/usr: OK
  7. make: OK
  8. sudo make install: OK
  9. rigctl -l: rigctl: symbol lookup error: rigctl: undefined symbol: debugmsgsave

73, Timo

@mdblack98
Copy link
Contributor Author

mdblack98 commented Jul 2, 2021 via email

@timo12357
Copy link

What does "ldd rigctl" show for the path to libhamlib.so?

sudo ldd rigctl: ldd: ./rigctl: No such file or directory
sudo ldd libhamlib.so: ldd: ./libhamlib.so: No such file or directory

Timo

@mdblack98
Copy link
Contributor Author

mdblack98 commented Jul 2, 2021 via email

@timo12357
Copy link

Well you apparently aren't in the right place for rigctl

which rigctl:
/usr/bin/rigctl

ldd /usr/bin/rigctl
linux-vdso.so.1 (0x00007ffc3512f000)
libhamlib.so.4 => /lib/x86_64-linux-gnu/libhamlib.so.4 (0x00007f1b9af26000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f1b9af04000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1b9ad18000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f1b9ad11000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f1b9abc3000)
libusb-1.0.so.0 => /lib/x86_64-linux-gnu/libusb-1.0.so.0 (0x00007f1b9aba6000)
/lib64/ld-linux-x86-64.so.2 (0x00007f1b9b8d2000)
libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x00007f1b9ab7b000)

73

@mdblack98
Copy link
Contributor Author

mdblack98 commented Jul 5, 2021 via email

@timo12357
Copy link

I'll bet you also have a libhamlib in /usr/lib
Yes, that is right.

You need to remove your system hamlib package.
Removing it removes also all my ham software, so not an option at this stage. Tried it and had to reinstall.

Or rename /lib/x86_64-linux-gnu/libhamlib.so.4
$ sudo mv /usr/lib/x86_64-linux-gnu/libhamlib.so.4 /usr/lib/x86_64-linux-gnu/libhamlib.so.4.old

$ ./configure --prefix=/usr: OK
$ make: OK
$ sudo make install: OK
$ rigctl -l now lists available rigs OK

Is there a way I can see what version of Hamlib I am using?

Tests
$ grig -m 2028 -r /dev/ttyACM1 -s 19200 -d 3

  • Shows frequency of the Malahit SDR, but can not change anything on the SDR

flrig

  • Selected TS480SAT
  • Same functionality as with grig

73, Timo

@mdblack98
Copy link
Contributor Author

mdblack98 commented Jul 7, 2021 via email

@timo12357
Copy link

rigctl --version Should show the shared library version.

$ rigctl --version
rigctl Hamlib 4.2 Mon May 17 02:40:24 2021 +0000 SHA=cdad07

Do this and send me the log.txt

$ rigctl -m 2028 -r /dev/ttyACM1 -s 19200 -vvvvvv F 14074123
rigctl Hamlib 4.2 Mon May 17 02:40:24 2021 +0000 SHA=cdad07
Report bugs to hamlib-developer@lists.sourceforge.net

rig_check_rig_caps: p1=0x7f6307a79a80, p2=0x7f6307a7fdf8, rig_model=0x7f6307a79a80, macro_name=0x7f6307a7fdf8
initrigs4_kenwood called
rig_register called
rig_register: rig_register (2012)
rig_register called
rig_register: rig_register (2013)
rig_register called
rig_register: rig_register (2001)
rig_register called
rig_register: rig_register (2025)
rig_register called
rig_register: rig_register (2003)
rig_register called
rig_register: rig_register (2004)
rig_register called
rig_register: rig_register (2016)
rig_register called
rig_register: rig_register (2024)
rig_register called
rig_register: rig_register (2005)
rig_register called
rig_register: rig_register (2007)
rig_register called
rig_register: rig_register (2009)
rig_register called
rig_register: rig_register (2010)
rig_register called
rig_register: rig_register (2022)
rig_register called
rig_register: rig_register (2014)
rig_register called
rig_register: rig_register (2030)
rig_register called
rig_register: rig_register (2021)
rig_register called
rig_register: rig_register (2029)
rig_register called
rig_register: rig_register (2043)
rig_register called
rig_register: rig_register (2044)
rig_register called
rig_register: rig_register (2045)
rig_register called
rig_register: rig_register (2047)
rig_register called
rig_register: rig_register (2038)
rig_register called
rig_register: rig_register (2002)
rig_register called
rig_register: rig_register (2011)
rig_register called
rig_register: rig_register (2006)
rig_register called
rig_register: rig_register (2008)
rig_register called
rig_register: rig_register (2015)
rig_register called
rig_register: rig_register (2026)
rig_register called
rig_register: rig_register (2017)
rig_register called
rig_register: rig_register (2033)
rig_register called
rig_register: rig_register (2042)
rig_register called
rig_register: rig_register (2020)
rig_register called
rig_register: rig_register (2023)
rig_register called
rig_register: rig_register (2027)
rig_register called
rig_register: rig_register (2034)
rig_register called
rig_register: rig_register (2031)
rig_register called
rig_register: rig_register (2039)
rig_register called
rig_register: rig_register (2037)
rig_register called
rig_register: rig_register (2028)
rig_register called
rig_register: rig_register (2019)
rig_register called
rig_register: rig_register (2032)
rig_register called
rig_register: rig_register (2036)
rig_register called
rig_register: rig_register (2048)
rig_register called
rig_register: rig_register (2040)
rig_register called
rig_register: rig_register (2041)
rig_register called
rig_register: rig_register (2046)
rig_register called
rig_register: rig_register (2049)
kenwood.c(5351):initrigs4_kenwood return(0)
rig_init: rig has VFO_A
rig_init: rig has VFO_B
ts480_init called
kenwood_init called, version 20210427/20210427.1
kenwood_init: if_len = 37
kenwood.c(738):kenwood_init return(0)
ts480.c(1247):ts480_init return(0)
rigctl_parse.c(1916):set_conf entered
rigctl_parse.c(1950):set_conf return(0)
rig.c(669):rig_open entered
iofunc.c(68):port_open entered
serial.c(144):serial_open entered
serial_open: /dev/ttyACM1
serial.c(278):serial_setup entered
serial_setup: tcgetattr
serial_setup: cfmakeraw
serial_setup: cfsetispeed=19200,0x000e
serial_setup: cfsetospeed=19200,0x000e
serial_setup: data_bits=8
serial_setup: parity=0
serial_setup: tcsetattr TCSANOW
serial.c(618):serial_setup return(0)
serial.c(629):serial_flush entered
tcflush
serial.c(661):serial_flush return(0)
serial.c(253):serial_open return(0)
iofunc.c(185):port_open return(0)
rig.c(217):add_opened_rig return(0)
kenwood_open called
kenwood_get_id called
kenwood_transaction called
kenwood_transaction: cmdstr = ID
rig_flush: called for serial device
serial.c(629):serial_flush entered
tcflush
serial.c(661):serial_flush return(0)
write_block called
write_block(): TX 3 bytes
0000 49 44 3b ID;
read_string called, rxmax=128
read_string(): Timed out 0.200 seconds after 0 chars
kenwood_transaction: read_string(len=0)=''
kenwood_transaction: read_string retval < 0, retval = -5, retry_read=0, rs->rigport.retry=0
kenwood_transaction: returning retval=-5
kenwood.c(577):kenwood_transaction return(-5)
kenwood.c(1014):kenwood_get_id return(-5)
kenwood_open: no response to get_id from rig...continuing anyways.
kenwood_open: rig has_rit2
kenwood_transaction called
kenwood_transaction: cmdstr = FA
rig_flush: called for serial device
serial.c(629):serial_flush entered
tcflush
serial.c(661):serial_flush return(0)
write_block called
write_block(): TX 3 bytes
0000 46 41 3b FA;
read_string called, rxmax=128
read_string(): Timed out 0.200 seconds after 0 chars
kenwood_transaction: read_string(len=0)=''
kenwood_transaction: read_string retval < 0, retval = -5, retry_read=0, rs->rigport.retry=0
kenwood_transaction: returning retval=-5
kenwood.c(577):kenwood_transaction return(-5)
kenwood_open: no response from rig
kenwood.c(856):kenwood_open return(-5)
rig.c(1000):rig_open return(-5)
rig_open: error = Communication timed out
kenwood_open: no response from rig
kenwood.c(856):kenwood_open return(-5)
rig.c(1000):rig_open return(-5)

73, Timo OH2LVZ

@timo12357
Copy link

Here is another listing using /dev/ttyACM0
$ rigctl -m 2028 -r /dev/ttyACM0 -s 19200 -vvvvvv F 14074123
rigctl Hamlib 4.2 Mon May 17 02:40:24 2021 +0000 SHA=cdad07
Report bugs to hamlib-developer@lists.sourceforge.net

rig_check_rig_caps: p1=0x7f8682a6da80, p2=0x7f8682a73df8, rig_model=0x7f8682a6da80, macro_name=0x7f8682a73df8
initrigs4_kenwood called
rig_register called
rig_register: rig_register (2012)
rig_register called
rig_register: rig_register (2013)
rig_register called
rig_register: rig_register (2001)
rig_register called
rig_register: rig_register (2025)
rig_register called
rig_register: rig_register (2003)
rig_register called
rig_register: rig_register (2004)
rig_register called
rig_register: rig_register (2016)
rig_register called
rig_register: rig_register (2024)
rig_register called
rig_register: rig_register (2005)
rig_register called
rig_register: rig_register (2007)
rig_register called
rig_register: rig_register (2009)
rig_register called
rig_register: rig_register (2010)
rig_register called
rig_register: rig_register (2022)
rig_register called
rig_register: rig_register (2014)
rig_register called
rig_register: rig_register (2030)
rig_register called
rig_register: rig_register (2021)
rig_register called
rig_register: rig_register (2029)
rig_register called
rig_register: rig_register (2043)
rig_register called
rig_register: rig_register (2044)
rig_register called
rig_register: rig_register (2045)
rig_register called
rig_register: rig_register (2047)
rig_register called
rig_register: rig_register (2038)
rig_register called
rig_register: rig_register (2002)
rig_register called
rig_register: rig_register (2011)
rig_register called
rig_register: rig_register (2006)
rig_register called
rig_register: rig_register (2008)
rig_register called
rig_register: rig_register (2015)
rig_register called
rig_register: rig_register (2026)
rig_register called
rig_register: rig_register (2017)
rig_register called
rig_register: rig_register (2033)
rig_register called
rig_register: rig_register (2042)
rig_register called
rig_register: rig_register (2020)
rig_register called
rig_register: rig_register (2023)
rig_register called
rig_register: rig_register (2027)
rig_register called
rig_register: rig_register (2034)
rig_register called
rig_register: rig_register (2031)
rig_register called
rig_register: rig_register (2039)
rig_register called
rig_register: rig_register (2037)
rig_register called
rig_register: rig_register (2028)
rig_register called
rig_register: rig_register (2019)
rig_register called
rig_register: rig_register (2032)
rig_register called
rig_register: rig_register (2036)
rig_register called
rig_register: rig_register (2048)
rig_register called
rig_register: rig_register (2040)
rig_register called
rig_register: rig_register (2041)
rig_register called
rig_register: rig_register (2046)
rig_register called
rig_register: rig_register (2049)
kenwood.c(5351):initrigs4_kenwood return(0)
rig_init: rig has VFO_A
rig_init: rig has VFO_B
ts480_init called
kenwood_init called, version 20210427/20210427.1
kenwood_init: if_len = 37
kenwood.c(738):kenwood_init return(0)
ts480.c(1247):ts480_init return(0)
rigctl_parse.c(1916):set_conf entered
rigctl_parse.c(1950):set_conf return(0)
rig.c(669):rig_open entered
iofunc.c(68):port_open entered
serial.c(144):serial_open entered
serial_open: /dev/ttyACM0
serial.c(278):serial_setup entered
serial_setup: tcgetattr
serial_setup: cfmakeraw
serial_setup: cfsetispeed=19200,0x000e
serial_setup: cfsetospeed=19200,0x000e
serial_setup: data_bits=8
serial_setup: parity=0
serial_setup: tcsetattr TCSANOW
serial.c(618):serial_setup return(0)
serial.c(629):serial_flush entered
tcflush
serial.c(661):serial_flush return(0)
serial.c(253):serial_open return(0)
iofunc.c(185):port_open return(0)
rig.c(217):add_opened_rig return(0)
kenwood_open called
kenwood_get_id called
kenwood_transaction called
kenwood_transaction: cmdstr = ID
rig_flush: called for serial device
serial.c(629):serial_flush entered
tcflush
serial.c(661):serial_flush return(0)
write_block called
write_block(): TX 3 bytes
0000 49 44 3b ID;
read_string called, rxmax=128
read_string(): RX 6 characters
0000 49 44 30 32 30 3b ID020;
kenwood_transaction: read_string(len=6)='ID020;'
kenwood_transaction: returning RIG_OK, retval=0
kenwood_transaction: returning retval=0
kenwood.c(577):kenwood_transaction return(0)
kenwood.c(1014):kenwood_get_id return(0)
kenwood_open: got ID so try PS
rig.c(5358):rig_get_powerstat entered
rig.c(5375) trace
kenwood_get_powerstat called
kenwood_safe_transaction called
kenwood_transaction called
kenwood_transaction: cmdstr = PS
rig_flush: called for serial device
serial.c(629):serial_flush entered
tcflush
serial.c(661):serial_flush return(0)
write_block called
write_block(): TX 3 bytes
0000 50 53 3b PS;
read_string called, rxmax=7
read_string(): Timed out 0.200 seconds after 0 chars
kenwood_transaction: read_string(len=0)=''
kenwood_transaction: read_string retval < 0, retval = -5, retry_read=0, rs->rigport.retry=0
kenwood_transaction: returning retval=-5
kenwood.c(577):kenwood_transaction return(-5)
kenwood.c(628):kenwood_safe_transaction return(-5)
kenwood.c(4468):kenwood_get_powerstat return(-5)
rig.c(5377):rig_get_powerstat return(-5)
kenwood_open: rig has_rit2
kenwood_open: found match 020
kenwood_open: found the right driver for TS-480(2028)
kenwood_get_trn called
kenwood_safe_transaction called
kenwood_transaction called
kenwood_transaction: cmdstr = AI
rig_flush: called for serial device
serial.c(629):serial_flush entered
tcflush
serial.c(661):serial_flush return(0)
write_block called
write_block(): TX 3 bytes
0000 41 49 3b AI;
read_string called, rxmax=7
read_string(): RX 4 characters
0000 41 49 32 3b AI2;
kenwood_transaction: read_string(len=4)='AI2;'
kenwood_transaction: returning RIG_OK, retval=0
kenwood_transaction: returning retval=0
kenwood.c(577):kenwood_transaction return(0)
kenwood.c(647):kenwood_safe_transaction return(0)
kenwood.c(4400):kenwood_get_trn return(0)
kenwood_set_trn called
kenwood_transaction called
kenwood_transaction: cache invalidated
kenwood_transaction: cmdstr = AI0
rig_flush: called for serial device
serial.c(629):serial_flush entered
tcflush
serial.c(661):serial_flush return(0)
write_block called
write_block(): TX 4 bytes
0000 41 49 30 3b AI0;
write_block called
write_block(): TX 3 bytes
0000 49 44 3b ID;
read_string called, rxmax=35
read_string(): Timed out 0.200 seconds after 0 chars
kenwood_transaction: read_string(len=0)=''
kenwood_transaction: read_string retval < 0, retval = -5, retry_read=0, rs->rigport.retry=0
kenwood_transaction: returning retval=-5
kenwood.c(577):kenwood_transaction return(-5)
kenwood.c(4349):kenwood_set_trn return(-5)
kenwood_get_split_vfo_if called
kenwood_get_if called
kenwood_safe_transaction called
kenwood_transaction called
kenwood_transaction: cmdstr = IF
rig_flush: called for serial device
serial.c(629):serial_flush entered
tcflush
serial.c(661):serial_flush return(0)
write_block called
write_block(): TX 3 bytes
0000 49 46 3b IF;
read_string called, rxmax=128
read_string(): RX 38 characters
0000 49 46 30 30 31 30 33 34 30 30 30 30 30 20 20 20 IF00103400000
0010 20 20 2b 30 30 30 30 30 30 30 30 30 30 34 30 30 +0000000000400
0020 30 30 30 30 20 3b 0000 ;
kenwood_transaction: read_string(len=38)='IF00103400000 +00000000004000000 ;'
kenwood_transaction: returning RIG_OK, retval=0
kenwood_transaction: returning retval=0
kenwood.c(577):kenwood_transaction return(0)
kenwood.c(647):kenwood_safe_transaction return(0)
kenwood_get_split_vfo_if: priv->tx_vfo=VFOA
kenwood.c(1432):kenwood_get_split_vfo_if return(0)
kenwood_open: priv->tx_vfo=VFOA
kenwood.c(956):kenwood_open return(0)
rig.c(1007) trace
rig.c(2639):rig_get_vfo entered
rig_get_vfo: cache check age=1000000ms
rig_get_vfo: cache miss age=1000000ms
rig.c(2675) trace
kenwood_get_vfo_if called
kenwood_get_if called
kenwood_safe_transaction called
kenwood_transaction called
kenwood_transaction: cache hit, age=0ms
kenwood.c(274):kenwood_transaction return(0)
kenwood.c(647):kenwood_safe_transaction return(0)
kenwood_get_vfo_if: priv->tx_vfo=VFOA
kenwood.c(1496):kenwood_get_vfo_if return(0)
rig.c(2695):rig_get_vfo return(0)
rig.c(1070):rig_open return(0)
Opened rig model 2028, 'TS-480'
Backend version: 20210427.1, Status: Stable
rigctl_parse.c(648):rigctl_parse entered
rigctl_parse: called, interactive=0
rigctl_parse: debug1
rigctl_parse: debug3
rigctl_parse: debug5
rigctl_parse: debug10
rigctl_parse: vfo_opt=0
rigctl_parse.c(1968):rigctl_set_freq entered
rig_set_freq called vfo=currVFO, freq=14074123
vfo_fixup: vfo=currVFO, vfo_curr=VFOA
vfo_fixup: Leaving currVFO alone
rig_set_freq: TARGETABLE_FREQ vfo=currVFO
rig.c(1766) trace
kenwood_set_freq called vfo=currVFO freq=14074123
kenwood_set_freq: tvfo=VFOA
kenwood_transaction called
kenwood_transaction: cache invalidated
kenwood_transaction: cmdstr = FA00014074123
rig_flush: called for serial device
serial.c(629):serial_flush entered
tcflush
serial.c(661):serial_flush return(0)
write_block called
write_block(): TX 14 bytes
0000 46 41 30 30 30 31 34 30 37 34 31 32 33 3b FA00014074123;
write_block called
write_block(): TX 3 bytes
0000 49 44 3b ID;
read_string called, rxmax=35
read_string(): Timed out 0.200 seconds after 0 chars
kenwood_transaction: read_string(len=0)=''
kenwood_transaction: read_string retval < 0, retval = -5, retry_read=0, rs->rigport.retry=3
read_string called, rxmax=35
read_string(): RX 6 characters
0000 49 44 30 32 30 3b ID020;
kenwood_transaction: read_string(len=6)='ID020;'
kenwood_transaction: No data expected, checking ID; in ID020;
kenwood_transaction: returning RIG_OK, retval=0
kenwood_transaction: returning retval=0
kenwood.c(577):kenwood_transaction return(0)
kenwood.c(1604):kenwood_set_freq return(0)
rig.c(1424):set_cache_freq entered
set_cache_freq: vfo=currVFO, current_vfo=VFOA
set_cache_freq(1427): freqMainA=0, modeMainA=, widthMainA=0
set_cache_freq(1427): freqMainB=0, modeMainB=, widthMainB=0
set_cache_freq: set vfo=VFOA to freq=0
set_cache_freq(1513): freqMainA=0, modeMainA=, widthMainA=0
set_cache_freq(1513): freqMainB=0, modeMainB=, widthMainB=0
rig.c(1514):set_cache_freq return(0)
rig.c(1424):set_cache_freq entered
set_cache_freq: vfo=, current_vfo=VFOA
set_cache_freq(1427): freqMainA=0, modeMainA=, widthMainA=0
set_cache_freq(1427): freqMainB=0, modeMainB=, widthMainB=0
set_cache_freq: set vfo= to freq=0
set_cache_freq(1513): freqMainA=0, modeMainA=, widthMainA=0
set_cache_freq(1513): freqMainB=0, modeMainB=, widthMainB=0
rig.c(1514):set_cache_freq return(0)
rig.c(1852) trace
rig_get_freq called vfo=currVFO
rig_get_freq(1918): freqMainA=0, modeMainA=, widthMainA=0
rig_get_freq(1918): freqMainB=0, modeMainB=, widthMainB=0
vfo_fixup: vfo=currVFO, vfo_curr=VFOA
vfo_fixup: Leaving currVFO alone
rig_get_freq(1943): freqMainA=0, modeMainA=, widthMainA=0
rig_get_freq(1943): freqMainB=0, modeMainB=, widthMainB=0
rig.c(1520):rig_get_cache entered
rig_get_cache: vfo=VFOA, current_vfo=VFOA
rig_get_cache: vfo=VFOA, freq=0
rig.c(1629):rig_get_cache return(0)
rig_get_freq: cache check1 age=10000ms
rig_get_freq(1978): freqMainA=0, modeMainA=, widthMainA=0
rig_get_freq(1978): freqMainB=0, modeMainB=, widthMainB=0
rig_get_freq: cache miss age=10000ms, cached_vfo=VFOA, asked_vfo=VFOA
rig.c(2014) trace
kenwood_get_freq called
kenwood_safe_transaction called
kenwood_transaction called
kenwood_transaction: cmdstr = FA
rig_flush: called for serial device
serial.c(629):serial_flush entered
tcflush
serial.c(661):serial_flush return(0)
write_block called
write_block(): TX 3 bytes
0000 46 41 3b FA;
read_string called, rxmax=51
read_string(): Timed out 0.200 seconds after 0 chars
kenwood_transaction: read_string(len=0)=''
kenwood_transaction: read_string retval < 0, retval = -5, retry_read=0, rs->rigport.retry=3
kenwood_transaction: cmdstr = FA
rig_flush: called for serial device
serial.c(629):serial_flush entered
tcflush
serial.c(661):serial_flush return(0)
write_block called
write_block(): TX 3 bytes
0000 46 41 3b FA;
read_string called, rxmax=51
read_string(): RX 14 characters
0000 46 41 30 30 31 30 33 34 30 30 30 30 30 3b FA00103400000;
kenwood_transaction: read_string(len=14)='FA00103400000;'
kenwood_transaction: returning RIG_OK, retval=0
kenwood_transaction: returning retval=0
kenwood.c(577):kenwood_transaction return(0)
kenwood.c(647):kenwood_safe_transaction return(0)
kenwood.c(1709):kenwood_get_freq return(0)
rig_get_freq(2017): freqMainA=0, modeMainA=, widthMainA=0
rig_get_freq(2017): freqMainB=0, modeMainB=, widthMainB=0
rig.c(1424):set_cache_freq entered
set_cache_freq: vfo=VFOA, current_vfo=VFOA
set_cache_freq(1427): freqMainA=0, modeMainA=, widthMainA=0
set_cache_freq(1427): freqMainB=0, modeMainB=, widthMainB=0
set_cache_freq: set vfo=VFOA to freq=103400000
set_cache_freq(1513): freqMainA=103400000, modeMainA=, widthMainA=0
set_cache_freq(1513): freqMainB=0, modeMainB=, widthMainB=0
rig.c(1514):set_cache_freq return(0)
rig_get_freq(2032): freqMainA=103400000, modeMainA=, widthMainA=0
rig_get_freq(2032): freqMainB=0, modeMainB=, widthMainB=0
rig_get_freq(2086): freqMainA=103400000, modeMainA=, widthMainA=0
rig_get_freq(2086): freqMainB=0, modeMainB=, widthMainB=0
rig.c(1424):set_cache_freq entered
set_cache_freq: vfo=VFOA, current_vfo=VFOA
set_cache_freq(1427): freqMainA=103400000, modeMainA=, widthMainA=0
set_cache_freq(1427): freqMainB=0, modeMainB=, widthMainB=0
set_cache_freq: set vfo=VFOA to freq=103400000
set_cache_freq(1513): freqMainA=103400000, modeMainA=, widthMainA=0
set_cache_freq(1513): freqMainB=0, modeMainB=, widthMainB=0
rig.c(1514):set_cache_freq return(0)
rig_get_freq(2088): freqMainA=103400000, modeMainA=, widthMainA=0
rig_get_freq(2088): freqMainB=0, modeMainB=, widthMainB=0
rig.c(2090):rig_get_freq return(0)
rig_set_freq: Asked freq=14074123, got freq=103400000
rig.c(1424):set_cache_freq entered
set_cache_freq: vfo=currVFO, current_vfo=VFOA
set_cache_freq(1427): freqMainA=103400000, modeMainA=, widthMainA=0
set_cache_freq(1427): freqMainB=0, modeMainB=, widthMainB=0
set_cache_freq: set vfo=VFOA to freq=103400000
set_cache_freq(1513): freqMainA=103400000, modeMainA=, widthMainA=0
set_cache_freq(1513): freqMainB=0, modeMainB=, widthMainB=0
rig.c(1514):set_cache_freq return(0)
rig.c(1878):rig_set_freq return(0)
rigctl_parse.c(1980):rigctl_set_freq return(0)
rigctl_parse: vfo_opt=0
rigctl_parse: retcode=0
rigctl_parse.c(1743):rigctl_parse return(0)
rigctl_parse.c(648):rigctl_parse entered
rigctl_parse: called, interactive=0
rigctl_parse.c(816):rigctl_parse return(1)
rig.c(1092):rig_close entered
iofunc.c(199):port_close entered
ser_close called
ser_close: restoring options
serial.c(818):ser_close return(0)
iofunc.c(233):port_close return(0)
rig.c(240):remove_opened_rig return(0)
rig.c(1226):rig_close return(0)
rig.c(1245):rig_cleanup entered
kenwood_cleanup called
kenwood.c(748):kenwood_cleanup return(0)
rig.c(1270):rig_cleanup return(0)

@timo12357
Copy link

@mdblack98 any use of these reports?

@mdblack98 mdblack98 reopened this Jul 15, 2021
@mdblack98
Copy link
Contributor Author

mdblack98 commented Jul 15, 2021 via email

@timo12357
Copy link

I did the following

$ sudo apt purge libhamlib-utils
$ gh repo clone Hamlib/Hamlib
$ cd Hamlib
$ ./bootstrap
$ ./configure
$ make check

Testsuite summary for Hamlib 4.3~git

TOTAL: 7

PASS: 7

SKIP: 0

XFAIL: 0

FAIL: 0

XPASS: 0

ERROR: 0

$ make
$ sudo make install
$ rigctl
rigctl: symbol lookup error: rigctl: undefined symbol: cookie_use

73, Timo OH2LVZ

@mdblack98
Copy link
Contributor Author

mdblack98 commented Jul 17, 2021 via email

@timo12357
Copy link

timo12357 commented Jul 20, 2021

Hi
did
$ make clean
$ ./configure --prefix=/usr
$ make
$ sudo make install
Now rigctl starts without errors

flrig works with TS-480SAT. Malachite can not be found.
Frequency freely until you choose a frequency in the FM BC band. There frequency can not be set

grig -m 2049 -r /dev/ttyACM0 -s 19200 -d
Opens grig but can not control the malchite

wsjtx 2.4

  • Malachite can be selected as radio
  • Setting frequency works

@mdblack98
Copy link
Contributor Author

mdblack98 commented Jul 20, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
critical A problem for common operations with WSJT-X, GPredict, RigPi, etc. enhancement
Projects
None yet
Development

No branches or pull requests

2 participants