Re: Configuring W3DJS V1.0 Direwolf questions.


David Ranch
 


Hello Dennis,

Dire Wolf DEVELOPMENT version 1.6 G (Jun 18 2020)
Includes optional support for:  gpsd hamlib cm108-ptt

Ok.. perfect.. looks good.


Reading config file direwolf.conf
Audio device for both receive and transmit: plughw:1,0  (channel 0)
Channel 0: 1200 baud, AFSK 1200 & 2200 Hz, E+, 44100 sample rate / 3.
Ready to accept AGW client application 0 on port 8000 ...
Ready to accept KISS TCP client application 0 on port 8001 ...

Ok.. also looks good


Attached to AGW client application 0...
Ready to accept AGW client application 1 on port 8000 ...
Hamlib Error: rig_set_ptt command for channel 0 PTT
Communication timed out

Ok, I recommend to try some specific testing outside of Direwolf first.  For example, try reading the state of your radio's PTT.  Here is the command I use for my FT950 with an older version of Hamlib:

  rigctl -m 128 -r /dev/USI_CAT -s 38400 -P RIG t

I get a result of "0" meaning PTT is not asserted.  If you substitute in your proper rig number, serial port device, and serial port speed, does that command work for you?  It *must*.


Next up, what is the permissions of your serial port?  Run the following command:

   ls -la /dev/ttyUSB0


In Fldigi I use the Rigcat or Hamlib configs, either works. They use /dev/ttyUSB0 device, which is the Yaesu CAT-62 cable.

Ok.. you previously also mentioned Flrig works which is also it's own type of rig control. 


I was aware that Direwolf uses it's own hamlib. If I do a list of rigs (rigctl --list):
 
  1020  Yaesu    FT-817            20200616.0      Stable      RIG_MODEL_FT817
  1021  Yaesu    FT-100            20200323.0      Beta        RIG_MODEL_FT100
  1022  Yaesu    FT-857            20200323.0      Stable      RIG_MODEL_FT857
  1023  Yaesu    FT-897            20200607.0      Stable      RIG_MODEL_FT897

It's not that Direwolf uses it's own Hamlib, it just uses libraries to communicate to whatever hamlib you have installed.  WSJT-X is different as it brings in it's own special copy of Hamlib which is localized for WSJTX only.

--David
KI6ZHD

Join RaspberryPi-4-HamRadio@groups.io to automatically receive all group messages.