All of lore.kernel.org
 help / color / mirror / Atom feed
* soundmodem activates PTT on DCD
@ 2005-08-19 20:51 Joe Veldhuis
  2005-08-19 21:18 ` Dave Platt
  0 siblings, 1 reply; 3+ messages in thread
From: Joe Veldhuis @ 2005-08-19 20:51 UTC (permalink / raw)
  To: linux-hams

I have soundmodem working for the most part. It decodes and encodes just
fine except for one problem: when I enable PTT control through the
serial port, it keys the rig whenever it starts decoding. This makes it
impossible to recieve anything, and also jams the signal to some extent.

From reading through the archives, it seems that soundmodem sends some
kind of signal on the serial port when it goes into DCD mode. This is
probably what is keying the rig. Does anyone have any ideas as to how I
can stop it from doing that?

Pertinent config info:
Soundmodem 0.9, kernel 2.6.11.8
Dell Latitude CPx J650GT laptop
Buxcomm Rascal serial/soundcard interface, Alinco DJ-596T HT

TIA es 73,
-Joe, KD8ATU

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: soundmodem activates PTT on DCD
  2005-08-19 20:51 soundmodem activates PTT on DCD Joe Veldhuis
@ 2005-08-19 21:18 ` Dave Platt
  2005-08-19 21:52   ` Joe Veldhuis
  0 siblings, 1 reply; 3+ messages in thread
From: Dave Platt @ 2005-08-19 21:18 UTC (permalink / raw)
  To: kd8atu; +Cc: linux-hams

Joe Veldhuis <kd8atu@gmail.com> wrote:
> I have soundmodem working for the most part. It decodes and encodes just
> fine except for one problem: when I enable PTT control through the
> serial port, it keys the rig whenever it starts decoding. This makes it
> impossible to recieve anything, and also jams the signal to some extent.

I ran into this problem a year or so ago, when I bought a Buxcomm RASCAL GLX
soundcard interface.  This interface will activate PTT whenever either
RTS or DCD is asserted on the RS-232 port.

The soundmodem asserts RTS to transmit, and it asserts DTR whenever it
detects carrier.  The symptom is as you indicate - when the beginning of
an incoming packet is detected, DTR is asserted, the rig keys up, and
the incoming packet is chopped off and QRM'ed.  Not good.

The older RASCAL interfaces don't do this - they key PTT only for the
RTS line, and don't exhibit this problem.

> From reading through the archives, it seems that soundmodem sends some
> kind of signal on the serial port when it goes into DCD mode. This is
> probably what is keying the rig. Does anyone have any ideas as to how I
> can stop it from doing that?

There are two ways to deal with the problem, I think:

[1] Change the source code for the soundmodem.

    Edit soundcard/kisspkt.c, find the pktsetdcd function, and change its
    second parameter to 0.  This will ensure that the DTR signal remains
    false at all times, and will avoid accidentally keying the radio
    during reception.

[2] Modify your soundcard-to-rig interface, so that it keys only on
    RTS and not on DTR.  If you have a Rascal GX, you can do this by
    opening it up, holding the PC board with the components upwards,
    transformers and pot away from you, connector near you, and
    clipping one of the leads on the righthand diode (D2) - it's the
    one furthest away from the two transistors.  D2 enables keying on
    DTR, while the lefthand diode D1 enables keying on RTS.

Unfortunately, there does not seem to be any way to control the
DTR feature in the soundmodem, other than to edit the source code.

If you want to get fancy with the Rascal GX:  clip the far end of
D2 (the banded end, the cathode) leaving the lead on the diode as
long as is possible.  Solder to this diode's lead a current-limiting
resistor (1k ohms should do) and then the anode of another LED (use
whatever color you wish).  Return the cathode of the second LED to the
PC board ground trace or to pin 5 of the DB-9 connector/cable.  Mount
the LED so that it shines out through the case's window.

This will provide you with an LED which lights up whenever the soundmodem
signals that it's receiving/decoding a packet.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: soundmodem activates PTT on DCD
  2005-08-19 21:18 ` Dave Platt
@ 2005-08-19 21:52   ` Joe Veldhuis
  0 siblings, 0 replies; 3+ messages in thread
From: Joe Veldhuis @ 2005-08-19 21:52 UTC (permalink / raw)
  To: Dave Platt; +Cc: linux-hams

Dave Platt wrote:
>     Edit soundcard/kisspkt.c, find the pktsetdcd function, and change its
>     second parameter to 0.  This will ensure that the DTR signal remains
>     false at all times, and will avoid accidentally keying the radio
>     during reception.

That worked. Thanks!

> This will provide you with an LED which lights up whenever the soundmodem
> signals that it's receiving/decoding a packet.

Sounds like something I'll have to try sometime.

-Joe, KD8ATU

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-08-19 21:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-19 20:51 soundmodem activates PTT on DCD Joe Veldhuis
2005-08-19 21:18 ` Dave Platt
2005-08-19 21:52   ` Joe Veldhuis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.