So, ich bin jetzt ein entschiedenes Stück weiter gekommen.
Geholfen hat mir dabei folgendes:
http://listserv.isdn4linux.de/pipermail/i4ldeveloper/2004-March/000520.html
Das Skript das ihr in der obengenannten URL findet, hab ich wie folgt abgewandelt:
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
if [ $# -ge 1 ]; then
DEBUG=$1
else
DEBUG=0
fi
#INSMOD_PARA=-m
MEXT=.ko
cd /lib/modules/`uname -r`/kernel/drivers/isdn/hardware/mISDN
#modprobe capidrv
modprobe capi
insmod ${INSMOD_PARA} mISDN_core${MEXT} debug=${DEBUG} >/tmp/m_core.mod
insmod ${INSMOD_PARA} mISDN_l1${MEXT} debug=${DEBUG} >/tmp/m_l1.mod
insmod ${INSMOD_PARA} mISDN_l2${MEXT} debug=${DEBUG} >/tmp/m_l2.mod
insmod ${INSMOD_PARA} l3udss1${MEXT} debug=${DEBUG} >/tmp/m_l3u.mod
insmod ${INSMOD_PARA} mISDN_capi${MEXT} debug=${DEBUG} >/tmp/m_capi.mod
insmod ${INSMOD_PARA} mISDN_isac${MEXT} >/tmp/m_isac.mod
insmod ${INSMOD_PARA} mISDN_dtmf${MEXT} >/tmp/m_dtmf.mod
insmod ${INSMOD_PARA} mISDN_x25dte${MEXT} >/tmp/m_x25dte.mod
insmod ${INSMOD_PARA} w6692pci${MEXT} debug=${DEBUG} protocol=2 > /tmp/w6692pci.mod
|
Und siehe da, in /var/log/messages tauchte ein neues, sehr erfreuliches, Logfile auf:
|
Quellcode
|
1
2
3
4
5
6
|
Jan 14 16:17:09 wotan kcapi: Controller 1: mISDN1 attached
Jan 14 16:17:09 wotan contr->addr(01) cnr(01) st(00000100)
Jan 14 16:17:09 wotan w6692: IRQ 3 count 6
Jan 14 16:17:09 wotan w6692 1 cards installed
Jan 14 16:17:09 wotan kcapi: card 1 "mISDN1" ready.
|
capiinfo gibt mir nun, keine Fehlermeldung, sondern folgendes aus:
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
Number of Controllers : 1
Controller 1:
Manufacturer: mISDN CAPI controller W6692_1
CAPI Version: 2.0
Manufacturer Version: 1.0
Serial Number: 0002
BChannels: 2
Global Options: 0x0000001f
internal controller supported
external equipment supported
handset supported
DTMF supported
Supplementary Services supported
B1 protocols support: 0x00000003
64 kbit/s with HDLC framing
64 kbit/s bit-transparent operation
B2 protocols support: 0x00000043
ISO 7776 (X.75 SLP)
Transparent
Transparent (ignoring framing errors of B1 protocol)
B3 protocols support: 0x00000005
Transparent
ISO 8208 (X.25 DTE-DTE)
0100
0200
1f000000
03000000
43000000
05000000
00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000
Supplementary services support: 0x00000033
Hold / Retrieve
Terminal Portability
Call Forwarding
Call Deflection
|
Allerdings funktioniert das pppd call noch nicht einwandfrei:
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
Jan 14 16:19:26 wotan pppd[5366]: Plugin capiplugin.so loaded.
Jan 14 16:19:26 wotan pppd[5366]: capiplugin: $Revision: 1.36 $
Jan 14 16:19:26 wotan pppd[5366]: capiconn: 1.13
Jan 14 16:19:26 wotan pppd[5367]: pppd 2.4.4 started by root, uid 0
Jan 14 16:19:26 wotan pppd[5367]: capiplugin: phase serialconn.
Jan 14 16:19:26 wotan pppd[5367]: capiplugin: contr=1
Jan 14 16:19:26 wotan pppd[5367]: capiplugin: contr=1
Jan 14 16:19:26 wotan pppd[5367]: capiplugin: contr=1
Jan 14 16:19:26 wotan pppd[5367]: capiplugin: contr=1
Jan 14 16:19:26 wotan pppd[5367]: controller 1: listen_change_state 0 -> 1
Jan 14 16:19:26 wotan pppd[5367]: controller 1: listen_change_state state=1 event=1 ????
Jan 14 16:19:26 wotan pppd[5367]: controller 1: listen_change_state state=1 event=1 ????
Jan 14 16:19:26 wotan pppd[5367]: controller 1: listen_change_state state=1 event=1 ????
Jan 14 16:19:26 wotan pppd[5367]: contr 1: listenconf Info=0x0000 (No additional information) infomask=0x144 cipmask=0x0 capimask2=0x0
Jan 14 16:19:26 wotan pppd[5367]: controller 1: listen_change_state 1 -> 0
Jan 14 16:19:26 wotan pppd[5367]: plci_change_state:0x0 0 -> 1 event=1
Jan 14 16:19:26 wotan pppd[5367]: capiplugin: dialing 0101901929 (hdlc)
Jan 14 16:19:26 wotan pppd[5367]: contr 1: listenconf Info=0x0000 (No additional information) infomask=0x144 cipmask=0x0 capimask2=0x0
Jan 14 16:19:26 wotan pppd[5367]: controller 1: listen_change_state state=0 event=3 ????
Jan 14 16:19:26 wotan pppd[5367]: contr 1: listenconf Info=0x0000 (No additional information) infomask=0x144 cipmask=0x0 capimask2=0x0
Jan 14 16:19:26 wotan pppd[5367]: controller 1: listen_change_state state=0 event=3 ????
Jan 14 16:19:26 wotan pppd[5367]: contr 1: listenconf Info=0x0000 (No additional information) infomask=0x144 cipmask=0x0 capimask2=0x0
Jan 14 16:19:26 wotan pppd[5367]: controller 1: listen_change_state state=0 event=3 ????
Jan 14 16:19:26 wotan pppd[5367]: plci_change_state:0x101 1 -> 2 event=3
Jan 14 16:19:32 wotan tei lapd 1 assign req failed
Jan 14 16:19:32 wotan MDL_ERROR|REQ (tei_l2)
Jan 14 16:19:32 wotan pppd[5367]: DISCONNECT_IND reason 0x3303 (Protocol error layer 3) for plci 0x101
Jan 14 16:19:32 wotan pppd[5367]: plci_change_state:0x101 2 -> 8 event=9
Jan 14 16:19:32 wotan pppd[5367]: plci_change_state:0x101 8 -> 0 event=11
Jan 14 16:19:32 wotan pppd[5367]: capiplugin: disconnect(remote): "03381793623" -> "0101901929" outgoing (pcli=0x101/ncci=0x0) 0x3303 (0x000
0) - Protocol error layer 3
Jan 14 16:19:37 wotan pppd[5367]: plci_change_state:0x0 0 -> 1 event=1
Jan 14 16:19:37 wotan pppd[5367]: capiplugin: dialing 0101901929 (hdlc)
Jan 14 16:19:37 wotan pppd[5367]: plci_change_state:0x101 1 -> 2 event=3
Jan 14 16:19:43 wotan tei lapd 1 assign req failed
Jan 14 16:19:43 wotan MDL_ERROR|REQ (tei_l2)
|
Mir sagen leider die letzten beiden Zeilen absolut garnichts, auch google schweigt.
Hat vielleicht jetzt noch irgendjemand ein Idee?
MfG rogge
PS: capiinit geht immernoch nich. macht aber erstmal nichts.