Re: [Owfs-developers] Many-port bus master

2017-08-01 Thread Paul Alfille
owlib does have support for that kind of device -- (multiple buses) -- The DS2482-800 is a good example. It has one "port" and multiple buses. The port gets locked for just the message (e.g. serial communication) and the individual 1-wire bus and slave gets locked for the 1-wire "conversation".

Re: [Owfs-developers] Turning OWFS website into a Wiki. Was: owfs is DISABLED

2016-07-28 Thread Paul Alfille
I'm sorta gone. How can I help the transition? Paul On Tue, Jul 26, 2016 at 4:18 AM, Jan Kandziora <j...@gmx.de> wrote: > Am 26.07.2016 um 08:36 schrieb Martin Patzak (GMX): > > who else thinks the following should find it's way onto the owfs > web-site? > > > Guys

Re: [Owfs-developers] first build on beaglebone black debian

2015-06-13 Thread Paul Alfille
So is the problem the parsing of the line in the config file? On Wed, Jun 10, 2015 at 2:42 PM, Jerry Scharf sch...@lagunawayconsulting.com wrote: Don't you hate it when someone replies to them selves on the list. I was trying to get them using the device variable in a config file. I couldn't

Re: [Owfs-developers] what's a type 11 device

2015-06-13 Thread Paul Alfille
Is that family code 11 decimal or hex? Family 0x0B is a DS1985. http://owfs.org/index.php?page=ds1985 On Tue, Jun 2, 2015 at 5:01 PM, Jerry Scharf sch...@lagunawayconsulting.com wrote: Hi, I am helping someone reverse engineer some power supply tips that use 1-wire devices to code them .

Re: [Owfs-developers] possible bus search modification

2015-06-13 Thread Paul Alfille
Are you talking about the presence pulse when the device is connected? OWFS doesn't monitor that directly (it's possible some hubs might have internal detection). On Thu, Jun 11, 2015 at 11:09 AM, Howell, Larry (Contractor) larry.how...@stryker.com wrote: Hi list, Our project is

Re: [Owfs-developers] deleting /mnt/1wire folders and files.

2015-06-13 Thread Paul Alfille
To expand on Colin's point, the files in owfs are created on the fly by the program. They don't exist on disk. When you read a temperature, the system makes it look like the file contains a number, but actually the program reads data from the 1-wire bus to get the value. The UNIX file system

Re: [Owfs-developers] Issues with owfs reading humidity

2015-06-13 Thread Paul Alfille
Hi, I wonder if the rate of reading is overwhelming the capacitor charging in the circuit. The DS2438 humidity sensor design creates Vdd from the data line, if I remember correctly. Do the problems resolve if you delay readings by, say, 60 seconds intervals? I doubt your humidity really changes

Re: [Owfs-developers] hobby-board 4 port master hub

2015-06-13 Thread Paul Alfille
The hub support is still in development. Which version do you have? On Thu, Jun 11, 2015 at 3:53 PM, Lyle Giese l...@lcrcomputer.net wrote: On 6/11/2015 11:16 AM, Lyle Giese wrote: I have a 'new' Hobby-Board 4 port master hub. It appears to be a working unit. I connected it via USB to a

Re: [Owfs-developers] Discrepancy between owhttpd vs owserver/owhttpd first pages

2015-05-10 Thread Paul Alfille
at the top level. Paul Alfille On Fri, May 8, 2015 at 7:24 PM, Gary Fariss g...@gizmology.com wrote: Hello... I have OWFS 3.1 installed on a Raspberry Pi 2 with Raspian Wheezy. I have a single DS2482-800 connected to --i2c=/dev/i2c-1:0 and several temp and PIO chips connected on 7 of the 8 1wire

Re: [Owfs-developers] Update OWFS

2015-04-02 Thread Paul Alfille
Just make install the new one. Else, delete /opt/owfs On Thu, Apr 2, 2015 at 5:13 AM, HRueck hru...@kabelbw.de wrote: Thanks to Jan and Paul for the info! I installed via make install. could you please advise how de-install properly without any corruptions? best regards, Herbert --

Re: [Owfs-developers] installing owfs on raspberry pi

2015-04-02 Thread Paul Alfille
Yes, plug and play (as you put it). You can disconnect the devices at will, and plug them in whenever you want. A caveat: so improve performance, the device list is kept around 2 minutes or so, before scanning again (the scan can be slow on a large bus). You can ask for the /uncached/ directory

Re: [Owfs-developers] Update OWFS

2015-04-01 Thread Paul Alfille
I usually just build the new version on top of the old. That works as long as you didn't install via package manager and direct source build, since one usually installs in /usr/bin and the other in /opt/owfs/bin The only other gotcha is that linux won't load the new shared library as long as any

[Owfs-developers] New Releases 3.0p2 and 3.1p0

2015-03-14 Thread Paul Alfille
I took the unusual step of 2 releases: 3.0p2 Adds minor changes to the K1WM Bus Master from Martin Rapavy for the Kisler moification of the synthesized DS1WM Bus Master. 3.1p0 is a major change in linkage. We leave behind the legacy version of libusb for the modern version. Libusb is used for

