login | register
Sat 19 of Jul, 2008 [23:17 UTC]

voip-info.org

Discuss [3] History

Asterisk zaprtc

Created by: JustRumours,Last modification on Mon 21 of Feb, 2005 [23:38 UTC]

zaprtc


Installation

Add this to rc.local to get it initialised at boot:

 insmod /lib/modules/2.4.21-9.ELcustom/misc/zaprtc.o
 /usr/local/bin/rtcsetup &

(Obviously modify the kernel path if required - this is for RHES3)

Note: After make failure and complaints about missing zaptel.h you might want to copy all *.h files from /zaptel into /zaptelrtc and then do "make". This worked for me with Asterisk 1.0.5 on Debian Sarge with kernel 2.4.27.
Of course check first that rtc (enhanced real time clock) isn't compiled into your kernel or loaded as a module (check for the latter case with lsmod).

Jan. 2004:

I updated Junghanns' zaprtc to work with a 2.6 kernel.
It is not extensively tested, but does compile cleanly
installs without errors and works with Meetme conferences.

Since this code is not part of the zaptel cvs, I'll be
happy to share the diff, or if the Bug Marshalls would not
mind open a bug and post the diff there.

(One caveat, on unload the zaprtc module does not seem to
unregister its channels. Since I haven't worked on kernel
modules before, I thought a module that loads is worth
sharing. I'll work on the unload next)

Dan Austin

Question: What's the sense of this? On 2.6 kernels "make linux26" in the /zaptel source dir will build ztdummy regardless of which USB type the motherboard uses; in other words there is no use for zaprtc on a 2.6 kernel.

Feb 2005:



Go back to Asterisk timer


Comments

Comments Filter
222

333how to enable RTC in SuSe 9.x ?

by sjobeck, Tuesday 30 of August, 2005 [08:22:13 UTC]
I have read most of this & can not seem to finagle RTC in SuSe 9.x.

Any one have any pointers?

Thanks.

Jason

222

333Where to find 2.6 kernel support

by , Wednesday 30 of June, 2004 [16:49:39 UTC]
According to these guys:

http://www.junghanns.net/asterisk/

The 'bristuff (0.0.2)' has the zaprtc 2.6 kernel support.
222

333No longer working

by , Friday 21 of May, 2004 [23:28:39 UTC]
Alas the original driver has been updated, the patches now don't apply cleanly and if you manually apply them then the driver doesn't in fact work (it oopses on startup). At the moment the only way to use asterisk properly on 2.6 is to buy digem hardware (:cry:)