From owner-freebsd-isdn Tue Sep 10 6:33: 8 2002 Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D19D537B400 for ; Tue, 10 Sep 2002 06:33:05 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1108843E4A for ; Tue, 10 Sep 2002 06:33:05 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.3/8.12.2) with ESMTP id g8ADWoUk008728 for ; Tue, 10 Sep 2002 15:32:50 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: isdn@freebsd.org Subject: Found a cheap ISDN card today -- and a bug in -CURRENT From: Poul-Henning Kamp Date: Tue, 10 Sep 2002 15:32:50 +0200 Message-ID: <8727.1031664770@critter.freebsd.dk> 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 I found a pre-owned PCI ISDN card for 3euro today, and promptly went back home to plug it into my -current machine: Anyone interested ? Poul-Henning itjc0: port 0xc400-0xc4ff mem 0xeffff000-0xefffffff irq 9 at device 14.0 on pci0 itjc0: ISAC 2186 Version 1.1 (IOM-2) panic: mtx_lock() of spin mutex (null) @ ../../../i4b/layer2/i4b_mbuf.c:211 Debugger("panic") Stopped at Debugger+0x45: xchgl %ebx,in_Debugger.0 db> trace Debugger(c03217bc) at Debugger+0x45 panic(c0320760,0,c0315d60,d3,c1da21f0) at panic+0x7c _mtx_lock_flags(c1da2204,0,c0315d60,d3) at _mtx_lock_flags+0x47 i4b_Bcleanifq(c1da21f0,c400,0,c03c0ec0,c0501b94) at i4b_Bcleanifq+0x1c itjc_bchannel_setup(0,0,0,0,c1da2000) at itjc_bchannel_setup+0x7d itjc_attach(c1d91c00) at itjc_attach+0x357 device_probe_and_attach(c1d91c00) at device_probe_and_attach+0x9c bus_generic_attach(c1da0580,6,c156e8c0,1,c04c0eb0) at bus_generic_attach+0x16 acpi_pci_attach(c1da0580) at acpi_pci_attach+0xf0 device_probe_and_attach(c1da0580) at device_probe_and_attach+0x9c bus_generic_attach(c1d91080,c1d91080,c156e8c0,c1d78070,c1d91580) at bus_generic_attach+0x16 acpi_pcib_attach(c1d91080,c1d97c90,0,c1d91080,c156e8c0) at acpi_pcib_attach+0x11a acpi_pcib_acpi_attach(c1d91080) at acpi_pcib_acpi_attach+0x132 device_probe_and_attach(c1d91080) at device_probe_and_attach+0x9c bus_generic_attach(c1d91580,c156eac0,c1d91520,c1d91500,c0501cec) at bus_generic_attach+0x16 acpi_probe_children(c1d91580,0,c1d91580,c1d780a0,c1d91580) at acpi_probe_children+0x65 acpi_attach(c1d91580) at acpi_attach+0x3ce device_probe_and_attach(c1d91580) at device_probe_and_attach+0x9c bus_generic_attach(c157eb80,c157eb80,c1d540a0,c157eb80,c0501d5c) at bus_generic_attach+0x16 nexus_attach(c157eb80) at nexus_attach+0xf device_probe_and_attach(c157eb80) at device_probe_and_attach+0x9c root_bus_configure(c157ee00,c033b460,0,4) at root_bus_configure+0x16 configure(0,4fcc00,4fc000,0,c0128685) at configure+0x22 mi_startup() at mi_startup+0x9a begin() at begin+0x2c db> show locks exclusive sleep mutex Giant r = 0 (0xc03a4400) locked @ ../../../vm/vm_object.c:446 -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Tue Sep 10 7:34:55 2002 Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 54EEC37B400; Tue, 10 Sep 2002 07:34:53 -0700 (PDT) Received: from mailout06.sul.t-online.com (mailout06.sul.t-online.com [194.25.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F2CF43E3B; Tue, 10 Sep 2002 07:34:52 -0700 (PDT) (envelope-from garyj@jennejohn.org) Received: from fwd03.sul.t-online.de by mailout06.sul.t-online.com with smtp id 17om6N-0007Ys-03; Tue, 10 Sep 2002 16:34:51 +0200 Received: from peedub.jennejohn.org (520017439985-0001@[217.228.218.56]) by fmrl03.sul.t-online.com with esmtp id 17om6D-0HI9gmC; Tue, 10 Sep 2002 16:34:41 +0200 Received: from peedub.jennejohn.org (localhost [127.0.0.1]) by peedub.jennejohn.org (8.12.6/8.11.6) with ESMTP id g8AEYb1Z001069; Tue, 10 Sep 2002 16:34:38 +0200 (CEST) (envelope-from garyj@peedub.jennejohn.org) Message-Id: <200209101434.g8AEYb1Z001069@peedub.jennejohn.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.3 To: Poul-Henning Kamp Cc: isdn@freebsd.org Subject: Re: Found a cheap ISDN card today -- and a bug in -CURRENT Reply-To: Gary Jennejohn In-reply-to: Your message of "Tue, 10 Sep 2002 15:32:50 +0200." <8727.1031664770@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 10 Sep 2002 16:34:37 +0200 From: Gary Jennejohn 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 Poul-Henning Kamp writes: > > I found a pre-owned PCI ISDN card for 3euro today, and promptly > went back home to plug it into my -current machine: > > Anyone interested ? > I think the driver is missing an mtx_initialize() of the mutex in struct ifq. I added it to a bunch of drivers, but not to layer1/itjc/i4b_itjc_pci.c. Try adding it and see what happens. --- Gary Jennejohn / garyj@jennejohn.org gj@freebsd.org gj@denx.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Tue Sep 10 9:42: 0 2002 Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B689737B400 for ; Tue, 10 Sep 2002 09:41:58 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id E994743E6A for ; Tue, 10 Sep 2002 09:41:57 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.3/8.12.2) with ESMTP id g8AGfbUk011465; Tue, 10 Sep 2002 18:41:42 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Gary Jennejohn Cc: isdn@freebsd.org Subject: Re: Found a cheap ISDN card today -- and a bug in -CURRENT In-Reply-To: Your message of "Tue, 10 Sep 2002 16:34:37 +0200." <200209101434.g8AEYb1Z001069@peedub.jennejohn.org> Date: Tue, 10 Sep 2002 18:41:37 +0200 Message-ID: <11464.1031676097@critter.freebsd.dk> From: Poul-Henning Kamp 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 In message <200209101434.g8AEYb1Z001069@peedub.jennejohn.org>, Gary Jennejohn w rites: >Poul-Henning Kamp writes: >> >> I found a pre-owned PCI ISDN card for 3euro today, and promptly >> went back home to plug it into my -current machine: >> >> Anyone interested ? >> > >I think the driver is missing an mtx_initialize() of the mutex >in struct ifq. I added it to a bunch of drivers, but not to >layer1/itjc/i4b_itjc_pci.c. Try adding it and see what happens. Bingo, thanks. I'm surprised to see so much repeated code in all the layer1 drivers, couldn't some of this be factored out to central code ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Tue Sep 10 10:54:30 2002 Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E6BBA37B400 for ; Tue, 10 Sep 2002 10:54:28 -0700 (PDT) Received: from mailout11.sul.t-online.com (mailout11.sul.t-online.com [194.25.134.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B00943E6A for ; Tue, 10 Sep 2002 10:54:28 -0700 (PDT) (envelope-from garyj@jennejohn.org) Received: from fwd10.sul.t-online.de by mailout11.sul.t-online.com with smtp id 17opDW-0008Ea-01; Tue, 10 Sep 2002 19:54:26 +0200 Received: from peedub.jennejohn.org (520017439985-0001@[217.228.218.56]) by fmrl10.sul.t-online.com with esmtp id 17opD8-1ZxXDUC; Tue, 10 Sep 2002 19:54:02 +0200 Received: from peedub.jennejohn.org (localhost [127.0.0.1]) by peedub.jennejohn.org (8.12.6/8.11.6) with ESMTP id g8AHrkcF001670; Tue, 10 Sep 2002 19:53:51 +0200 (CEST) (envelope-from garyj@peedub.jennejohn.org) Message-Id: <200209101753.g8AHrkcF001670@peedub.jennejohn.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.3 To: Poul-Henning Kamp Cc: isdn@freebsd.org Subject: Re: Found a cheap ISDN card today -- and a bug in -CURRENT Reply-To: Gary Jennejohn In-reply-to: Your message of "Tue, 10 Sep 2002 18:41:37 +0200." <11464.1031676097@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 10 Sep 2002 19:53:46 +0200 From: Gary Jennejohn 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 Poul-Henning Kamp writes: > In message <200209101434.g8AEYb1Z001069@peedub.jennejohn.org>, Gary Jennejohn > w > rites: > >Poul-Henning Kamp writes: > >> > >> I found a pre-owned PCI ISDN card for 3euro today, and promptly > >> went back home to plug it into my -current machine: > >> > >> Anyone interested ? > >> > > > >I think the driver is missing an mtx_initialize() of the mutex > >in struct ifq. I added it to a bunch of drivers, but not to > >layer1/itjc/i4b_itjc_pci.c. Try adding it and see what happens. > > Bingo, thanks. > > I'm surprised to see so much repeated code in all the layer1 > drivers, couldn't some of this be factored out to central code ? > Yeah, a general cleanup wouldn't hurt in the least. But all this stuff just "grew like topsy". --- Gary Jennejohn / garyj@jennejohn.org gj@freebsd.org gj@denx.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Wed Sep 11 6: 1:46 2002 Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6DA5C37B400 for ; Wed, 11 Sep 2002 06:01:45 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8771E43E4A for ; Wed, 11 Sep 2002 06:01:44 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.3/8.12.2) with ESMTP id g8BD1fUk028185 for ; Wed, 11 Sep 2002 15:01:42 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: isdn@freebsd.org Subject: am79c32 anyone ? From: Poul-Henning Kamp Date: Wed, 11 Sep 2002 15:01:41 +0200 Message-ID: <28184.1031749301@critter.freebsd.dk> 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 I have found a "Tigerjet" card which uses one am79c32 instead of the Siemens ISAC chip as analog frontend. Is anybody interested in working on support for this ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Wed Sep 11 6:32:56 2002 Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6755437B400; Wed, 11 Sep 2002 06:32:54 -0700 (PDT) Received: from nexus.tmp.com.br (nexus.tmp.com.br [200.255.204.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0334543E3B; Wed, 11 Sep 2002 06:32:53 -0700 (PDT) (envelope-from prallon@nexus.tmp.com.br) Received: (from prallon@localhost) by nexus.tmp.com.br (8.8.8/8.8.8) id KAA08760; Wed, 11 Sep 2002 10:32:45 -0300 Date: Wed, 11 Sep 2002 10:32:45 -0300 From: Sergio de Souza Prallon To: Poul-Henning Kamp Cc: freebsd-isdn@FreeBSD.ORG Subject: Re: am79c32 anyone ? Message-ID: <20020911103245.A7990@tmp.com.br> References: <28184.1031749301@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <28184.1031749301@critter.freebsd.dk>; from phk@FreeBSD.ORG on Wed, Sep 11, 2002 at 03:01:41PM +0200 X-URL: http://www.tmp.com.br 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 On Wed, Sep 11, 2002 at 03:01:41PM +0200, Poul-Henning Kamp wrote: > > I have found a "Tigerjet" card which uses one am79c32 instead of > the Siemens ISAC chip as analog frontend. > > Is anybody interested in working on support for this ? > I wrote the original driver for the Tigerjet. If somebody can provide the docs for this chip and the wirings between it and the TJ300, I'm willing to extend the original driver to suport it. The card has an `official' manufacturer? Are they willing to provide any missing specs (notably the above wirings and other pull-up/down config pins on the AMD chip). The (now deceased) Teles PCI-TJ and the NetJet-S follow the sugested aplication design from the Tigerjet specs. Unfortunaly, I don't have the equivalent docs for the AMD. []'s -- Prallon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Wed Sep 11 6:40:37 2002 Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C0C137B400 for ; Wed, 11 Sep 2002 06:40:34 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA79A43E4A for ; Wed, 11 Sep 2002 06:40:33 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.3/8.12.2) with ESMTP id g8BDeNUk031871; Wed, 11 Sep 2002 15:40:31 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Sergio de Souza Prallon Cc: freebsd-isdn@FreeBSD.ORG Subject: Re: am79c32 anyone ? In-Reply-To: Your message of "Wed, 11 Sep 2002 10:32:45 -0300." <20020911103245.A7990@tmp.com.br> Date: Wed, 11 Sep 2002 15:40:23 +0200 Message-ID: <31870.1031751623@critter.freebsd.dk> From: Poul-Henning Kamp 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 In message <20020911103245.A7990@tmp.com.br>, Sergio de Souza Prallon writes: >On Wed, Sep 11, 2002 at 03:01:41PM +0200, Poul-Henning Kamp wrote: >> >> I have found a "Tigerjet" card which uses one am79c32 instead of >> the Siemens ISAC chip as analog frontend. >> >> Is anybody interested in working on support for this ? > >I wrote the original driver for the Tigerjet. If somebody can provide >the docs for this chip and the wirings between it and the TJ300, I'm >willing to extend the original driver to suport it. I think that is the least bit of the task. The major part seems to write the code which deals with the AMD chip since this card does not have an ISAC on it. >The card has an `official' manufacturer? Are they willing to provide >any missing specs (notably the above wirings and other pull-up/down >config pins on the AMD chip). The (now deceased) Teles PCI-TJ and the >NetJet-S follow the sugested aplication design from the Tigerjet specs. >Unfortunaly, I don't have the equivalent docs for the AMD. The card looks a _LOT_ like the reference design from Tigerjet. A sticker on the back says Trust Comunicator ISDN 128 PCI Aashima Technology BV The Netherlands The EAN code is "8 713439 107722" And "WS-128-PS3" is a couple of places, so that's probably the model#. The data-sheets I've been able to locate are all here: http://phk.freebsd.dk/isdn The AMD chip is the same one used for sound and in some cases ISDN in some of the old Sun workstations, probably the sparc10, maybe others. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Wed Sep 11 9:50:56 2002 Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C8A3B37B400 for ; Wed, 11 Sep 2002 09:50:54 -0700 (PDT) Received: from nexus.tmp.com.br (nexus.tmp.com.br [200.255.204.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCEAF43E4A for ; Wed, 11 Sep 2002 09:50:47 -0700 (PDT) (envelope-from prallon@nexus.tmp.com.br) Received: (from prallon@localhost) by nexus.tmp.com.br (8.8.8/8.8.8) id NAA12695; Wed, 11 Sep 2002 13:50:15 -0300 Date: Wed, 11 Sep 2002 13:50:15 -0300 From: Sergio de Souza Prallon To: Poul-Henning Kamp Cc: freebsd-isdn@freebsd.org Subject: Re: am79c32 anyone ? Message-ID: <20020911135015.A11669@tmp.com.br> References: <20020911103245.A7990@tmp.com.br> <31870.1031751623@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <31870.1031751623@critter.freebsd.dk>; from phk@critter.freebsd.dk on Wed, Sep 11, 2002 at 03:40:23PM +0200 X-URL: http://www.tmp.com.br 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 On Wed, Sep 11, 2002 at 03:40:23PM +0200, Poul-Henning Kamp wrote: > > > >I wrote the original driver for the Tigerjet. If somebody can provide > >the docs for this chip and the wirings between it and the TJ300, I'm > >willing to extend the original driver to suport it. > > I think that is the least bit of the task. The major part seems to > write the code which deals with the AMD chip since this card does > not have an ISAC on it. > No doubts about this: the ISAC part of the itjc driver came directly from HM's isic driver. Nonetheless, the docs you provided are "good" (i.e, they seem to be enough to base a driver on them) in a first read. I've located the reseler site (http://www.aashima.com/) and found that this is an old (deceased) card (PN 10772). Apparently they have replaced it with 2 new ones based on the Winbond and Cologne chipsets. So, here goes my question: is this task worth the efort (i.e., will such driver be usefull to someone else besides being a renewed pet project of mine)? []'s -- Prallon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Wed Sep 11 10:16:57 2002 Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E56D737B400 for ; Wed, 11 Sep 2002 10:16:55 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E17F43E6A for ; Wed, 11 Sep 2002 10:16:55 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.3/8.12.2) with ESMTP id g8BHGpUk070853; Wed, 11 Sep 2002 19:16:53 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Sergio de Souza Prallon Cc: freebsd-isdn@freebsd.org Subject: Re: am79c32 anyone ? In-Reply-To: Your message of "Wed, 11 Sep 2002 13:50:15 -0300." <20020911135015.A11669@tmp.com.br> Date: Wed, 11 Sep 2002 19:16:50 +0200 Message-ID: <70852.1031764610@critter.freebsd.dk> From: Poul-Henning Kamp 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 In message <20020911135015.A11669@tmp.com.br>, Sergio de Souza Prallon writes: >I've located the reseler site (http://www.aashima.com/) and found that this >is an old (deceased) card (PN 10772). Apparently they have replaced it with >2 new ones based on the Winbond and Cologne chipsets. > >So, here goes my question: is this task worth the efort (i.e., will such >driver be usefull to someone else besides being a renewed pet project of >mine)? I have no idea... I just found this card for USD4.00 yesterday at a flea-market... -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Wed Sep 11 11: 1:12 2002 Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C8CA37B400 for ; Wed, 11 Sep 2002 11:01:10 -0700 (PDT) Received: from mailout03.sul.t-online.com (mailout03.sul.t-online.com [194.25.134.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B58E43E4A for ; Wed, 11 Sep 2002 11:01:09 -0700 (PDT) (envelope-from hm@kts.org) Received: from fwd03.sul.t-online.de by mailout03.sul.t-online.com with smtp id 17pBnC-0003zg-06; Wed, 11 Sep 2002 20:00:46 +0200 Received: from ernie.kts.org (520021727764-0001@[62.155.188.212]) by fmrl03.sul.t-online.com with esmtp id 17pBn6-1TP6voC; Wed, 11 Sep 2002 20:00:40 +0200 Received: from bert.kts.org (bert.kts.org [194.55.156.2]) by ernie.kts.org (Postfix) with ESMTP id A78D14C951; Wed, 11 Sep 2002 20:00:39 +0200 (CEST) Received: by bert.kts.org (Postfix, from userid 100) id 94F245598; Wed, 11 Sep 2002 20:00:39 +0200 (CEST) Subject: Re: am79c32 anyone ? In-Reply-To: <31870.1031751623@critter.freebsd.dk> To: Poul-Henning Kamp Date: Wed, 11 Sep 2002 20:00:39 +0200 (CEST) Cc: Sergio de Souza Prallon , freebsd-isdn@FreeBSD.ORG Organization: Kitchen Table Systems Reply-To: hellmuth.michaelis@t-online.de X-Mailer: ELM [version 2.4ME+ PL95a (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Message-Id: <20020911180039.94F245598@bert.kts.org> From: hm@kts.org (Hellmuth Michaelis) X-Sender: 520021727764-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 Poul-Henning Kamp wrote: > And "WS-128-PS3" is a couple of places, so that's probably the model#. Yes, i have such a card, mine is called "Wisecom 128k bps" :-) This was a last card in stock and i got it very cheap at that time (it was the time i bought every cheap unique ISDN card in reach :-) ). At that time, AMD had already discontinued the am79c32 and i found no datasheets on their website anymore (although i have the complete paper docs of the chip and several application notes). All in all, it would be nice to get support for the am79c32 - it was very much used and seems to be a nice, well documented chip (except you have to do HDLC in software AFAIK) but AFAIK no new designs are done with it. hellmuth -- Hellmuth Michaelis Hamburg, Europe hm@kts.org www.kts.org There is a difference between an open mind and a hole in the head. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Thu Sep 12 6:32:11 2002 Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 373E937B401 for ; Thu, 12 Sep 2002 06:32:08 -0700 (PDT) Received: from nexus.tmp.com.br (nexus.tmp.com.br [200.255.204.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0FD143E6E for ; Thu, 12 Sep 2002 06:32:04 -0700 (PDT) (envelope-from prallon@nexus.tmp.com.br) Received: (from prallon@localhost) by nexus.tmp.com.br (8.8.8/8.8.8) id KAA29813; Thu, 12 Sep 2002 10:31:31 -0300 Date: Thu, 12 Sep 2002 10:31:31 -0300 From: Sergio de Souza Prallon To: Hellmuth Michaelis Cc: Poul-Henning Kamp , Sergio de Souza Prallon , freebsd-isdn@FreeBSD.ORG Subject: Re: am79c32 anyone ? Message-ID: <20020912103131.A28885@tmp.com.br> References: <31870.1031751623@critter.freebsd.dk> <20020911180039.94F245598@bert.kts.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 1.0i In-Reply-To: <20020911180039.94F245598@bert.kts.org>; from hm@kts.org on Wed, Sep 11, 2002 at 08:00:39PM +0200 X-URL: http://www.tmp.com.br 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 > > All in all, it would be nice to get support for the am79c32 - it was > very much used and seems to be a nice, well documented chip (except > you have to do HDLC in software AFAIK) but AFAIK no new designs are > done with it. > OK, If any of you two can send the card to the address below, I'll try to extend I4B to work with it in place of the ISAC (for the D-channel handling). I understand the chip supports the IOM-2 bus, so the user data (on the B channels) is handled to some other chip (HSCX, TJ300 or HFC) via this bus. My ideia is to copy the `i4b_itjc_isac.c' file to say, `i4b_itj_amd.c' and then replace the ISAC related code with new, AMD related, one but trying to preserve the glue API that bonds it to the rest. If I manage to succeed, this file would be ported (with some editing) to other drivers. Is it sounding? []'s -- Sergio de Souza Prallon Rua São Francisco Xavier 43 / 802 Rio de Janeiro - RJ - Brasil CEP(ZIP): 20550-010 Please send along the proof of purchase or other official document that clearly states the value or it will run into customs trouble here. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Thu Sep 12 13:39:24 2002 Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A5C137B400 for ; Thu, 12 Sep 2002 13:39:23 -0700 (PDT) Received: from Mail.Echelon.nl (mail.echelon.nl [217.119.225.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 780D243E65 for ; Thu, 12 Sep 2002 13:39:21 -0700 (PDT) (envelope-from peter@spekreijse.net) Received: from [217.119.225.210] (helo=gandalf.spekreijse.net) by Mail.Echelon.nl with esmtp (Exim 3.13 #6) id 17pakC-000475-00 for freebsd-isdn@freebsd.org; Thu, 12 Sep 2002 22:39:20 +0200 Received: from peter by gandalf.spekreijse.net with local (Exim 3.16 #1) id 17pakB-0002jV-00 for freebsd-isdn@freebsd.org; Thu, 12 Sep 2002 22:39:19 +0200 Subject: placing outbound voice calls To: freebsd-isdn@freebsd.org Date: Thu, 12 Sep 2002 22:39:18 +0200 (CEST) X-Mailer: ELM [version 2.4ME+ PL95a (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Message-Id: From: Peter Spekreijse 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 Hi! We have a monitoring system and on certain events i want to generate an alert using an outbound voice call which tells the called person the problem in human speak. Is it possible to do this using i4b. I've found nothing in the docs... Greetings. Peter Spekreijse. -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Thu Sep 12 23:10:11 2002 Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 60B9C37B400 for ; Thu, 12 Sep 2002 23:10:08 -0700 (PDT) Received: from hcshh.hcs.de (hcshh.hcs.de [194.123.40.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6B1F43E77 for ; Thu, 12 Sep 2002 23:10:07 -0700 (PDT) (envelope-from hm@hcs.de) Received: from localhost (localhost.hcs.de [127.0.0.1]) by hcshh.hcs.de (Postfix) with ESMTP id 134DA15606; Fri, 13 Sep 2002 08:10:05 +0200 (CEST) Received: from hcswork.hcs.de (hcswork.hcs.de [172.24.124.5]) by hcshh.hcs.de (Postfix) with ESMTP id 2EDE615607; Fri, 13 Sep 2002 08:10:03 +0200 (CEST) Received: by hcswork.hcs.de (Postfix, from userid 200) id 11D7B52E; Fri, 13 Sep 2002 08:10:03 +0200 (METDST) Date: Fri, 13 Sep 2002 08:10:02 +0200 From: Hellmuth Michaelis To: Peter Spekreijse Cc: freebsd-isdn@freebsd.org Subject: Re: placing outbound voice calls Message-ID: <20020913061002.GB19468@hcswork.hcs.de> Reply-To: hm@hcs.de Mail-Followup-To: Peter Spekreijse , freebsd-isdn@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: HCS Hanseatischer Computerservice GmbH X-Virus-Scanned-HCS: by AMaViS perl-11 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 On Thu, Sep 12, 2002 at 10:39:18PM +0200, Peter Spekreijse wrote: > Hi! > > We have a monitoring system and on certain events i want to > generate an alert using an outbound voice call which tells the called person > the problem in human speak. Is it possible to do this using i4b. I've found > nothing in the docs... Yes, i'm currently playing with i4b to do exactly this. You use isdnphone to dial the number of the person to alert. To do this reliably and with a feedback if the call succeeded, i have just commited a kernel patch and a patch to isdnphone (adding the -w flag) to current. In case the call succeded, you can play prerecorded messages or (as i do) use rsynth from the ports (/usr/ports/audio) in conjunction with a patch to rsynth (/usr/share/examples/isdn/contrib/hplay.c) to get a direct text to speech output to an i4b telephone device. After sending the alert message, close the call by using isdnphone -h. hellmuth -- Hellmuth Michaelis Tel +49 40 55 97 47-70 HCS Hanseatischer Computerservice GmbH Fax +49 40 55 97 47-77 Oldesloer Strasse 97-99 Mail hm [at] hcs.de D-22457 Hamburg WWW http://www.hcs.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Sat Sep 14 5:39:40 2002 Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E02B37B400 for ; Sat, 14 Sep 2002 05:39:39 -0700 (PDT) Received: from Mail.Echelon.nl (mail.echelon.nl [217.119.225.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE65643E65 for ; Sat, 14 Sep 2002 05:39:38 -0700 (PDT) (envelope-from peter@spekreijse.net) Received: from [217.119.225.210] (helo=gandalf.spekreijse.net) by Mail.Echelon.nl with esmtp (Exim 3.13 #6) id 17qCCw-0000ep-00; Sat, 14 Sep 2002 14:39:30 +0200 Received: from peter by gandalf.spekreijse.net with local (Exim 3.16 #1) id 17qCCv-0000Q5-00; Sat, 14 Sep 2002 14:39:29 +0200 Subject: Re: placing outbound voice calls In-Reply-To: <20020913061002.GB19468@hcswork.hcs.de> To: hm@hcs.de Date: Sat, 14 Sep 2002 14:39:29 +0200 (CEST) Cc: freebsd-isdn@freebsd.org X-Mailer: ELM [version 2.4ME+ PL95a (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Message-Id: From: Peter Spekreijse 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 Hi! > > We have a monitoring system and on certain events i want to > > generate an alert using an outbound voice call which tells the called > > person the problem in human speak. Is it possible to do this using i4b. > > I've found nothing in the docs... > > Yes, i'm currently playing with i4b to do exactly this. Nice, I will dive into it. > You use isdnphone to dial the number of the person to alert. To do this > reliably and with a feedback if the call succeeded, i have just commited > a kernel patch and a patch to isdnphone (adding the -w flag) to current. Can i use it on stable? And what do i have to patch. The system will be a production system so I think current isn't the right choice.... Greetings, -- :: mail: peter@spekreijse.net :: web: http://spekreijse.net :: tel: +31-74-2672764 :: fax: +31-74-2672765 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message