Re: [Owfs-developers] Link 12/45/USB support for AUX line

2015-03-13 Thread Paul Alfille
any previous output will be invalidated as it will no longer supply a high/low level. How about auxctrl and auxsense, to avoid mixup with other power entries (which indicates powered or parasite)? On 3/13/15 17:17 , Paul Alfille wrote: I love the idea, but not the names. In seems that one

Re: [Owfs-developers] Link 12/45/USB support for AUX line

2015-03-13 Thread Paul Alfille
I love the idea, but not the names. In seems that one is read-only and one write-only from the name. How about auxpower and auxsense? On Thu, Mar 12, 2015 at 12:37 PM, Johan Ström jo...@stromnet.se wrote: Oops, early send... Trying again, this time writing the full mail! The LINK adapter

Re: [Owfs-developers] Loosing Channels - help please

2015-03-04 Thread Paul Alfille
I assume we're talking about the DS2482-800 -- the 8 channel i2c-based bus master. The fact that a reboot doesn't fix the problem takes in issue out of owfs (which should be entirely reset by a reboot) and to the hadware (which might need a power cycle to fully reset). The datasheet talks about

[Owfs-developers] New release 3.0p1

2015-02-27 Thread Paul Alfille
OWFS Release Notes 3.0p1 Feb 27, 2015 New Features. 1. owhttpd supports sparse arrays A. Based on feedback by Eugenio Torrini B. Sparse arrays allow the file extension to have any value, e.g. a password in the case of the DS1991 C. owhttpd now has an extension input field for sparse

Re: [Owfs-developers] Add support for additional hardware bus master

2015-02-25 Thread Paul Alfille
support. Best regards, Martin -- *From:* Paul Alfille [paul.alfi...@gmail.com] *Sent:* Monday, February 23, 2015 7:18 PM *To:* owfs-developers *Subject:* Re: [Owfs-developers] Add support for additional hardware bus master I'm working on the ds1wm support

Re: [Owfs-developers] Add support for additional hardware bus master

2015-02-25 Thread Paul Alfille
the datasheet pinouts correct in the code. Paul Alfille On Tue, Feb 24, 2015 at 7:17 AM, Paul Alfille paul.alfi...@gmail.com wrote: Just about done, but I'm not sure how to handle the clock divisor in the DS1WM. It needs the actual clock speed input to the DS1WM. Is that standard or must I ask

Re: [Owfs-developers] How to talk to an 1wire device

2015-02-21 Thread Paul Alfille
Writing slave code is quite easy, in fact. Most of the infrastructure is built into macros. Take a look at any similar slave e.g. modules/owlib/src/c/ow_2406.c You add entries in the big structure near the top for the new properties, include the name, type, length , read and write functions and

Re: [Owfs-developers] Add support for additional hardware bus master

2015-02-20 Thread Paul Alfille
Do you map the 6 control registers to consecutive memory locations? Would we pass that location in a command line option? On Feb 19, 2015 12:16 PM, Jan Kandziora j...@gmx.de wrote: Am 19.02.2015 um 08:59 schrieb Martin Rapavy: Hi Paul, thanks for briefing me on the architecture of OWFS. My

Re: [Owfs-developers] Add support for additional hardware bus master

2015-02-20 Thread Paul Alfille
the base address as command line / configuration file parameter. How does owfs treat channels? Do we need to pass number of channels as command line / configuration file parameter as well? Thanks, Martin *From:* Paul Alfille [mailto:paul.alfi...@gmail.com] *Sent:* Friday, February 20

Re: [Owfs-developers] Add support for additional hardware bus master

2015-02-18 Thread Paul Alfille
to enumerate the 1-wire slaves. Often hardware assisted. 4. Optional Power bit. You'll also need to add a command line configuration option. If you can describe your bus master to me, I can easily write a rough draft that you can test and perfect. (Or send me a sample). Paul Alfille On Feb 18, 2015

Re: [Owfs-developers] Problems with DS2413

2015-02-15 Thread Paul Alfille
soldering things to it. Do you need more information? Thank you for your work by the way! Sven Am 2015-02-02 05:00, schrieb Paul Alfille: Hi Sven, I'll have to locate a DS 2413 to test, but there have been no recent changes to the code. Does your device have family code 3A? Paul

Re: [Owfs-developers] iButton - n00b question

2015-02-15 Thread Paul Alfille
Hi Daniel, Gregg answered the more general philosophy of 1-wire architecture. Let me address your questions narrowly. All the 1-wire chips (well, almost all except the DS1821) have a unique ID that can be queried by the 1-wire discovery protocol. When you ask for a directory listing in OWFS it

Re: [Owfs-developers] iButton - n00b question

2015-02-15 Thread Paul Alfille
Wouldn't once per second be enough? You can also partition the problem -- set up a separate 1-wire bus just for the polling -- wouldn't be interfering with your sensors. Also these days, just have a Raspberry Pi or something like that do the polling and 1-wire work and use your main CPU for data

