Sie sind nicht angemeldet.

1

21.02.2008, 15:21

FritzCard PCI & Capi - treiber läd nicht richtig???

Moin, ich habe vor einiger Zeit eine olle FritzCard PCI in einem alten Rechner gefunden und die in meinen Server eingebaut:

Quellcode

1
00:0d.0 Network controller: AVM Audiovisuelles MKTG & Computer System GmbH A1 ISDN [Fritz] (rev 02)


dazu habe ich Capi installiert, hylafax und blablabla lief alles irgendwie trotz einrichtung nich, dann kamen mir verschiedene sachen dazwischen und jetzt in den semesterferien dachte ich mir guckste dir das nochma an.


naja, mein problem ist soweit ich das sehe, dass capi die bchannels nicht erkennt, aber ob nu meine karte schrott ist, oder ob da Softwareseitig was falsch ist....

nunja, hier mal die fakten:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
bigblue / # cat /usr/src/linux/.config |grep ISDN
CONFIG_ISDN=y
# CONFIG_ISDN_I4L is not set
CONFIG_ISDN_CAPI=m
CONFIG_ISDN_DRV_AVMB1_VERBOSE_REASON=y
CONFIG_ISDN_CAPI_MIDDLEWARE=y
CONFIG_ISDN_CAPI_CAPI20=m
CONFIG_ISDN_CAPI_CAPIFS_BOOL=y
CONFIG_ISDN_CAPI_CAPIFS=m
# CONFIG_ISDN_DRV_AVMB1_B1PCI is not set
# CONFIG_ISDN_DRV_AVMB1_B1PCMCIA is not set
# CONFIG_ISDN_DRV_AVMB1_T1PCI is not set
# CONFIG_ISDN_DRV_AVMB1_C4 is not set


Quellcode

1
2
3
4
5
6
bigblue / # lsmod
Module                  Size  Used by
fcpci                 556116  0 
capi                   12712  0 
kernelcapi             32084  2 fcpci,capi
capifs                  3976  2 capi


Quellcode

1
2
3
4
5
6
bigblue / # /etc/init.d/capi restart
 * Stopping CAPI ...                                                                                                                            [ ok ]
 * Loading CAPI ...                                                                                                                             [ ok ]
 * Starting CAPI ...                                                                                                                            [ ok ]
 * Available CAPI controllers:
 *   1 fcpci      running  fcpci-d000-21    A1 3.11-07 0xd000 21


Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
CAPI Subsystem Rev 1.1.2.8
capi20: Rev 1.1.2.7: started up with major 68 (middleware+capifs)
fcpci: AVM FRITZ!Card PCI driver, revision 0.7.2
fcpci: (fcpci built on Dec 18 2007 at 17:13:32)
fcpci: -- 32 bit CAPI driver --
fcpci: AVM FRITZ!Card PCI found: port 0xd000, irq 21
fcpci: Loading...
fcpci: Driver 'fcpci' attached to fcpci-stack. (152)
fcpci: Stack version 3.11-07
kcapi: Controller [001]: fcpci-d000-21 attached
kcapi: card [001] "fcpci-d000-21" ready.
fcpci: Loaded.


und hier das problem:

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
bigblue / # capiinfo 
Number of Controllers : 1
Controller 1:
Manufacturer: 
CAPI Version: 2.0
Manufacturer Version: 49.23
Serial Number: 1000001
BChannels: 0
Global Options: 0x00000000
B1 protocols support: 0x00000000
B2 protocols support: 0x00000000
B3 protocols support: 0x00000000

  0100
  0000
  00000000
  00000000
  00000000
  00000000
  00000000 00000000 00000000 00000000 00000000 00000000
  00000000 00000000 00000000 00000000 00000000

Supplementary services support: 0x000003ff
   Hold / Retrieve
   Terminal Portability
   ECT
   3PTY
   Call Forwarding
   Call Deflection
   MCID
   CCBS


hat irgendjemand ne idee?

Kernel ist 2.6.23-gentoo-r4
Das Schnabeltier,
Das Schnabeltier,
Das Schnabeltier
das schnabelt hier

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Madjic« (24.02.2008, 16:28)


2

22.02.2008, 12:54

Hallo,

nach welcher Anleitung bist Du denn gegangen ???

http://de.gentoo-wiki.com/ISDN
http://www.linuxforen.de/forums/showthread.php?p=1163735


Könntest Du auch mal bitte die ganze Config anhängen ??


Viele Grüße

3

