Hi, just struggling with TRXcontrol with my 440. No worky.
In inicializerig
Model:202
Port:/dev/ttyUSB0
Baudrate:4800
Databits:8
StopBits:2
Handshake:None
Parity:None
DTR:OFF
RTS:OFF
Poll:250
RIG_RESULT1: in tRig.Close
TRX control thread terminated
I know, that hamlib works. I can command rig with rigctl and in Jlog controlling works. Suggested handshaking "hardware" does not work with rigctl, has to be "none".
I had troubles with Jlog, because of lockfile, had to set /var/lock user writable.
I'm using Fedora15 and hamlib-1.2.12-3.fc15.i686
Serial interface is DigiMaster USB IF232 CAT Interface.
Anyone had succes with ts-440?
Jarmo
Try increasing the poll time. 250 mS may be too fast. I use 1500 in CQRlog as I can rarely QSY and complete a QSO in that amount of time!
No change. When I open TRXcontrol window, I see only zeroes, so cqrlog does not read radio at all. In Jlog poll time is 300 mS. I have tested several times, but no effect. Ofcourse hamlib for 440 is in alpha, but when somehow working in another prog, think should work others too. By the way, does not work in Xlog either.
This opens radio in rigctl:
rigctl -r /dev/ttyUSB0 -m 202 -C serial_handshake=None
And I can command rig really...
Jarmo
<p>Jarmo</p>
Hi Jarmo,
please run cqrlog from console and paste here what it writes. Thank you!
73 Petr, OK2CQR
--
http://HamQTH.com/ok2cqr
https://ok2cqr.com
Hi Petr
In my first post was copy of rig section, but here's all what is written into console:
[oh1mrr@oh1mrr cqrlog]$ cqrlog
Loading libssl: /usr/lib/libssl.so
Loading libcrypto: /usr/lib/libcrypto.so
Loading libmysqlclient: /usr/lib/mysql/libmysqlclient.so
*
User home directory: /home/oh1mrr/
Program home directory: /home/oh1mrr/.config/cqrlog/
Data directory: /home/oh1mrr/.config/cqrlog/database/
Memebers directory: /usr/share/cqrlog/members/
ZIP code directory: /usr/share/cqrlog/zipcodes/
Binary dir: /usr/bin/
Share dir: /usr/share/cqrlog/
*
/usr/bin/mysqld_safe --defaults-file=/home/oh1mrr/.config/cqrlog/database/my.cnf --default-storage-engine=MyISAM --datadir=/home/oh1mrr/.config/cqrlog/database/ --socket=/home/oh1mrr/.config/cqrlog/database/sock --skip-grant-tables --port=64000 --key_buffer_size=32M --key_buffer_size=4096K
111011 05:51:30 mysqld_safe Logging to '/home/oh1mrr/.config/cqrlog/database//oh1mrr.ampr.org.err'.
111011 05:51:31 mysqld_safe Starting mysqld daemon with databases from /home/oh1mrr/.config/cqrlog/database/
select * from tables where table_schema = 'cqrlog_common'
SELECT log_nr,log_name FROM cqrlog_common.log_list order by log_nr
use cqrlog001
use cqrlog001
SELECT * FROM cqrlog_config
SELECT * FROM cqrlog_common.dxcc_ref ORDER BY ADIF
SELECT * FROM cqrlog_common.dxcc_ref ORDER BY ADIF
In inicializerig
Model:202
Port:/dev/ttyUSB0
Baudrate:4800
Databits:8
StopBits:2
Handshake:None
Parity:None
DTR:OFF
RTS:OFF
Poll:1500
RIG_RESULT1: in tRig.Close
TRX control thread terminated
Loading window size a position (height|width|top|left):651|876|256|195
Section:frmDXCluster
Loading window size a position (frmDXCluster) (height|width|top|left):444|855|44|11
Section:frmPropagation
Loading window size a position (frmPropagation) (height|width|top|left):183|177|20|20
CW init
SELECT * FROM profiles WHERE visible > 0 ORDER BY nr
SFI: 126
A: 3
K: 1 (5 nT)
GF: QUIET
SSN: 87
Time: 0225 UT 11 Oct 2011
Only diff is there poll time 1500 as succested, but it didn.t help. I know, this is not easy, because of different interfaces, setup can be little different. What tested yesterday with Jlog, it can control frequency, but not mode, i.e taking call from cluster, freq. changes, but not mode, so there is something also.
Just alittle info, what rig can, taken from rigctl:
Rig command: 1
Caps dump for model: 202
Model name: TS-440
Mfg name: Kenwood
Backend version: 0.8.0.6
Backend copyright: LGPL
Backend status: Alpha
Rig type: Transceiver
PTT type: Rig capable
DCD type: None
Port type: RS-232
Serial speed: 1200..4800 bauds, 8N2 CTS/RTS
Write delay: 20ms, timeout 200ms, 3 retry
Post Write delay: 30ms
Has targetable VFO: Y
Has transceive: Y
Announce: 0x0
Max RIT: -9.990kHz/+9.990kHz
Max XIT: -9.990kHz/+9.990kHz
Max IF-SHIFT: -0.0kHz/+0.0kHz
Preamp: None
Attenuator: None
CTCSS: None
DCS: None
Get functions:
Set functions: LOCK
Get level:
Set level:
Extra levels:
Get parameters:
Set parameters:
Extra parameters:
Mode list: AM CW USB LSB RTTY FM
VFO list: VFOA VFOB
VFO Ops: UP DOWN
Scan Ops: VFO
Number of banks: 0
Memory name desc size: 0
Memories:
0..99: MEM
Mem caps: FREQ MODE TXFREQ TXMODE
TX ranges status, region 1: OK (0)
RX ranges status, region 1: OK (0)
TX ranges status, region 2: OK (0)
RX ranges status, region 2: OK (0)
Tuning steps:
10 Hz: AM CW USB LSB RTTY FM
Tuning steps status: OK (0)
Filters:
2.2 kHz: CW USB LSB RTTY
6 kHz: AM
12 kHz: FM
Bandwidths:
AM Normal: 6 kHz, Narrow: 0 Hz, Wide: 0 Hz
CW Normal: 2.2 kHz, Narrow: 0 Hz, Wide: 0 Hz
USB Normal: 2.2 kHz, Narrow: 0 Hz, Wide: 0 Hz
LSB Normal: 2.2 kHz, Narrow: 0 Hz, Wide: 0 Hz
RTTY Normal: 2.2 kHz, Narrow: 0 Hz, Wide: 0 Hz
FM Normal: 12 kHz, Narrow: 0 Hz, Wide: 0 Hz
Has priv data: Y
Has Init: Y
Has Cleanup: Y
Has Open: N
Has Close: N
Can set Conf: N
Can get Conf: N
Can set Frequency: Y
Can get Frequency: Y
Can set Mode: Y
Can get Mode: Y
Can set VFO: Y
Can get VFO: Y
Can set PTT: Y
Can get PTT: Y
Can get DCD: N
Can set Repeater Duplex: N
Can get Repeater Duplex: N
Can set Repeater Offset: N
Can get Repeater Offset: N
Can set Split Freq: E
Can get Split Freq: E
Can set Split Mode: E
Can get Split Mode: E
Can set Split VFO: Y
Can get Split VFO: Y
Can set Tuning Step: N
Can get Tuning Step: N
Can set RIT: Y
Can get RIT: Y
Can set XIT: Y
Can get XIT: Y
Can set CTCSS: N
Can get CTCSS: N
Can set DCS: N
Can get DCS: N
Can set CTCSS Squelch: N
Can get CTCSS Squelch: N
Can set DCS Squelch: N
Can get DCS Squelch: N
Can set Power Stat: N
Can get Power Stat: N
Can Reset: N
Can get Ant: N
Can set Ant: N
Can set Transceive: Y
Can get Transceive: N
Can set Func: Y
Can get Func: N
Can set Level: N
Can get Level: N
Can set Param: N
Can get Param: N
Can send DTMF: N
Can recv DTMF: N
Can send Morse: N
Can decode Events: Y
Can set Bank: N
Can set Mem: Y
Can get Mem: Y
Can set Channel: Y
Can get Channel: Y
Can ctl Mem/VFO: Y
Can Scan: Y
Can get Info: N
Can get power2mW: N
Can get mW2power: N
Overall backend warnings: 0
<p>Jarmo</p>
Have you tried enabling RTS/CTS? The backend has hardware handshake enabled by default.
As of Hamlib 1.2.13 a patch was applied that changed the IFLEN to 38 from 29. I would be interested in working with you on this directly via email, Jarmo. Can you send me the complete output of rigctl with the -vvvvv switch to n0nb@n0nb.us? I am also interested in which interface you are using.
Thanks!
73, de Nate >>
Hi Petr
No succes so far. Is there any way to get some debug
mode on, to see, what actually is happening?
My friend has similar problems with Kenwood ts-50.
Jarmo
<p>Jarmo</p>
Hi Petr
Have had small time to test again rigctl. As said my 440 works in Jlog as well as in minicom. They both wants to write a lock file into /var/lock. So I have to
make sure, that /var/lock is also writable to group, in this case dialout, which is group id of /dev/ttyUSB0. In this Fedora 16 seems tty* belong to group dialout, not group uucp.
Does CQR use lock file?
This is just one thinkabout
73 de Jarmo, OH1MRR
<p>Jarmo</p>