[asterisk-dev] /dev/zap/timer vs /dev/dahdi/timer

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sat Jan 2 15:15:13 CST 2010


On Sat, Jan 02, 2010 at 03:30:59PM -0500, Dan Amarandei wrote:
> Hi everyone,
> 
> Are they any known differences between /dev/zap/timer
> and /dev/dahdi/timer?
> 
> As far as I could tell both devices should be of type 196,253 – however
> I am having issues with the driver I have been porting (DAHDI driver for
> IP01 which is Blackfin based).
> 
> The compiled timertest utility from the dahdi tools gives me the
> following
> 
> 
> Opened timer...
> 
> Unable to set timer: Inappropriate ioctl for device

Zaptel uses 'K' (IIRC) as the ioctl type, whereas DAHDI uses 0xDA . Thus
they are explicitly incompatible.

-- 
               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



More information about the asterisk-dev mailing list