22.02.2008, 15:43

Ich habe http://de.gentoo-wiki.com/Hylafax_mit_AVM_Fritz_Card benutzt, aber das is ja nu auch ne weile her, seit ich das gemacht hab, und soweit ich mich erreinere habe ih auch noch in anderen Howtos (http://gentoo-wiki.com/HOWTO_Asterisk_CAPI_Fritz und anderen) geguckt, aber da auch nicht wirklih die ursache des problems ausmachen können....:(

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
bigblue ~ # cat /etc/conf.d/capi
# configuraton file for /etc/init.d/capi

###
### Common settings
###

# should 'capidrv' be loaded?
CAPI_LOAD_CAPIDRV="yes"

# deactivate cards on stop (USB-Cards have to be re-plugged then)?
CAPI_UNLOAD_CARDS="yes"

###
### USB Hotplug
###

# do you want to use USB hotplug?
# if disabled, you have to configure your device in /etc/capi.conf
CAPI_HOTPLUG_USB="no"

# should via hotplug added cards generate a beep?
CAPI_HOTPLUG_BEEP="no"

# should capi-usb handle hotplug-events for mISDN cards?
CAPI_HOTPLUG_MISDN="no"

###
### Bluetooth CIP
###

# blank-seperated list of CIP devices to connect. You need
# started Bluez stack and already peered devices to make
# this work. Bluetooth devices will be connected after
# ISA/PCI/(USB) devices. Leave empty to disable feature.
#CAPI_CIP_DEVICES="00:11:22:33:44:55 DE:AD:BE:EF:47:11"


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
bigblue ~ # cat /etc/capi.conf 
# /etc/capi.conf - CAPI configuration file

# card          file            proto   io      irq     mem     cardnr  options
#

##############################
# ISA/PCI devices            #
##############################

# These are examples! You have do setup your card correctly. 'P2P' means
# 'point-to-point' (leased line) and has nothing to do with PPP. If you
# don't have a leased line, then you must not set it.

### AVM B1 (you also have to install the firmware)
#b1isa          b1.t4           DSS1    0x150   7       -       -       P2P
#b1pci          b1.t4           DSS1    -       -       -       -

### AVM C2 (you also have to install the firmware)
#c2             c2.bin          DSS1    -       -       -       -
#c2             -               DSS1    -       -       -       -

### AVM C4 (you also have to install the firmware)
#c4             c4.bin          DSS1    -       -       -       -
#c4             -               DSS1    -       -       -       -
#c4             -               DSS1    -       -       -       -       P2P
#c4             -               DSS1    -       -       -       -       P2P

### AVM t1 (you also have to install the firmware)
#t1isa          t1.t4           DSS1    0x340   9       -       0
#t1pci          t1.t4           DSS1    -       -       -       -

### AVM FritzCard ISA (A1)
#fcclassic      -               -       0x200   7       -       -

### AVM FritzCard PCI
fcpci           -               -       -       -       -       -
Das Schnabeltier,
Das Schnabeltier,
Das Schnabeltier
das schnabelt hier

4

23.02.2008, 20:34

och das ist doch alles Schiete,
hab grad den Kernel geupdatet auf 2.6.24-gentoo-r2, weil sowieso mal ein reboot anstand, und jetzt mukkt er schonwieder an allen ecken und enden, obwohl ich meine das Problem gefunden zu haben: http://forums.gentoo.org/viewtopic-t-626…ight-fritz.html
naja, mit dem patch lief es auf dem alten kernel nicht, und da der neue meckert, dass das modul capidrv fehlt, dachte ich mach ich einfach ma ein reemerge von fritzcapi (mit patch), aber es kommt nur:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
 * Selected cards:  fcpci
 * 
 * ERROR: net-dialup/fritzcapi-2.6.43 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3249:  Called linux-mod_src_compile
 *             environment, line 2410:  Called die
 * The specific snippet of code:
 *               emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} || die "Unable to make ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}.";
 *  The die message:
 *   Unable to make  KDIR='/usr/src/linux' LIBDIR='/var/tmp/portage/net-dialup/fritzcapi-2.6.43/work'/var/lib/fritz all.
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-dialup/fritzcapi-2.6.43/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-dialup/fritzcapi-2.6.43/temp/environment'.


hier noch die ausgabe von capiinit und die entsprechenden dmesg einträge:

Quellcode

1
2
3
bigblue ~ # capiinit 
FATAL: Module fcpci not found.
ERROR: failed to load driver fcpci

