#9 FT757GXII should set_ptt ?

closed
nobody
None
5
2008-09-12
2008-09-11
Remi Chateauneu
No

Hi, rigctl -u indicates that Yaesu FT775GXII cannot set ptt, although the documentation of this rig tells:
"The CAT jack also provides access to the PTT line at pin 4 to allow keying the transmitter".
At the same time, the file yaesu/ft757gx.c set the flag ptt_type = RIG_PTT_SERIAL_DTR, but does not provides a function ft757_set_ptt (although there is a ft757_get_ptt).
Was something forbidden ? Thanks.

Discussion

  • If I remember correctly, if ptt_type = RIG_PTT_SERIAL_DTR (or similar) the frontend function rig_set_ptt will take care of it and the backend does not need to implement ft757_set_ptt. The backend only needs to implement it if PTT is done via CAT command.

    So, the question is, can you set the PTT with the current implementation (assuming that you have the correct CAT cable)?

    73
    Alex OZ9AEC

     
    • status: open --> closed
     
  • Salut Rémi,

    Alex asked the right question.

    Some more explanations:
    Indeed, FT757GXII has no backend specific set_ptt, but thanks to RIG_PTT_SERIAL_DTR, rig_set_ptt is done by the Hamlib frontend in a generic way, by controlling the DTR line (see rig_set_ptt in src/rig.c).
    So everything should work OK, isn't it?

    However, I found a bug with rig_get_ptt. Because of the mixed nature of set_ptt(DTR)/get_ptt(specific) of the FT757GXII, the frontend would not allow to call ft757_get_ptt. This is now fixed in Hamlib.

    73
    Stephane F8CFE

     
  • Merci for the answers

    "assuming that you have the correct CAT cable"
    I use LCU-3Y2 (Which replaces FIF-232C according to http://www.wimo.de/cgi-bin/verteiler.pl?url=cat-interfaces_f.html ) with a USB-serial adapter (Prolific Technology, Inc. PL2303 Serial Port) and wrote a program just like ser_set_dtr in src/serial.c, using ioctl(fd, TIOCMBIS, &TIOCM_DTR), and the LEDs are switched on/off. This adapter works fine too for RTS (Setting the PTT of a Yaesu FT23). I debugged hamlib and it does the same. (Checked with a RS232 tester).

    The only possibility I see is that the LCU-3Y2 interface does not work, but could not google anything.

    If this is so, a workaround would be to use the original FIF-232C or instead this one: http://www.shacksupplies.co.uk/product.php?productid=7&cat=7&page=1

    Any idea, please ?

    Thanks.

     
  • Merci for the answers

    "assuming that you have the correct CAT cable"
    I use LCU-3Y2 (Which replaces FIF-232C according to http://www.wimo.de/cgi-bin/verteiler.pl?url=cat-interfaces_f.html ) with a USB-serial adapter (Prolific Technology, Inc. PL2303 Serial Port) and wrote a program just like ser_set_dtr in src/serial.c, using ioctl(fd, TIOCMBIS, &TIOCM_DTR), and the LEDs are switched on/off. This adapter works fine too for RTS (Setting the PTT of a Yaesu FT23). I debugged hamlib and it does the same. (Checked with a RS232 tester).

    The only possibility I see is that the LCU-3Y2 interface does not work, but could not google anything.

    If this is so, a workaround would be to use the original FIF-232C or instead this one: http://www.shacksupplies.co.uk/product.php?productid=7&cat=7&page=1

    Any idea, please ?

    Thanks.