For isdnlog to work properly (i.e. show anything besides outgoing calls), HiSax needs to be put into D-channel debugging mode using "hisaxctrl <card> 1 4". The Debian (potato) version of the isdnlog manpage mentions that and their init scripts take care of it. The Gentoo ones don't, so it just doesn't work without giving any hint why. I'd suggest to change /etc/init.d/isdnlog.contr0 to (optionally?) execute hisaxctrl. Reproducible: Always Steps to Reproduce: 1. emerge net-dialup/isdn4k-utils 2. set e.g. syslog=0x1bf7 in /etc/isdn/isdnlog.options.contr0 3. /etc/init.d/isdnlog.contr0 start 4. receive a call 5. read syslog Actual Results: Sep 11 00:32:24 [kernel] isdn_net: call from 1704111488 -> 0 968445 ignored Expected Results: Sep 11 00:37:16 [kernel] HiSax: debugging flags card 1 set to 4 Sep 11 00:37:18 [isdnlog] (HiSax driver detected)_ Sep 11 00:37:36 [kernel] isdn_net: call from 1704111488 -> 0 968445 ignored Sep 11 00:37:36 [isdnlog] Sep 11 00:37:36 * Call to tei 127 from ? on ? BEARER: Speech, CCITT standardized coding_ Sep 11 00:37:36 [isdnlog] Sep 11 00:37:36 * Call to tei 127 from ? on ? 64 kbit/s, Circuit mode_ Sep 11 00:37:36 [isdnlog] Sep 11 00:37:36 * Call to tei 127 from ? on ? G.711 A-law_ Sep 11 00:37:36 [isdnlog] Sep 11 00:37:36 * Call to tei 127 from ? on ? CHANNEL: BRI, B1 needed_ Sep 11 00:37:36 [isdnlog] Sep 11 00:37:36 * Call to tei 127 from +49 170/4111488, Deutschland Mobilfunk D1/Deutschland Mo on Sascha, Analog RING (Speech)_ Sep 11 00:37:36 [isdnlog] Sep 11 00:37:36 * Call to tei 127 from +49 170/4111488, Deutschland Mobilfunk D1/Deutschland Mo on Sascha, Analog HLC: CCITT, Telefonie_ Sep 11 00:37:38 [isdnlog] Sep 11 00:37:38 * Call to tei 72 from +49 170/4111488, Deutschland Mobilfunk D1/Deutschland Mo on Sascha, Analog HANGUP_ Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r1, 2.6.11.10-infra i686) ================================================================= System uname: 2.6.11.10-infra i686 AMD Athlon(tm) processor Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5-r2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i586-pc-linux-gnu" CFLAGS="-mcpu=athlon -O2 -pipe" CHOST="i586-pc-linux-gnu" CONFIG_PROTECT="/usr/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-mcpu=athlon -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ http://gentoo.inode.at/ ftp://gentoo.inode.at/source/" LINGUAS="en_US en_GB en de_DE de" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/inst/level3/sync/portage-local" SYNC="rsync://rsync.sascha.silbe.org/gentoo-portage" USE="x86 acl alsa berkdb bitmap-fonts crypt doc eds emboss fortran gdbm ipv6 jpeg maildir mbox mp3 nas ncurses nls ogg oggvorbis pam pcmcia png python readline ssl truetype-fonts type1-fonts unicode vorbis xml xml2 zlib linguas_en_US linguas_en_GB linguas_en linguas_de_DE linguas_de userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, MAKEOPTS
/etc/init.d/hisax is doing this already. with other cards, i.e. CAPI via 'capidrv', this command can't be used at all. so 'isdnlog' init-script is the wrong place for it.
please have a look into /etc/hisax.conf: # 'proto' can be: 1TR6 DSS1 NI1 LEASED # 'debug' is optional, default is 4 (D-Channel Frames for isdnlog) # 'id' is optional, but should be unique (see README.HiSax) # type proto io (io0,io1) irq mem debug id (optional) you can set the debug option to any value you want. Default is '4' (if nothing is set).
another comment: capidrv sets the debug option automatically, if an AVM card with AVM driver is detected. With mISDN, isdnlog can't be used right now, because you can not set that option.
OK, using /etc/hisax.conf it works fine now. I don't even need to set module parameters, great! But this should be better documented. Since no other distro I ever used isdnlog on had that file, I didn't even look at it. Neither is there a Gentoo ISDN HowTo that would tell me to edit this file and add hisax to the default runlevel.
that stuff is 100% made by me. Nice to hear that it works... ;-) But I will add a comment in pkg_postinst() in the next version. btw: an ISDN HowTo was started in the past but not finished yet.
this info will be shown in next version: einfo "/etc/init.d/hisax will load and initialize your hisax based" einfo "cards. If you have such cards, please edit /etc/hisax.conf and" einfo "add the hisax init-script to your default runlevel." I don't commit it immediately, since I have other improvements in my queue and want to finish them first.