[amsat-bb] Question for Gpredict Users

2014-06-20 Thread Richard Lawn
I'm new to using Ubuntu-Linux. I finally with a lot of outside counciling
got FlDigi to run using either Hamlib or Flrig to handle CAT on my FT-847.
I thought I was home free until I found that Gpredict would not control CAT
on the radio. What am I doing wrong? Can anyone help? Linux is my only
resource on this old XP P3 computer. Ubuntu runs great if I can only learn
how to use command line Linus language hi hi!
73
Rick
W2JAZ
___
Sent via AMSAT-BB@amsat.org. Opinions expressed are those of the author.
Not an AMSAT-NA member? Join now to support the amateur satellite program!
Subscription settings: http://amsat.org/mailman/listinfo/amsat-bb


Re: [amsat-bb] Question for Gpredict Users

2014-06-21 Thread Andrew Koenig
It's not that difficult. I'm going to CC the 'bb on this so anybody else
facing the same problem can use this. Also, they should be almost drop-in
compatible, but I ran all of this on a Linux Mint install, not Ubuntu. Mint
(IMHO) is a little more friendlier than Ubuntu, but is a direct fork of
Ubuntu so you shouldn't have any compatibility issues.

First, install git and some dependencies. This assumes GPredict is already
installed.

*sudo apt-get install git libglib2.0-dev libtool intltool
libcurl4-gnutls-dev libgoocanvas-dev*

Then you'll want to grab the code.

*git clone git://git.code.sf.net/p/gpredict/code
 gpredict-code*

This will create a new directory (probably gpredict-code); you'll want to
move into that directory.

*cd gpredict-code *

Next, run the autogen script. This prepares the code for installation.

*./autogen.sh*

Assuming that runs all the way through without exiting for errors, run

*./configure*

then

*make*

and finally

*sudo make install*

Assuming everything goes according to plan, you should be able to launch
the program by running

*/usr/local/bin/gpredict*

Make sure it's the correct version by going to Help > About GPredict.
"GPREDICT 1.3.242-b445" is the text you're looking for.

Finally, let's replace the out-of-date binary with this one. This probably
isn't the best way to do it, but it works.



