Quellcode |
|
1 |
00:0d.0 Network controller: AVM Audiovisuelles MKTG & Computer System GmbH A1 ISDN [Fritz] (rev 02) |
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. |
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 |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Madjic« (24.02.2008, 16:28)
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 - - - - - - |
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'. |
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) |
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 |
Quellcode |
|
1 |
FRITZCAPI_CARDS="fcpci" |
Quellcode |
|
1 |
emerge fcpci |