Discussion:
fldigi and hamlib's rigctld
Pierfrancesco Caci
2010-09-14 18:37:47 UTC
Permalink
Hello,
I'm trying rigctld these days, instead of rpc.rigd that I have used so
far. This is so that I can get tlf back to work. But apparently fldigi
has some issues with rigctld instead.
It says:

E: show_error: hamlib_init: Rig not responding

any ideas?



build info for fldigi (version 3.21.0AK):

Build information:
built : Sat Aug 14 15:08:45 CEST 2010 by ***@penny on
x86_64-unknown-linux-gnu for x86_64-unknown-linux-gnu

configure flags:

compiler : gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)

compiler flags : -I$(srcdir) -I$(srcdir)/include -I$(srcdir)/irrxml
-I$(srcdir)/fileselector -pthread -I/usr/include/freetype2 -g -O2
-D_THREAD_SAFE -D_REENTRANT -D_REENTRANT -I/usr/include/libpng12
-I/usr/include -pipe -Wall -fexceptions -O2 -ffast-math
-finline-functions -DNDEBUG

linker flags : -lportaudio -lasound -lm -lpthread
-Wl,-Bsymbolic-functions -lfltk_images -lfltk -lX11 -lsndfile
-lsamplerate -lpulse-simple -lpulse -lhamlib -lm -lpng12 -L/usr/lib
-lxmlrpc_server_abyss++ -lxmlrpc_server++ -lxmlrpc_server_abyss
-lxmlrpc_server -lxmlrpc_abyss -lpthread -lxmlrpc++ -lxmlrpc
-lxmlrpc_util -lxmlrpc_xmlparse -lxmlrpc_xmltok -ldl -lrt -lpthread

libraries : FLTK 1.1.10
libsamplerate 0.1.7
libsndfile 1.0.21
PortAudio 19
PulseAudio 0.9.21-63-gd3efa-dirty
Hamlib 1.2.10
XMLRPC-C 1.06.27


Runtime information:
system : Linux penny 2.6.32-24-generic #42-Ubuntu SMP Fri Aug 20
14:21:58 UTC 2010 x86_64

libraries : libsamplerate-0.1.7 (c) 2002-2008 Erik de Castro Lopo
libsndfile-1.0.21
PortAudio V19-devel (built Feb 18 2010 23:31:11) 1899
Pulseaudio 0.9.21-63-gd3efa-dirty
Hamlib 1.2.10
--
 Pierfrancesco Caci, ik5pvx


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/linuxham/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/linuxham/join
(Yahoo! ID required)

<*> To change settings via email:
linuxham-digest-***@public.gmane.org
linuxham-fullfeatured-***@public.gmane.org

<*> To unsubscribe from this group, send an email to:
linuxham-unsubscribe-***@public.gmane.org

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
Nate Bargmann
2010-09-14 21:24:42 UTC
Permalink
Post by Pierfrancesco Caci
Hello,
I'm trying rigctld these days, instead of rpc.rigd that I have used so
far. This is so that I can get tlf back to work. But apparently fldigi
has some issues with rigctld instead.
E: show_error: hamlib_init: Rig not responding
any ideas?
Yes.
Post by Pierfrancesco Caci
Hamlib 1.2.10
This version of Hamlib is too old. I did much work with rigctld that
went into 1.2.11, so if you can upgrade to that version or later it will
help. Also, configure Fldigi per:

http://sourceforge.net/apps/mediawiki/hamlib/index.php?title=Net_control#C.2FC.2B.2B_API_application_support

73, de Nate >>
--
"The optimist proclaims that we live in the best of all
possible worlds. The pessimist fears this is true."

Ham radio, Linux, bikes, and more: http://n0nb.us/index.html


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/linuxham/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/linuxham/join
(Yahoo! ID required)

<*> To change settings via email:
linuxham-digest-***@public.gmane.org
linuxham-fullfeatured-***@public.gmane.org

<*> To unsubscribe from this group, send an email to:
linuxham-unsubscribe-***@public.gmane.org

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
Pierfrancesco Caci
2010-09-15 17:44:38 UTC
Permalink
Post by Pierfrancesco Caci
Hello,
I'm trying rigctld these days, instead of rpc.rigd that I have used so
far. This is so that I can get tlf back to work. But apparently fldigi
has some issues with rigctld instead.
E: show_error: hamlib_init: Rig not responding
any ideas?
Yes.
Post by Pierfrancesco Caci
Hamlib 1.2.10
This version of Hamlib is too old.  I did much work with rigctld that
went into 1.2.11, so if you can upgrade to that version or later it will
http://sourceforge.net/apps/mediawiki/hamlib/index.php?title=Net_control#C.2FC.2B.2B_API_application_support
Nate,
I pulled 1.2.12 from the next release of ubuntu and recompiled fldigi
against it.
Fldigi flashes the correct frequency alternating it with a bogus
reading, and in the end it stops talking with the rig at all with the
same error as above. I tried changing the write delay and I got a
complete freeze.

