[asterisk-users] Dahdi and Junghanns QuadBRI

Tzafrir Cohen tzafrir.cohen at xorcom.com
Tue Dec 8 13:28:50 CST 2009


On Tue, Dec 08, 2009 at 06:51:12PM +0100, Olivier wrote:
> 2009/12/8 Tzafrir Cohen <tzafrir.cohen at xorcom.com>
> 
> > On Tue, Dec 08, 2009 at 03:47:52PM +0100, Olivier wrote:
> > > 2009/12/8 Tzafrir Cohen <tzafrir.cohen at xorcom.com>
> > >
> > > > On Tue, Dec 08, 2009 at 08:50:40AM +0100, Olivier wrote:
> > > > > 2009/12/4 Olivier <oza-4h07 at myamail.com>
> > > >
> > > > > Trying with a Junghanns PCI OctoBRI, I've got :
> > > > > # dahdi_hardware
> > > > > pci:0000:08:00.0     qozap-       1397:16b8 Generic OctoBRI ISDN card
> > > > >
> > > > > My initial thought was that wcb4xxp driver could not support PCIe
> > cards,
> > > > at
> > > > > the moment.
> > > > > Should wcb4xxp driver support Junghanns PCI OctoBRI ?
> > > >
> > > > In trunk it does.
> > > >
> > >
> > > Do you mean Dahdi Tools trunk version or shall I also use Dahdi-Linux
> > trunk
> > > version
> > > (I used Dahdi-Tools revision 6822 and Dahdi-Linux 2.2.0.2) ?
> >
> > Both.
> >
> 
> Strange : I'm still getting :
> # dahdi_hardware
> pci:0000:08:00.0     qozap-       1397:16b8 Generic OctoBRI ISDN card
> 
> # dahdi_genconf modules && cat /etc/dahdi/modules
> # Autogenerated by /usr/sbin/dahdi_genconf (Dahdi::Config::Gen::Modules) on
> Tue Dec  8 18:25:30 2009
> # If you edit this file and execute /usr/sbin/dahdi_genconf again,
> # your manual changes will be LOST.
> qozap
> 
> I think I installed latest trunk versions for both Dahdi Linux and Dahdi
> Tools :
> cd /usr/src/dahdi-linux
> svn checkout http://svn.asterisk.org/svn/dahdi/linux/trunk .
> make
> make install
> ...
> 
> Any hint ?
> I was about to drop dahdi_genconf for a try but th problem seems "deeper" as
> "make config" output includes:
> List of detected DAHDI devices:
> 
> pci:0000:08:00.0     qozap-       1397:16b8 Generic OctoBRI ISDN card

What's the output of:

  lspci -v -nn -s 08:00.0

(or if I got the syntax wrong: the full entry for this specific PCI
device, and specifically, the sub-vendor and sub-product IDs)

http://svn.asterisk.org/svn/dahdi/linux/trunk/drivers/dahdi/wcb4xxp/base.c

has:

  static struct pci_device_id b4xx_ids[] __devinitdata =
...
    { 0x1397, 0x16b8, 0x1397, 0xb552, 0, 0, (unsigned long)&hfc8s },


The equivalent in
http://svn.asterisk.org/svn/dahdi/tools/xpp/perl_modules/Dahdi/Hadware/PCI.pm
is:

# Lookup algorithm:
#       First match 'vendor:product/subvendor:subproduct' key
#       Else match 'vendor:product/subvendor' key
#       Else match 'vendor:product' key
#       Else not a dahdi hardware.
my %pci_ids = (
...
	'1397:08b4/1397:b556'   => { DRIVER => 'wcb4xxp', DESCRIPTION => 'Junghanns DuoBRI ISDN card' },
...
	'1397:16b8'             => { DRIVER => 'qozap', DESCRIPTION => 'Generic OctoBRI ISDN card' },

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list