Rig Control Does Not Work - Ubuntu 12.04

6 posts / 0 new
Last post
N2ATB
Rig Control Does Not Work - Ubuntu 12.04

I am using a TS-590S connected to my computer via a USB port. Rig control worked fine with CQRLOG 1.4.1 and Ubuntu 11.04. After doing a clean install of 12.04 and reinstalling CQRLOG, rig control no longer works. It has also stopped working with fldigi. Here is the information displayed in Terminal when opening CQRLOG:

Settings:
-----------------------------------------------------
RigCtldPath:/usr/bin/rigctld
RigCtldArgs:-m %m -r %r -t %t -s 38400
RunRigCtld: TRUE
RigDevice: /dev/ttyusb1
RigCtldPort:4532
RigCtldHost:localhost
RigPoll: 500
RigSendCWR: FALSE
RigId: 228

Starting RigCtld ...
/usr/bin/rigctld -m 228 -r /dev/ttyusb1 -t 4532 -s 38400
rig_open: error = IO error
rigctld started!
Result0:N
Result1:Y
Result2:Y
Connected to localhost:4532

Note the error message "rig_open: error = IO error". I have tried variations of the command line for rigctld recommended by others in this forum to no avail. Any help would be much appreciated.

Tony (N2ATB)

k8wdx
Here is why

Here is why

1) ls -la /dev/ttyS0 — This will report the permissions on the port. Typically, this will say crw-rw—- 1 root uucp. The “c” in the string indicates that it’s a “character device” the first “rw” indicates that the owner has read/write permission. The second “rw” means that the group has read/write permissions. The “—” indicates that the rest of the world has no permissions. After the “—-”, “root” indicates that the owner of the device is root, and that the group id is “uucp”. So, you either need to be root, or a member of the uucp group to have read/write access to the port.
2) To add yourself to the uucp group (to get read/write access), you need to edit the file /etc/group, and add your user name to the line that begins with “uucp:” User names are separated by commas, so add a comma, then your user name to the end of the line. You will need root permissions to edit this file.
3) log out, and log back in because group associations are made at login time, and are not queried on each request.

How to fix it:
Terminal:
gksudo gedit /etc/group

Enter your password

Look for :
dialout:x:20:
Put you user name here, mine is my call, it will look like this:
dialout:x:20:k8wdx
I also did the same to:
tty:x:5:
so it looks like this
tty:x:5:k8wdx

then save, log out and log back in. all should be good.
I got Fldigi working first then worked on CQRlog. HTH Tom K8WDX

Tom K8WDX

N2ATB
Still Not Working

Tom,

Thanks for the quick response. I made the changes that you suggested and, unfortunately, after opening CQRLOG in Terminal, got the same "rig_open: error = IO error" message. Issuing the ls -la /dev/ttyS0 command produces the following string: "crw-rw---- 1 root dialout 4, 64 May 13 08:27 /dev/ttyS0" which is the same as before making the changes. Here is the contents of the /etc/group file after the changes were made:

root:x:0:
daemon:x:1:
bin:x:2:
sys:x:3:
adm:x:4:tony
tty:x:5:tony
disk:x:6:
lp:x:7:
mail:x:8:
news:x:9:
uucp:x:10:
man:x:12:
proxy:x:13:
kmem:x:15:
dialout:x:20:tony
fax:x:21:
voice:x:22:
cdrom:x:24:tony
floppy:x:25:
tape:x:26:
sudo:x:27:tony
audio:x:29:pulse
dip:x:30:tony
www-data:x:33:
backup:x:34:
operator:x:37:
list:x:38:
irc:x:39:
src:x:40:
gnats:x:41:
shadow:x:42:
utmp:x:43:
video:x:44:
sasl:x:45:
plugdev:x:46:tony
staff:x:50:
games:x:60:
users:x:100:
nogroup:x:65534:
libuuid:x:101:
crontab:x:102:
syslog:x:103:
fuse:x:104:
messagebus:x:105:
bluetooth:x:106:
scanner:x:107:
colord:x:108:
lpadmin:x:109:tony
ssl-cert:x:110:
lightdm:x:111:
nopasswdlogin:x:112:
netdev:x:113:
whoopsie:x:114:
mlocate:x:115:
ssh:x:116:
avahi-autoipd:x:117:
avahi:x:118:
pulse:x:119:
pulse-access:x:120:
utempter:x:121:
rtkit:x:122:
saned:x:123:
tony:x:1000:
sambashare:x:124:tony
mysql:x:125:

Any further suggestions would be appreciated. Again, thanks for your help.

73,
Tony (N2ATB)

ok2cqr
ok2cqr's picture
Re: Still Not Working

Hi Tony,

Settings:
-----------------------------------------------------
RigCtldPath:/usr/bin/rigctld
RigCtldArgs:-m %m -r %r -t %t -s 38400
RunRigCtld: TRUE
RigDevice: /dev/ttyusb1
RigCtldPort:4532
RigCtldHost:localhost
RigPoll: 500
RigSendCWR: FALSE
RigId: 228

Please look at rig device configuration. /dev/ttyusb1 won't exists. It should be /dev/ttyUSB1 if you have two serial to usb convertors. If you have your TRX connected to serial port, you should use /dev/ttyS0 as rig device.

73 Petr, OK2CQR

N2ATB
Problem Solved

Hi Petr,

Thank you very much. Your suggestion solved the problem. Rig control is now working as it should. I thoroughly enjoy using your program and appreciate all of the effort that you put into it. Also, thanks to Tom (K8WDX) for his help.

73,
Tony (N2ATB)

k8wdx
Tony, Glad you got it going,

Tony, Glad you got it going, took me a bit about 2 weeks of trying and tinkering with stuff I read on the web and stuff Peter already posted, I am one of those that will try and try before asking for help. and usually get it figured out, still kinda new to Linux, but I am having fun learning it. I now consider it a second hobby. I am loving every min of it..Tom K8WDX
BTW Peter, my shack PC is Ubuntu 12.04. this is what it will be untill you change. 73 My friend and say hi to the family, GD DX!!

Tom K8WDX