TRX Control and Elecraft K3

5 posts / 0 new
Last post
ak4ik
TRX Control and Elecraft K3

All, I have an Elecraft K3 I'm trying to get functioning with CQRLog. I have it connected to my computer via RS232 port, and think I have everything set up correctly in CQRLog, but can't seem to get rig control working. My system is set up for 38400 baud connection, 8 data bits, 1 stop bit, no parity or rig control. I use, per the CQRLog tables, rig model ID 229. However, CQRLog doesn't even seem to know my rig is present. Can anyone point me in the right direction as to what I'm doing wrong? I'm also new to Linux, so please be gentle with me. :-)

Thanks and 73,

Ian Kahn, AK4IK
Roswell, GA USA

ak4ik
TRX Control and Elecraft K3

All, I have an Elecraft K3 I'm trying to get functioning with CQRLog. I have it connected to my computer via RS232 port, and think I have everything set up correctly in CQRLog, but can't seem to get rig control working. My system is set up for 38400 baud connection, 8 data bits, 1 stop bit, no parity or rig control. I use, per the CQRLog tables, rig model ID 229. However, CQRLog doesn't even seem to know my rig is present. Can anyone point me in the right direction as to what I'm doing wrong? I'm also new to Linux, so please be gentle with me. :-)

Thanks and 73,

Ian Kahn, AK4IK
Roswell, GA USA
ak4ik.ian@gmail.com

N0NB
Re: TRX Control and Elecraft K3

Hi Ian. Welcome to CQRlog and Linux.

First off, the K3 requires 2 stop bits. Odd, yes, but that's required.

Permissions can be another issue. What serial device do you have selected? If it's a built-in serial port then it will be called something like /dev/ttyS0 fro COM1, /dev/ttyS1 for COM2, etc. USB to serial adapters are named as /dev/ttyUSB0 and so on. You will need to have your username be a member of the serial port's group. In a terminal session, what does 'ls -l /dev/ttyS0' (or whichever port you're using) report? What does the command 'groups' return?

What version of Hamlib is installed? I did a lot of fixes for the K3 that made it into the 1.2.13 version of Hamlib (of earlier this year) and later.

A lot of questions, but there are several variables that can affect this. It's a pain, I know, but once set it stays. :-)

73, de Nate >>

ak4ik
Re: Re: TRX Control and Elecraft K3

Nate,

Thanks for the info. Here's the output of the ls command you suggested:

ian@ian-hamshack:~$ ls -l /dev/ttyS0
crw-rw---- 1 root dialout 4, 64 2011-10-09 22:58 /dev/ttyS0

As I'm still learning, I'm not entirely sure how to read the permissions, but it doesn't look like my account explicitly has any. How do I change that?

Also, from Synaptic Package Manager, it looks like I have libhamlib2 v1.2.13-1 installed. Based on your comments, above, this should be the most recent. If not, should I download from Sourceforge?

Thanks for your assistance. I deeply appreciate it.

73,

Ian, AK4IK
Roswell, GA
ak4ik.ian@gmail.com

N0NB
Re: TRX Control and Elecraft K3

The keyword is 'dialout' which is the group the device belongs to. It is owned by 'root' which owns all devices. You can access the device one of two ways being 'root' (highly NOT recommended) or by having your user be a member of the 'dialout' group.

Now, in the same manner you posted the 'ls' output, please post the output from the 'groups' command. It will show what groups your username is a member of.

Are you using GNOME? Which distribution are you using as there are a couple of different ways to manage the group permissions.

Hamlib 1.2.13 will be fine for CQRlog. 1.2.14 added a few features and fixes not used by CQRlog.

73, de Nate >>