Skip to contentSkip to conversation

FlexNet connect

DISCUSSION Mike Markowski 3 participants 4 messages Feb 29, 2004 – Mar 1, 2004

lore
Share & tools
lore
#0 lore raw

I had begun sprinkling printfs throughout soundmodem-0.7 and it occurred to me that maybe someone has run into this little problem:

There are several FlexNet nodes near me and I can't connect to any. I type, for example, "call radio W3EOC-2" and see soundmodem send out the SABM+. Immediately after, I hear a long packet returned by the FlexNet node but soundmodem prints nothing. The other node then begins sending RR0+ packets. Each time my station sends another SABM+, I hear a long packet but again soundmodem doesn't even decode it.

On one occasion, by a lucky collision on the channel, soundmodem did print out a portion of the packet: "Enter your first name:" followed by more RR0+ pkts from the FlexNet node. So the FlexNet node thinks we're connected and begins waiting for data, but my node is still trying to connect.

It seems that my ax.25 set up is probably expecting a different sort of protocol exchanges than it's seeing. Does anyone have any idea what is happening? If not, back to the printfs! :-)

Thanks,
Mike AB3AP

#1 lore raw

With thanks to Dave Platt, this is now fixed! It turns out that I needed to choose the half-duplex option in soundmodemconfig. And of course I had tried just about everything under the sun *except* that. Hopefully this will save a future newcomer to packet the effort of tracking it down.

Mike AB3AP

Quoted 8 lines · Mike Markowski

[...] There are several FlexNet nodes near me and I can't connect to any. I type, for example, "call radio W3EOC-2" and see soundmodem send out the SABM+. Immediately after, I hear a long packet returned by the FlexNet node but soundmodem prints nothing. [...]

Thanks,
Mike AB3AP

#2 lore raw
Quoted 5 lines · Mike Markowski

With thanks to Dave Platt, this is now fixed! It turns out that I needed to choose the half-duplex option in soundmodemconfig. And of course I had tried just about everything under the sun *except* that. Hopefully this will save a future newcomer to packet the effort of tracking it down.

Do you mean setting the Audio IO "half duplex" option on or setting the Channel Access "full duplex" option off?

The former should not be used unless the sound driver does not work reliably with it off. Setting it on can cause additional latency in T/R switching and thus make life miserable for everyone on the channel.

The latter should be obvious (and also default to off).

Signature · 1 line
Tomi Manninen / OH2BNS / KP20ME04
#3 lore raw
Quoted 6 lines

Do you mean setting the Audio IO "half duplex" option on or setting the Channel Access "full duplex" option off?

The former should not be used unless the sound driver does not work reliably with it off.

I made this suggestion to Michael based on my own experiences with the soundmodem (0.5 and 0.7) on a Dell Latitude CP laptop. My laptop would do APRS well enough in full-duplex mode, but I was unable to connect reliably to local BBSen when the sound interface was set to full-duplex. Once I switched to half-duplex mode, it began to work very reliably.

I've observed that some sound cards / chips which seem to be able to support full duplex audio I/O, do not do so at all well. I'm not sure whether this is a driver issue, or a hardware issue. My recollection is that many sound cards (e.g. SoundBlaster clones) have a rather asymmetrical architecture, in terms of DMA transfer width and perhaps even sample size, when they're used in full duplex mode. Perhaps there are audio fidelity problems, if you try to receive while having the transmit channel open-but-idle?

For what it's worth, my laptop has a CS4236 sound chip, and uses the current ALSA drivers.

Quoted 3 lines

Setting it on can cause additional
latency in T/R switching and thus make life miserable for everyone on the channel.

My impression (perhaps wrong?) is that this is more likely to be an issue for higher-speed modulations, which are designed to have fast turnarounds, and less so for simple 1200 bps Bell 202 packet.

How much additional latency seems to be added by half-duplex mode (which seems to close and re-open the audio device when switching directions)?

Quoted 1 line

The latter should be obvious (and also default to off).

Yup. Didn't help, in my own situation - I had to turn the sound card down to half-duplex mode in order to get the data to flow reliably.