[Asterisk-Users] Fedora2 and zaptel - using the udev

Bartosz Wegrzyn junk at lexon.ws
Mon Sep 27 19:07:36 MST 2004


Hi,

I am sorry if this message has been reposted, but for some reason I am
having problems with posting it.

I configured asterisk and zaptel modules with fedora2.
I want to be able to load the zaptel wcfxo and wcfxs modules.
For now I will use only the Wildcard TDM400P card.

I am able to load the modules but I cant configure them using ztcfg or
zttool because the tools are compiled to use the devices in the dev
directory instead of udev which is the one I use.
I tried to change the source code to include the udev instead of dev, nut
this didnot help. I was only able to load the zttool. The other tool still
points to devices in dev directory.  I am not familiar with the dynamic
devices creatition in new kernel.  Also, probably my changes to the source
files were not necessary. I am not a developer so I am not sure if this
should be done.  Should the ztcfg automatically point to the devices in
udev directory or it is written to use the devices in dev directory. Can
anyone explain???

This is my log file which proves that modules works fine.

Sep 26 22:39:07 voip kernel: Zapata Telephony Interface Registered on
major 196
Sep 26 22:39:07 voip zaptel: Loading zaptel framework:  succeeded
Sep 26 22:39:07 voip udev[3564]: configured rule in
'/etc/udev/rules.d//50-udev.rules' at line 31 applied, 'zaptimer' becomes
'zap/timer'
Sep 26 22:39:07 voip udev[3564]: creating device node '/udev/zap/timer'
Sep 26 22:39:07 voip udev[3571]: configured rule in
'/etc/udev/rules.d//50-udev.rules' at line 32 applied, 'zapchannel'
becomes 'zap/channel'
Sep 26 22:39:07 voip udev[3571]: creating device node '/udev/zap/channel'
Sep 26 22:39:09 voip kernel: Freshmaker version: 63
Sep 26 22:39:09 voip kernel: Freshmaker passed register test
Sep 26 22:39:09 voip kernel: Module 0: Installed -- AUTO FXS/DPO
Sep 26 22:39:09 voip kernel: Module 1: Not installed
Sep 26 22:39:09 voip kernel: Module 2: Not installed
Sep 26 22:39:09 voip kernel: Module 3: Not installed
Sep 26 22:39:09 voip kernel: Found a Wildcard TDM: Wildcard TDM400P REV
E/F (4 modules)
Sep 26 22:39:09 voip ztcfg: Notice: Configuration file is /etc/zaptel.conf
Sep 26 22:39:09 voip ztcfg: line 143: Unable to open master device
'/dev/zap/ctl'
Sep 26 22:39:09 voip zaptel: Running ztcfg:  succeeded
Sep 26 22:39:09 voip udev[3578]: configured rule in
'/etc/udev/rules.d//50-udev.rules' at line 33 applied, 'zappseudo' becomes
'zap/pseudo'
Sep 26 22:39:09 voip udev[3578]: creating device node '/udev/zap/pseudo'
Sep 26 22:39:09 voip udev[3585]: configured rule in
'/etc/udev/rules.d//50-udev.rules' at line 30 applied, 'zapctl' becomes
'zap/ctl'
Sep 26 22:39:09 voip udev[3585]: creating device node '/udev/zap/ctl' Sep
26 22:39:09 voip udev[3608]: configured rule in
'/etc/udev/rules.d//50-udev.rules' at line 34 applied, 'zap1' becomes
'zap/%n'
Sep 26 22:39:09 voip udev[3608]: creating device node '/udev/zap/1' Sep 26
22:39:09 voip udev[3615]: configured rule in
'/etc/udev/rules.d//50-udev.rules' at line 34 applied, 'zap2' becomes
'zap/%n'
Sep 26 22:39:09 voip udev[3615]: creating device node '/udev/zap/2' Sep 26
22:39:09 voip udev[3622]: configured rule in
'/etc/udev/rules.d//50-udev.rules' at line 34 applied, 'zap3' becomes
'zap/%n'
Sep 26 22:39:09 voip udev[3622]: creating device node '/udev/zap/3' Sep 26
22:39:09 voip udev[3629]: configured rule in
'/etc/udev/rules.d//50-udev.rules' at line 34 applied, 'zap4' becomes
'zap/%n'
Sep 26 22:39:09 voip udev[3629]: creating device node '/udev/zap/4'


Thanks


Bart
















More information about the asterisk-users mailing list