dahdi-source & Tiger Jet Network Inc. Tiger3XX Modem/ISDN interface

Folkert van Heusden folkert at vanheusden.com
Mon Sep 7 18:12:53 UTC 2009


Hi,

For the Tiger Jet Network Inc. Tiger3XX Modem/ISDN interface to work
with the dahdi driver (altough i still have an issue about
libtonezone.so.1.0 not being found by asterisk), the following patch
should be applied:

diff -uNrBbd dahdi-linux-complete-2.2.0.2+2.2.0/linux/drivers/dahdi/wcfxo.c dahdi-linux-complete-2.2.0.2+2.2.0.new/linux/drivers/dahdi/wcfxo.c
--- dahdi-linux-complete-2.2.0.2+2.2.0/linux/drivers/dahdi/wcfxo.c      2009-06-18 20:03:26.000000000 +0200
+++ dahdi-linux-complete-2.2.0.2+2.2.0.new/linux/drivers/dahdi/wcfxo.c  2009-09-07 18:54:52.000000000 +0200
@@ -673,6 +673,11 @@
        /* Hardware stuff */
        /* Reset PCI Interface chip and registers */
        outb(0x0e, wc->ioaddr + WC_CNTL);
+/* Reset the DAA */
+outb(0x00, wc->ioaddr + WC_AUXD);
+set_current_state(TASK_INTERRUPTIBLE);
+schedule_timeout(1 + HZ / 800);
+/* un-reset the DAA */
        if (wc->flags & FLAG_RESET_ON_AUX5) {
                /* Set hook state to on hook for when we switch.
                   Make sure reset is high */
@@ -681,8 +686,6 @@
                /* Set hook state to on hook for when we switch */
                outb(0x24, wc->ioaddr + WC_AUXD);
        }
-       /* Set all to outputs except AUX 4, which is an input */
-       outb(0xef, wc->ioaddr + WC_AUXC);

        /* Back to normal, with automatic DMA wrap around */
        outb(0x01, wc->ioaddr + WC_CNTL);

This patch was not originally written by me but someone on the internet. If I remember correctly I found it in asterisk-dev.


Folkert van Heusden

-- 

Multitail - gibkaja utilita po sledovaniju log-fajlov i vyvoda
kommand. Fil'trovanie, raskrašivanie, slijanie, vizual'noe sravnenie,
i t.d.  http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com



More information about the Pkg-voip-maintainers mailing list