From owner-freebsd-isdn Mon Nov 12 1:40:29 2001 Delivered-To: freebsd-isdn@freebsd.org Received: from mailout00.sul.t-online.de (mailout00.sul.t-online.com [194.25.134.16]) by hub.freebsd.org (Postfix) with ESMTP id 5C44B37B405 for ; Mon, 12 Nov 2001 01:40:25 -0800 (PST) Received: from fwd03.sul.t-online.de by mailout00.sul.t-online.de with smtp id 163DZn-0001pI-0D; Mon, 12 Nov 2001 10:40:23 +0100 Received: from peedub.muc.de (520017439985-0001@[217.228.219.58]) by fmrl03.sul.t-online.com with esmtp id 163DZf-11XwkCC; Mon, 12 Nov 2001 10:40:15 +0100 Received: by peedub.muc.de (8.11.6/8.11.1) id fAC9e5o20306; Mon, 12 Nov 2001 10:40:05 +0100 (CET) (envelope-from garyj) Message-Id: <200111120940.fAC9e5o20306@peedub.muc.de> From: Gary Jennejohn Reply-To: garyj@jennejohn.org To: Sascha Holzleiter , freebsd-isdn@freebsd.org Subject: Re: Fritz!PCI v2 test driver Date: Mon, 12 Nov 2001 10:40:05 +0100 X-Mailer: KMail [version 1.3.1] References: <22355.1005508280@www15.gmx.net> In-Reply-To: <22355.1005508280@www15.gmx.net> Cc: G Hasse MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="------------Boundary-00=_TILO2MJET3SLQ119IL8G" X-Sender: 520017439985-0001@t-dialin.net Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --------------Boundary-00=_TILO2MJET3SLQ119IL8G Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit On Sunday 11 November 2001 20:51, Sascha Holzleiter wrote: > Hi, > > i just tried to get my Fritz!Card v2 running with the test > driver. I've applied the patch and copied the i4b_ioctl.h > accordingly. I also had to recompile isdnd else it wouldn't > recognize the the card. I wrote that that was necessary in my origianl mail. No surprise there. > After doing so the card is identified > and setup fine but when it begins to dial i get a bunch of > error-messages and the isdnd terminates. > > The system is FreeBSD 4.4-STABLE > > Sorry for the long listing following : > > > Nov 11 20:23:47 mother /kernel: i4b: unit 0, assigned TEI = > 104 = 0x68 Nov 11 20:23:48 mother /kernel: i4b-L3 > i4b_decode_q931_cs0_ie: Unknown IE 174 - > Nov 11 20:23:48 mother /kernel: 0xae 0x2 0x0 0x0 [big snip] Hmm, Göran Hasse sees the same error, but for him (using -current) it doesn't cause isdnd to die. Now that I look at my logs I also had this error, but under -current, so it wasn't fatal. It turns out that the ISACSX used on the version 2 card puts a status byte at the end of the received data, something which the old ISAC didn't do. I negelcted to strip off that byte. Please try the attached patch and let me know if it helps. NOTE: apply this AFTER applying the other patches !!!! -- Gary Jennejohn garyj@jennejohn.org gj@freebsd.org --------------Boundary-00=_TILO2MJET3SLQ119IL8G Content-Type: text/x-diff; charset="iso-8859-1"; name="i4b_ifpi2_isacsx.c_fix" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="i4b_ifpi2_isacsx.c_fix" KioqIGk0Yl9pZnBpMl9pc2Fjc3guYy5vcmlnCU1vbiBOb3YgMTIgMTA6MzI6MDIgMjAwMQotLS0g aTRiX2lmcGkyX2lzYWNzeC5jCU1vbiBOb3YgMTIgMTA6MzI6NTEgMjAwMQoqKioqKioqKioqKioq KioKKioqIDE2OSwxNzUgKioqKgogIAkJaWYoc2MtPnNjX2lsZW4gPD0gKE1BWF9ERlJBTUVfTEVO IC0gcmVzdCkpCiAgCQl7CiAgCQkJSVNBQ19SREZJRk8oc2MtPnNjX2liLCByZXN0KTsKISAJCQlz Yy0+c2NfaWxlbiArPSByZXN0OwogIAkJCQogIAkJCXNjLT5zY19pYnVmLT5tX3BrdGhkci5sZW4g PQogIAkJCQlzYy0+c2NfaWJ1Zi0+bV9sZW4gPSBzYy0+c2NfaWxlbjsKLS0tIDE2OSwxNzYgLS0t LQogIAkJaWYoc2MtPnNjX2lsZW4gPD0gKE1BWF9ERlJBTUVfTEVOIC0gcmVzdCkpCiAgCQl7CiAg CQkJSVNBQ19SREZJRk8oc2MtPnNjX2liLCByZXN0KTsKISAJCQkvKiB0aGUgIGxhc3QgYnl0ZSBj b250YWlucyBzdGF0dXMsIHN0cmlwIGl0ICovCiEgCQkJc2MtPnNjX2lsZW4gKz0gcmVzdCAtIDE7 CiAgCQkJCiAgCQkJc2MtPnNjX2lidWYtPm1fcGt0aGRyLmxlbiA9CiAgCQkJCXNjLT5zY19pYnVm LT5tX2xlbiA9IHNjLT5zY19pbGVuOwo= --------------Boundary-00=_TILO2MJET3SLQ119IL8G-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message