Re: [Owfs-developers] DS2484 support ?

2015-02-09 Thread Paul Alfille
I carefully diff-ed the DS2483 and DS2484 data sheets. There are no substantive differences. The DS2483 seems to be a little fussier about having Strong Pull-up (SPU) stopped before a reset. Thus, I would have expected the DS2484 to work fine. Can you check your hardware setup? Paul On Mon, Feb

Re: [Owfs-developers] DS1991 with owfs

2015-02-05 Thread Paul Alfille
Eugenio, I looked at the code for the DS1991 and I think I'll rewrite it. I'll send you some versions to test. One thing that will change is how the password field is entered for each read and write. If the password is 0x1112131415161718 to read in subkey 1 you will read and write to

Re: [Owfs-developers] Hobby Boards (reply to Vol 105, Issue 2)

2015-02-04 Thread Paul Alfille
something is done, Did I answer your question? Paul On Wed, Feb 4, 2015 at 5:00 PM, Eric Baumann eric.mannb...@gmail.com wrote: Hi Thanks a lot for your replies :-) @ Paul Alfille: No, I haven't. It's just that I want to READ about it first. My question is, where to do so

Re: [Owfs-developers] hobby boards

2015-02-02 Thread Paul Alfille
Eric, Have you actually tried the devices? I've worked with Hobbyboards to support most of their devices. Can you give name of the devices? I can give a more definitive answer then. Paul On Feb 2, 2015 5:56 PM, Eric Baumann eric.mannb...@gmail.com wrote: Hi :-) I am new to OWFS. I just

[Owfs-developers] New Release 3.0p0

2015-02-02 Thread Paul Alfille
Don't read too much into the major number change, although I've been doing some major updating. This version is about being better on the Mac, and a better systemd and launchd client. OWFS Release Notes 3.0p0 Feb 2, 2015 New Features. 1. Monitor configuration file changes A. Use operating system

Re: [Owfs-developers] Problems with DS2413

2015-02-01 Thread Paul Alfille
Hi Sven, I'll have to locate a DS 2413 to test, but there have been no recent changes to the code. Does your device have family code 3A? Paul On Mon, Jan 26, 2015 at 6:57 AM, Sven probl...@proxyma3.eu wrote: Hallo Mailinglist, I have problems with a DS2413 device. I do not have files like

Re: [Owfs-developers] Basic Question

2015-01-23 Thread Paul Alfille
the DS2438 measures a few voltages and temperature. Paul Alfille On Thu, Jan 22, 2015 at 9:11 PM, Peter Hollenbeck pwhb...@gmail.com mailto:pwhb...@gmail.com wrote: I have a LinkUSB and an MS-TV temperature and voltage sensor. http://localhost:2121/ shows: |*10.67C6697351FF

Re: [Owfs-developers] Basic Question

2015-01-22 Thread Paul Alfille
. Paul Alfille On Thu, Jan 22, 2015 at 9:11 PM, Peter Hollenbeck pwhb...@gmail.com wrote: I have a LinkUSB and an MS-TV temperature and voltage sensor. http://localhost:2121/ shows: *10.67C6697351FF* http://localhost:2121/10.67C6697351FF *05.4AEC29CDBAAB* http://localhost:2121/05.4AEC29CDBAAB

Re: [Owfs-developers] OWFS random failure issue

2015-01-21 Thread Paul Alfille
Hi Larry, The owfs --debug option adds -d to the fuse command line to enable debugging. I typically see the error messages intermixed. One thing to look at is in the /statistics directory. Perhaps there is line noise that is causing more retries and a delay. Paul On Wed, Jan 21, 2015 at 8:56

Re: [Owfs-developers] New Release 2.9p9

2015-01-13 Thread Paul Alfille
with an –disable-zero? I will get on my build system (Based on µclib - buildroot) an fault, when i have set –disable-zero. The message is, that in ow_browse_monitor.c an fault is by Browse_detect Best regards, Roland *From:* Paul Alfille paul.alfi...@gmail.com *Sent:* Tuesday, January 06, 2015 9:28

Re: [Owfs-developers] New Release 2.9p9

2015-01-06 Thread Paul Alfille
download, and an empty owfs/2.9p9 folder. As always, thanks for keeping this going Bruce *From:* Paul Alfille paul.alfi...@gmail.com *Sent:* Tuesday, January 06, 2015 8:59 AM *To:* owfs-developers owfs-developers@lists.sourceforge.net *Subject:* [Owfs-developers] New Release 2.9p9 Minor

Re: [Owfs-developers] Error Message too long when using owfs

2015-01-04 Thread Paul Alfille
I don't have the answer yet, but it happens only with cat or cp, not less,head or tail. It also happens only with owfs-owserver-bus, since owfs-bus is ok. There must be something different in the tcp protocol handling. I'll investigate further. Paul On Sun, Jan 4, 2015 at 1:20 PM, Jacob Joseph

