Howto compile the AVM Fritz Card Classic driver for Kubuntu 7.04

 

Since AVM does no longer support the Fritz Card Classic I found it extremely difficult to get a Fax capable driver for my old ISDN Card.

 

It took me some time but now I got a way how it can be done:

 

First You have to get the Sources from ftp://ftp.avm.de/

 

 

wget ftp://ftp.avm.de/cardware/fritzcrd/linux/suse.82/fcclassic-suse8.2-03.11.02.tar.gz

 

tar xzf fcclassic-suse8.2-03.11.02.tar.gz fritz/lib

 

wget ftp://ftp.avm.de/cardware/fritzcrd.pci/linux/suse.93/fcpci-suse93-3.11-07.tar.gz

 

tar xzf fcpci-suse93-3.11-07.tar.gz fritz/src

 

cd fritz

 

wget http://www.edlinger-online.de/fcclassic/changes.diff

 

patch -p1 < changes.diff

 

cd src

 

make

 

From here on you must be logged on as root.

 

make install

 

 

the module can now be tested using:

modprobe fcclassic io=0x300 irq=5

 

and removed again with:

rmmod fcclassic

 

 

If this works without error messages the module should be safe to use.

If you get an Input/Output error from modprobe try a different IRQ. Look at /proc/interrupts to learn the free IRQ numbers.

Note however: If you use IRQ 3 you cannot use /dev/ttyS1 (COM2) and if you use IRQ 4 you cannot use /dev/ttyS0 (COM1).

 

 

Now the module capiutils must be installed & configured:

 

i.e. apt-get install capiutils

 

Uncomment the line for fcclassic in /etc/isdn/capi.conf and specify the right I/O port and IRQ number

(the default settings are I/O port 0x300 and IRQ 5, I think)

 

The capi driver will now be loaded together with fcclassic by typing:

capiinit start

 

Thats all,

now the capi system is ready to use.

 

For receiving and sending faxes the module capisuite can be used.

Hint: be sure to remove the umlaut in the comment at /usr/lib/capisuite/incoming.py line 421!

 

To use the isdnutils package i.e. isdnlog you should first add the following two lines to /etc/modprobe.d/aliases:

alias char-major-43-* capidrv

alias char-major-45-* capidrv

 

The patched driver was only tested with Kubuntu 7.4, but it should be expected to work with different Linux distributions using newer versions of the 2.6 Kernel too.

If you encounter any problems with the driver please feel free to send me an E-Mail: ubuntu at edlinger-online.de

 

Regards

Bernd Edlinger

 

 

 

 

History

 

13 Jun 2007: Created.

 

4 Nov 2007:

+ Fixed segmentation violation in driver.

+ Simplified install procedure (make install).