Linux-Hams archive - June 1998: Re: Baycom problem

Re: Baycom problem

Gerd Rthig Sekt. Medizin SS97 (clhvpc.rpml@ncalions.org)
Tue, 2 Jun 1998 20:17:39 +0200 (DFT)


Hello Rene, hello all,

On Mon, 1 Jun 1998, Rene Brand wrote:

> I'm having problems getting my baycom modem to work with linux.
> I'm using RedHat 5.0 with kernel 2.0.31, I patched the kernel and
> managed to compile the utils (ax25-utils-2.1.42a). I'm using the
> net-tools supplied with RH 5.0 (net-tools-1.33-4).

As mentioned in another answer to your message, you should give us some
more detailed information. Did you do everything as described in the
AX.25-HOWTO?
And, very important, what kind of serial port do you use? Is it some
on-board serial port based on a 16550A UART?
There you may _really_ get into problems, because the Linux BayCom driver
has problems with them.
Please tell us how you set up your BayCom modem. Maybe there are some
hints to help you getting further.

In the following I will assume that you set up your modem as described in
the AX.25-HOWTO.
A simple test if it is working is calling sethdlc with the -d (debug)
parameter (man sethdlc). A couple of numbers should come up. The ones
under "dbg2" should be around 3000 and always changing. If all the numbers
remain on a constant value, either your modem is connected to another
serial port or you have the above-mentioned UART problem.
To get rid of this, you'll have to install an old serial port card based
on 16450 or 8250 UARTs. Although TF(PC)X under DOS in most cases works
well even with 16550A UARTs, the Linux BayCom driver doesn't.
Since the source codes for TFPCX 2.21 are freely available under the GNU
Public License, all the more C experienced programmers here should have a
look at them. Unfortunately, I hav not enough C knowledge to try modifying
the Linuc BayCom driver (which should be possible, though).

Some people reported that under certain circumstances it is possible to
get a 16550A UART working with the Linux BayCom driver using the following
initialization sequence:

# Assuming your modem is on the first serial port (COM1 under DOS)
/sbin/setserial /dev/ttyS0 uart 16550A skip_test
/sbin/setserial /dev/ttyS0 uart none
insmod hdlcdrv
insmod baycom
# here to be continued with the usual driver setup for the BayCom modem,
# as described in the AX.25-HOWTO

>
> The baycom modem works fine with ms-dos and when i use a soundcard modem
> with Linux, it also works. Only the baycom modem won't work.

That is really interesting for me, since I have exactly the same problem
with BayCom, and therefore want to use soundmodem as an alternative.
What kind of soundcard are you using? Is it a real SoundBlaster or a
compatible one? How did you set up the driver and the signal levels?

> Does anybody know what i'm doing wrong?

I guessed it, hope I could help you a little bit.

Cheers, 73

Gerd