Re: [Owfs-developers] DS2482-800 long wire problem

2015-01-02 Thread Paul Alfille
Have you tried another channel on the DS2482-800 for the long run? The 8 channels are electrically separate. I assume you've looked at some of the resources for 1-wire bus topology, like http://www.maximintegrated.com/en/app-notes/index.mvp/id/148 Paul On Fri, Jan 2, 2015 at 10:08 AM, Jan

Re: [Owfs-developers] Building OWFS on Archlinux

2014-12-16 Thread Paul Alfille
Hi. I'm sorry there build isn't working. Did you do the ./bootstrap, ./configure, make sequence? One of the messages: configure.ac:52: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.ac:52: Is benign. (For that matter, what type of idiots

Re: [Owfs-developers] Development status of owexternal

2014-11-26 Thread Paul Alfille
I think you have the right idea. owexternal is a protocol to use non 1-wire devices as 1-wire slaves. Obviously we can't use normal 1-wire reading, writing, IDs or selection. Instead the device is described in a file with links to programs that do the actual communication and return the result.

Re: [Owfs-developers] 3.3V bus master

2014-11-21 Thread Paul Alfille
The DS2482 (i2c bus master) suggests that it can run at 3.3V level. http://datasheets.maximintegrated.com/en/ds/DS2482-100.pdf Paul On Fri, Nov 21, 2014 at 4:53 PM, Jan Kandziora j...@gmx.de wrote: Am 21.11.2014 um 19:56 schrieb Jerry Scharf: Hi, I am looking at using the MAX31850 chip

Re: [Owfs-developers] Custom 1-wire addresses

2014-11-12 Thread Paul Alfille
As Jan points out, the official source of 1-wire numbers is Maxim. In general they reserve 0x00 to 0x80 and use the upper half of the family code space for special runs and 3-rd party. Some people have just chosen a number on their own -- Luis Swart took 0xFF years ago and even proposed splitting

Re: [Owfs-developers] Config owfs to use server?

2014-10-29 Thread Paul Alfille
Hi Roland, Maybe I can help you understand the process. Say you want to run owfs, owserver and owhttpd with a USB device and Fahrenheit temperature scale. Purely from the command line you would run: owserver -F -u -p 4304 # reads from USB, serves port 4304 owfs -F -m /var/temp/1wire -s 4304 #

Re: [Owfs-developers] Missing data

2014-10-26 Thread Paul Alfille
Well there's always the possibility that there is a wiring problem, but also there could be two processes competing for the same resource. Is owserver and owfs running at the same time? Your configuration file would have them both grabbing the same serial devices and stepping on each other. If

Re: [Owfs-developers] New Hobby Board barometer and humidity sensors

2014-10-25 Thread Paul Alfille
Can you tell me the type_number and version for the two devices? (Reading from the owfs entries)? Both will show selected properties based on the type number which Hobbyboards (and owfs) uses to distinguish the different available sensors. Paul On Fri, Oct 24, 2014 at 10:57 PM, David Lazarou

Re: [Owfs-developers] Bug: owfs crashes when browsing the the folder with dolphin

2014-10-18 Thread Paul Alfille
Sorry. Known bug in 2.9p7 with owfs. Fixed and new release later today. Paul On Oct 18, 2014 6:07 AM, Thomas Zimmermann m...@vdm-design.de wrote: Hi, I'm currently packaging owfs for openSUSE and got a bug report that in the package with systemd enabled owfs crashes as soon as one browses the

Re: [Owfs-developers] Bugreport for ow-shell

2014-10-17 Thread Paul Alfille
Thank you. I had overlooked that masking bit. Will be included in p8 Paul On Fri, Oct 17, 2014 at 1:30 AM, Vincent Danjean vdanjean.p...@free.fr wrote: I forgot to add my personal repo to test new packages in the previous mail On 17/10/2014 07:21, Vincent Danjean wrote: Hi On

Re: [Owfs-developers] owhttpd - get clean output

2014-10-14 Thread Paul Alfille
If you add /text to the path the result is easier to parse. For that matter, owhttpd isn't the easiest way to get pure data (as opposed to a nice display). The file system, shell utilities, ownet within your own program all give pure text. On Oct 14, 2014 4:25 PM, somewire ung...@gmail.com wrote:

Re: [Owfs-developers] Building the latest numbered release

2014-10-11 Thread Paul Alfille
Hi Gregg, Most of the development is done on 64-bit systems. Not slackware, though, so your work and testing is appreciated. As for extensive testing -- clearly the recent spate of bugs after the last release shows it wasn't extensive enough. Paul On Fri, Oct 10, 2014 at 11:54 PM, Gregg Levine

[Owfs-developers] 2.9p7 release

2014-10-08 Thread Paul Alfille
Ok, that was embarrassing. I hadn't tested building from a fresh directory the download file rather than just packaging up the development directory with make dist Basically I commented the lint stuff from the two Makefiles. OWFS 2.9p7 Release Notes Oct 8, 2014 Fix build problems, otherwise

Re: [Owfs-developers] tty2usb

2014-10-06 Thread Paul Alfille
indicates a serial device) 3. Choose the longest path for a given tty device. Paul On Mon, Oct 6, 2014 at 3:47 AM, Colin Law clan...@gmail.com wrote: On 6 October 2014 04:30, Paul Alfille paul.alfi...@gmail.com wrote: After all the discussion about serial and usb pairing, I created a new little

