Re: [Hamlib-developer] hamlib 1.2.8 and IC-7400
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: Ladislav V. <sp...@na...> - 2008-12-04 14:07:09
|
Hi, what is power supply for radio side (+8V on schematics) ? If you use terminal program like minicom, does it echo typed characters? What voltage is on cannon pins 4 and 7 ? Do you have oscilloscope to see signal shapes? And my favorite mistake: do you have cannon connected to the right connector? :-) Is the /dev/ttyS0 opened only by rigctl (as root lsof /dev/ttyS0) 73 Lada, OK1ZIA On Wed, 3 Dec 2008, Corny, Df6fR wrote: > Hi, > > a few weeks ago I got my new radio, a IC-7400, and I thought it would > be useful for contests to connect it to a laptop via CIV. So I built > the opto-isolated converter: http://www.plicht.de/ekki/civ/if-gary.html > > Since I want to use N1MM as contest logger, I first tested it on > RedmondOS with N1MM and it worked out of the box. So I thought it > should be no problem to run it with hamlib for my everyday logging on > Debian Lenny. I installed lihamlib2 and libhamlib-utils, version > 1.2.7..., but I had some problems. So I installed 1.2.8 from source. > > I adjusted the rigctl parameters to the values N1MM uses, but it does > not work as expected. Here is my command used: > $ rigctl --model=346 --rig-file=/dev/ttyS0 --serial-speed=9600 > --civaddr=0x66 --set-conf=data_bits=8,stop_bits=1,serial_parity=None, > rts_state=ON,dtr_state=ON -vvvvv > > The thing is, hamlib only receives rubbish, but can send commands to > the IC-7400 which are executed, i.e. setting frequency and mode. If I > want to get the frequency with f: "get_freq: error = Communication bus > collision". > > Here is a complete copy of the trace, including successful set commands: > > rigctl, Hamlib version 1.2.8 > Report bugs to <ham...@li...> > > rig:rig_init called > rig: loading backend icom > icom: _init called > rig_register (355) > rig_register (309) > rig_register (310) > rig_register (311) > rig_register (313) > rig_register (314) > rig_register (315) > rig_register (319) > rig_register (320) > rig_register (321) > rig_register (323) > rig_register (346) > rig_register (324) > rig_register (328) > rig_register (330) > rig_register (326) > rig_register (327) > rig_register (347) > rig_register (357) > rig_register (329) > rig_register (345) > rig_register (356) > rig_register (360) > rig_register (331) > rig_register (312) > rig_register (316) > rig_register (332) > rig_register (334) > rig_register (344) > rig_register (335) > rig_register (336) > rig_register (358) > rig_register (337) > rig_register (338) > rig_register (339) > rig_register (340) > rig_register (341) > rig_register (342) > rig_register (343) > rig_register (303) > rig_register (304) > rig_register (306) > rig_register (307) > rig_register (352) > rig_register (353) > rig_register (351) > rig_register (354) > rig:rig_open called > Opened rig model 346, 'IC-746PRO' > Backend version: 0.4, Status: Untested > > Rig command: f > TX 6 bytes > 0000 fe fe 66 e0 03 fd ..f... > RX 1 characters > 0000 fc . > TX 6 bytes > 0000 fe fe 66 e0 03 fd ..f... > RX 1 characters > 0000 fc . > TX 6 bytes > 0000 fe fe 66 e0 03 fd ..f... > RX 1 characters > 0000 fc . > TX 6 bytes > 0000 fe fe 66 e0 03 fd ..f... > RX 1 characters > 0000 fc . > get_freq: error = Communication bus collision > > Rig command: m > TX 6 bytes > 0000 fe fe 66 e0 04 fd ..f... > RX 1 characters > 0000 fc . > TX 6 bytes > 0000 fe fe 66 e0 04 fd ..f... > RX 1 characters > 0000 fc . > TX 6 bytes > 0000 fe fe 66 e0 04 fd ..f... > RX 1 characters > 0000 fc . > TX 6 bytes > 0000 fe fe 66 e0 04 fd ..f... > RX 1 characters > 0000 fc . > get_mode: error = Communication bus collision > > Rig command: M LSB 0 > TX 7 bytes > 0000 fe fe 66 e0 06 00 fd ..f.... > RX 1 characters > 0000 fc . > TX 7 bytes > 0000 fe fe 66 e0 06 00 fd ..f.... > RX 1 characters > 0000 fc . > TX 7 bytes > 0000 fe fe 66 e0 06 00 fd ..f.... > RX 1 characters > 0000 fc . > TX 7 bytes > 0000 fe fe 66 e0 06 00 fd ..f.... > RX 1 characters > 0000 fc . > Mode: Passband: set_mode: error = Communication bus collision > > Rig command: M CW 0 > TX 7 bytes > 0000 fe fe 66 e0 06 03 fd ..f.... > RX 1 characters > 0000 fc . > TX 7 bytes > 0000 fe fe 66 e0 06 03 fd ..f.... > RX 1 characters > 0000 fc . > TX 7 bytes > 0000 fe fe 66 e0 06 03 fd ..f.... > RX 1 characters > 0000 fc . > TX 7 bytes > 0000 fe fe 66 e0 06 03 fd ..f.... > RX 1 characters > 0000 fc . > Mode: Passband: set_mode: error = Communication bus collision > > Rig command: F 7025000 > TX 11 bytes > 0000 fe fe 66 e0 05 00 50 02 07 00 fd ..f...P.... > RX 1 characters > 0000 fc . > TX 11 bytes > 0000 fe fe 66 e0 05 00 50 02 07 00 fd ..f...P.... > RX 1 characters > 0000 fc . > TX 11 bytes > 0000 fe fe 66 e0 05 00 50 02 07 00 fd ..f...P.... > RX 1 characters > 0000 fc . > TX 11 bytes > 0000 fe fe 66 e0 05 00 50 02 07 00 fd ..f...P.... > RX 1 characters > 0000 fc . > Frequency: set_freq: error = Communication bus collision > > Rig command: F 7026001 > TX 11 bytes > 0000 fe fe 66 e0 05 01 60 02 07 00 fd ..f...`.... > RX 1 characters > 0000 fc . > TX 11 bytes > 0000 fe fe 66 e0 05 01 60 02 07 00 fd ..f...`.... > RX 1 characters > 0000 fc . > TX 11 bytes > 0000 fe fe 66 e0 05 01 60 02 07 00 fd ..f...`.... > RX 1 characters > 0000 fc . > TX 11 bytes > 0000 fe fe 66 e0 05 01 60 02 07 00 fd ..f...`.... > RX 1 characters > 0000 fc . > Frequency: set_freq: error = Communication bus collision > > > I would be very glad if someone could point me in the right direction, > where I should take a closer look at. I am not a subscriber to the list, > so please put me in the Cc. > > Thanks a lot and 73, > Corny, Df6fR > -- > Cornell P Gonschior, Df6fR > |