linux-avmb1: Problem mit avmcapictrl und AVM B1 unter Kernel 2.6.14

Carsten Paeth calle at calle.in-berlin.de
Fri May 21 17:04:07 CEST 2010


Hi,

Benutze einfach "capiinit start", das läd alle nötigen Module
und die Firmware mit den passenden Parametern.

calle

Fri, May 21, 2010 at 04:29:35PM +0200, Michael Stache schrieb:
> Hallo *,
> 
> wir haben ein Problem mit dem Laden der Firmware mit dem Tool "avmcapictrl". 
> Wir haben bisher unter dem Linux Kernel 2.4.27 die AVM B1 PCI benutzt, ohne 
> Probleme. Beim Umstieg auf den Kernel 2.6.14.5 haben wir das Problem, dass 
> die Firmware "b1-pci.t4" mit dem Tool "avmcapictrl" in der Konstellation mit 
> Anlagenanschluss nicht geladen wird. Der Aufruf ist folgender:
> 
>  avmcapictrl load /usr/lib/isdn/b1-pci.t4 1 DSS1 P2P
> 
>  Die Fehlermeldung immer
> 
> avmcapictrl: need newer kernel driver to set protocol
> 
>  Im strace sehe ich, dass ein ioctl auf /dev/capi20 fehlschlaegt:
> 
>  5581  open("/dev/capi20", O_RDWR)       = 3
> 5581  ioctl(3, CAPI_MANUFACTURER_CMD, 0xbfc056cc) = -1 EINVAL (Invalid 
> argument)
> 5581  write(2, "avmcapictrl: need newer kernel dr"..., 54) = 54
> 
> 
>  Der Fehler tritt auf mit den isdn4k-utils-CVS-2006-01-16 und 
> isdn4k-utils-CVS-2007-11-27, das sind die Utils, die zu meinem Kernel passen 
> muessten. Die Kernelmodule sind alle geladen:
> 
>  b1pci                   8960  0
> b1dma                  14976  1 b1pci
> capi                   16064  8
> capifs                  5256  2 capi
> capidrv                29492  0
> b1                     23040  2 b1pci,b1dma
> kernelcapi             45536  5 b1pci,b1dma,capi,capidrv,b1
> isdn                  130848  31 capidrv
> 
> Die /etc/capi.conf sieht so aus:
> # card          file    proto   io      irq     mem     cardnr  options
> b1pci           b1-pci.t4       DSS1    -       -       -       -       P2P
> 
> 
> capiinfo bringt dieses:
> 
> Number of Controllers : 1
> Controller 1:
> Manufacturer: AVM GmbH
> CAPI Version: 2.0
> Manufacturer Version: 3.10-02  (49.2)
> Serial Number: 3904447
> BChannels: 2
> Global Options: 0x00000039
>    internal controller supported
>    DTMF supported
>    Supplementary Services supported
>    channel allocation supported (leased lines)
> B1 protocols support: 0x4000001f
>    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
> 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: 0x8000003f
>    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
> 
>   0100
>   0200
>   39000000
>   1f000040
>   1b0b0000
>   3f000080
>   00000000 00000000 00000000 00000000 00000000 00000000
>   01000001 00010000 00000000 00000000 00000000
> 
> Supplementary services support: 0x000003ff
>    Hold / Retrieve
>    Terminal Portability
>    ECT
>    3PTY
>    Call Forwarding
>    Call Deflection
>    MCID
>    CCBS
> 
> 
> Eine Unstimmigkeit ist mir aufgefallen, vielleicht ist die auch das Problem? 
> In der Kernel Doku
> 
> Documentation/isdn/README.avmb1
> 
> ist von einem Kernelmodul "capiutil" die Rede, dass es beim 2.4er Kernel 
> auch noch gab, bei diesem 2.6.er Kernel finde ich es einfach nicht.
> 
> Bin fuer jeden Tipp dankbar!
> 
>  Gruß,
> Michael Stache
> 
> _______________________________________________
> linux-avmb1 mailing list
> linux-avmb1 at mlists.in-berlin.de
> https://mlists.in-berlin.de/mailman/listinfo/linux-avmb1-mlists.in-berlin.de


More information about the linux-avmb1 mailing list