Re: [Owfs-developers] tty2usb

2014-10-06 Thread Paul Alfille
Hi Michael, There are two possible uses for the usb-tty mapping. 1. Discovery -- find a unique USB device (HobbyBoards, Eclo, etc) and then find the tty port to use. 2. Tune a FTDI device when the /dev/tty port is passed to owfs. You're right, of course. Probing an anonymous serial device is

Re: [Owfs-developers] tty2usb

2014-10-06 Thread Paul Alfille
Hi Stefano, /sys/bus/usb-serial/devices doesn't seem to pick up ttyACM? devices, but does discover some devices I missed. Actually the two methods give quite different results on my machine: #-tty2usb output = 6 devices-- paul@hz tty2usb-code$ ./tty2usb List tty - USB pairings

[Owfs-developers] tty2usb

2014-10-05 Thread Paul Alfille
-scanning. I'd really like testing and feedback. It's very easy to use -- make sudo make install ttyusb Paul Alfille -- Slashdot TV. Videos for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id

Re: [Owfs-developers] how many 18b20s on a bus

2014-10-01 Thread Paul Alfille
I've done over 100 DS18S20's (passive) on passive, active, Link and DS9490 successfully. It isn't fast, but then your temperature changes aren't that fast. On Wed, Oct 1, 2014 at 4:53 PM, Roberto Spadim robe...@spadim.com.br wrote: that what i stored here some years ago when testing ds1820

Re: [Owfs-developers] Issues with FTDI based USB-Serial dongle DS2480B

2014-09-30 Thread Paul Alfille
Ok, here is my code for mapping USB devices to tty devices. It's a script and needs to be tested on various platforms. --- #!/bin/sh # find all directories with busnum (they are USB devices) usbdirs=$(find /sys/devices -name busnum -printf %h\n) # look at every

Re: [Owfs-developers] How to tell if 1-wire hardware is plugged in?

2014-09-28 Thread Paul Alfille
'dmesg' is the command that shows the system messages, including USB plug/unplug. 'lsusb' (if installed) will give a list of current USB devices. On Sun, Sep 28, 2014 at 11:39 AM, Colin Law clan...@gmail.com wrote: On 28 September 2014 15:00, Chris Green c...@isbd.net wrote: I have a 1-wire

Re: [Owfs-developers] How to tell if 1-wire hardware is plugged in?

2014-09-28 Thread Paul Alfille
messages give any information. Paul On Sun, Sep 28, 2014 at 5:04 PM, Chris Green c...@isbd.net wrote: On Sun, Sep 28, 2014 at 11:43:32AM -0400, Paul Alfille wrote: 'dmesg' is the command that shows the system messages, including USB plug/unplug. 'lsusb' (if installed) will give

Re: [Owfs-developers] Issues with FTDI based USB-Serial dongle DS2480B

2014-09-23 Thread Paul Alfille
is not just listing them, but rather the danger of randomly poking at them to see if they are a recognized 1-wire bus master. I don't know of any agreed safe way to do it. That's why USB with identifying fields is better -- reading those fields is safe. Paul Alfille On Mon, Sep 22, 2014 at 3:51 PM

Re: [Owfs-developers] Issues with FTDI based USB-Serial dongle DS2480B

2014-09-23 Thread Paul Alfille
have an early version and the internal fields have changed. Paul Alfille On Tue, Sep 23, 2014 at 3:40 PM, Johan Ström jo...@stromnet.se wrote: I'm all for auto-detection, when it is possible to do so reliably. As you mentioned in the other reply, randomly poking at stuff is neither

Re: [Owfs-developers] Issues with FTDI based USB-Serial dongle DS2480B

2014-09-23 Thread Paul Alfille
product and manufacture ID Sorry for the delay. I'm still negotiating a sample for your. Thanks Dirk Am 23.09.2014 um 23:27 schrieb Paul Alfille: Ok, I did some testing of various USB 1-wire bus masters: LinkUSB -- 0403:6001 -- FTDI but no identifying charcteristics (Except serial

Re: [Owfs-developers] Issues with FTDI based USB-Serial dongle DS2480B

2014-09-22 Thread Paul Alfille
I notice in recent Linux (Fedora specifically) that USB devices get pretty consistently listed by a reasonably consistent and recognizable name in /dev/serial/by_id. I haven't looked to closely at all the USB fields yet, but some devices have unique identifiers rather than the generic USB/serial.

Re: [Owfs-developers] Issues with FTDI based USB-Serial dongle DS2480B

