Article: 51121 of rec.radio.amateur.digital.misc From: Bob Bob Subject: Re: baycom, linux, ax25 frustration References: <1132955468.758234.160100@o13g2000cwo.googlegroups.com> Message-ID: <5ghk53-24b.ln1@p400bob.personal.cox.net> Date: Fri, 25 Nov 2005 16:57:39 -0600 Hi Dean I assume you mean "sounds like 1200bps packet" rather than 2400? I doubt this is relevant but I had some issues with using the serial port for PTT under soundmodem. Ended up running setserial and turning the serial port "off" before use. (ie "uart none") I'd think though that baycom mode would be simply a "synchronous" form of transmitting to/from a standard serial port and wouldnt need to be turned off this way.. Since the whole thing should be synchronous at 1200bps I'd start looking for any inter bit delays that may be being introduced. This I think would be more commonly a RX rather than TX problem. I remember having an older kernel that didnt recognise the 16650 UART properly and defaulted to something without either a RX or TX buffer. Perhaps some playing with setserial will help (defining the UART type also defines whether it uses buffering. I think the kernel module allows you to change the buffer size but I havent checked this) You may also be able to capture the audio with your soundcard and make some hard comparisons with a spec-an etc to determine where it falls down. If you think it may be linux version/kernel dependent try the Knoppix boot CD. I think there is also a ham radio version if AX25 support isnt in the original Apologies for not being more helpful Cheers Bob W5/VK2YQA data ham wrote: > > After much searching and gleaning of details from various on-line docs, > including the AX.25 Howto, I have reached a dead end with an attempt to > find a new use for an old Baycom serial modem. The flavor of Linux is > Gentoo 2.6.11 r3 > Article: 51122 of rec.radio.amateur.digital.misc From: Joseph Fenn Subject: Re: baycom, linux, ax25 frustration Date: Fri, 25 Nov 2005 13:27:56 -1000 Message-ID: References: <1132955468.758234.160100@o13g2000cwo.googlegroups.com> On Fri, 25 Nov 2005, data ham wrote: > After much searching and gleaning of details from various on-line docs, > including the AX.25 Howto, I have reached a dead end with an attempt to > find a new use for an old Baycom serial modem. The flavor of Linux is > Gentoo 2.6.11 r3 > > The ultimate goal is to use it with Xastir, which appears to be > functioning properly. > > The specific problem is with transmitted data. I can issue a CALL or > BEACON at the bash prompt and the radio transmits data that sounds like > 2400bps packet. I am also monitoring the data from a Windows PC with > with a PK-232. Every time that I transmit from the Linux / baycom, DCD > is active on the PK-232 and it "sounds" like packet on the scanner, but > nothing shows on the terminal on the Windows PC. The monitor level on > the PK-232 is set to 6 (highest / most data). > I can change the radio connected to the Windows PC / PK-232 to 144.390 > (APRS) and the data streams in like crazy. > > I can boot the Linux PC with my old DOS / Baycom boot disk and > transmitted data is monitored fine on the Windows / PK-232 PC when I > transmit via the Baycom. > > The Baycom is receiving fine on the Linux PC. I can fire up Xastir and > watch the local APRS activity, no problem. > Here are some of the config details: > > AXPORTS > # /etc/ax25/axports > # > # The format of this file is: > # > # name callsign speed paclen window description > # > baycom-com2 KD4TWJ-9 1200 250 2 144.390 APRS (1200 bps) > > :ifconfig bcsf1 > bcsf1 Link encap:AMPR AX.25 HWaddr KD4TWJ-9 > inet addr:192.168.10.10 Mask:255.255.255.0 > UP RUNNING MTU:256 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:67 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:16 > RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) > Interrupt:3 Base address:0x2f8 > > :sethdlc -i bcsf1 -a > sethdlc: Version 0.5; (C) 1996-1997 by Thomas Sailer HB9JNX/AE4WA > current parameters: TX delay 300ms, TX tail 300ms, slottime 100ms, > p-persistence 40/256, Half duplex > > :sethdlc -i bcsf1 -p > sethdlc: Version 0.5; (C) 1996-1997 by Thomas Sailer HB9JNX/AE4WA > driver name: baycom_ser_fdx > current parameters: mode ser12* io 0x2f8 irq 3 > > If I use "Listen -a -h -p baycom-com2" while using Call in another > term, here is what I see; > baycom-com2: fm KD4TWJ-9 to KD4TWJ-1 ctl SABM+ > baycom-com2: fm KD4TWJ-9 to KD4TWJ-1 ctl SABM+ > baycom-com2: fm KD4TWJ-9 to KD4TWJ-1 ctl DISC+ > > I am cancelling Call after the second attemp, that is why DISC is the > third entry. > This looks like the right stuff. > It is as if the packets are empty by the time that they reach the radio > for transmission. > Any ideas? > > Thanks > > Dean > > Each TNX and softwre package has its own particular settings even though in ax25 protocol. My only answer is to give you my settings used with VHF only and software called Digicom. Name Setting HBAUD 1200 PACLEN 255 (blks) TXD (anywhere between 10 and 60) Monitor MBEQHI MAXFRAMES 7 (means if sigs good gives fastest throughput) Joe Article: 51123 of rec.radio.amateur.digital.misc From: Bob Bob Subject: Re: baycom, linux, ax25 frustration References: <1132955468.758234.160100@o13g2000cwo.googlegroups.com> <5ghk53-24b.ln1@p400bob.personal.cox.net> <1133046490.132794.95670@f14g2000cwb.googlegroups.com> Message-ID: Date: Sat, 26 Nov 2005 22:31:25 -0600 Just an extra thought or two Dean Have you tried setting up soundmodem or a vanilla TNC with the same box? Thinking in terms of checking that AX25 is working in the kernel properly. And grabbing at straws..... I wonder if "baycom-com2" can be a real valid port name. Mine have always been real short names like "radio". Is 300ms long enough TXD for your TX? Is the PK232 DCD only based on audio present (unsquelched) or has it detected a valid set of tones? (ie soft DCD) And rather than using "call" also try and ping a box in the interface subnet and monitoring the activity on the other PC (say 192.168.10.11). I can never remember whether connect mode (ie "call") runs on top of the IP interface or at a layer beneath... I also copy/pasted this from the baycom website; During the last three months we have been reported some problems with RS-232 cards using the fast 16550 chips with internal FIFO instead of the "traditional" 8250 chip. There seems to be a number of 16550 versions (not all of them!) which do not support the internal 6 bit mode of the RS-232 we use for clock and baudrate generation in the BayCom terminal. This mode is rarely needed for other applications and it looks like chip designers have not implemented it on these chips. As a consequence, BayCom will not run on these PCs. Unfortunately, there is no easy workaround, so we could not solve this problem yet. We will try to fix it with the next version. If you run into trouble, buy a simple 8250 card for < 10 US$ and put it into your PC as COM3/COM4 and configure BayCom on it. Make sure, that addresses AND interrupts are set properly as configured in the INSTALL program. We would have some interest to know, which of the 16550 do not run. Currently, National Semiconductors are the only one's known to us. If you have a trouble making card, please mail the name of the manufacturer of the card and of the 16550 chip on the card to baycom@baycom.org. Have you tried telling setserial uart 8250? Tom Sailer has answered a few queries of mine directly so that may be another avenue. His personal website and email contact are on the baycom website. Last time I was running packet I actually used the soundmodem suite. Almost got all fired up using Q15X25... (2500bps) Cheers Bob VK2YQA data ham wrote: > Yeah, that is what I meant. I guess that when I was typing, my brain > was > faster than 1200bps AX.25! :- >