keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about A400/800/1200 Analog Interface Card

A1200P automatic detect and config on trixbox and aah

17 years 1 month ago #250 by Slanj
I did it several times. As told there www.trixbox.org/forums/trixbox/trixbox-e...-a1200p-installation

make clean
make linux26
make install

And I get (after make install) :

if cmp -s version.h.tmp version.h ; then echo; else \
mv version.h.tmp version.h ; \
fi

rm -f version.h.tmp
/usr/src/linux
make -C /usr/src/linux SUBDIRS=/usr/src/zaptel modules
make[1]: Entering directory `/usr/src/linux'
Building modules, stage 2.
MODPOST
*** Warning: "_spin_lock_irqsave" [/usr/src/zaptel/ztdynamic.ko] undefined!
*** Warning: "_spin_unlock_irqrestore" [/usr/src/zaptel/ztdynamic.ko] undefined!
*** Warning: "_spin_unlock_irqrestore" [/usr/src/zaptel/ztd-loc.ko] undefined!
*** Warning: "_spin_lock_irqsave" [/usr/src/zaptel/ztd-loc.ko] undefined!
*** Warning: "_spin_unlock_irqrestore" [/usr/src/zaptel/ztd-eth.ko] undefined!
*** Warning: "_spin_lock_irqsave" [/usr/src/zaptel/ztd-eth.ko] undefined!
*** Warning: "_write_unlock_irqrestore" [/usr/src/zaptel/zaptel.ko] undefined!
*** Warning: "_read_lock" [/usr/src/zaptel/zaptel.ko] undefined!
*** Warning: "_write_lock_irqsave" [/usr/src/zaptel/zaptel.ko] undefined!
*** Warning: "_spin_lock_irqsave" [/usr/src/zaptel/zaptel.ko] undefined!
*** Warning: "_spin_unlock_irqrestore" [/usr/src/zaptel/zaptel.ko] undefined!
*** Warning: "_write_lock" [/usr/src/zaptel/zaptel.ko] undefined!
*** Warning: "_write_unlock" [/usr/src/zaptel/zaptel.ko] undefined!
*** Warning: "_read_unlock" [/usr/src/zaptel/zaptel.ko] undefined!
*** Warning: "_spin_unlock_irqrestore" [/usr/src/zaptel/wcte11xp.ko] undefined!
*** Warning: "_spin_lock_irqsave" [/usr/src/zaptel/wcte11xp.ko] undefined!
*** Warning: "_spin_unlock_irqrestore" [/usr/src/zaptel/wctdm24xxp.ko] undefined !
*** Warning: "_spin_lock_irqsave" [/usr/src/zaptel/wctdm24xxp.ko] undefined!
*** Warning: "_spin_unlock_irqrestore" [/usr/src/zaptel/wctdm.ko] undefined!
*** Warning: "_spin_lock_irqsave" [/usr/src/zaptel/wctdm.ko] undefined!
*** Warning: "_spin_lock_irqsave" [/usr/src/zaptel/wct4xxp/wct4xxp.ko] undefined !
*** Warning: "_spin_unlock_irqrestore" [/usr/src/zaptel/wct4xxp/wct4xxp.ko] unde fined!
*** Warning: "_spin_unlock_irqrestore" [/usr/src/zaptel/wct1xxp.ko] undefined!
*** Warning: "_spin_lock_irqsave" [/usr/src/zaptel/wct1xxp.ko] undefined!
*** Warning: "_write_unlock_irqrestore" [/usr/src/zaptel/torisa.ko] undefined!
*** Warning: "_write_lock_irqsave" [/usr/src/zaptel/torisa.ko] undefined!
*** Warning: "_spin_unlock_irqrestore" [/usr/src/zaptel/tor2.ko] undefined!
*** Warning: "_spin_lock_irqsave" [/usr/src/zaptel/tor2.ko] undefined!
*** Warning: "_spin_unlock_irqrestore" [/usr/src/zaptel/pciradio.ko] undefined!
*** Warning: "_spin_lock_irqsave" [/usr/src/zaptel/pciradio.ko] undefined!
*** Warning: "_spin_unlock" [/usr/src/zaptel/pciradio.ko] undefined!
*** Warning: "_spin_lock" [/usr/src/zaptel/pciradio.ko] undefined!
*** Warning: "_spin_unlock_irqrestore" [/usr/src/zaptel/opvxa1200.ko] undefined!
*** Warning: "_spin_lock_irqsave" [/usr/src/zaptel/opvxa1200.ko] undefined!
make[1]: Leaving directory `/usr/src/linux'
build_tools/genudevrules > /etc/udev/rules.d/zaptel.rules
if [ -d /usr/lib/hotplug/firmware ]; then \
install -m 644 wct4xxp/*.ima /usr/lib/hotplug/firmware; \
elif [ -d /lib/firmware ]; then \
install -m 644 wct4xxp/*.ima /lib/firmware; \
fi
Installed firmware
install -D -m 755 ztcfg /sbin/ztcfg
if [ -f sethdlc-new ]; then \
install -D -m 755 sethdlc-new /sbin/sethdlc; \
elif [ -f sethdlc ]; then \
install -D -m 755 sethdlc /sbin/sethdlc ; \
fi
if [ -f zttool ]; then install -D -m 755 zttool /sbin/zttool; fi
for x in zaptel.ko tor2.ko torisa.ko wcusb.ko wcfxo.ko wctdm.ko wctdm24xxp.ko zt dynamic.ko ztd-eth.ko wct1xxp.ko wcte11xp.ko pciradio.ko opvxa1200.ko ztd-loc.ko ztdummy.ko; do \
rm -f /lib/modules/2.6.9-34.0.2.ELsmp/extra/$x ; \
done; \
make -C /usr/src/linux SUBDIRS=/usr/src/zaptel INSTALL_MOD_PATH= INSTALL_MOD_DIR =misc modules_install;
make[1]: Entering directory `/usr/src/linux'
INSTALL /usr/src/zaptel/opvxa1200.ko
INSTALL /usr/src/zaptel/pciradio.ko
INSTALL /usr/src/zaptel/tor2.ko
INSTALL /usr/src/zaptel/torisa.ko
INSTALL /usr/src/zaptel/wcfxo.ko
INSTALL /usr/src/zaptel/wct1xxp.ko
INSTALL /usr/src/zaptel/wct4xxp/wct4xxp.ko
INSTALL /usr/src/zaptel/wctdm.ko
INSTALL /usr/src/zaptel/wctdm24xxp.ko
INSTALL /usr/src/zaptel/wcte11xp.ko
INSTALL /usr/src/zaptel/wcusb.ko
INSTALL /usr/src/zaptel/zaptel.ko
INSTALL /usr/src/zaptel/ztd-eth.ko
INSTALL /usr/src/zaptel/ztd-loc.ko
INSTALL /usr/src/zaptel/ztdummy.ko
INSTALL /usr/src/zaptel/ztdynamic.ko
make[1]: Leaving directory `/usr/src/linux'
if ! [ -f wcfxsusb.o ]; then \
rm -f /lib/modules/2.6.9-34.0.2.ELsmp/misc/wcfxsusb.o; \
fi; \
rm -f /lib/modules/2.6.9-34.0.2.ELsmp/misc/wcfxs.o
install -D -m 755 libtonezone.so /usr/lib/libtonezone.so.1.0
[ `id -u` = 0 ] && /sbin/ldconfig || :
rm -f /usr/lib/libtonezone.so
ln -sf libtonezone.so.1.0 \
/usr/lib/libtonezone.so.1
ln -sf libtonezone.so.1.0 \
/usr/lib/libtonezone.so
if [ -x /usr/sbin/sestatus ] && (/usr/sbin/sestatus | grep "SELinux status:" | g rep -q "enabled") ; then restorecon -v /usr/lib/libtonezone.so; fi
install -D -m 644 zaptel.h /usr/include/linux/zaptel.h
install -D -m 644 torisa.h /usr/include/linux/torisa.h
install -D -m 644 tonezone.h /usr/include/tonezone.h
install -m 644 doc/ztcfg.8 /usr/share/man/man8
install -m 644 doc/zttool.8 /usr/share/man/man8
[ `id -u` = 0 ] && /sbin/depmod -a 2.6.9-34.0.2.ELsmp || :
[ -f /etc/zaptel.conf ] || install -D -m 644 zaptel.conf.sample /etc/zaptel.conf
build_tools/genmodconf linux26 "" "tor2 torisa wcusb wcfxo wctdm wctdm24xxp ztdy namic ztd-eth wct1xxp wcte11xp pciradio opvxa1200 ztd-loc ztdummy"
Building /etc/modprobe.conf...

[/size]
17 years 1 month ago #251 by miaolin
run following command to update your kernel:
yum install kernel kernel-devel

after finish, reboot your pc, boot with higher version of kernel .
then go to zaptel directory
run make install
17 years 1 month ago #252 by miaolin
do not run make linux26

simply run make install will execute all necessory stuff.
17 years 1 month ago #253 by Slanj
Thanx. I did it.
The thing is (I think) - in differences of Trixbox 1.0 and 2.0 . I tried to rebuild zaptel drivers on trixbox 1.0 - and made it without problems. But on 2.0 - still cannot :( .
17 years 1 month ago #254 by miaolin
please setup a ssh account for us to help you solve it.
17 years 1 month ago #256 by Slanj
Thank you very much for your help. On new Trixbox 2.2 - A1200P works fine.
Time to create page: 0.050 seconds
Powered by Kunena Forum