Re: [Owfs-developers] New device driver - write function not being called

2017-02-17 Thread Jan Kandziora
..@lists.sourceforge.net> >> Subject: Re: [Owfs-developers] New device driver - write function not > being >> called >> >> if (channel->fade_time >= (2^24)) { >> return gbBAD; >> } > > And there's the problem

Re: [Owfs-developers] New device driver - write function not being called

2017-02-16 Thread Alastair D'Silva
> -Original Message- > From: Alastair D'Silva [mailto:alast...@d-silva.org] > Sent: Thursday, 16 February 2017 7:02 PM > To: 'OWFS (One-wire file system) discussion and help' develop...@lists.sourceforge.net> > Subject: Re: [Owfs-developers] New device

Re: [Owfs-developers] New device driver - write function not being called

2017-02-16 Thread Alastair D'Silva
> -Original Message- > From: Jan Kandziora [mailto:j...@gmx.de] > Sent: Thursday, 16 February 2017 3:01 AM > To: OWFS (One-wire file system) discussion and help develop...@lists.sourceforge.net> > Subject: Re: [Owfs-developers] New device driver - write function not bein

Re: [Owfs-developers] New device driver - write function not being called

2017-02-15 Thread Jan Kandziora
Am 15.02.2017 um 12:54 schrieb Alastair D'Silva: > > Command: > > echo "5,10,15,20,300" > /mnt/1wire/FE.DECEA5EDBEEF/channel0 > -bash: echo: write error: Invalid argument > Is your parse_rgbw_string() tolerant against \n? Kind regards Jan -

[Owfs-developers] New device driver - write function not being called

2017-02-15 Thread Alastair D'Silva
Hi folks, I'm trying to get a new driver working, and I can't seem to get my write functions called. Here's the pertinent bits (from ow_iergbw.c): READ_FUNCTION(FS_r_get_channel_0); WRITE_FUNCTION(FS_w_set_channel_0); static struct filetype IERGBW[] = { F_STANDARD, {"all_off", P