<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!--Converted with LaTeX2HTML 2002-2-1 (1.71) original version by: Nikos Drakos, CBLU, University of Leeds * revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan * with significant contributions from: Jens Lippmann, Marek Rouchal, Martin Wilck and others --> <HTML> <HEAD> <TITLE>Testing hamlib</TITLE> <META NAME="description" CONTENT="Testing hamlib"> <META NAME="keywords" CONTENT="manual"> <META NAME="resource-type" CONTENT="document"> <META NAME="distribution" CONTENT="global"> <META NAME="Generator" CONTENT="LaTeX2HTML v2002-2-1"> <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"> <LINK REL="STYLESHEET" HREF="manual.css"> <LINK REL="previous" HREF="node10.html"> <LINK REL="up" HREF="node9.html"> <LINK REL="next" HREF="node12.html"> </HEAD> <BODY > <DIV CLASS="navigation"><!--Navigation Panel--> <A NAME="tex2html171" HREF="node12.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html169" HREF="node9.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html165" HREF="node10.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <BR> <B> Next:</B> <A NAME="tex2html172" HREF="node12.html">Printing</A> <B> Up:</B> <A NAME="tex2html170" HREF="node9.html">Hamlib</A> <B> Previous:</B> <A NAME="tex2html166" HREF="node10.html">Hamlib preferences</A> <BR> <BR></DIV> <!--End of Navigation Panel--> <H2><A NAME="SECTION00032000000000000000"> Testing hamlib</A> </H2> At his point you should probably read your rig's manual, to see how you should hook up your rig to the serial port. For my kenwood rig, I need a standard serial cable with two 9-pin connectors. You also need write permission to the serial port. On my system, this means I need to add myself to the dialout group, with a command like: <P> <BLOCKQUOTE> $ adduser 'username' dialout </BLOCKQUOTE> <P> Next, you can test hamlib with rigctl, a binary distributed with hamlib. See which rigs are supported: <P> <BLOCKQUOTE> $ rigctl -list </BLOCKQUOTE> <P> Then start rigctl with your model number, e.g. '210' for a kenwood TS-870S, hooked up to COM2: <P> <BLOCKQUOTE> $ rigctl -r /dev/ttyS1 -m 210 </BLOCKQUOTE> <P> Now you can check out if mode, PTT, frequency, signal strength and power (all used by xlog) are retrieved. At the 'Rig command:' prompt, type: <P><DL> <DT><STRONG>f</STRONG></DT> <DD>: retrieve frequency </DD> <DT><STRONG>m</STRONG></DT> <DD>: retrieve mode </DD> <DT><STRONG>t</STRONG></DT> <DD>: retrieve PTT (TX/RX mode) </DD> <DT><STRONG>l</STRONG></DT> <DD>and 'STRENGTH': retrieve signal strength (-54=S0 and 0=S9) </DD> <DT><STRONG>l</STRONG></DT> <DD>and 'RFPOWER': retrieve rig power (0.39 = 100 Watts) </DD> </DL> <P> The hamlib FAQ at <TT><A NAME="tex2html7" HREF="http://hamlib.sf.net/faq.html">http://hamlib.sf.net/faq.html</A></TT> gives some answers to common problems. You could also ask around on the hamlib mailing list, see: <TT><A NAME="tex2html8" HREF="http://lists.sourceforge.net/lists/listinfo/hamlib-developer">http://lists.sourceforge.net/lists/listinfo/hamlib-developer</A></TT>. <P> <P> <DIV CLASS="navigation"><HR> <!--Navigation Panel--> <A NAME="tex2html171" HREF="node12.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html169" HREF="node9.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html165" HREF="node10.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <BR> <B> Next:</B> <A NAME="tex2html172" HREF="node12.html">Printing</A> <B> Up:</B> <A NAME="tex2html170" HREF="node9.html">Hamlib</A> <B> Previous:</B> <A NAME="tex2html166" HREF="node10.html">Hamlib preferences</A></DIV> <!--End of Navigation Panel--> <ADDRESS> Joop Stakenborg 2009-01-14 </ADDRESS> </BODY> </HTML>