Package: dahdi-source
Version: 1:2.3.0.1+dfsg-1
Severity: wishlist
Tags: upstream patch

I use the following ISDN-Card: JUNGHANNS.NET duoBRI miniPCI

with the offical package I get the following lines in syslog:

...
Sep 22 17:02:33 rhodos kernel: [    6.005235] Unknown HFC multiport controller 
(vendor:1397 device:08b4 subvendor:1397 subdevice:b559)
Sep 22 17:02:33 rhodos kernel: [    6.023654] Please contact the driver 
maintainer for support.
...

# lspci -v -nn -s 00:11.0 
00:11.0 ISDN controller [0204]: Cologne Chip Designs GmbH ISDN network 
Controller [HFC-4S] [1397:08b4] (rev 01)
        Subsystem: Cologne Chip Designs GmbH Device [1397:b559]
        Flags: medium devsel, IRQ 15
        I/O ports at e500 [size=8]
        Memory at a0005000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [40] Power Management version 2
        Kernel driver in use: wcb4xxp

(with an already patched kernel driver)

I applied the following patch to 
/usr/src/modules/dahdi/drivers/dahdi/wcb4xxp/base.c:

# diff -u base.c.orig base.c
--- base.c.orig 2010-08-03 03:05:35.000000000 +0200
+++ base.c      2010-09-22 19:45:13.000000000 +0200
@@ -128,6 +128,7 @@
 
 static struct devtype wcb4xxp =  {"Wildcard B410P", .ports = 4, .card_type = 
B410P  };
 static struct devtype hfc2s =   {"HFC-2S Junghanns.NET duoBRI PCI", .ports = 
2, .card_type = DUOBRI };
+static struct devtype hfc2s_M =         {"HFC-4S Junghanns.NET douBRI 
miniPCI", .ports = 2, .card_type = DUOBRI };
 static struct devtype hfc4s =   {"HFC-4S Junghanns.NET quadBRI PCI", .ports = 
4, .card_type = QUADBRI };
 static struct devtype hfc8s =   {"HFC-8S Junghanns.NET octoBRI PCI", .ports = 
8, .card_type = OCTOBRI };
 static struct devtype hfc2s_OV = {"OpenVox B200P", .ports = 2, .card_type = 
B200P_OV };
@@ -2889,6 +2890,7 @@
        { 0x1397, 0x08b4, 0x1397, 0xb520, 0, 0, (unsigned long)&hfc4s },
        { 0x1397, 0x08b4, 0x1397, 0xb550, 0, 0, (unsigned long)&hfc4s },
        { 0x1397, 0x08b4, 0x1397, 0xb556, 0, 0, (unsigned long)&hfc2s },
+       { 0x1397, 0x08b4, 0x1397, 0xb559, 0, 0, (unsigned long)&hfc2s_M },
        { 0x1397, 0x08b4, 0x1397, 0xe884, 0, 0, (unsigned long)&hfc2s_OV },
        { 0x1397, 0x08b4, 0x1397, 0xe888, 0, 0, (unsigned long)&hfc4s_OV },
        { 0x1397, 0x16b8, 0x1397, 0xe998, 0, 0, (unsigned long)&hfc8s_OV },

And added the following line to /usr/share/perl5/Dahdi/Hardware/PCI.pm (package 
dahdi):

# diff -u PCI.pm.orig PCI.pm
--- PCI.pm.orig 2010-09-22 22:18:46.000000000 +0200
+++ PCI.pm      2010-09-22 19:57:31.000000000 +0200
@@ -111,6 +111,7 @@
        '1397:08b4/1397:b520'   => { DRIVER => 'wcb4xxp', DESCRIPTION => 
'Junghanns QuadBRI ISDN card' },
        '1397:08b4/1397:b550'   => { DRIVER => 'wcb4xxp', DESCRIPTION => 
'Junghanns QuadBRI ISDN card' },
        '1397:16b8/1397:b552'   => { DRIVER => 'wcb4xxp', DESCRIPTION => 
'Junghanns OctoBRI ISDN card' },
+       '1397:16b8/1397:b559'   => { DRIVER => 'wcb4xxp', DESCRIPTION => 
'Junghanns DuoBRI miniPCI ISDN card' },
        '1397:16b8/1397:b55b'   => { DRIVER => 'wcb4xxp', DESCRIPTION => 
'Junghanns OctoBRI ISDN card' },
        '1397:08b4/1397:e884'   => { DRIVER => 'wcb4xxp', DESCRIPTION => 
'OpenVox B200P' },
        '1397:08b4/1397:e888'   => { DRIVER => 'wcb4xxp', DESCRIPTION => 
'OpenVox B400P' },

Now it seems to work. If would be nice if you could provide this for future 
releases.


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i586)

Kernel: Linux 2.6.32-5-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dahdi-source depends on:
ii  bzip2                         1.0.5-4    high-quality block-sorting file co
ii  debhelper                     8.0.0      helper programs for debian/rules
ii  module-assistant              0.11.3     tool to make module package creati

Versions of packages dahdi-source recommends:
ii  dahdi-linux             1:2.3.0.1+dfsg-1 DAHDI telephony interface - Linux 

dahdi-source suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to