Re: [Hamlib-developer] problem adding modules (rigs)
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: Frank S. <vk...@ix...> - 2001-02-03 15:41:48
|
David HM Spector wrote:
>
> Hi all,
>
> I'm working on adding support for the Icom R-8500 and the 750PRO to
> hamlib (and a set of nice GUIs to make'em useful), but I'm running in
> to a prtty basic problem: After adding the modules (i.e., "r8500.c")
> to the Makefile.am file in the icom directory, and rebuilding the
> entire package, I never see the new rig(s) listed when I invoke
> listrigs in the tests directory.
>
> If I get a listing of the contents of the icom.a library (with ar -t)
> I see that my modules are indeed in the library, they just don't ever
> seem to be called. Any ideas..?
First, welcome :-)
The GUI's would be most welcome !!
Second, if you put your rig in the testrig.c file
with the correct port and compile, do you see
communication with the rig at all.
ie:
#define SERIAL_PORT "/dev/ttyS0" <----------- your port here
<snip>
/*
* allocate memory, setup & open port
*/
retcode = rig_load_backend("ft747"); <--------- your rig here
if (retcode != RIG_OK ) {
printf("rig_load_backend: error = %s \n", rigerror(retcode));
exit(3);
}
my_rig = rig_init(RIG_MODEL_FT747); <------and here
ie: replace the "ft747" with your rig type
Just trying to establish if its a listrig thing
or something else.
--
Cheers / Frank
73's de vk3fcs & km5ws
|