Quellcode

1
2
3
capi: Rev 1.1.2.7: unloaded
CAPI Subsystem Rev 1.1.2.8
capi20: Rev 1.1.2.7: started up with major 68 (middleware+capifs)
Das Schnabeltier,
Das Schnabeltier,
Das Schnabeltier
das schnabelt hier

5

24.02.2008, 09:08

Kannst du nicht ein wenig mehr von emerge-Output liefern? Ich meine das ist ja nur die zusammenfassung und der normale Hinweis für den User wo mehr info liegt ...
http://www.dyle.org
IM-Account (Jabber!) sind auf meiner HP ...
There is no place like /home

http://www.gentooforum.de
http://www.gentoofreunde.org

<div>how to annoy a web developer?</span>

6

24.02.2008, 15:32

ayyy, sorry, da hab ich wohl den falschen teil gecopy&pasted...naja, hier der emerge log

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
39
40
41
42
43
44
45
46
47
48
49
50
51
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.24-gentoo-r2/build
 * Found sources for kernel version:
 *     2.6.24-gentoo-r2
 * Selected cards:  fcpci
>>> Unpacking source...
 * Converting ./Makefile to use M= instead of SUBDIRS= ...                                                                                      [ ok ]
 * Converting ./e2220pc/Makefile to use M= instead of SUBDIRS= ...                                                                              [ ok ]
 * Converting ./e2220pc/src/Makefile to use M= instead of SUBDIRS= ...                                                                          [ ok ]
 * Converting ./e5520pc/Makefile to use M= instead of SUBDIRS= ...                                                                              [ ok ]
 * Converting ./e5520pc/src/Makefile to use M= instead of SUBDIRS= ...                                                                          [ ok ]
 * Converting ./fritz.classic/src/Makefile to use M= instead of SUBDIRS= ...                                                                    [ ok ]
 * Converting ./fritz.pci/Makefile to use M= instead of SUBDIRS= ...                                                                            [ ok ]
 * Converting ./fritz.pci/src/Makefile to use M= instead of SUBDIRS= ...                                                                        [ ok ]
 * Converting ./fritz.pcmcia/Makefile to use M= instead of SUBDIRS= ...                                                                         [ ok ]
 * Converting ./fritz.pcmcia/src/Makefile to use M= instead of SUBDIRS= ...                                                                     [ ok ]
 * Converting ./fritz.pnp/src/Makefile to use M= instead of SUBDIRS= ...                                                                        [ ok ]
 * Converting ./fritz.usb/Makefile to use M= instead of SUBDIRS= ...                                                                            [ ok ]
 * Converting ./fritz.usb/src/Makefile to use M= instead of SUBDIRS= ...                                                                        [ ok ]
 * Converting ./fritz.usb2/Makefile to use M= instead of SUBDIRS= ...                                                                           [ ok ]
 * Converting ./fritz.usb2/src/Makefile to use M= instead of SUBDIRS= ...                                                                       [ ok ]
 * Converting ./fritz.xusb/Makefile to use M= instead of SUBDIRS= ...                                                                           [ ok ]
 * Converting ./fritz.xusb/src/Makefile to use M= instead of SUBDIRS= ...                                                                       [ ok ]
 * Converting ./fritz.xusb_CZ/Makefile to use M= instead of SUBDIRS= ...                                                                        [ ok ]
 * Converting ./fritz.xusb_CZ/src/Makefile to use M= instead of SUBDIRS= ...                                                                    [ ok ]
 * Applying fcusb2-2.6.19.patch ...                                                                                                             [ ok ]
 * Applying 2.6.43-linux-2.6.19-irq_handler.patch ...                                                                                           [ ok ]
 * Applying 2.6.43-fcpcmcia.patch ...                                                                                                           [ ok ]
 * Applying fritzcapi-2.6.20.patch ...                                                                                                          [ ok ]
 * Applying fritzcapi-2.6.22.patch ...                                                                                                          [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/net-dialup/fritzcapi-2.6.43/work/usr/src/kernel-modules/fritzcapi ...
 * Preparing fcpci module
mkdir -p '/var/tmp/portage/net-dialup/fritzcapi-2.6.43/work'/var/lib/fritz
make -C '/usr/src/linux'  M=/var/tmp/portage/net-dialup/fritzcapi-2.6.43/work/usr/src/kernel-modules/fritzcapi/fritz.pci/src modules
make[1]: Entering directory `/usr/src/linux-2.6.24-gentoo-r2'
  CC [M]  /var/tmp/portage/net-dialup/fritzcapi-2.6.43/work/usr/src/kernel-modules/fritzcapi/fritz.pci/src/main.o
  CC [M]  /var/tmp/portage/net-dialup/fritzcapi-2.6.43/work/usr/src/kernel-modules/fritzcapi/fritz.pci/src/driver.o
/var/tmp/portage/net-dialup/fritzcapi-2.6.43/work/usr/src/kernel-modules/fritzcapi/fritz.pci/src/driver.c: In Funktion »install_card«:
/var/tmp/portage/net-dialup/fritzcapi-2.6.43/work/usr/src/kernel-modules/fritzcapi/fritz.pci/src/driver.c:381: Fehler: »SA_INTERRUPT« nicht deklariert (erste Benutzung in dieser Funktion)
/var/tmp/portage/net-dialup/fritzcapi-2.6.43/work/usr/src/kernel-modules/fritzcapi/fritz.pci/src/driver.c:381: Fehler: (Jeder nicht deklarierte Bezeichner wird nur einmal aufgeführt
/var/tmp/portage/net-dialup/fritzcapi-2.6.43/work/usr/src/kernel-modules/fritzcapi/fritz.pci/src/driver.c:381: Fehler: für jede Funktion in der er auftritt.)
/var/tmp/portage/net-dialup/fritzcapi-2.6.43/work/usr/src/kernel-modules/fritzcapi/fritz.pci/src/driver.c:381: Fehler: »SA_SHIRQ« nicht deklariert (erste Benutzung in dieser Funktion)
make[2]: *** [/var/tmp/portage/net-dialup/fritzcapi-2.6.43/work/usr/src/kernel-modules/fritzcapi/fritz.pci/src/driver.o] Fehler 1
make[2]: *** Warte auf noch nicht beendete Prozesse...
make[1]: *** [_module_/var/tmp/portage/net-dialup/fritzcapi-2.6.43/work/usr/src/kernel-modules/fritzcapi/fritz.pci/src] Fehler 2
make[1]: Leaving directory `/usr/src/linux-2.6.24-gentoo-r2'
make: *** [fcpci.ko] Fehler 2


Naja, ich hab glaub ich auch hierfür einen patch gefunden....aaaaaber ich bin etwas unerfahren was das patchen von sources betrifft...
http://bugs.gentoo.org/show_bug.cgi?id=202385 hier ist der bug und der patch, aber ich hab keine ahnung was ich damit tun soll....mit dem anderen patch aus meinem vorherigen post gings ja noch (auch nicht so wies gedacht ist, weil ich mir nicht sicher bin, wo die epach zeile einfügen muss, also hab ich die ebuild einfach per hand gepatcht.
nunja...bei diesem patch bin ich mir aber nicht einmal im klaren darüber welche datei ich patchen muss....bitte um einen tip
Das Schnabeltier,
Das Schnabeltier,
Das Schnabeltier
das schnabelt hier

7

24.02.2008, 16:15

FritzCapi

Vergiss den Käse.

AVM pflegt ihr Archiv schon länger nicht mehr, und der Maintainer von fritzcapi hat irgendwie auch keine Lust...

in die make.conf

Quellcode

1
FRITZCAPI_CARDS="fcpci"


emerge nur für deine Karte den passenden Treiber: Fritzcard = fcpci (ist ein reduziertes Paket)

Quellcode

1
emerge fcpci


dann sollte alles funzen
Die Rechtschreibung ist Freeware, du darfst sie kostenlos nutzen.
Sie ist aber nicht OpenSource, d.h. du sollst sie nicht verändern oder in veränderter Form veröffentlichen.

8

24.02.2008, 16:25

So wie ich die tutorials verstanden hatte, ist das fcpci paket nur für 2.4er Kernel...aber probieren geht über...naja

toll, mit fcpci tut es was es tun soll....argh, warum nich von anfang an????? *grrrr*
Das Schnabeltier,
Das Schnabeltier,
Das Schnabeltier
das schnabelt hier

9

24.02.2008, 16:55

Ein Kumpel von mir ist maintainer für avm. der hat die fritzcapi zerlegt in viele kleine archive. wurde extra wegen 2.6.24 gemacht
Die Rechtschreibung ist Freeware, du darfst sie kostenlos nutzen.
Sie ist aber nicht OpenSource, d.h. du sollst sie nicht verändern oder in veränderter Form veröffentlichen.