*sudo mv /usr/local/bin/gpredict /usr/bin/*
That should do it for updating it to the latest version.

Other changes that were helpful:
> Duplex TRX & Sub Up / Main Down in the interfaces prompt
> Modules > Layout > Select Layout "All Views (Wide)" (Requires restart of
program)

Anyway, good luck. Let me know how it turns out.

73 de KE5GDB



On Sat, Jun 21, 2014 at 12:53 PM, Richard Lawn  wrote:

> Rats! It's been a struggle up to this point. Maybe I should wait for it to
> hit the repository. If not I'll need specific directions on how to compile
> it as I've never done that before.
> Thanks.
> Rick
>
> On Saturday, June 21, 2014, Andrew Koenig  wrote:
>
>> Rick,
>>
>> This is where things get exponentially more difficult. There's a bug in
>> GPredict that directly affects the 847, and it's been fixed, but that fix
>> hasn't propagated through the repositories yet. You'd need to build
>> GPredict from source code to have the change applied.
>>
>> git clone git://git.code.sf.net/p/gpredict/code gpredict-code
>>
>> That command is where you'd start. I think from there you'd run
>> autoconf.sh or something. At this point things start getting fuzzy as to
>> how I fixed it, but it wasn't a simple process.
>>
>>
>> On Sat, Jun 21, 2014 at 10:47 AM, Richard Lawn  wrote:
>>
>>> This is fabulous! You've gotten me very close to all this working. I now
>>> I have CAT control but when call up the radio control panel in Gpredict
>>> and select SO50 for example the main tune jumps to the correct 70cm freq
>>> for downlink but the sub tuning freq for uplink remains unchanged. I must
>>> be missing a command line command for the 847 in Hamlib which I still don't
>>> entirely understand but I'm getting there. Any suggestions on how to make
>>> this last fix?
>>> Tnx
>>> Rick
>>>
>>> On Saturday, June 21, 2014, Andrew Koenig  wrote:
>>>
 Rick,

 GPredict will control your rig, but it requires hamlib. From the
 command line, you must run rigctld -m 101 -s 9600 /dev/ttyS0. These
 parameters will change for whatever flavor of radio you're using (m = rig
 number; s = CAT baud rate). Rigctld is part of hamlib. I think the command
 to list all of the different radios supported is rigctl --list.

 Under the "Interface" configuration, you must specify your rig
 capabilities. All this does is tell GPredict what to expect from
 hamlib/rigctld.

 rotctld is the one for your rotor. It works in the same manor as
 rigctld.

 Let me know if you've got any more questions or need further
 explanations. I think these commands are correct, but I'm not at the shack
 PC.

 73 de KE5GDB


 On Fri, Jun 20, 2014 at 4:41 PM, Richard Lawn  wrote:

> I'm new to using Ubuntu-Linux. I finally with a lot of outside
> counciling
> got FlDigi to run using either Hamlib or Flrig to handle CAT on my
> FT-847.
> I thought I was home free until I found that Gpredict would not
> control CAT
> on the radio. What am I doing wrong? Can anyone help? Linux is my only
> resource on this old XP P3 computer. Ubuntu runs great if I can only
> learn
> how to use command line Linus language hi hi!
> 73
> Rick
> W2JAZ
> ___
> Sent via AMSAT-BB@amsat.org. Opinions expressed are those of the
> author.
> Not an AMSAT-NA member? Join now to support the amateur satellite
> program!
> Subscription settings: http://amsat.org/mailman/listinfo/amsat-bb
>



 --
 Andrew Koenig

Re: [amsat-bb] Question for Gpredict Users

2014-06-23 Thread Pavel Milanes Costa

My mistake...

I found a error y my commands earlier sended to you...

In every sentence that states /dev/USB0 you you must put /dev/ttyUSB0 
and so on..


note the tty between /dev/ and USB0

Sorry, I was away from home and now I tested at home and found the "bug"

73

El 20/06/14 18:30, Richard Lawn escribió:

Still doesn't seem to work, but thank you for your help. Linux is nearly
like a foreign language to me hi hi. I'll paste a screen shot of the
terminal window that might help diagnosis.

When I then typed into the terminal - rigctl -m 101 -r /dev/ttyS0 the
window just froze. I left it open and then tried to engage radio control
through Gpredict and the screen dimmed and would not respond to any
controls other than to shut down the application. Suggestions?
Rick


On Fri, Jun 20, 2014 at 6:07 PM, Pavel Milanes Costa mailto:co...@frcuba.co.cu>> wrote:

Hi Richard...

In Linux with Gperdict you have to use a hamlib "proxy"...

First install the package hamlib-utils, using the console or terminal...

If debian

su -
(provide your debian root paswd)
apt-get install hamlib hamlib-utils

if ubuntu

sudo apt-get install hamlib hamlib-utils
(provide your user passwd here)

Then you must tune your rigctld command

for a FT-847 this is a good starting point... again, in console...

rigctld -m 101 -r /dev/USB0

Where

-m 101 is you telling the soft that you have a FT-847...
-r /dev/USB0 is your serial device, in this case I use a usb to
serial interface, if you use a REAL serial port in yopur PC you have
to change /dev/USB0 by /dev/ttyS0

The 0 in all this is the order... 0 is COM1 like in windows, and
/dev/USB0 is the forst usb you connected...

I think you already have dialup permissions...


73 de CO7WT

- Mensaje original -
De: Richard Lawn mailto:rjl...@gmail.com>>
Para: Amsat BB mailto:amsat-bb@amsat.org>>
Enviado: Fri, 20 Jun 2014 17:41:24 -0400 (CDT)
    Asunto: [amsat-bb] Question for Gpredict Users

I'm new to using Ubuntu-Linux. I finally with a lot of outside
counciling
got FlDigi to run using either Hamlib or Flrig to handle CAT on my
FT-847.
I thought I was home free until I found that Gpredict would not
control CAT
on the radio. What am I doing wrong? Can anyone help? Linux is my only
resource on this old XP P3 computer. Ubuntu runs great if I can only
learn
how to use command line Linus language hi hi!
73
Rick
W2JAZ
___
Sent via AMSAT-BB@amsat.org <mailto:AMSAT-BB@amsat.org>. Opinions
expressed are those of the author.
Not an AMSAT-NA member? Join now to support the amateur satellite
program!
Subscription settings: http://amsat.org/mailman/listinfo/amsat-bb



___
Sent via AMSAT-BB@amsat.org. Opinions expressed are those of the author.
Not an AMSAT-NA member? Join now to support the amateur satellite program!
Subscription settings: http://amsat.org/mailman/listinfo/amsat-bb