Skip to contentSkip to conversation

problem with baycom driver

DISCUSSION folkert 1 participant 3 messages Jul 28, 2012 – Aug 2, 2012

lore
Share & tools
lore

folkert

author
#0 lore raw

Hi,

It seems the baycom driver (for ham radio) needs some attention. The problems:
- the baycom_ser_hdx driver does not work at all: very occasionally it switches the radio to send and transmit the data, but that's only one in thousand
- the baycom_ser_fdx does seem to send, but only 1 or 2 packets, then something odd happens: the radio does transmit something but it is not recognizable as data. it sounds like a couple of ticks, not the recognizable modem sound. Important: if I do a sethdlc command, it again does send 1 or 2 valid packets!

The system on which I try it, is a 3.2GHz p4 (with HT) so I don't think it is a problem with the system not keeping up.
The pc is a:
Manufacturer: IBM
Product Name: 8215F7G
Version: ThinkCentre M52

Things are setup like this:
/bin/setserial /dev/ttyS0 uart none
/sbin/modprobe baycom_ser_fdx 'mode=ser12*' iobase=0x3f8 irq=4 /usr/bin/sethdlc -i bcsf0 -a txd 200 slot 100 ppersist 40 half /sbin/ifconfig bcsf0 hw ax25 FH1GOU-1 up

I played a little with the txd and does not help. Using full or half does not make a difference so far that it looks as if the first part of the packet is missing if I full duplex mode but I'm not entirely sure of that (no second modem setup).
I verified the problem by listening with a second radio.

Folkert van Heusden

author
#1 lore raw

Re: problem with baycom driver - bisect help requested

Quoted 1 line

It seems the baycom driver (for ham radio) needs some attention.

I'm trying to bisect this problem.
The problem now is, that the 3.1.0-rc9 crashes just after it loads the initramfs. Well, it says it is doing that and then all fans speed-up and the system locks up.
What to do now?

Folkert van Heusden

Signature · 2 lines
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com
author
#2 lore raw

Re: problem with baycom driver - bisect help requested

Quoted 6 lines
Quoted 1 line

It seems the baycom driver (for ham radio) needs some attention.

I'm trying to bisect this problem.
The problem now is, that the 3.1.0-rc9 crashes just after it loads the initramfs. Well, it says it is doing that and then all fans speed-up and the system locks up.
What to do now?

This 3.1.0-rc9+ is, by the way, a kernel build on a different amd64 system using fakeroot make dep-pkg

Version 3.0.0-12 (I used an ubuntu kernel image) works fine by the way:
it boots, but it also succeeds in emitting AX.25 data via the baycom driver.

Folkert van Heusden

Signature · 6 lines
Multitail es una herramienta flexible que permite visualizar los "log
file" y seguir la ejecución de comandos. Permite filtrar, añadir
colores, combinar archivos, la visualización de diferencias (diff-
view), etc.  http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com