On 25/07/2014 15:23, Thomas Early wrote:
> Hi,
Hi Tom,
>
> My first post, so be gentle please...
>
> I had Debian 7.4 and successfully compiled an earlier version of wsjtx.
> I posted some info on the Yahoo group.
>
> I got tired of "swimming upstream" with Debian and my ham stuff and
> switched to ubuntu 14.04. Now after building the lastest wsjtx I'm
> having trouble with ptt. There seems to be some errors in the code:
>
> in ~/WSJT-X.ini there is a "pttData" variable which is set according to
> the Transmitter Audio Source radio buttons on the Radio configuration
> tab. I have a TS-590s so I set that to "Rear/Data". If I then stop and
> restart and it reverts to "Front/Mic"! Looking at Configuration.cpp, I see:
>
> <code>
>     settings_->setValue ("pttData",
> TransceiverFactory::TX_audio_source_rear == rig_params_.TX_audio_source_);
> </code>
>
> in the write_setting() subroutine. But in the read_settings() subroutine
> there is:
>
> <code>
>     rig_params_.TX_audio_source_ = settings_->value ("TXAudioSource",
> QVariant::fromValue
> (TransceiverFactory::TX_audio_source_front)).value<TransceiverFactory::TXAudioSource>
> ();
> </code>
>
> That is a problem because there is no "TXAudioSource" in WSJT-X.ini.
> So... I changed that line to:
>
> <code>
>     rig_params_.TX_audio_source_ = settings_->value("pttData",
> false).toBool() ? TransceiverFactory::TX_audio_source_rear :
> TransceiverFactory::TX_audio_source_front;
> </code>
OK, I'll check that patch out and apply, thanks.
>
> That fixed my the persistence of the Transmitter Audio Source radio
> buttons, but I am still having problems with ptt! The "Test PTT" button
> turns on the 590s transmitter, but the transmitter is taking input from
> the mic and not the Data port.
>
> Now I am stuck. I see in HamlibTransceiver.cpp the do_ppt() subroutine
> with the line:
>
> <code>
>             error_check (rig_set_ptt (rig_.data (), RIG_VFO_CURR,
> back_ptt_port_ ? RIG_PTT_ON_DATA : RIG_PTT_ON), tr ("setting PTT on"));
> </code>
>
> I am unsure of the logic of setting back_ptt_port_, so I hard coded this
> to the data side:
>
> <code>
>             error_check (rig_set_ptt(rig_.data(), RIG_VFO_CURR,
> RIG_PTT_ON_DATA), tr ("setting PTT on"));
> </code>
>
> According to the code in hamlib, that should send a "TX1" to my 590s,
> but my mic is still active with the "Text PTT" button.
OK, likewise I'll check that out.

The first thing I need to check with you is that you built using my 
Hamlib3 fork since that has many fixes for Hamlib.
>
> Any help would be appreciated! 73!
>
> Tom AC2IE
73
Bill
G4WJS.

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to