Sie sind nicht angemeldet.

1

16.12.2006, 14:33

mISDN-Fehler -> capiinit failed

Hallo,

ich wollte mit meiner Winbond-6692-basierten USR Karte auf den Capitreiber von mISDN umsteigen.
Installation lief glatt, Module werden alle prima geladen. Nur wenn ivh mich dann versuche mit pppd call ....
einzuwählen kommt:

Quellcode

1
capiplugin: CAPI_REGISTER failed - CAPI not installed (0x1009) [No such device or address (6)] 


Wenn ich dann capiinit aufrufe kommt:

Quellcode

1
capiinit: capi failed to load module w6692pci 


Eigentlich ist diese Aussage ja eindeutig, aber er zeigt mir in Logs einwandfrei an das er Karte erkannt und
geladen hat.

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Dec 15 20:52:16 wotan CAPI Subsystem Rev 1.1.2.8
Dec 15 20:52:16 wotan capifs: Rev 1.1.2.3
Dec 15 20:52:16 wotan capi20: Rev 1.1.2.7: started up with major 68 (middleware+
capifs)
Dec 15 20:52:16 wotan ISDN L1 driver version 1.18
Dec 15 20:52:16 wotan ISDN L2 driver version 1.31
Dec 15 20:52:17 wotan mISDN: DSS1 Rev. 1.42
Dec 15 20:52:17 wotan mISDN Capi 2.0 driver file version 1.20
Dec 15 20:52:17 wotan Winbond W6692 PCI driver Rev. 1.21
Dec 15 20:52:17 wotan mISDN_w6692: found adapter USR W6692 at 0000:00:08.0
Dec 15 20:52:17 wotan W6692: Winbond W6692 version (0): W6692 V00
Dec 15 20:52:17 wotan w6692: IRQ 3 count 5
Dec 15 20:52:17 wotan w6692 1 cards installed
Dec 15 20:52:17 wotan mISDN_dsp: Audio DSP Rev. 1.24 (debug=0x0) EchoCancellor
MG2 dtmftreshold(100)
Dec 15 20:52:17 wotan mISDN_dsp: DSP clocks every 64 samples. This equals 2 jiff
ies. 


Hab ich trotz allen Handbuch wälzens doch noch was verpeilt?

MfG rogge

2

18.12.2006, 10:25

RE: mISDN-Fehler -> capiinit failed

Hast Du mal versucht, das modul Manuell zu laden?

modprobe w6692pci
Meine Rechtschreibfehler sind gewollt und unterliegen dem Copyright des Verfassers, es sei denn, sie sind explizit unter die GPL gestellt .....

Außerdem sind sie ein Ausdruck der Persönlichkeit des Schreibers!

3

18.12.2006, 21:03

RE: mISDN-Fehler -> capiinit failed

Hallo,

ja habs eigentlich immer von Hand geladen

modprobe w6692pci

Quellcode

1
2
3
4
5
6
7
8
wotan ~ # modprobe w6692pci
Loading only w6692pci
-----------------------------------------
 Loading module(s) for your misdn-cards:
-----------------------------------------
/sbin/modprobe --ignore-install w6692pci protocol=0x2 layermask=0xf 
modprobe mISDN_dsp debug=0x0 options=0  dtmftreshold=100
wotan ~ # 


lsmod

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
wotan ~ # lsmod 
Module                  Size  Used by
mISDN_dsp             184424  0 
w6692pci               18840  0 
mISDN_capi             74924  0 
l3udss1                29556  0 
mISDN_l2               28012  0 
mISDN_l1                8276  0 
capi                   11584  0 
capifs                  3592  2 capi
kernelcapi             33440  2 mISDN_capi,capi
sd_mod                 12944  2 
usb_storage            22916  1 
scsi_mod               53000  2 sd_mod,usb_storage
rt2570                142400  0 
nvidia               4378836  0 
mISDN_core             52800  6 mISDN_dsp,w6692pci,mISDN_capi,l3udss1,mISDN_l2,mISDN_l1
uhci_hcd               16264  0 
usbcore                78468  4 usb_storage,rt2570,uhci_hcd
via_rhine              16648  0 
wotan ~ # 


Irgendwie komm ich da auf keinen grünen Zweig.

MfG rogge

4

18.12.2006, 21:51

RE: mISDN-Fehler -> capiinit failed

Hast Du noch andere programme laufen,die eventuell auf ISDN zugreifen?
Meine Rechtschreibfehler sind gewollt und unterliegen dem Copyright des Verfassers, es sei denn, sie sind explizit unter die GPL gestellt .....

Außerdem sind sie ein Ausdruck der Persönlichkeit des Schreibers!

5

19.12.2006, 18:07

RE: mISDN-Fehler -> capiinit failed

Eigentlich nicht. Alles was mit Hisax etc. zu tun hat, hab ich immer vorher rausgeworfen (Modul). Und an Progs, wie Vbox o.ä., hab ich nichts zu laufen.

MfG rogge

6

21.12.2006, 10:20

RE: mISDN-Fehler -> capiinit failed

So hab ich jetzt die alten hisax Sachen komplett ausm Kernel geworfen und dann
in allen erdenklichen Kombination und Varianten versucht es mit api zum laufen zu bekommen.
Leider wieder ohne Erfolg.

Hats du vielleicht doch noch irgendeine Idee?

MfG rogge

7

21.12.2006, 10:50

RE: mISDN-Fehler -> capiinit failed

Sorry, da muß ich passen ...
Meine Rechtschreibfehler sind gewollt und unterliegen dem Copyright des Verfassers, es sei denn, sie sind explizit unter die GPL gestellt .....

Außerdem sind sie ein Ausdruck der Persönlichkeit des Schreibers!

8

14.01.2007, 21:40

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.