[asterisk-users] great problem with sounds and ztdummy

Germán Aracil Boned german at tecnoxarxa.com
Tue Mar 13 14:41:07 MST 2007



Tzafrir Cohen escribió:
> On Tue, Mar 13, 2007 at 06:25:37PM +0100, Germ�n Aracil Boned wrote:
>> My solution.
>>
>> With Zaptel 1.4 I change ztdummy.c comment lines 47 to 56, for rtc config.
>>
>> Compile and without rtc module, load ztdummy. It work good with usbcore 
>> and uhci_hcd modules.
>>
>> I have installed libusb-dev for my debian etch system. Now, my kernel is 
>> 2.6.20.2, but it work good with 2.6.18
> 
> can ztdummy / 2.6 take timing from a UHCI USB controller?
> 

Yes. Download from svn version 1.4 of zaptel, edit ztdummy.c and comment 
  lines 47 to 56:

/* #if defined(__i386__) || defined(__x86_64__)
#if LINUX_VERSION_CODE >= VERSION_CODE(2,6,13)
#define USE_RTC
#else
#if 0
#define USE_RTC
#endif
#endif
#endif
*/

compile all, install all, unload rtc module and load ztdummy module.

This work good

You need libusb headers see line 69 from ztdummy.c:

#include <linux/usb.h>



More information about the asterisk-users mailing list