[Asterisk-Users] TDM400 not working -- SOLVED
Rudolf Ladyzhenskii
rudolfl at optusnet.com.au
Sat Oct 15 22:08:22 MST 2005
Sorry, I was pretty busy and did not work on my *.
Problem was in zaptel not properly registering driver with udev.
Manually updating udev rules fixed the problem.
Thanks,
Rudolf
----- Original Message -----
From: "Tzafrir Cohen" <tzafrir at cohens.org.il>
To: <asterisk-users at lists.digium.com>
Sent: Tuesday, October 11, 2005 6:20 AM
Subject: Re: [Asterisk-Users] TDM400 not working
> 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 directory
>
> The 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 at jbr.cohens.org.il | VIM is
> http://tzafrir.org.il | | a Mutt's
> tzafrir at cohens.org.il | | best
> ICQ# 16849755 | | friend
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com --
>
> Asterisk-Users mailing list
> Asterisk-Users at 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
More information about the asterisk-users
mailing list