login | register
Sun 07 of Sep, 2008 [23:45 UTC]

voip-info.org

zaptel-solaris

Created by: slimey,Last modification on Thu 28 of Apr, 2005 [17:24 UTC]

Zaptel on Solaris (zaptel-solaris)


Yes, I have Zaptel working on Solaris!

dev2-root-4: modinfo | grep zap
237 781c8000 33513 231 1 zaptel (Zapata Telephony Interface)

dev2-root-5: uname -a
SunOS dev2 5.9 Generic_117171-07 sun4u sparc SUNW,Sun-Blade-100

You can find a snapshot of my code at http://www.slimey.org/zaptel-solaris.tar.gz

This is my first ever Solaris device driver, so I need any help I can get!

  • tar -xzvf zaptel-solaris.tar.gz
  • cd zaptel-solaris
  • make

You should now have zaptel and ztdummy modules built.

To make zaptel work, you'll also need to do:

  • echo "type=ddi_zaptel<tab>zap/\M0" >> /etc/devlink.tab
(remember to replace <tab> with a tab character)

Then:

  • make install

That'll give you the zaptel module.It also installs ztdummy, which works, but the timing is all wrong.

Hopefully, "modinfo" show now show the zaptel module loaded, and you'll have some devices in /etc/zap/

The wcte11xp driver 'works' for me. It can keep an E1 PRI up to a linux box with another wcte11xp card for many hours. However, it does chew 100% of CPU in kernel time. This really needs debugging, but I don't know where to start fixing this. You can install this with "make installte11xp"

You will also find basic ports of wctdm and wcfxo, but both of these kernel panic my box when I load them. The panic happens when the driver tries to talk to the PCI card. I could *really* do with some help debugging this.

If you can help, or have any suggestions, please email me - simon@slimey.org

Comments

Comments Filter
222

333thats misleading :)

by TommyTheKid, Thursday 27 of October, 2005 [03:23:40 UTC]
"Yes, I have Zaptel working on Solaris!"

.. a bit misleading :)

I got all excited and nearly jumpstarted my asterisk server, then I read the stuff at the bottom. It looks like we should stick with Linux for now on our production gateway :)

Good luck, I wish i could help :)


~tommy