Let me know how I can provide more useful info.

Pf
--
 Pierfrancesco Caci, ik5pvx


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/linuxham/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/linuxham/join
(Yahoo! ID required)

<*> To change settings via email:
linuxham-digest-***@public.gmane.org
linuxham-fullfeatured-***@public.gmane.org

<*> To unsubscribe from this group, send an email to:
linuxham-unsubscribe-***@public.gmane.org

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
Nate Bargmann
2010-09-16 12:08:48 UTC
Permalink
Post by Pierfrancesco Caci
I pulled 1.2.12 from the next release of ubuntu and recompiled fldigi
against it.
Just for info, Kamal has packaged Hamlib 1.2.12 for Karmic and Lucid so
one should not need to install the Maverick packages. The PPA can be
accessed from:

https://launchpad.net/~ubuntu-hams/+archive/ppa
Post by Pierfrancesco Caci
Fldigi flashes the correct frequency alternating it with a bogus
reading, and in the end it stops talking with the rig at all with the
same error as above. I tried changing the write delay and I got a
complete freeze.
Let me know how I can provide more useful info.
Please add the "-vvvvv" switch to rigctld's command line and providing
the output to me. You can ease this process by following the
instructions from README.betatester:

"When reporting to the hamlib-developer mailing list, please include traces and
also comments to tell developers if the action performed correctly on the rig.

Tip: traces can be hard to cut and paste sometimes. In that case,
there's a handy tool for you: script(1) (the (1) is not a part of the
command, rather it is a Unix convention telling which section of the manual
it is found, in this case section 1, user commands. e.g. `man 1 script').
It will make a typescript of everything printed on your terminal and save it
to the file you give it.

$ script my_rig_traces.txt
Script started, file is my_rig_traces.txt
$ rigctl -vvvvv -r /dev/ttyS0 -m 326
rig:rig_init called
rig: loading backend icom
icom: _init called
rig_register (309)
rig_register (326)
rig:rig_open called
Opened rig model 326, 'IC-756'

Rig command: q
rig:rig_close called
rig:rig_cleanup called
$ exit
exit
Script done, file is my_rig_traces.txt
$

And then send my_rig_traces.txt to the hamlib-developer mailing list."

Also, Fldigi has a logging facility that may help identify the error.

I presume that you've selected Hamlib NET rigctl and set the Device to
localhost:4532 in Fldigi.

73, de Nate >>
--
"The optimist proclaims that we live in the best of all
possible worlds. The pessimist fears this is true."

Ham radio, Linux, bikes, and more: http://n0nb.us/index.html


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/linuxham/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/linuxham/join
(Yahoo! ID required)

<*> To change settings via email:
linuxham-digest-***@public.gmane.org
linuxham-fullfeatured-***@public.gmane.org

<*> To unsubscribe from this group, send an email to:
linuxham-unsubscribe-***@public.gmane.org

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
Pierfrancesco Caci
2010-09-16 18:38:38 UTC
Permalink
[pse Cc when replying, I'm not subscribed to hamlib-dev]
Post by Nate Bargmann
Post by Pierfrancesco Caci
I pulled 1.2.12 from the next release of ubuntu and recompiled fldigi
against it.
Just for info, Kamal has packaged Hamlib 1.2.12 for Karmic and Lucid so
one should not need to install the Maverick packages.  The PPA can be
https://launchpad.net/~ubuntu-hams/+archive/ppa
ok noted
Post by Nate Bargmann
Post by Pierfrancesco Caci
Fldigi flashes the correct frequency alternating it with a bogus
reading, and in the end it stops talking with the rig at all with the
same error as above. I tried changing the write delay and I got a
complete freeze.
Let me know how I can provide more useful info.
Please add the "-vvvvv" switch to rigctld's command line and providing
the output to me.  You can ease this process by following the
[...]
Post by Nate Bargmann
And then send my_rig_traces.txt to the hamlib-developer mailing list."
Please see:
http://snoopy.tippete.net/~ik5pvx/tlf/rigctld+fldigi.txt.gz
Post by Nate Bargmann
Also, Fldigi has a logging facility that may help identify the error.
This is all I see in .fldigi/status_log.txt:


E: show_error: hamlib_loop: Rig not responding: mode

repeated many times.
Post by Nate Bargmann
I presume that you've selected Hamlib NET rigctl and set the Device to
localhost:4532 in Fldigi.
Yes.

73, Pf
--
 Pierfrancesco Caci, ik5pvx


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/linuxham/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/linuxham/join
(Yahoo! ID required)

<*> To change settings via email:
linuxham-digest-***@public.gmane.org
linuxham-fullfeatured-***@public.gmane.org

<*> To unsubscribe from this group, send an email to:
linuxham-unsubscribe-***@public.gmane.org

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
Loading...