2014-09-19 Thread Paul Alfille
Thank you, Johan, for the detailed tests. The idea of slurp was to collect any pending serial traffic and allow communication with the bus master to be synchronized. I agree that matching expected response exactly is optimal, but that supposes that you start from a known clean state. I found in

Re: [Owfs-developers] Owserver hang on TPLink WR703N with OpenWRT

2014-09-05 Thread Paul Alfille
Glad to hear there is a solution. I wonder if we can find a way to make owfs handle USB problems more gracefully. A description of getting owfs working on an embedded platform like the WR703N would be great. Paul On Fri, Sep 5, 2014 at 6:23 AM, Colin Law clan...@gmail.com wrote: Thanks for

Re: [Owfs-developers] [RESOLVED, PATCH] off-by-one bug in ownet/ow_server.c

2014-08-26 Thread Paul Alfille
Thank you Hans-Frieder. And Stafano as well for his recent patch. On Sat, Aug 23, 2014 at 6:21 AM, Stefano Miccoli mo...@icloud.com wrote: For information only: the patch undoes a change introduced in commit 8af70c688c0d293ecb1e5d725b32f32f51d522fc Date: Fri Apr 11 14:54:57 2014 +

Re: [Owfs-developers] owfs can't write?

2014-08-07 Thread Paul Alfille
Indeed, Robin Gilks endian corrections were in 2.9p3 Can you try a newer version and see if the problem persists? Paul On Thu, Aug 7, 2014 at 2:45 AM, Robin Gilks g8...@gilks.org wrote: Hi Paul, On Wed, Aug 6, 2014 at 9:54 PM, Paul Alfille paul.alfi...@gmail.com wrote: Hi Akos

Re: [Owfs-developers] Limited Simultaneous Conversions?

2014-07-11 Thread Paul Alfille
concurrently if the sensor is powered. Paul Alfille On Thu, Jul 10, 2014 at 2:09 PM, Colin Reese colin.re...@gmail.com wrote: Hello, After talking with iButtonLink, it was brought to my attention that without additional power, it is possible to have unsuccessful simultaneous read if too many

Re: [Owfs-developers] Limited Simultaneous Conversions?

2014-07-11 Thread Paul Alfille
, so I'd have to learn myself how to. I assume you are describing a process where the calling code creates a thread for each owfs read operation, carries the reads out and returns them to the calling function (or puts them where they go). Thanks, Colin On 7/11/2014 05:14, Paul Alfille wrote

Re: [Owfs-developers] MAX31850 code modifications

2014-07-09 Thread Paul Alfille
We care! And thank you. I'll review and apply the changes. Paul On Wed, Jul 9, 2014 at 9:55 AM, ppanish ppan...@panishnet.com wrote: For anyone who cares, Attached is a new version of ow_1820.c with minor modifications to correct operation with the MAX31850 thermocouple sensor. I have

Re: [Owfs-developers] Humidity sensors

2014-07-06 Thread Paul Alfille
EDS http://www.embeddeddatasystems.com/OW-ENV-TH--Temperature-Humidity-Sensor_p_168.html iButtonLink: http://www.ibuttonlink.com/products/ms-th CMCIEL: http://www.cmciel.com/products-solutions/individual-products/relative-humidity-sensor-mrh001/ PCSensor:

Re: [Owfs-developers] t=-62 Errors?

2014-07-06 Thread Paul Alfille
be reported by the system (dmesg). I have a BBB and can try to see if I get the same errors if you describe your setup a little more. Paul Alfille On Sat, Jul 5, 2014 at 8:32 PM, Loren Amelang lo...@pacific.net wrote: My problem with 12-bit reads degenerating to half-degree steps seems

Re: [Owfs-developers] patch: refactoring of src/man

2014-06-29 Thread Paul Alfille
. What's the best way to test and the monitor? Paul On Mon, Jun 9, 2014 at 7:01 AM, Tomasz Torcz to...@pipebreaker.pl wrote: On Thu, Jun 05, 2014 at 05:34:01PM -0400, Paul Alfille wrote: Tomasz, I'm having trouble visualizing how the systemd triggering works. When a program like owread tries

Re: [Owfs-developers] Support for LinkUSB via libftdi

2014-06-23 Thread Paul Alfille
SERIAL ADAPTER iSerialNumber = 0x0003 FTCDDBSX Not so much to go on.. the iProduct string is different, but I bet the chip is not exactly the same, and that any FT232R based design identifies itself as FT232R USB UART.. Johan On 23/06/14 00:44, Paul Alfille wrote: This is incredible work

Re: [Owfs-developers] Support for LinkUSB via libftdi

2014-06-23 Thread Paul Alfille
correct). On 23/06/14 14:39, Paul Alfille wrote: How about imbedding a list of known good vid/pid numbers and including a command-line switch of --forceftdi to let people test others. Or actually probe for the latency and buffer sizes you mentioned. I'm not a big fan of command-line switches

Re: [Owfs-developers] Support for the DS2438 and the DS2436

