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

Botond Botyanszki boti at siliconium.net
Tue Jul 21 13:48:27 UTC 2009


On Tue, 21 Jul 2009 16:40:00 +0300
Tzafrir Cohen <tzafrir.cohen at xorcom.com> wrote:

> On Tue, Jul 21, 2009 at 11:20:59AM +0200, Botond Botyanszki wrote:
> > 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.
> 
> Thanks for the followup!
> 
> However, could you please post the actual code change?
> 
> The patch, as layed out on that page and in your mail is not a valid
> patch. It also contains a second hunk which seems broken.
> 
> Could you send either your change as a patch or the new file?
> What was the original version?

Hi,

I modified the source manually according to the wiki page and added the
following lines just after "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 */ 

I can create a real patch if you need it.

Regards,
Botond





More information about the Pkg-voip-maintainers mailing list