Re: Digiboard on linux-2.2.x

Robert-Velisav MICIOVICI (roby@lcjdap.soroscj.ro)
Thu, 4 Feb 1999 02:45:22 +0200 (EET)


On Tue, 2 Feb 1999, Daniel Taylor wrote:

> Date: Tue, 2 Feb 1999 02:29:37 -0600 (CST)
> From: Daniel Taylor <danielt@dgii.com>
> To: Linux Kernel list <linkern@lcjdap.soroscj.ro>
> Subject: Re: Digiboard on linux-2.2.x
>
> OK, with the epca driver you need external initialization code.
>
> The package at ftp://ftp.dgii.com/drivers/linux/beta/async/
> includes the digiDload program that handles this.

I tried this and:

./digiConfigure ... then

[root@lcjdap epcav1-3-4/dl]# ./digiDload
Initializing PC/Xe with 2 ports
.....<Error> - reset_card : PCXE not resetting
line 2540: Out of range, cmd = ec, head = ffff
line 2542: Out of range, cmdMax = 20002, cmdStart = ffff
line 2540: Out of range, cmd = e0, head = ffff
line 2542: Out of range, cmdMax = 20002, cmdStart = ffff
line 2540: Out of range, cmd = e1, head = ffff
line 2542: Out of range, cmdMax = 20002, cmdStart = ffff
line 2540: Out of range, cmd = ec, head = ffff
line 2542: Out of range, cmdMax = 20002, cmdStart = ffff
line 2540: Out of range, cmd = e0, head = ffff
line 2542: Out of range, cmdMax = 20002, cmdStart = ffff
line 2540: Out of range, cmd = e1, head = ffff
line 2542: Out of range, cmdMax = 20002, cmdStart = ffff
Digi PC/Xx Driver V1.1.0: PC/Xe I/O = 0x320 Mem = 0xd0000 Ports = 2
digiDload complete : Card initialized
[root@lcjdap epcav1-3-4/dl]#

The problem is that my Digiboard has 16 ports not 2 and still it looks
like it isn't working to well... (et all actually):

[root@lcjdap ~]# cu -oe -lttyD0 -s19200 dir
line 2540: Out of range, cmd = e9, head = ffff
line 2542: Out of range, cmdMax = 20002, cmdStart = ffff
line 2540: Out of range, cmd = e9, head = ffff
line 2542: Out of range, cmdMax = 20002, cmdStart = ffff
ati4
atz

(Ctrl+C)

cu: Got interrupt signal
cu: Can't change terminal settings: Interrupted system call
line 2540: Out of range, cmd = e2, head = ffff
line 2542: Out of range, cmdMax = 20002, cmdStart = ffff
line 2540: Out of range, cmd = e9, head = ffff
line 2542: Out of range, cmdMax = 20002, cmdStart = ffff
[root@lcjdap ~]#


> Alternately you may use the older PC/Xx driver that is still
> included with 2.2.
>
So I tried compiling the new driver into the kernel... but:

It got the latest epca driver (epcav-1-3-4) from
ftp://ftp.dgii.com/drivers/linux/beta/async/40001450E2P.tar

""
DigiWARE Release Notes
for
Digi Asynchronous Driver version 1.3.4 (Beta)
November 5, 1998

Digi Xi, Xe, Xr, Xem, COM/Xi

Linux operating systems 1.2.x, 2.0.x and 2.1.x
Software Package P/N 75000250E2P
Diskette (3.5") P/N 40001450E2P
Release Notes P/N 93000239E2P
""

If I patch the kernel with this driver the epca module can't compile... :(
complaining of...

gcc -D__KERNEL__ -I/usr/src/linux-2.2.1/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2
-malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE -DMODVERSIONS
-include /usr/src/linux-2.2.1/include/linux/modversions.h -c -o epca.o
epca.c
epca.c:54: warning: `MODULE' redefined
*Initialization*:1: warning: this is the location of the previous
definition
In file included from epca.c:165:
/usr/src/linux-2.2.1/include/linux/bios32.h:11: warning: #warning This
driver uses the old PCI interface, please fix it (see
Documentation/pci.txt)
/usr/src/linux-2.2.1/include/linux/bios32.h:32: warning:
`pcibios_read_config_byte' redefined
/usr/src/linux-2.2.1/include/linux/modules/pcisyms.ver:4: warning: this is
the location of the previous definition
epca.c: In function `pc_close':
epca.c:735: structure has no member named `timeout'
make[2]: *** [epca.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.2.1/drivers/char'
make[1]: *** [_modsubdir_char] Error 2
make[1]: Leaving directory `/usr/src/linux-2.2.1/drivers'
make: *** [_mod_drivers] Error 2
[root@lcjdap /usr/src/linux-2.2.1]#

Please help !!! :)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/