Michel Koenen
2005-Jun-06 01:28 UTC
[Asterisk-Users] mISDN + chan_misdn.so + winbond issue
Hi all, Does anybody of you have the winbond w6692 working with the mISDN/chan_misdn.so? When loading chan_misdn.so from Asterisk, I get a "No lower Id port:1" error. The /var/log/messages file says: "MISDN free_device: entitylist not empty" I'm using Linux 2.6.11.11 + mISDN-CVS-2005-05-01 + Asterisk 1.0.7 + Zaptel 1.0.7 chan_misdn build from chan_misdn-beta-0.0.3-rc6 and against mISDNuser-CVS-2004-08-29. The /dev/mISDN node was also created. I'm loading the kernel modules this way: modprobe zaptel modprobe ztdummy modprobe mISDN_core modprobe mISDN_l1 modprobe mISDN_l2 modprobe l3udss1 modprobe mISDN_dsp modprobe w6692pci protocol=2 layermask=1 Then I start asterisk: asterisk -c -vvvvvv -dddddd When loading chan_misdn.so , Asterisk complains and exits after the last error line below " [chan_misdn.so] => (Channel driver for mISDN Support (Bri/Pri)) debug_init: using stdout for debug log debug_init: using stderr for warning log debug_init: using stderr for error log debug_init: debug_mask = 0 No lower Id port:1 init_stack: No such file or directory " Contents of the /var/log/messages for all above commands: Jun 5 20:25:20 pbx kernel: Zapata Telephony Interface Registered on major 196 Jun 5 20:25:25 pbx kernel: Registered tone zone 0 (United States / North America) Jun 5 20:25:48 pbx kernel: Modular ISDN Stack core $Revision: 1.25 $ Jun 5 20:25:53 pbx kernel: ISDN L1 driver version 1.11 Jun 5 20:25:56 pbx kernel: ISDN L2 driver version 1.20 Jun 5 20:26:02 pbx kernel: mISDN: DSS1 Rev. 1.29 Jun 5 20:26:07 pbx kernel: mISDN_dsp: Audio DSP Rev. 1.10 (debug=0x0) Jun 5 20:26:20 pbx kernel: Winbond W6692 PCI driver Rev. 1.13 Jun 5 20:26:21 pbx kernel: PCI: Found IRQ 9 for device 0000:00:0f.0 Jun 5 20:26:21 pbx kernel: mISDN_w6692: found adapter Winbond W6692 at 0000:00:0f.0 Jun 5 20:26:21 pbx kernel: W6692: Winbond W6692 version (0): W6692 V00 Jun 5 20:26:21 pbx kernel: w6692: IRQ 9 count 4 Jun 5 20:26:21 pbx kernel: w6692 1 cards installed Jun 5 20:26:34 pbx kernel: MISDN free_device: entitylist not empty Am I using wrong or incompatible source versions or is this a bug or am I doing something wrong? Btw the misdn.conf contains: [general] language=en immediate=no debug=0 [mycard] context=incoming ports=1,2 msns=72 Using ports=1 or ports=2 or changing msns gives the same problems.. When you have a working configuration, I am curious which source versions of needed packages you have used. Thank you in advance for your response. Best regards, Michel Koenen
Update to at least chan_misdn-0.1.0 .. I am using snapshot from 11.05.05 without too many issues. Dave -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Michel Koenen Sent: Monday, 6 June 2005 6:28 PM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] mISDN + chan_misdn.so + winbond issue Hi all, Does anybody of you have the winbond w6692 working with the mISDN/chan_misdn.so? When loading chan_misdn.so from Asterisk, I get a "No lower Id port:1" error. The /var/log/messages file says: "MISDN free_device: entitylist not empty" I'm using Linux 2.6.11.11 + mISDN-CVS-2005-05-01 + Asterisk 1.0.7 + Zaptel 1.0.7 chan_misdn build from chan_misdn-beta-0.0.3-rc6 and against mISDNuser-CVS-2004-08-29. The /dev/mISDN node was also created. I'm loading the kernel modules this way: modprobe zaptel modprobe ztdummy modprobe mISDN_core modprobe mISDN_l1 modprobe mISDN_l2 modprobe l3udss1 modprobe mISDN_dsp modprobe w6692pci protocol=2 layermask=1 Then I start asterisk: asterisk -c -vvvvvv -dddddd When loading chan_misdn.so , Asterisk complains and exits after the last error line below " [chan_misdn.so] => (Channel driver for mISDN Support (Bri/Pri)) debug_init: using stdout for debug log debug_init: using stderr for warning log debug_init: using stderr for error log debug_init: debug_mask = 0 No lower Id port:1 init_stack: No such file or directory " Contents of the /var/log/messages for all above commands: Jun 5 20:25:20 pbx kernel: Zapata Telephony Interface Registered on major 196 Jun 5 20:25:25 pbx kernel: Registered tone zone 0 (United States / North America) Jun 5 20:25:48 pbx kernel: Modular ISDN Stack core $Revision: 1.25 $ Jun 5 20:25:53 pbx kernel: ISDN L1 driver version 1.11 Jun 5 20:25:56 pbx kernel: ISDN L2 driver version 1.20 Jun 5 20:26:02 pbx kernel: mISDN: DSS1 Rev. 1.29 Jun 5 20:26:07 pbx kernel: mISDN_dsp: Audio DSP Rev. 1.10 (debug=0x0) Jun 5 20:26:20 pbx kernel: Winbond W6692 PCI driver Rev. 1.13 Jun 5 20:26:21 pbx kernel: PCI: Found IRQ 9 for device 0000:00:0f.0 Jun 5 20:26:21 pbx kernel: mISDN_w6692: found adapter Winbond W6692 at 0000:00:0f.0 Jun 5 20:26:21 pbx kernel: W6692: Winbond W6692 version (0): W6692 V00 Jun 5 20:26:21 pbx kernel: w6692: IRQ 9 count 4 Jun 5 20:26:21 pbx kernel: w6692 1 cards installed Jun 5 20:26:34 pbx kernel: MISDN free_device: entitylist not empty Am I using wrong or incompatible source versions or is this a bug or am I doing something wrong? Btw the misdn.conf contains: [general] language=en immediate=no debug=0 [mycard] context=incoming ports=1,2 msns=72 Using ports=1 or ports=2 or changing msns gives the same problems.. When you have a working configuration, I am curious which source versions of needed packages you have used. Thank you in advance for your response. Best regards, Michel Koenen _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.6.2 - Release Date: 4/06/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.6.2 - Release Date: 4/06/2005
Michel Koenen
2005-Jun-09 00:49 UTC
[Asterisk-Users] Re: mISDN + chan_misdn.so + winbond issue
Hi, This is to let you all know that I have it working now. Thanks to Titus who supplied his list of a working combination ( http://amatisoft.homelinux.com/demo/index.html ) and some other tips. For archive and history purposes I will post my combination which may help others who will run into this: Packages: * kernel 2.6.9 * mISDN kernel patch from PBX4Linux (http://isdn.jolly.de/download/v3.0beta/mISDN_for_PBX4Linux_2005_03_06.tar.gz) * mISDN user from PBX4Linux (http://isdn.jolly.de/download/v3.0beta/mISDNuser_for_PBX4Linux_2005_01_28.tar.gz) * chan_misdn 0.1.0 * asterisk 1.0.7 Important factor was also to have the correct 'layermask' parameter when loading the winbond module. This had to be 0xf and not 0x1 , I am still thankful to Titus who pointed this out, at least I could not find any documentation on this parameter but it turned out to be an important one. My modprobe looks now like this: modprobe w6692pci protocol=2 layermask=0xf Best regards, Michel Koenen On 6/6/05, Michel Koenen <michel.koenen@gmail.com> wrote:> Hi all, > > Does anybody of you have the winbond w6692 working with the > mISDN/chan_misdn.so? > > When loading chan_misdn.so from Asterisk, I get a "No lower Id port:1" > error. The /var/log/messages file says: "MISDN free_device: entitylist > not empty" > > I'm using Linux 2.6.11.11 + mISDN-CVS-2005-05-01 + Asterisk 1.0.7 + Zaptel 1.0.7 > chan_misdn build from chan_misdn-beta-0.0.3-rc6 and against > mISDNuser-CVS-2004-08-29. > > The /dev/mISDN node was also created. > > I'm loading the kernel modules this way: > modprobe zaptel > modprobe ztdummy > modprobe mISDN_core > modprobe mISDN_l1 > modprobe mISDN_l2 > modprobe l3udss1 > modprobe mISDN_dsp > modprobe w6692pci protocol=2 layermask=1 > > Then I start asterisk: > asterisk -c -vvvvvv -dddddd > > When loading chan_misdn.so , Asterisk complains and exits after the > last error line below > " [chan_misdn.so] => (Channel driver for mISDN Support (Bri/Pri)) > debug_init: using stdout for debug log > debug_init: using stderr for warning log > debug_init: using stderr for error log > debug_init: debug_mask = 0 > No lower Id port:1 > init_stack: No such file or directory " > > Contents of the /var/log/messages for all above commands: > Jun 5 20:25:20 pbx kernel: Zapata Telephony Interface Registered on major 196 > Jun 5 20:25:25 pbx kernel: Registered tone zone 0 (United States / > North America) > Jun 5 20:25:48 pbx kernel: Modular ISDN Stack core $Revision: 1.25 $ > Jun 5 20:25:53 pbx kernel: ISDN L1 driver version 1.11 > Jun 5 20:25:56 pbx kernel: ISDN L2 driver version 1.20 > Jun 5 20:26:02 pbx kernel: mISDN: DSS1 Rev. 1.29 > Jun 5 20:26:07 pbx kernel: mISDN_dsp: Audio DSP Rev. 1.10 (debug=0x0) > Jun 5 20:26:20 pbx kernel: Winbond W6692 PCI driver Rev. 1.13 > Jun 5 20:26:21 pbx kernel: PCI: Found IRQ 9 for device 0000:00:0f.0 > Jun 5 20:26:21 pbx kernel: mISDN_w6692: found adapter Winbond W6692 > at 0000:00:0f.0 > Jun 5 20:26:21 pbx kernel: W6692: Winbond W6692 version (0): W6692 V00 > Jun 5 20:26:21 pbx kernel: w6692: IRQ 9 count 4 > Jun 5 20:26:21 pbx kernel: w6692 1 cards installed > Jun 5 20:26:34 pbx kernel: MISDN free_device: entitylist not empty > > > Am I using wrong or incompatible source versions or is this a bug or > am I doing something wrong? > > Btw the misdn.conf contains: > [general] > language=en > immediate=no > debug=0 > > [mycard] > context=incoming > ports=1,2 > msns=72 > > Using ports=1 or ports=2 or changing msns gives the same problems.. > When you have a working configuration, I am curious which source > versions of needed packages you have used. > > Thank you in advance for your response. > > Best regards, > Michel Koenen >