[Asterisk-Dev] Using linux RTC with ztdummy
Klaus-Peter Junghanns
kpj at junghanns.net
Fri May 2 12:19:43 MST 2003
hi mark,
i only set the irq frequency to 1024 that does not mean
that i call zt_receive/transmit on every irq.
actually i skip 24 irqs per second.
regards
kapejod
Am Fre, 2003-05-02 um 21.44 schrieb Mark Spencer:
> At 1024 Hz, you're going to experience very frequent slips since it's off
> by 24000 ppm. By comparision most oscillators are in the 25-50 ppm.
> range. The USB is a much much better source if you have it, although I
> suppose *something* is better than *nothing*.
>
> Mark
>
> On 2 May 2003, Klaus-Peter Junghanns wrote:
>
> > hi guys,
> >
> > attached you will find a ztdummy replacement that was
> > hacked together from the rtc.c in the linux kernel.
> > it keeps all the rtc features and adds zaptel timing
> > if you set the irq frequency to 1024Hz. see the Makefile...
> >
> > basically:
> > make load
> > does the job
> >
> > regards
> > kapejod
> >
> > --
> > Klaus-Peter Junghanns
> >
> > CEO,CTO
> > Junghanns.NET Internet-Services & Software-Development GmbH
> > Breite Strasse 13 - 12167 Berlin - Germany
> > fon: +49 30 79705392
> > fax: +49 30 79705391
> > mobile: +49 160 7503372
> > email: kpj at junghanns.net
> >
> > Am Fre, 2003-05-02 um 16.50 schrieb Brancaleoni Matteo:
> > > I was wondering if is possible
> > > to use linux RTC to generate timings
> > > for zaptel , so switching ztdummy from
> > > usb-uhci as timing source to RTC.
> > >
> > > That could allow us to be free from that
> > > usb-uhci thing, and not to have to enable
> > > usb only for that. (ideal condition
> > > for pure VoIP asterisk installations)
> > >
> > > Matteo.
> > >
> > > --
> > > Brancaleoni Matteo <mbrancaleoni at espia.it>
> > > Espia - Emmgi Srl
> > >
> > > _______________________________________________
> > > Asterisk-Dev mailing list
> > > Asterisk-Dev at lists.digium.com
> > > http://lists.digium.com/mailman/listinfo/asterisk-dev
> >
> >
>
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
More information about the asterisk-dev
mailing list