Linux-Users | 22 May 22:48 2016
Picon

[SPAM] good news

Hey,

 

I've got some good news for you, read more about it here http://ntexyntardi.clintchilders.com/lnyaj

 

Pardon my monkey thumbs, Linux-Users

------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Owfs-developers mailing list
Owfs-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Guy COLIN | 22 May 18:06 2016
Picon

Concurrency issues?

Hello,
I use owfs since 2010. I had it running on an old pentium 133MHz PC driving 
my heating system in the previous house. I then switch to a Raspberry Pi. 
Then moved to a new house. In my new house I have 2 Raspberry Pi running 
owfs. 1 is driving the heating system + various temp, humidity, lcd. The 
second one monitors the swiming pool and drive the pump. 
Everything can be seen at my web site gcolin.hd.free.fr
So the first thing I have to say (again) is a big thank to the developers. 
Because owfs is just awesome! Making 1wire life easy ;-) Many thanks for 
this.
I am happy with my systems they are running almost perfectly.
Why almost? Because sometimes I loose devices. I have been fighting with this 
for a very long time. First it was happening on the swimming pool system last 
year, I was accusing the hardware so I replaced the 2482 i2c bus master with 
a serial one, same problem, then a hobby-board hub, same problem, then 
changing the wiring same problem. I was banging my head against the wall. It 
was happening randomely, let's say once a week. Then since 6 months without 
any change (I'm back to 2482-100 bus master) I don't loose any devices. My 
trends are perfectly logged (I log every 5 minutes).
But since a few months it has started on the other system! I lost a temp 
sensor. This system has a 2482-800 bus master (i2c -> 8 channels 1wire), I 
have separated this sensor to a bus where it is alone: same problem, changed 
its cable (because it was a pair in the same cable than another 1wire bus) 
same problem again. I decided to connect it to an arduino and have this 
arduino send the data to the pi by serial. It works fine but guess what? owfs 
is now loosing another sensor.... :-( 
Finally I decided to come here to do some reading and I see you are saying: " 
don't use the owfs-fuse interface for anything but demonstration purposes, as 
it has concurrency issues."
Is this my problem? What concurrency issues are you talking about? Every 
owfs? or when owfs is used in conjonction with the kernel 1wire module (I 
never tried it)?
My 2 systems are identical: Raspbian wheezy in full read only (I don't want 
to upgrade I want to keep it fixed when it's running no change to anything). 
Running owfs from Raspbian repo: 2.8p15.
I use owserver and owfs fuse interface daemons (no owftpd, no owhttpd), 
access all my devices thru /mnt/1wire/ did this for 6 years. Is that wrong? 
Should I use owread, owwrite, owdir, etc?
Please, if you can give me some light on this concurrency issues.
Thanks a lot.
--
Guy COLIN

------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
Linux-Users | 5 May 17:58 2016
Picon

Fw: new message

Hello!

 

You have a new message, please read http://smashwebdemo.in/chief.php

 

Linux-Users

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Owfs-developers mailing list
Owfs-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Jan Kandziora | 30 Apr 22:59 2016
Picon
Picon

Re: OWFS on Raspberry Pi 2 help

Am 28.04.2016 um 22:39 schrieb Juliean Galak:
> On Thu, Apr 28, 2016 at 4:20 PM, Jan Kandziora <jjj <at> gmx.de> wrote:
> 
>> Am 28.04.2016 um 19:53 schrieb Juliean Galak:
>>>
>>> Ok, I found owhttpd.init in that archive, in the rpm/src directory, and
>>> copied it to /etc/init.d/  I then rebooted. No apparent change - owhttpd
>>> doesn't seem to be running.
>>>
>> You have to activate the service. Installing that file should make the
>> "service" tool work as expected.
>
I've set up a Raspberry Pi (Pi1) with Raspbian and checked the packages
available in the Raspbian Testing repository. They are OK.

So: please remove all the owfs tools installed from source first. The copied
files, too

Then use the owfs packages from the Raspbian testing repository. Edit
(or create) your /etc/apt/preferences to contain:
--------------------------------------------------------------------------
Package: *
Pin: release o=Raspbian,a=stable
Pin-Priority: 500

Package: *
Pin: release o=Raspbian,a=testing
Pin-Priority: 300
--------------------------------------------------------------------------
This is important so you keep stable (Jessie) for all packages but the ones
explicitly taken from testing (Stretch).

Then, add a line
--------------------------------------------------------------------------
deb http://mirrordirector.raspbian.org/raspbian/ testing main contrib non-free rpi
--------------------------------------------------------------------------
to your /etc/apt/sources.list to get access to the Raspbian testing repository.

Do an

$ sudo apt-get update

to read the package metadata, then check

$ sudo apt-cache policy

whether the testing repo is there with priority 300. Then

$ sudo apt-get update -t testing owserver owhttpd ow-shell

That should install all you need, including the startup files and systemd units.
Note you have to edit /etc/owfs.conf again to contain (this and only this)
--------------------------------------------------------------------------
!server: server = localhost:4304
server: w1
--------------------------------------------------------------------------
Restart the owserver and owhttpd service after that.

That way, both owread and owhttpd work as expected.

Kind regards

	Jan

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
Mick Sulley | 30 Apr 01:16 2016

Re: How to remove and start again?

Hi Colin,

Yes you are right, purged owserver and 2.9p8-6 is gone, just my newly 
installed 3.0.0 there now.

Lots of things went wrong today, tends to numb the brain a bit!

Thanks for your help
Mick

On 29/04/16 16:53, Colin Law wrote:
> On 29 April 2016 at 16:28, Mick Sulley <mick <at> sulley.info> wrote:
>> As I was getting desperate I delete ow* from /usr/bin and reinstalled 3.0.0
>> Just run your commands and I get -
>>
>> control <at> pi-solar:~ $ apt-cache policy owfs
>> owfs:
>>     Installed: (none)
>>     Candidate: 2.9p8-6
>>     Version table:
>>        2.9p8-6 0
>>           500 http://mirrordirector.raspbian.org/raspbian/ jessie/main
>> armhf Packages
>> control <at> pi-solar:~ $ apt-cache policy owserver
>> owserver:
>>     Installed: 2.9p8-6
>>     Candidate: 2.9p8-6
>>     Version table:
>>    *** 2.9p8-6 0
>>           500 http://mirrordirector.raspbian.org/raspbian/ jessie/main
>> armhf Packages
>>           100 /var/lib/dpkg/status
>> control <at> pi-solar:~ $ dpkg -S /usr/bin/owserver
>> owserver: /usr/bin/owserver
>> control <at> pi-solar:~ $
>>
>> So it looks like I still have the old version.
> You said you purged owfs, but it is owserver that is installed, so
> apt-get purge owserver
>
> Colin
>
>>
>> On 29/04/16 16:15, Colin Law wrote:
>>> On 29 April 2016 at 15:42, Mick Sulley <mick <at> sulley.info> wrote:
>>>> My Raspi failed overnight and I am trying to recreate it and pulling my
>>>> hair out!!  I have installed owfs many times, generally downloading from
>>>> SourceForge and installing from that.  I have done that this time, it
>>>> didn't work so I removed it (I thought) and installed via apt-get install.
>>>>
>>>> I am now in a mess!  Just tried to clear it all out and re-install
>>>> 3.0.0p but I see -
>>>> $ /usr/bin/owserver --version
>>>> /usr/bin/owserver version:
>>>>        2.9p8
>>>> libow version:
>>>>        2.9p8
>>>>
>>>> So it seems I still have the old package version.  How do I remove it?
>>>> I tried apt-get purge owfs
>>> What do
>>> apt-cache policy owfs
>>> and
>>> apt-cache policy owserver
>>> and
>>> dpkg -S /usr/bin/owserver
>>> show?
>>>
>>> How did you try to install 3.0.0?
>>>
>>> Colin
>>>
>>> ------------------------------------------------------------------------------
>>> Find and fix application performance issues faster with Applications Manager
>>> Applications Manager provides deep performance insights into multiple tiers of
>>> your business applications. It resolves application problems quickly and
>>> reduces your MTTR. Get your free trial!
>>> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
>>> _______________________________________________
>>> Owfs-developers mailing list
>>> Owfs-developers <at> lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>
>> ------------------------------------------------------------------------------
>> Find and fix application performance issues faster with Applications Manager
>> Applications Manager provides deep performance insights into multiple tiers of
>> your business applications. It resolves application problems quickly and
>> reduces your MTTR. Get your free trial!
>> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
>> _______________________________________________
>> Owfs-developers mailing list
>> Owfs-developers <at> lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
> ------------------------------------------------------------------------------
> Find and fix application performance issues faster with Applications Manager
> Applications Manager provides deep performance insights into multiple tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
John Bass | 29 Apr 18:36 2016
Picon

Raspberry Pi Jessie owfs-3.1.p1 w1-driver = 85c

Hello,

 

Well I have found why it’s happening. I conclude owfs is not handling passive devices correctly

 

So.. NOT in passive mode, i.e. all three legs of the temperature sensor connected, and a 4.7k pull up on the data line, Both /sys/bus/w1/DEVICE/temperature returns correct temperature. The same is true for owserver, when owread is run the correct temperature is returned.

 

Now… I rewire the temperature sensor to two wires, GND pin and VDD pin shorted to GND and the data pin with a 4.7k pullup to +3.3V.

 

So Passive mode,  /sys/bus/w1/DEVICE/temperature returns correct temperature, however owserver with owread return 85c, thus I would surmise that owserver is not handing passive devices correctly.

 

Also /boot/config.txt has the correct definition in it.

 

dtoverlay=w1-gpio,gpiopin=4,pullup=on

 

I ran the test several times, rebooting each time. I also rewired the same sensor each time!

 

John

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Owfs-developers mailing list
Owfs-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Juliean Galak | 27 Apr 21:33 2016
Picon

OWFS on Raspberry Pi 2 help

If this isn't the right forum for this, I apologize, but I've been banging my head against this for months and can't seem to resolve it.

I'm trying to run OWFS over the w1 kernel module on a Raspberry Pi 2 running the 3.1 (Wheezy) kernel.  (I need to use the w1 module for compatibility with other programs, switching to another bus master isn't an option).

Debian's apt-get system installs version 2.8, which doesn't seem to work well with w1.  It was suggested to me that downloading and building 3.1 would resolve the issue.  I've done so, and it appears to have built successfully, but I can't figure out how to set it up to run as a service the way the version installed by apt-get runs.  There isn't an /etc/owfs.conf file, and it doesn't auto-start. 

Any help would be appreciated.  My previous problems trying to get version 2.8 to run can be seen here: http://raspberrypi.stackexchange.com/questions/37070/problems-with-owfs-over-the-w1-kernel-module

Thank you for any help,

--
Juliean Galak
jgalak <at> gmail.com
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Owfs-developers mailing list
Owfs-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers
John Bass | 27 Apr 10:19 2016
Picon

Raspberry pi Jessie, owfs-3.0.p2 not working with w1 driver correctly

Hello,

 

Raspberry pi B+ running Jessie, fully updated and rpi-upated..

 

I have the basic w1 kernel driver working fine, with a DS18B20 sensor. I can read the temperature just fine.

 

However not so with the owserver.. If I run the owserver up in  one shell, owserver –w1 –debug, and then kick off owdir in another, I do not get a full directory listing.

 

It takes ages to come back… see partial debug output below

 

John

 

  DEBUG: ow_w1_dispatch.c:(91) Netlink message directed to W1 bus master 1

  DEBUG: ow_w1_dispatch.c:(148) Sending this packet to w1_bus_master1

  DEBUG: ow_w1_dispatch.c:(172) Dispatch loop

  DEBUG: ow_w1_parse.c:(112) Wait to peek at message

  DEBUG: ow_w1_parse.c:(229) Loop waiting for netlink piped message

  DEBUG: ow_w1_parse.c:(162) Pipe header: len=60 type=3 seq=1|1 pid=0

  DEBUG: ow_w1_parse.c:(195) Pipe read --------------------

NLMSGHDR: len=60 type=3 (NLMSG_DONE) flags=0 seq=1|1 pid=0

CN_MSG: idx/val=3/1 (CN_W1_IDX) seq=1|1 ack=65538 len=24 flags=0

W1_NETLINK_MSG: type=4 (W1_MASTER_CMD) len=12 id=1

W1_NETLINK_CMD: cmd=2 (W1_CMD_SEARCH) len=8

Byte buffer Data, length=8

--000: 28 B1 28 F9 04 00 00 94

   <(.(.....>

  DEBUG: ow_w1_parse.c:(249) About to call nrs_callback

  DEBUG: ow_w1_parse.c:(251) Called nrs_callback  DEBUG: ow_w1_parse.c:(120) Pre-parse header: 16 bytes len=52 type=3 seq=1|1 pid=0

  DEBUG: ow_w1_parse.c:(141) Netlink read -----------------

NLMSGHDR: len=52 type=3 (NLMSG_DONE) flags=0 seq=1|1 pid=0

CN_MSG: idx/val=3/1 (CN_W1_IDX) seq=1|1 ack=65537 len=16 flags=0

W1_NETLINK_MSG: type=4 (W1_MASTER_CMD) len=4 id=1

W1_NETLINK_CMD: cmd=2 (W1_CMD_SEARCH) len=0

NULL data

  DEBUG: ow_w1_dispatch.c:(91) Netlink message directed to W1 bus master 1

  DEBUG: ow_w1_dispatch.c:(148) Sending this packet to w1_bus_master1

  DEBUG: ow_w1_dispatch.c:(172) Dispatch loop

  DEBUG: ow_w1_parse.c:(112) Wait to peek at message

 

  DEBUG: ow_w1_parse.c:(229) Loop waiting for netlink piped message

  DEBUG: ow_w1_parse.c:(162) Pipe header: len=52 type=3 seq=1|1 pid=0

  DEBUG: ow_w1_parse.c:(195) Pipe read --------------------

NLMSGHDR: len=52 type=3 (NLMSG_DONE) flags=0 seq=1|1 pid=0

CN_MSG: idx/val=3/1 (CN_W1_IDX) seq=1|1 ack=65537 len=16 flags=0

W1_NETLINK_MSG: type=4 (W1_MASTER_CMD) len=4 id=1

W1_NETLINK_CMD: cmd=2 (W1_CMD_SEARCH) len=0

NULL data

  DEBUG: ow_w1_parse.c:(249) About to call nrs_callback

  DEBUG: ow_w1_parse.c:(251) Called nrs_callback

  DEBUG: loop.c:(109) Taking too long, send a keep-alive pulse

  DEBUG: to_client.c:(76) payload=-1 size=0, ret=0, sg=0x0 offset=0

  DEBUG: to_client.c:(83) Send delay message (ping)

  DEBUG: loop.c:(109) Taking too long, send a keep-alive pulse

  DEBUG: to_client.c:(76) payload=-1 size=0, ret=0, sg=0x0 offset=0

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Owfs-developers mailing list
Owfs-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers
Picon
Gravatar

Remove getaddrinfo compat implementation completely

 Hi all,

 When I posted a patch on the list to fix the compat handling of getaddrinfo,
the conclusion was that it would be better to get rid of the compat handling
of getaddrinfo completely. However my patch to do that didn't make it to the
list because it was too large. So my original patch got applied instead.

 Therefore, here is the patch to remove the compat handling of getaddrinfo
again. It is rebased on current master. This time I made it with the -D
option so it's a lot smaller.

 Regards,
 Arnout

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
Picon
Gravatar

Scan misses slaves when one disappears from the bus

 Hi all,

 We have a system where there are many iButton-type devices on a single
1-wire bus, and they are continuously connected to and disconnected from
the bus. We poll the owfs uncached directory to detect when an iButton
is connected.

 Now during stress testing we discovered that when a device is removed from
the bus, it sometimes happen that other devices (that are still connected)
also disappear. Further investigation turned up that the problem is caused
by the "1,1" condition on the bus when the search algorithm [1] is used.
This condition means "No devices participating in search". However, this is
not really true, because we can only get in that situation when there was
a device participating but it disappeared during the search.

 The attached patch solves this by erroring out in the "1,1" condition,
instead of considering the search finished. This corresponds to what
Maxim's application note [1] describes.

 If you all agree that this is the best way to approach it, you can apply
the patch in follow-up.

 Regards,
 Arnout

[1] https://www.maximintegrated.com/en/app-notes/index.mvp/id/187

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
Johan Ström | 24 Mar 16:12 2016
Picon

Unittests

Hi,

I just commited a very first unit-test, something which the codebase is
lacking today.
Also merged the fix for FS_input_ascii_array, and some other cleanups.

The test is built with libcheck, a pretty simple C unittest library.
It is by no means a decision on a lib to use, but it's a start.

To build, ensure libcheck is installed, re-run configure, and then make
all check.

For the moment there is only a single test case, for
FS_input_ascii_array (which was fixed through with help from this test).
owfs (and C in generall) is a kindof tricky to write tests for, but it
is doable.. at least for some parts..

Of course, this just tests an extremely small portion of the owfs
codebase, but in the future we can add more, especially when debugging
errors.

Johan

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140

Gmane