Diese Anleitung sollte auf allen debianbasierten Distributionen funktionieren. Bei mir daheim ist es im Einsatz auf einer Debian Etch Maschine (Kernel: 2.6.18-5-686) und funktioniert prima. Grund für die Installation war → Capisuite, ein Voicemail / Fax System.
Kernelversion bestimmen
# uname -r 2.6.18-3-686
Pakete installieren
# apt-get install linux-headers-$(uname -r) build-essential rpm capiutils
AVM binär Treiber downloaden
Quelle: http://opensuse.fltronic.de/
# wget http://opensuse.foehr-it.de/rpms/10_2/src/fcpci-0.1-0.src.rpm
.rpm entpacken
# rpm2cpio fcpci-0.1-0.src.rpm | cpio -i
.tar.gz entpacken
# tar xzvf fcpci-suse93-3.11-07.tar.gz
Patchen und Installieren
# cd fritz # patch -p1 < ../fritz-tools.diff # ./install
HINWEIS: Nach jedem Kernelupdate muss der Treiber neu kompiliert werden. (./install)
hisax Treiber entladen
hisax Treiber hat Probleme mit dem Orginalen AVM Treiber.
# lsmod | grep ^hisax # rmmod hisax_fcpcipnp # rmmod hisax_isac # rmmod hisax
Modul laden, Capidienste staren
# modprobe -v fcpci
# capiinit
Capistatus abfragen
# capiinfo
Das Ergebnis sollte so ähnlich aussehen:
# capiinfo Number of Controllers : 1 Controller 1: Manufacturer: AVM GmbH CAPI Version: 2.0 Manufacturer Version: 3.11-07 (49.23) Serial Number: 1000001 BChannels: 2 Global Options: 0x00000039 internal controller supported DTMF supported Supplementary Services supported channel allocation supported (leased lines) B1 protocols support: 0x4000011f 64 kbit/s with HDLC framing 64 kbit/s bit-transparent operation V.110 asynconous operation with start/stop byte framing V.110 synconous operation with HDLC framing T.30 modem for fax group 3 Modem asyncronous operation with start/stop byte framing B2 protocols support: 0x00000b1b ISO 7776 (X.75 SLP) Transparent LAPD with Q.921 for D channel X.25 (SAPI 16) T.30 for fax group 3 ISO 7776 (X.75 SLP) with V.42bis compression V.120 asyncronous mode V.120 bit-transparent mode B3 protocols support: 0x800000bf Transparent T.90NL, T.70NL, T.90 ISO 8208 (X.25 DTE-DTE) X.25 DCE T.30 for fax group 3 T.30 for fax group 3 with extensions Modem 0100 0200 39000000 1f010040 1b0b0000 bf000080 00000000 00000000 00000000 00000000 00000000 00000000 01000001 00020000 00000000 00000000 00000000 Supplementary services support: 0x000003ff Hold / Retrieve Terminal Portability ECT 3PTY Call Forwarding Call Deflection MCID CCBS
capi.conf anpassen
Damit der Treiber beim Systemstart geladen wird muss vor fcpci das Semikolon entfernt werden.
# nano /etc/isdn/capi.conf
# card file proto io irq mem cardnr options #b1isa b1.t4 DSS1 0x150 7 - - P2P #b1pci b1.t4 DSS1 - - - - #c4 c4.bin DSS1 - - - - #c4 - DSS1 - - - - #c4 - DSS1 - - - - P2P #c4 - DSS1 - - - - P2P #c2 c2.bin DSS1 - - - - #c2 - DSS1 - - - - #t1isa t1.t4 DSS1 0x340 9 - 0 #t1pci t1.t4 DSS1 - - - - fcpci - - - - - - #fcpcmcia - - - - - - #fcusb - - - - - - #fxusb - - - - - - #fcclassic - - 0x150 10 - - #fcdsl fdslbase.bin DSS1 - - - - #fcdsl2 fdsl2base.bin DSS1 - - - - #fcdslsl fdssbase.bin DSS1 - - - - #fcdslslusb fdlubase.frm DSS1 - - - - #fcdslusba fdlabase.frm DSS1 - - - - #fcdslusb2 fds2base.frm DSS1 - - - - #fcdslusb fdsubase.frm DSS1 - - - -
Fertig !
Nach einem Reboot kann man nochmal mit capiinfo abfragen ob der Treiber korrekt geladen ist.