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

Dan Amarandei dan.amarandei at gmail.com
Sat Jan 2 15:35:14 CST 2010


Thanks,

You mean:

old was 

/* ioctl definitions */
#define DAHDI_CODE	'J'

new should be

/* ioctl definitions */
#define DAHDI_CODE		0xDA





On Sat, 2010-01-02 at 23:15 +0200, Tzafrir Cohen wrote:
> 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
> 
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
> 
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev





More information about the asterisk-dev mailing list