It looks like something has changed in the HPET kernel code in 2.6.28 (maybe .27 too) that's stopped ztdummy.c compiling (in 1.2 and 1.4 versions of zapata) A kernel structure member has been renamed with some crypic comments in the lkml about it. Anyone know the right thing to do - I'm not up on the linux kernel guts, nor how ztdummy might interact with it, so simply renaming the structure member (from expires to _expires) is probably not the right thing to do... Meanwhile what's the 2nd best way to use ztdummy - force it to use the RTC instead? Gordon
On Tue, Feb 17, 2009 at 5:00 PM, Gordon Henderson <gordon+asterisk at drogon.net> wrote:> Meanwhile what's the 2nd best way to use ztdummy - force it to use the RTC > instead?The best way to use ztdummy is to read about the change to using DAHDI, and use dahdi_dummy instead. http://www.voip-info.org/wiki/view/DAHDI
Gordon Henderson wrote:> > Anyone know the right thing to do - I'm not up on the linux kernel guts, > nor how ztdummy might interact with it, so simply renaming the structure > member (from expires to _expires) is probably not the right thing to do... >If you're already making system changes and updating your kernel, now might be a good time to make the switch to dahdi. dahdi_dummy works with recent kernels. But otherwise, you might be interested in the history of dahdi_dummy.c to get some hints about what you might need to do for ztdummy if you want to make a local patch for that. http://svn.digium.com/view/dahdi/linux/trunk/drivers/dahdi/dahdi_dummy.c?view=log Cheers, Shaun
On Tue, 17 Feb 2009, Gordon Henderson wrote:> It looks like something has changed in the HPET kernel code in 2.6.28 > (maybe .27 too) that's stopped ztdummy.c compiling (in 1.2 and 1.4 > versions of zapata) A kernel structure member has been renamed with some > crypic comments in the lkml about it.OK, a few checks in the dahdi code (look, I spelt it right! :) and the changes are minimal and would apply to both the 1.2 and 1.4 versions of ztdummy. What's the recomended way to publish patches - if anyone wants them? Thanks, Gordon