2014-06-22 Thread Paul Alfille
The DS2438 is certainly supported and used in any number of devices (humidity sensors, multifunction sensors from HobbyBoards and iButtonlink among others). he DS2436 is supported based on it's datasheet, but I can't recall if it's been tested in real life. The command set is similar to the

Re: [Owfs-developers] Support for LinkUSB via libftdi

2014-06-22 Thread Paul Alfille
This is incredible work. Definitely will add to the master branch once the final touches and test are done. It's easy, using libusb, to read the vendor/product code. We do it for DS9490R adapters now. Beyond vendor/product codes, there are many other USB strings. One of them might be

Re: [Owfs-developers] patch: refactoring of src/man

2014-06-12 Thread Paul Alfille
So can we have the situation where owserver waits for both 1. the USB device (say) to be available 2. a request to come in and appear always available to the clients? On Wed, Jun 11, 2014 at 7:59 AM, Jan Kandziora j...@gmx.de wrote: Am 11.06.2014 13:04, schrieb Paul Alfille: Also

Re: [Owfs-developers] patch: refactoring of src/man

2014-06-12 Thread Paul Alfille
12:38, schrieb Paul Alfille: So can we have the situation where owserver waits for both 1. the USB device (say) to be available 2. a request to come in and appear always available to the clients? As systemd handles the socket connection (and process start) alone, I think the only

Re: [Owfs-developers] patch: refactoring of src/man

2014-06-11 Thread Paul Alfille
:34:01PM -0400, Paul Alfille wrote: Tomasz, I'm having trouble visualizing how the systemd triggering works. When a program like owread tries to contact owserver, is owserver started? Is this done by monitoring the typical owserver port (4304)? How about other owserver friends? Hi

Re: [Owfs-developers] 1-wire communications information

2014-06-11 Thread Paul Alfille
I think differences between the 2 ARM platforms are at a lower level than owfs. owfs basically uses the kernel-supplied i2c drivers for DS2482-X communication. My guess is that one platform is using a dedicated i2c port, and the other is using bit-banging GPIO support. Paul Alfille On Wed, Jun

Re: [Owfs-developers] patch: refactoring of src/man

2014-06-05 Thread Paul Alfille
Tomasz, I'm having trouble visualizing how the systemd triggering works. When a program like owread tries to contact owserver, is owserver started? Is this done by monitoring the typical owserver port (4304)? How about other owserver friends? If you don't mind describing the process more, or

Re: [Owfs-developers] patch: refactoring of src/man

2014-06-03 Thread Paul Alfille
Your changes were applied, Stefano. Jan, I'd be happy to make any changes that ease package maintainer's work. On Tue, Jun 3, 2014 at 9:08 AM, Stefano Miccoli mo...@icloud.com wrote: No, I do not think: I addressed only problems on Darwin. BTW I tested my patch under the assumption that

Re: [Owfs-developers] patch: refactoring of src/man

2014-06-03 Thread Paul Alfille
Tomasz, would you use dbus for systemd? And would you send 1-wire data that way or just program control. Looking at dbus, it certainly looks like 1-wire data could map to it easily. I'm just not sure if it would be useful. Paul On Tue, Jun 3, 2014 at 4:57 PM, Tomasz Torcz to...@pipebreaker.pl

Re: [Owfs-developers] VoCore remote 1-wire server?

2014-05-29 Thread Paul Alfille
I'll order one. I guess running 1-wire via one of the GPIO pins would be the simplest solution. No mention of power source or budget that I could find. Paul On Tue, May 27, 2014 at 12:20 PM, Colin Law clan...@gmail.com wrote: This might make a nice wifi remote 1-wire server if it gets off the

Re: [Owfs-developers] Everything is (apparently) running but nothing at /mnt/1-wire

2014-05-07 Thread Paul Alfille
I like that name owfsd but the program is confusingly called just owfs Paul On Wed, May 7, 2014 at 12:27 AM, Roberto Spadim robe...@spadim.com.brwrote: ops :P you are right, owfsd isn't running try starting it , you will need fuse filesystem support 2014-05-07 1:24 GMT-03:00 Eloy Paris

Re: [Owfs-developers] New release 2.9p4

2014-05-02 Thread Paul Alfille
/src/c/owserver.c) please see the attached patch. Stefano PS: in my opinion, instead of the MD5 hash of some process data, a UUID http://en.wikipedia.org/wiki/Universally_unique_identifier would be more appropriate for the antiloop feature. On 30 Apr 2014, at 02:35, Paul Alfille

Re: [Owfs-developers] New release 2.9p4

2014-05-02 Thread Paul Alfille
no information. You don't need anything secure, so 128 bit MD5 is fine and there may be even shorter ones. This requires having the crypto hash software available, which may be a challenge across the range of systems owserver can install. jerry On 05/02/2014 04:50 AM, Paul Alfille wrote: Good catch

[Owfs-developers] New release 2.9p5 (replaces broken 2.9p4)

