What does it take to get ztdummy to work correctly? I have a new laptop HP HDX9200. I am running asterisk 1.4.19 and zaptel 1.4.9.2 Zaptel compiles fine. asterisk compiles fine. ztdummy loads asterisk runs. Problem is playback() does not work. So then I stop zaptel, asterisk runs and playback() now works. However, meetme()'s dont work. I need ztdummy I'm pretty sure for that. I am running Centos 5.1 with the latest kernel and fully updated. How can I get ztdummy to work? There are no cards in the laptop. I typically dont run asterisk on a laptop - but thats what the situation needed... Thanks, Jerry
In article <47F4C604.1060301 at pagestation.com>, Jerry Geis <geisj at pagestation.com> wrote:> What does it take to get ztdummy to work correctly? > > I have a new laptop HP HDX9200. I am running asterisk 1.4.19 and zaptel > 1.4.9.2 > Zaptel compiles fine. asterisk compiles fine. ztdummy loads asterisk runs. > Problem is playback() does not work. So then I stop zaptel, asterisk > runs and playback() now > works. However, meetme()'s dont work. I need ztdummy I'm pretty sure for > that. > > I am running Centos 5.1 with the latest kernel and fully updated. > > How can I get ztdummy to work? There are no cards in the laptop. > I typically dont run asterisk on a laptop - but thats what the situation > needed...Jerry, the first thing to check is "cat /proc/interrupts" and see if there is an entry for rtc on IRQ 8. There should be, and the interrupt counts on there should be going up at approximately 1024 per second. What kernel version are you using? (uname -a) Cheers Tony -- Tony Mountifield Work: tony at softins.co.uk - http://www.softins.co.uk Play: tony at mountifield.org - http://tony.mountifield.org
> > In article <47F4C604.1060301 at pagestation.com <http://lists.digium.com/mailman/listinfo/asterisk-users>>, > Jerry Geis <geisj at pagestation.com <http://lists.digium.com/mailman/listinfo/asterisk-users>> wrote: > >/ What does it take to get ztdummy to work correctly? > />/ > />/ I have a new laptop HP HDX9200. I am running asterisk 1.4.19 and zaptel > />/ 1.4.9.2 > />/ Zaptel compiles fine. asterisk compiles fine. ztdummy loads asterisk runs. > />/ Problem is playback() does not work. So then I stop zaptel, asterisk > />/ runs and playback() now > />/ works. However, meetme()'s dont work. I need ztdummy I'm pretty sure for > />/ that. > />/ > />/ I am running Centos 5.1 with the latest kernel and fully updated. > />/ > />/ How can I get ztdummy to work? There are no cards in the laptop. > />/ I typically dont run asterisk on a laptop - but thats what the situation > />/ needed... > / > Jerry, the first thing to check is "cat /proc/interrupts" and see if there > is an entry for rtc on IRQ 8. There should be, and the interrupt counts > on there should be going up at approximately 1024 per second. > > What kernel version are you using? (uname -a) > >Tony, /proc/interrupts shows: CPU0 CPU1 8: 1 0 IO-APIC-edge rtc So the RTC is not incrementing. uname -a shows x86_64 and Centos 5.1, 2.6.18-53.1.14.el5 Jerry -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080403/232bfad8/attachment.htm
On Thu, Apr 03, 2008 at 01:45:09PM +0000, Tony Mountifield wrote:> Jerry, the first thing to check is "cat /proc/interrupts" and see if there > is an entry for rtc on IRQ 8. There should be, and the interrupt counts > on there should be going up at approximately 1024 per second.To see it better: watch -n1 -d cat /proc/interrupts -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
> > On Thu, Apr 03, 2008 at 01:45:09PM +0000, Tony Mountifield wrote: > > >/ Jerry, the first thing to check is "cat /proc/interrupts" and see if there > />/ is an entry for rtc on IRQ 8. There should be, and the interrupt counts > />/ on there should be going up at approximately 1024 per second. > / > To see it better: > > watch -n1 -d cat /proc/interrupts > >watch -n1 -d cat /proc/interrupts Every 1.0s: cat /proc/interrupts Thu Apr 3 10:29:19 2008 CPU0 CPU1 0: 129 0 XT-PIC-XT timer 1: 337248 0 XT-PIC-XT i8042 2: 0 0 XT-PIC-XT cascade 3: 4 0 XT-PIC-XT 4: 69 0 XT-PIC-XT 5: 737837152 0 XT-PIC-XT HDA Intel 7: 385 0 XT-PIC-XT parport0 8: 1 0 XT-PIC-XT rtc It still remains as 1... Jerry -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080403/3f54a04a/attachment-0001.htm
On Apr 3, 2008, at 10:32 AM, asterisk-users-request at lists.digium.com wrote:> uname -a shows x86_64 and Centos 5.1, 2.6.18-53.1.14.el5You can try zttest, although I'd bet it will hang. See what's going to the console (or use dmesg.) If it's a lot of rtc errors, then you'll likely need to upgrade your kernel to at least 2.6.23.11. That worked for me. Norman Franke Answering Service for Directors, Inc. www.myasd.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080403/86f37762/attachment.htm
On Apr 3, 2008, at 12:45 PM, asterisk-users-request at lists.digium.com wrote:>> You can try zttest, although I'd bet it will hang. See what's going >> to the console (or use dmesg.) If it's a lot of rtc errors, then >> you'll likely need to upgrade your kernel to at least 2.6.23.11. That >> worked for me. > > I'd be surprised if that is the solution - I have been using > ztdummy with > the RTC hook since 2.6.9 with no problems, and again on > 2.6.18-53.1.6.el5 > > Unless it's a 64-bit issue - I've only ever used 32-bit.I'm using 32-bit as well, but it may depend on the hardware. I'm using HP DL-380s and Debian (both etch and sarge had the same problems.) I did nothing other than upgrade my kernel (and recompile zaptel, of course) and it just started to work. I used to get a lot of those missing interrupt errors to the console before, not now. If zttest hangs, I'd suspect the drivers are loaded. Otherwise, you'll get an error that it can't find a zap device (and playback then works.) Norman Franke Answering Service for Directors, Inc. www.myasd.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080403/d71da079/attachment.htm