Hi, all I have installed TDM400 card. I can see it is there (lspci). But Asterisk does not find it. phonebox2*CLI> zap show status No Zaptel interface found. I assume that driver is not loaded, but I am sure I have installed it (I compiled zaptel and then re-build asterisk and did make install for both zaptel and asterisk). When asterisk is started I get: Jan 2 06:28:08 WARNING[3473]: chan_zap.c:872 zt_open: Unable to open '/dev/zap/channel': No such file or directory Jan 2 06:28:08 ERROR[3473]: chan_zap.c:6572 mkintf: Unable to open channel 2: No such file or directory here = 0, tmp->channel = 2, channel = 2 Jan 2 06:28:08 ERROR[3473]: chan_zap.c:9927 setup_zap: Unable to register channel '2' Jan 2 06:28:08 WARNING[3473]: loader.c:402 __load_resource: chan_zap.so: load_module failed, returning -1 Jan 2 06:28:08 WARNING[3473]: loader.c:523 load_modules: Loading module chan_zap.so failed! Ok, I look in the /dev and I could not find /dev/zap at all! But, there is a /dev/zapchannel character device. Any ideas what can be wrong? And last question. Does zaptel driver reads configuration file on startup? If so, how do I force the driver to update if config file was changed? Thanks, Rudolf
I failed to make TDM400 working too myself. But I believed I passed the the driver stuff... by installing zaptel-1.2.0-beta1. Inside the package, there is a script "zaptel.init" that should take care of loading/unloading the driver. Min> -----Original Message----- > From: asterisk-users-bounces@lists.digium.com > [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of > Rudolf Ladyzhenskii > Sent: Monday, October 10, 2005 5:26 AM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: [Asterisk-Users] TDM400 not working > > > Hi, all > > I have installed TDM400 card. I can see it is there (lspci). > But Asterisk does not find it. > > phonebox2*CLI> zap show status > No Zaptel interface found. > > I assume that driver is not loaded, but I am sure I have > installed it (I > compiled zaptel and then re-build asterisk and did make > install for both > zaptel and asterisk). > > When asterisk is started I get: > Jan 2 06:28:08 WARNING[3473]: chan_zap.c:872 zt_open: Unable to open > '/dev/zap/channel': No such file or directory > Jan 2 06:28:08 ERROR[3473]: chan_zap.c:6572 mkintf: Unable > to open channel > 2: No such file or directory > here = 0, tmp->channel = 2, channel = 2 > Jan 2 06:28:08 ERROR[3473]: chan_zap.c:9927 setup_zap: > Unable to register > channel '2' > Jan 2 06:28:08 WARNING[3473]: loader.c:402 __load_resource: > chan_zap.so: > load_module failed, returning -1 > Jan 2 06:28:08 WARNING[3473]: loader.c:523 load_modules: > Loading module > chan_zap.so failed! > > Ok, I look in the /dev and I could not find /dev/zap at all! > But, there is a > /dev/zapchannel character device. > > Any ideas what can be wrong? > > And last question. Does zaptel driver reads configuration > file on startup? > If so, how do I force the driver to update if config file was changed? > > Thanks, > Rudolf > > > _______________________________________________ > --Bandwidth and Colocation sponsored by Easynews.com -- > > 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 >
On Mon, Oct 10, 2005 at 07:25:59PM +1000, Rudolf Ladyzhenskii wrote:> Hi, all > > I have installed TDM400 card. I can see it is there (lspci). > But Asterisk does not find it. > > phonebox2*CLI> zap show status > No Zaptel interface found. > > I assume that driver is not loaded, but I am sure I have installed it (I > compiled zaptel and then re-build asterisk and did make install for both > zaptel and asterisk). > > When asterisk is started I get: > Jan 2 06:28:08 WARNING[3473]: chan_zap.c:872 zt_open: Unable to open > '/dev/zap/channel': No such file or directoryThe device file does not exast> Jan 2 06:28:08 ERROR[3473]: chan_zap.c:6572 mkintf: Unable to open channel > 2: No such file or directory > here = 0, tmp->channel = 2, channel = 2 > Jan 2 06:28:08 ERROR[3473]: chan_zap.c:9927 setup_zap: Unable to register > channel '2' > Jan 2 06:28:08 WARNING[3473]: loader.c:402 __load_resource: chan_zap.so: > load_module failed, returning -1 > Jan 2 06:28:08 WARNING[3473]: loader.c:523 load_modules: Loading module > chan_zap.so failed! > > Ok, I look in the /dev and I could not find /dev/zap at all! But, there is > a /dev/zapchannel character device.Is that a typo? It should be /dev/zap/channel . Do you use udev? If so, see README.udev . If not: you need to generate those device files. Anyway: could you please post the output of: lsmod | grep zaptel> > Any ideas what can be wrong? > > And last question. Does zaptel driver reads configuration file on startup? > If so, how do I force the driver to update if config file was changed?ztcfg loads the configuration to the zaptel module from /etc/zaptel.conf . -- Tzafrir Cohen | tzafrir@jbr.cohens.org.il | VIM is http://tzafrir.org.il | | a Mutt's tzafrir@cohens.org.il | | best ICQ# 16849755 | | friend