openSUSE ISDN (Deutsch)
Threads by month
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2005 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2004 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2003 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2002 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2001 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2000 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1999 -----
- December
- November
- October
- September
- August
- July
November 2009
- 3 participants
- 1 discussions
Hallo openSuSE ISDN Liste,
ich benutze seit geraumer Zeit eine AVM B1 PCI ISDN Karte im
Zusammenspiel mit openSuSE und Asterisk, aktuell Asterisk 1.6.1.9 mit
chan_capi.
Bisher gab es keine Probleme, da die Module der Karte im Kernel
enthalten sind.
Mit dem neuen Kernel 2.6.31 der openSuSE 11.2 gibt es jedoch ein Problem
CAPI mit capiinit zu aktivieren.
Problem scheint zu sein, dass der Symlink /dev/isdn/capi20 auf /dev/capi
verweist, welches wiederum ein Verzeichnis ist.
Damit kommt dann capiinit nicht zurecht.
Viele Grüße
Arne
---
Hier die technischen Details:
asterisk:~ # lspci | grep AVM
01:08.0 Network controller: AVM GmbH B1 ISDN (rev 01)
asterisk:~ # lsmod | egrep 'capi|b1'
b1pci 8776 0
b1dma 18092 1 b1pci
b1 23592 2 b1pci,b1dma
capi 20864 0
capifs 6136 2 capi
kernelcapi 52160 4 b1pci,b1dma,b1,capi
asterisk:~ # cat /etc/capi.conf
#SuSEconfig.isdn generated
# card file proto io irq mem cardnr options
b1pci b1.t4 DSS1 - - - 1
asterisk:~ # cat /etc/sysconfig/isdn/cfg-contr0
AREACODE="+49"
DIALPREFIX=""
DRIVER="b1pci"
ISDNLOG_START="yes"
NAME="AVM B1 PCI"
PARA_SUBTYPE="1"
PARA_TYPE="8001"
PROTOCOL="euro"
STARTMODE="auto"
UNIQUE="75Rf.taD24NG1U99"
asterisk:~ # capiinit show
driver firmware proto io irq mem cardnr options
b1pci b1.t4 DSS1 - - - 1
asterisk:~ # capiinit status
1 b1pciv4 detected b1pciv4-d880 - - 0xd880 16 0xfdeff400 r4
asterisk:~ # /etc/init.d/isdn start
Setting up ISDN card contr0 AVM B1 PCI in
use done
Loading Driver contr0 1 kcapi
capi
done
Initializing capi for contr0
(1)
failed
asterisk:~ # capiinit activate b1pci 0
ERROR: cannot open /dev/capi20 nor /dev/isdn/capi20 - Is a directory (21)
asterisk:~ # ls -l /dev/isdn/
total 0
lrwxrwxrwx 1 root root 8 Nov 14 14:57 capi20 -> ../capi/
asterisk:~ # ls -l /dev/capi
total 0
crw-rw---- 1 root root 191, 0 Nov 14 14:57 0
crw-rw---- 1 root root 191, 1 Nov 14 14:57 1
crw-rw---- 1 root root 191, 10 Nov 14 14:57 10
crw-rw---- 1 root root 191, 11 Nov 14 14:57 11
crw-rw---- 1 root root 191, 12 Nov 14 14:57 12
crw-rw---- 1 root root 191, 13 Nov 14 14:57 13
crw-rw---- 1 root root 191, 14 Nov 14 14:57 14
crw-rw---- 1 root root 191, 15 Nov 14 14:57 15
crw-rw---- 1 root root 191, 16 Nov 14 14:57 16
crw-rw---- 1 root root 191, 17 Nov 14 14:57 17
crw-rw---- 1 root root 191, 18 Nov 14 14:57 18
crw-rw---- 1 root root 191, 19 Nov 14 14:57 19
crw-rw---- 1 root root 191, 2 Nov 14 14:57 2
crw-rw---- 1 root root 191, 20 Nov 14 14:57 20
crw-rw---- 1 root root 191, 21 Nov 14 14:57 21
crw-rw---- 1 root root 191, 22 Nov 14 14:57 22
crw-rw---- 1 root root 191, 23 Nov 14 14:57 23
crw-rw---- 1 root root 191, 24 Nov 14 14:57 24
crw-rw---- 1 root root 191, 25 Nov 14 14:57 25
crw-rw---- 1 root root 191, 26 Nov 14 14:57 26
crw-rw---- 1 root root 191, 27 Nov 14 14:57 27
crw-rw---- 1 root root 191, 28 Nov 14 14:57 28
crw-rw---- 1 root root 191, 29 Nov 14 14:57 29
crw-rw---- 1 root root 191, 3 Nov 14 14:57 3
crw-rw---- 1 root root 191, 30 Nov 14 14:57 30
crw-rw---- 1 root root 191, 31 Nov 14 14:57 31
crw-rw---- 1 root root 191, 4 Nov 14 14:57 4
crw-rw---- 1 root root 191, 5 Nov 14 14:57 5
crw-rw---- 1 root root 191, 6 Nov 14 14:57 6
crw-rw---- 1 root root 191, 7 Nov 14 14:57 7
crw-rw---- 1 root root 191, 8 Nov 14 14:57 8
crw-rw---- 1 root root 191, 9 Nov 14 14:57 9
asterisk:~ # strace capiinit activate b1pci 0
execve("/sbin/capiinit", ["capiinit", "activate", "b1pci", "0"], [/* 54
vars */]) = 0
brk(0) = 0x60c000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x7fec6597f000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x7fec6597e000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=128396, ...}) = 0
mmap(NULL, 128396, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fec6595e000
close(3) = 0
open("/lib64/libc.so.6", O_RDONLY) = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\353\1\0\0\0\0\0"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1408560, ...}) = 0
mmap(NULL, 3516488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x7fec65408000
fadvise64(3, 0, 3516488, POSIX_FADV_WILLNEED) = 0
mprotect(0x7fec65559000, 2097152, PROT_NONE) = 0
mmap(0x7fec65759000, 20480, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x151000) = 0x7fec65759000
mmap(0x7fec6575e000, 18504, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fec6575e000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x7fec6595d000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x7fec6595c000
arch_prctl(ARCH_SET_FS, 0x7fec6595c6f0) = 0
mprotect(0x7fec65759000, 16384, PROT_READ) = 0
mprotect(0x605000, 4096, PROT_READ) = 0
mprotect(0x7fec65980000, 4096, PROT_READ) = 0
munmap(0x7fec6595e000, 128396) = 0
getuid() = 0
access("/proc/self", F_OK) = 0
access("/proc/capi/applications", F_OK) = 0
access("/proc/capi/capi20", F_OK) = 0
open("/dev/capi20", O_RDWR) = -1 ENOENT (No such file or
directory)
open("/dev/isdn/capi20", O_RDWR) = -1 EISDIR (Is a directory)
write(2, "ERROR: cannot open /dev/capi20 n"..., 74ERROR: cannot open
/dev/capi20 nor /dev/isdn/capi20 - Is a directory (21)
) = 74
exit_group(-1) = ?
--
To unsubscribe, e-mail: opensuse-isdn-de+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-isdn-de+help(a)opensuse.org
3
2