Bug#452841: zaptel-source: occasionally fails to initialize with error -5 and never accepts calls

Botond Botyanszki debian-bugs at siliconium.net
Tue Jul 21 09:20:59 UTC 2009


Hi,

I had the same problem with wcfxo reporting "probe of 0000:09:01.0 failed
with error -5"
Found the patch below at http://www.voip-info.org/wiki/view/X100P+clone , 
this solved the issue for me.

Regards,
Botond


+++ wcfxo.c 2009-01-10 20:41:58.000000000 -0500<br> @@ -696,6 +696,12 @@
/* 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 */
@@ -704,6 +710,7 @@
/* 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); 





More information about the Pkg-voip-maintainers mailing list