2014-05-02 Thread Paul Alfille
Thanks to quick testing by Stefano Miccoli and Johan Strom! Release Notes owfs 2.9p5 5/2/2014 Fixes some show-stopper bugs in 2.9p4 Fixes: 1. Token creation problem from Stefano Miccoli 2. Select when no DS2409 (Microlan hub) present Found by Johan Strom Redacted release 2.9p4: Release

Re: [Owfs-developers] New release 2.9p4

2014-05-02 Thread Paul Alfille
the forwarding nodes because the loop may not include the originating node. That is a far greater limit than hop count, IMO. jerry On 05/02/2014 08:38 AM, Paul Alfille wrote: Yes, I chose the second approach (hash of some relatively unique data) just to avoid arbitrary limits, even

Re: [Owfs-developers] strange DS2762 persistence

2014-04-29 Thread Paul Alfille
network of over 100 passive devices. Thus, I think the problem is hardware, but I can't tell you why. It could be anything including ground loops or different ground levels. Paul Alfille On Fri, Apr 18, 2014 at 4:16 AM, Ors Tiszay listaku...@gmail.com wrote: Hi Paul, Yes, it's been

[Owfs-developers] New release 2.9p4

2014-04-29 Thread Paul Alfille
Release Notes owfs 2.9p4 4/30/2014 New features 1. Switch to git for source management Still hosted on sourceforge.net git clone git://git.code.sf.net/p/owfs/code owfs-code cvs history brought over. 2. Clean and test DS2409 (Microlan) hubs Addressing problem found by Ors Tiszay Works well with

Re: [Owfs-developers] New release 2.9p4

2014-04-29 Thread Paul Alfille
on Slackware.) - Gregg C Levine gregg.drw...@gmail.com This signature fought the Time Wars, time and again. On Tue, Apr 29, 2014 at 8:35 PM, Paul Alfille paul.alfi...@gmail.com wrote: Release Notes owfs 2.9p4 4/30/2014 New features 1. Switch to git for source management Still

Re: [Owfs-developers] strange DS2762 persistence

2014-04-16 Thread Paul Alfille
Let me confirm that you physically disconnected the DS2762 rather than just external power? On Apr 16, 2014 4:05 AM, Ors Tiszay listaku...@gmail.com wrote: Hi, I have owfs running on a Gumstix Overo Earth, with a DS9490 bus master, which in turn is connected to a Hobby-Boards DS2409-based 8

Re: [Owfs-developers] DS9490R 1-wire bus short circuit.

2014-04-14 Thread Paul Alfille
common an occurrence -- I have DS9490Rs that have been in service for nearly a decade. You could always try an alternative USB 1-wire adapter, though they won't be quite as fast. Paul On Mon, Apr 14, 2014 at 12:40 AM, vermus vermus.jab...@gmail.com wrote: Paul Alfille-2 wrote For reference

Re: [Owfs-developers] DS9490R 1-wire bus short circuit.

2014-04-14 Thread Paul Alfille
is probably pretty close, buty I haven't checked. It hardly matters, 1-wire isn't that fast. On Mon, Apr 14, 2014 at 7:32 AM, vermus vermus.jab...@gmail.com wrote: Paul Alfille-2 wrote Page 5 of the datasheet ( http://datasheets.maximintegrated.com/en/ds/DS9490-DS9490R.pdf) has a schematic

Re: [Owfs-developers] DS9490R 1-wire bus short circuit.

2014-04-13 Thread Paul Alfille
presume you don't have anything connected to the bus master at this stage of testing? I.e. the socket is empty? Paul Alfille On Sun, Apr 13, 2014 at 2:21 PM, vermus vermus.jab...@gmail.com wrote: A possible bug is a shorted DS9503 protective diode in the device. This happens after static

Re: [Owfs-developers] Getting apparently random numbers from DS18S20

2014-04-11 Thread Paul Alfille
give the same value. Perhaps other people have thoughts on this. I'm baffled. If I needed to duplicate your setup, which bus-master and which owfs version are you using? Paul Alfille On Fri, Apr 11, 2014 at 10:18 AM, Chris Green c...@isbd.net wrote: I have owfs running on a Beaglebone Black

Re: [Owfs-developers] Getting apparently random numbers from DS18S20

2014-04-11 Thread Paul Alfille
= 2120 ### OWSERVER server: port = localhost:4304 On Fri, Apr 11, 2014 at 11:47 AM, Paul Alfille paul.alfi...@gmail.comwrote: This is an interesting error -- I haven't seen it before. For the record, the DS2405 isn't a bus master -- it's a one-pin

Re: [Owfs-developers] ownet / owserver null terminated strings in payload.

2014-04-09 Thread Paul Alfille
Thanks Stefano, You are right, the code checks for the null-terminated string. In theory this shouldn't be needed, the length of the data and the path are also sent. I just have to make sure that all the ownet clients are rigorous about filling out those fields correctly. Paul On Sat, Apr 5,

  1   2   3   4   5   6   7   8   9   10   >