Bug#823952: dahdi-source: AXE400PL + linux 3.16.0-4-686-pae + dahdi 1:2.10.2-2

2016-09-20 Thread Tzafrir Cohen
Hi,

On Tue, May 10, 2016 at 06:54:46PM +0200, Carlos Martin wrote:

> When system loads dahdi module yo can see the message "Warning: Span WCTDM/4 
> didn't specify a spantype. Please fix driver!"

> Kernel driver in use: wctdm

Thanks for your report and sorry for not answering earlier.

>From what I can see, this issue should apply to original Digium cards as
well. As you can see in lspci, the driver handling this card is wctdm.
Sorry for not picking this up earlier.

The fix for this should be the following patch:

diff --git a/drivers/dahdi/wctdm.c b/drivers/dahdi/wctdm.c
index 9f43e52..cf5a537 100644
--- a/drivers/dahdi/wctdm.c
+++ b/drivers/dahdi/wctdm.c
@@ -2411,6 +2411,7 @@ static int wctdm_initialize(struct wctdm *wc)
wc->span.channels = NUM_CARDS;
wc->span.flags = DAHDI_FLAG_RBS;
wc->span.ops = _span_ops;
+   wc->span.spantype = SPANTYPE_ANALOG_MIXED;
 
list_add_tail(>span.device_node, >ddev->spans);
if (dahdi_register_device(wc->ddev, >dev->dev)) {

Any chance you could test this? I'll try to see if I have any such card
available.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend



Bug#823952: dahdi-source: AXE400PL + linux 3.16.0-4-686-pae + dahdi 1:2.10.2-2

2016-05-10 Thread Carlos Martin
Package: dahdi-source
Version: 1:2.10.2~dfsg-1
Severity: important

Dear Maintainer,

This bug is near the same as #780997 but is not solved.

I'm using Debian jessie, I installed dahdi-source from jessie repos but I got 
an error when loading dahdi module, I try also upgrading to the unstable 
version, but I got the same error. So, I get this error with dahdi-source 
Version: 2.10.0.1 and Version: 2.10.2
 

When system loads dahdi module yo can see the message "Warning: Span WCTDM/4 
didn't specify a spantype. Please fix driver!"

dahdi: Version: 2.10.2
dahdi: Telephony Interface Registered on major 196
dahdi: Warning: Span WCTDM/4 didn't specify a spantype. Please fix driver!
No freshmaker chip
Module 0: Installed -- AUTO FXS/DPO
Module 1: Installed -- AUTO FXO (FCC mode)
Module 2: Installed -- AUTO FXO (FCC mode)
Module 3: Installed -- AUTO FXO (FCC mode)
Found a Wildcard TDM: Wildcard TDM400P REV I (4 modules)

--

lshw -vv

02:00.0 Network controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN interface
Subsystem: ATCOM Technology co., LTD. Device 0001
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
SERR-