[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

Re: [Owfs-developers] Fine-tune timing against disappearing slaves

2017-02-15 Thread Jan Kandziora
Am 15.02.2017 um 08:25 schrieb Sven Giermann: > > I have several temperature sensors and 1 DS2423 counter in one room. All > are connected with a Cat.5 network cable (about 30 meters) in a single bus > that ends in another room with a small embedded Debian ARM (armel) server > that runs OWFS 2.8p1

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 -

Re: [Owfs-developers] Fine-tune timing against disappearing slaves

2017-02-15 Thread Colin Reese
Sven, what code are you using on your attiny? > On Feb 15, 2017, at 7:27 AM, Jan Kandziora wrote: > >> Am 15.02.2017 um 08:25 schrieb Sven Giermann: >> >> I have several temperature sensors and 1 DS2423 counter in one room. All >> are connected with a Cat.5 network cable (about 30 meters) in a

Re: [Owfs-developers] Fine-tune timing against disappearing slaves

2017-02-15 Thread Sven Giermann
Jan, thanks for the detailed explanation! My main problem was/is, that even when I disconnect 2 branches and only have branch "B" or "C", it won't make a difference. But there's another change, I did not remember: Colin, I use OneWireHub: https://github.com/orgua/OneWireHub The difference is, that