Re: [Owfs-developers] Access to http://owfs.org/ wiki | Hobby Boards 8 channel I/O works fine

2010-05-23 Thread Paul Alfille
For all the bit-field properties, the property (PIO.BYTE in this case) is read (possibly from the cache), the appropriate bits changed, the then the whole thing written. On Thu, May 20, 2010 at 3:36 PM, Guy COLIN wrote: > Also if I write to only one PIO (echo 1 > PIO.B) does owfs use a mask to >

Re: [Owfs-developers] LinkUSB Setup

2010-05-28 Thread Paul Alfille
USB/serial module is a little problematic in some older devices. In theory, you can point a communication program (e.g. minicom) at /dev/ttyUSB0 and try the straight ascii commands like "h" or " " to see a human-readably response. Paul Alfille On Tue, May 25, 2010 at 7

Re: [Owfs-developers] LinkUSB Setup

2010-05-29 Thread Paul Alfille
server (the "s" argument) rather than BE the owserver in port 4304 ("p" argument). Fortunately, owserver has safeguards to prevent infinite recursion. - I'm a little stymied at what the difference in our experience here is. The slightly different dmesg r

Re: [Owfs-developers] Compile owfs on FreeBSD 8.0 machines

2010-05-29 Thread Paul Alfille
Thanks for your work troubleshooting this! I'm a little confused but the first set of patches: On Sat, May 29, 2010 at 11:24 AM, Peter Radcliffe wrote: > --- > *** module/owlib/src/c/ow_ds9490.c.orig Sat May 29 16:13:57 2010

Re: [Owfs-developers] Compile owfs on FreeBSD 8.0 machines

2010-05-29 Thread Paul Alfille
On Sat, May 29, 2010 at 11:38 AM, Paul Alfille wrote: > Thanks for your work troubleshooting this! I'm a little confused but the > first set of patches: > It looks like USB_CLEAR_HALT is changed twice without being used in > between. Did I get the patch wrong? > > Yes

Re: [Owfs-developers] OWNet write error

2010-06-06 Thread Paul Alfille
Can you describe the problem in a little more detail? Or help me identify the original report? Thanks, Paul Alfille On Sun, Jun 6, 2010 at 10:56 AM, Pascal Brugier wrote: > Hello, > > I found a message about this problem in the mailing list archives. > I've tried to made an xpl-

[Owfs-developers] New Release 2.7p38

2010-06-06 Thread Paul Alfille
1. Change GNU-specific sed to "ed" commands for FreeBSD and Mac OSX. 2. Fix BAE0910 eeprom write via owhttpd (general problem with uploading a file -- offset left dangling). 3. USB syntax for a particular adapter: -u3:2 will only match USB BUS 3 Device 2 Numerous internal refactoring changes. --

Re: [Owfs-developers] OWFS, FreeBSD a Prolific RS232 adapter, a DS9097U and DS1820

2010-06-09 Thread Paul Alfille
Hi Daniel, You have a lot of unusual components for a remote initial setup. What has worked in the past? And yes, I'd love to hear what maneuvers you needed to build on FreeBSD. I'd like to incorporate them to make the process automatic. Paul Alfille On Tue, Jun 8, 2010 at 7:10

Re: [Owfs-developers] OWNet write error

2010-06-14 Thread Paul Alfille
are themselves directories. Added (and fixed) pressure scale options Fixed up the documentation (generated by perldoc) a little. Paul Alfille On Sun, Jun 6, 2010 at 3:48 PM, Pascal Brugier wrote: > > > Can you describe the problem in a little more detail? Or help me > identify >

Re: [Owfs-developers] OWNet write error

2010-06-16 Thread Paul Alfille
Can you tell me what behavior you would like? I'll be glad to implement. Note that the owserver protocol doesn't really have a "valid connection" mode, so OWNet->new isn't really generating any network activity. Couldn't you just try to get a directory listing first and see if any of the expected

Re: [Owfs-developers] OWNet write error

2010-06-16 Thread Paul Alfille
my $ow->OWNet->new("4304") ; # Test owserver response -- "/settings" always available and requires no 1-wire bus activity die "No owserver available\n" if length($ow->dir("/settings"))==0 ; Tested and seems to work. I could make this activity hidden within the OWNet code, but it's what would be r

Re: [Owfs-developers] Another type of USB adaptor

2010-06-17 Thread Paul Alfille
m the device by the USB self-reporting information, it would be hard to figure out the device without documentation. Further, it's not worth our time unless these devices are plentiful and cheap. The DS9490 is only ~$28US from many sources. Paul Alfille On Thu, Jun 17, 2010 at 3:30 PM, Jan Kandzi

Re: [Owfs-developers] HUB with three DS2409

2010-06-18 Thread Paul Alfille
Right, you are only changing the light. > Connecting the devices without the hub I can see them all. > > Good > Please be patient with me, I am a Windows mouse pusher and new to something > near to li

[Owfs-developers] New Release 2.7p39

2010-07-18 Thread Paul Alfille
Release OWFS 2.7p39 Major addition is the usb scanning funtion. Command line option -uscan or --usb_scan or --usb_scan=10 Every time interval (default 10 seconds) the OWFS program will scan the USB bus for a new DS9490R adapter and add it to the list of bus masters. Even the case where no USB d

Re: [Owfs-developers] Segmentation fault on ARM

2010-07-19 Thread Paul Alfille
Would you be willing to try the newest version? Clearly it works for me (on i386). Paul On Sat, Jul 3, 2010 at 6:20 AM, Alessio Sangalli wrote: > Hi, I have compiled owfs on my ARM9 platform and I have found the > following problems: > > The compilation does not go through with bash 3.0 because

Re: [Owfs-developers] New Release 2.7p39

2010-07-19 Thread Paul Alfille
Sorry about missing this in the conditional compilation. Fixed in the Download version. Paul Alfille On Mon, Jul 19, 2010 at 1:49 PM, Jim Kusznir wrote: > I'm having trouble building this at the moment. Here's the error: > > ./include -fexceptions -Wall -W -Wundef -Wsha

Re: [Owfs-developers] debug mode: bus traffic?

2010-07-19 Thread Paul Alfille
What kind of information and which bus? I think the serial bus already shows the bytes sent and recieved (with --error_level=6) Perhaps this should be a compile-time option (like the memory messages) with traffic for all the busses. Paul On Mon, Jul 19, 2010 at 2:49 PM, Jim Kusznir wrote: >

Re: [Owfs-developers] multi-threaded reads on OWFS and multi-endpoints

2010-07-22 Thread Paul Alfille
and send your request to the correct one. (Figuring out which bus master is one of the reasons to have threading, the query happens in parallel.) You can address each bus master independently (use the bus.0/ bus.1/ ... path to the device) but since 1-wire devices are inherently uniquel

Re: [Owfs-developers] More disable bugs in build scripts

2010-07-22 Thread Paul Alfille
Thanks, I'll chase it down. On Thu, Jul 22, 2010 at 2:28 PM, Jim Kusznir wrote: > Hi: > > I've been doing a lot of building of owfs, trying to strip it down to > just what we need. So far, I've found that if I disable-mt > (multithreading), the compile blows up with an undefined refeence. > Sim

Re: [Owfs-developers] "Make Install" Fails on 2.7p39

2010-07-24 Thread Paul Alfille
I'm installing fedora 8 in a virtual machine. Your error log looks like some strange characters in one of the system header files, but I need to test. On Fri, Jul 23, 2010 at 9:48 PM, Trey Hilyard wrote: > I am trying to configure a new OWFS system on a machine running Fedora Core > 8 (yes, it's

Re: [Owfs-developers] "Make Install" Fails on 2.7p39

2010-07-27 Thread Paul Alfille
I get an error about tag CXX already exists. Is that what you're getting? Paul On Mon, Jul 26, 2010 at 4:19 PM, Trey Hilyard wrote: > Paul, did you ever have any luck with Fedora 8? I did try getting the CVS > version, and I got a different error during the ./configure step, so I went > back an

Re: [Owfs-developers] Extending the temploggerd RRD logging period

2010-07-27 Thread Paul Alfille
That's built into the RRD table definition. http://oss.oetiker.ch/rrdtool/doc/index.en.html Paul On Mon, Jul 26, 2010 at 6:18 PM, Alex Shepherd wrote: > Hi Guys, > > I'd like to extend the number of regular samples that temploggerd keeps in > the RRD database before they wrap around and get ave

Re: [Owfs-developers] interfacing into 1wire

2010-07-27 Thread Paul Alfille
I think Pascal Baerten was pondering plans for his devices that might be relevant. On Tue, Jul 27, 2010 at 8:27 AM, Rob Conway wrote: > I have been putting off buying 1wire barometers and humidity sensors due > to price. I have since discovered that I can buy I2C barometers and > pressure sens

Re: [Owfs-developers] Problem running Python examples

2010-07-31 Thread Paul Alfille
If you find a solution, I'll add it to the next release. On Fri, Jul 30, 2010 at 3:44 PM, Joshua J. Kugler wrote: > On Friday 30 July 2010, Jim Kusznir elucidated thus: > > http://sourceforge.net/mailarchive/forum.php?thread_name=AANLkTinEDKB > >bYgPDmMDiS_CtjsHzS6B6MpQ3NzHuLb3L%40mail.gmail.com&

[Owfs-developers] New release 2.8p0

2010-08-01 Thread Paul Alfille
Release notes 2.8p0 1. W1 (the linux kernel module now called "wire") that handles several types of 1wire bus masters is now supported as a surrogate bus master. A. Includes usb, i2c and some architecture-specific gpio (OMAP and ARM) B. Bus masters are added and removed dynamically based on ne

Re: [Owfs-developers] New release 2.8p0

2010-08-02 Thread Paul Alfille
able-parport --enable-owtraffic > --prefix=/opt/owfs-2.8p0 > > --Jim > > On Mon, Aug 2, 2010 at 11:59 AM, Jim Kusznir wrote: > > You use the same options you would use on the command line in the in > > options when the bus is initialized through the python command. >

Re: [Owfs-developers] Tracing when values get written to a 1-wire slave

2010-08-04 Thread Paul Alfille
. On the oither hand, OWFS caches the value that you write to the register, and stores it as a stable value for around 15 minutes. We cache it at full floating point resolution, so it looked like a safe bet... You could use temphigh and templow. Paul Alfille On Wed, Aug 4, 2010 at 5:04 AM, Alex

Re: [Owfs-developers] Tracing when values get written to a1-wireslave

2010-08-04 Thread Paul Alfille
device is different (because of rounding or invalid value). We'd still cache read values (which clearly reflect on-chip values). Paul Alfille -- The Palm PDK Hot Apps Program offers developers who use the Plug-In Develop

Re: [Owfs-developers] Getting stuck - Wrong response and can't detect DS9097U

2010-08-04 Thread Paul Alfille
hat I really gather from this experiment is that all these adapters DO work (at least under the devoper's conditions) and so the problems reported can be figured out. Paul Alfille -- The Palm PDK Hot Apps Program offe

Re: [Owfs-developers] OT: version control

2010-08-04 Thread Paul Alfille
I'm willing, but I need help making the switch. I guess either svn or git would be fine. Paul Alfile -- The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm

Re: [Owfs-developers] pyowfs + DS1971 256-Bit EEPROM iButton(R)

2010-08-06 Thread Paul Alfille
Don't forget to scan the "uncached" directory if you want to monitor changes immediately. On Fri, Aug 6, 2010 at 4:17 PM, Petr Jakeš wrote: > > So, in terms of efficiency, the adapters that have better Search >> algorythms do better (USB > LINK > DS9097U >> DS9097) >> --- >> >> USB adaptors are

Re: [Owfs-developers] pyowfs - is is possible to close Connection? my previous post was sent incomplete by accident, sorry.

2010-08-11 Thread Paul Alfille
ds on whether other programs will be accessing the 1-wire bus as well, and whether the bus masters are on the same machine or over the network. Paul Alfille On Wed, Aug 11, 2010 at 6:00 AM, Marcus Priesch wrote: > Hi, > > Am Dienstag, den 10.08.2010, 18:58 +0200 schrieb Petr Jakeš: > &g

Re: [Owfs-developers] How can i get a slave serial number allocated?

2010-08-12 Thread Paul Alfille
On Thu, Aug 12, 2010 at 11:35 AM, Jim Kusznir wrote: > ... a bit about it. I believe he stopped in the middle of getting a 2450 > emulated (having to deal with the A2D scaling, as OWFS used a 16bit > A2D and the atmel has a 12bit A2D IIRC). > The 16bit A/D choice was pretty arbitrary. The spee

Re: [Owfs-developers] segfault with 2.8p0

2010-08-12 Thread Paul Alfille
I found at least one bug with /alarm thanks to your report (the -uscan creates a bus entry that can't really support an alarm). It will be corrected in the next release. (It's in the CVS version). The system is now robust for me, but I'll look forward to your testing. Paul Alfil

Re: [Owfs-developers] Problem running Python examples

2010-08-12 Thread Paul Alfille
Applied. It will be in 2.8p1 Thanks, Paul Alfille On Wed, Aug 11, 2010 at 4:37 PM, Joshua J. Kugler wrote: > On Wednesday 11 August 2010, Jim Kusznir elucidated thus: > > Yep, your file... > > Caught that...and felt silly when I did. > > > Our python guys aren't

Re: [Owfs-developers] owfs + DS1971 256-Bit EEPROM iButton

2010-08-17 Thread Paul Alfille
You found an error. I'll fix it for the next release. Thanks, Paul On Tue, Aug 17, 2010 at 7:27 AM, Petr Jakeš wrote: > I have got the DS1971 256-Bit EEPROM iButton today. > > While connected to the 1-Wire bus, the owfs shows following: > > r...@ubuntu810:/usr/local/tridicka/1wire/uncached/14.A

[Owfs-developers] owserver mutext bug solved.

2010-08-18 Thread Paul Alfille
== 1 ) { - return toclient_complete ; + next_toclient = toclient_complete ; } TOCLIENTLOCK(hd); - Thanks! Paul Alfille -- This SF.net email is sponsored by Make an app they ca

[Owfs-developers] Release notes for OWFS 2.8p1

2010-08-18 Thread Paul Alfille
Release notes for OWFS 2.8p1 1. Fix owpython bug (problem with infinite loop in newest python versions) Joshua J. Kugler 2. Coordinate variations in LINK and LINK-HUB-E adapters (with the assistance of Achim Hennies) 3. Fix an owtraffic error (pointed out by Jim Kusznir) 4. Fixed support for the D

Re: [Owfs-developers] owserver mutext bug solved.

2010-08-19 Thread Paul Alfille
m the latest source and see if it makes a > difference. Currently I'm running an older version that doesn't have the > Assertion issue. > > Alex > > > > >From: Paul Alfille [mailto:paul.alfi...@gmail.com] >

Re: [Owfs-developers] owserver mutext bug solved.

2010-08-19 Thread Paul Alfille
m the latest source and see if it makes a > difference. Currently I'm running an older version that doesn't have the > Assertion issue. > > Alex > > > > >From: Paul Alfille [mailto:paul.alfi...@gmail.com] >

Re: [Owfs-developers] pyowfs - is is possible to close Connection? my previous post was sent incomplete by accident, sorry.

2010-08-20 Thread Paul Alfille
Ok, I'm perplexed. OWFS definitely shows new devices that appear during use. There are two frequent cases, however: 1. Long running static device networks, where the cost of confirming a device's existence every time is burdensome. 2. Cases where a devices appearance is a signal in itself (switch

Re: [Owfs-developers] Ubuntu/Debian packages, ...

2010-08-23 Thread Paul Alfille
<- libow (and swig for building) owphp <- libow (and swig for building) owpython <- libow (and swig for building) owtcl <- owcapi owdir <- none owread <- none owwrite <- none And all the ownet modules have no dependencies I believe. Paul Alfille On Sun, Aug 22, 2010 at 11:15 PM,

Re: [Owfs-developers] pyowfs - is is possible to close Connection? my previous post was sent incomplete by accident, sorry.

2010-08-23 Thread Paul Alfille
On Mon, Aug 23, 2010 at 2:43 AM, Marcus Priesch wrote: > > > OWFS definitely shows new devices that appear during use. > so it should also work for libcapi ... ?!? > > Yes. (libcapi IS essentially libow). > you mean pyowfs i suggest ?!? > Sorry, yes. > >

Re: [Owfs-developers] Another python bug in p1

2010-08-24 Thread Paul Alfille
Sorry about that. The indenting should be fixed in 2.8p2 Paul Odd...the spacing is correct in the patch file I posted to the list. I > wonder what happened. > > -- Sell apps to millions through the Intel(R) Atom(Tm) Devel

Re: [Owfs-developers] [SOLVED with hack] LinkUSB does work with owfs (was Re: COM_read Timeout error (read) serial port: /dev/ttyUSB1)

2010-08-24 Thread Paul Alfille
Ok, I'll test this with the various other serial adapters to see if this can be the default. Thanks for hunting this down. Paul On Tue, Aug 24, 2010 at 3:45 PM, Eloy Paris wrote: > Hello, > > On 08/24/2010 02:11 PM, Eloy Paris wrote: > > [...] > > > Well, this is getting a bit more puzzling...

Re: [Owfs-developers] [SOLVED with hack] LinkUSB does work with owfs (was Re: COM_read Timeout error (read) serial port: /dev/ttyUSB1)

2010-08-25 Thread Paul Alfille
ntrol, and then hardware control (automatic testing of both modes) we'd get the most robust solution. Paul Alfille On Tue, Aug 24, 2010 at 8:33 PM, Eloy Paris wrote: > On 08/24/2010 07:40 PM, Paul Alfille wrote: > > > Ok, I'll test this with the various other serial adapte

Re: [Owfs-developers] 3 USB DS9490R devices?

2010-08-25 Thread Paul Alfille
I should. I'll test. Which version of OWFS are you using? On Wed, Aug 25, 2010 at 4:43 PM, JonWise wrote: > devices. Does usb=ALL find more than 2 devices? > -- Sell apps to millions through the Intel(R) Atom(Tm) Develop

Re: [Owfs-developers] 3 USB DS9490R devices?

2010-08-25 Thread Paul Alfille
/opt/owfs/bin/owserver --debug --usb=all The output is attached. Can you try a similar approach at post your output (compressed) here? Thanks, Paul Alfille On Wed, Aug 25, 2010 at 5:05 PM, JonWise wrote: > > I installed owfs-2.8p1. Any help would be appreciated. > > > Paul

Re: [Owfs-developers] owfs on 3 devices

2010-08-26 Thread Paul Alfille
These descriptions are great. I'm going to try them, especially now that you've tested the process. I've posted links in the owfs.org website under Hardware->Appliances Paul Alfille On Thu, Aug 26, 2010 at 10:20 AM, Zoff wrote: > Hi! > > i have finally finished (th

Re: [Owfs-developers] Frequency [Solved with a hack ]

2010-08-26 Thread Paul Alfille
Perfect. I'll include it in the 2.8p2 release. Thanks. Paul Alfille On Thu, Aug 26, 2010 at 11:14 AM, Norman Elliott wrote: > I have had a look at ow_1921.c in the code I downloaded for owfs-2.8p1 > > and altered : > > > {"mission/frequency", PROPERTY_LENG

Re: [Owfs-developers] owfs 2.8p1 segfault triggered by updatedb

2010-08-26 Thread Paul Alfille
give: owfs invocation command line A directory listing of your 1wire directory. /opt/owfs/bin/owfs -V updatedb -V Thanks, Paul Alfille On Thu, Aug 26, 2010 at 10:03 AM, Eloy Paris wrote: > Hello, > > The owfs process is crashing for me everyday at 6:25 AM. Turns out that > the cras

Re: [Owfs-developers] Crash accessing memory

2010-08-27 Thread Paul Alfille
When you say you "rebuilt" the system, did you pull the OWFS code from the CVS (which is evolving) or from the release? Paul On Fri, Aug 27, 2010 at 1:30 PM, Jim Kusznir wrote: > Hi all: > > I've got something wrong with my local system, but can't figure out what. > > I'm running gentoo on an V

Re: [Owfs-developers] Crash accessing memory

2010-08-27 Thread Paul Alfille
ll in testing) and it works well. Paul Alfille On Fri, Aug 27, 2010 at 3:36 PM, Jim Kusznir wrote: > Ok, so more testing: > > We have 2 systems (arm-based) with 2.8p0 + patch, and they work. > > We have 2 other systems, one arm and one Via C3 (x86-almost), and they > don't work.

Re: [Owfs-developers] owfs 2.8p1 segfault triggered by updatedb

2010-08-27 Thread Paul Alfille
n and send me (or post compressed) the ls -l /structure/FC/910 results? Thanks. Paul Alfille -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millio

Re: [Owfs-developers] Crash accessing memory

2010-08-27 Thread Paul Alfille
No, assuming you were able to read a possibly non-text file with your test. What bus master do you use? (I'm looking to see if the fault is with a library like libusb, or possibly with serial port parameters). Is this problem isolated? Do other sensors or properties work? On Fri, Aug 27, 2010 at

Re: [Owfs-developers] owfs 2.8p1 segfault triggered by updatedb

2010-08-28 Thread Paul Alfille
how them all) once you pointed out the problem. Thanks. Paul Alfille On Fri, Aug 27, 2010 at 4:51 PM, Eloy Paris wrote: > Yup, I can see that happening since updatedb works fine for you. There's > something different about our setups. I am using a brand new LinkUSB bus > master. Do

Re: [Owfs-developers] Crash accessing memory

2010-08-28 Thread Paul Alfille
that might fix a mysterious problem. On the other hand, 2.8p0 and 2.8p1 both give a same correct response. Is is possible to generate a --debug log? Paul Alfille -- Sell apps to millions through the Intel(R) Atom(Tm) Deve

Re: [Owfs-developers] owfs 2.8p1 segfault triggered by updatedb

2010-08-29 Thread Paul Alfille
I didn't do the full test, but I think the different bus masters (USB for me and LINK for you) deal with a 0x serial number differently. Paul On Sun, Aug 29, 2010 at 5:13 PM, Eloy Paris wrote: > > Were you able to understand why it was crashing for me but not for you? > > --

[Owfs-developers] New release 2.8p2

2010-08-29 Thread Paul Alfille
Release notes for OWFS 2.8p2 1. Fix an indent problem in the pyowfs program. (Joshua J Kugler) 2. Fix an error scanning through /structure diretories (specifically triggered by updatedb and FC family). (Eloy Paris) 3. Add better output for the /structure in owhttpd 4. Fix variable types in /struct

Re: [Owfs-developers] Fwd: SPR 150478: Does the DS2435 exist? (still) [code=5324E]

2010-08-30 Thread Paul Alfille
You can buy them on E-Bay. On Mon, Aug 30, 2010 at 11:50 AM, Gregg Levine wrote: > Hello! > Below is something I received from Maxim-IC regarding the DS2435. It's > been technically obsolete since the beginning of the century. > > - > Gregg C Levine gregg.drw...@gmail.com > "This signature fo

Re: [Owfs-developers] Read from owfs-mounted directory fails first time after inactivity period

2010-09-01 Thread Paul Alfille
Does this happen if you are reading the "fake" directory instead of a real bus? I'm trying to distinguish between a cache problem and a FUSE problem. On Fri, Aug 27, 2010 at 4:53 PM, Eloy Paris wrote: > Hello, > > I've seen this a few times... after some amount of inactivity, i.e. > nobody readi

Re: [Owfs-developers] Read from owfs-mounted directory fails first time after inactivity period

2010-09-01 Thread Paul Alfille
Exactly correct. It takes all the messy hardware issues out of the picture. Paul On Wed, Sep 1, 2010 at 8:49 AM, Eloy Paris wrote: > Hi Paul, > > On 09/01/2010 07:24 AM, Eloy Paris wrote: > > > On 09/01/2010 06:57 AM, Paul Alfille wrote: > I think I now understand what

Re: [Owfs-developers] Can't Get OWFS to work

2010-09-02 Thread Paul Alfille
Gregg is right.It's "sudo make install" On Thu, Sep 2, 2010 at 6:32 PM, Gregg Levine wrote: > On Thu, Sep 2, 2010 at 6:00 PM, Mick Sulley wrote: > > Many thanks for that, I now have a message that owfs is enabled, but I > > cannot get any further. > > > > Following the notes from Tomasz Korwel

Re: [Owfs-developers] DS2482-800 and mutiple channels

2010-09-06 Thread Paul Alfille
This is a fine way to announce the bug. Can you print out the initial detection log (start up with --debug in the command line) and post? Thanks, Paul Alfille On Mon, Sep 6, 2010 at 5:42 AM, Greg Cusick wrote: > Pascal Baerten gmail.com> writes: > > > Hi Greg, > > >

Re: [Owfs-developers] DS2482-800 and mutiple channels

2010-09-07 Thread Paul Alfille
That's helpful. So far the logic looks correct (the DS2484-800 is detected). When you ask for a directory listing, how many bus.x entries are seen? (I'm looking to see that they are all placed in the list). Paul On Tue, Sep 7, 2010 at 6:13 AM, Greg Cusick wrote: > Paul Alfil

Re: [Owfs-developers] DS2482-800 and mutiple channels

2010-09-07 Thread Paul Alfille
Found the error I think, (When making the next seven channels, we use the first one as a template. We weren't clearing the flag that made them invisible in directory listings.) I'll send you a test version to confirm the fix. Paul Alfille On Tue, Sep 7, 2010 at 7:20 AM, Greg Cus

Re: [Owfs-developers] ownet and python

2010-09-13 Thread Paul Alfille
Thank you. Applied. Will appear in 2.8p3 Paul Alfille On Sun, Sep 12, 2010 at 8:24 AM, Ilya Pravdivtsev wrote: > Hi, > > The following hack seems to solve the problem. Change: > @@ -232,7 +232,10 @@ > val = struct.unpack('ii', msg) > ver

Re: [Owfs-developers] weird problem with LinkUSB ...

2010-09-15 Thread Paul Alfille
Yes. I found the LinkUSB has problems with hardware handshaking. When stable, the next version of owfs will work consistently with the LinkUSB. (At least with extensive tests on my platform). On Wed, Sep 15, 2010 at 2:46 AM, Marcus Priesch wrote: > Dear List, > > i just wanted to replace my DS949

Re: [Owfs-developers] Read VAD on DS2438

2010-09-17 Thread Paul Alfille
VAD measuring mode (vs Vdd) is done automatically when VAD is requested. I'm able to read humidity values, which required VAD, but I'll test further On Fri, Sep 17, 2010 at 3:25 PM, Marcus Priesch wrote: > Hi, > > just a qiuck look over the datasheet and your schematics: > > i am not sure if you

Re: [Owfs-developers] Read VAD on DS2438

2010-09-19 Thread Paul Alfille
2.26 /26.3D3A1500/VDD = 4.62 /26.3D3A1500/vis =0 So the VAD value is not pinned at 0. My guess is that Marcus Priesch's observation about your circuit should be investigated. Can you report back your findings? Paul Alfille On Fri, Sep 17, 2010 at 8:11 PM, P

Re: [Owfs-developers] Experience with HA7Net

2010-09-19 Thread Paul Alfille
I'm not sure why you have problems with the HA7Net. At least with the current owfs. I didn't try the python interface, but straight owserver and owread/owdir seem to have no problems after extensive testing. Specifically: Auto discovery works. Directory listings (up to about 20 devices) Read and

Re: [Owfs-developers] Read VAD on DS2438

2010-09-20 Thread Paul Alfille
quot;Stopping $prog_http" > killall $DAEMON_HTTP > echo -n "Stopping $prog_serv" > killall $DAEMON_SERV > echo -n "Stopping $prog_fs" > umount $MOUNT_POINT > echo "." > ;; > restart) > sh $0 stop > sh $0 start > ;; > *) > echo

Re: [Owfs-developers] Probleme with owfs and owhttpd simultaneously

2010-09-22 Thread Paul Alfille
Great question. I'll answer it formally as a good reference. Problem: Trouble running owfs and owhttpd simultaneously. Solution: Run owserver. owfs and owhttpd then connect to owserver. Example, with one USB bus master: # Wrong way: owfs -u -m /mnt1wire owhttpd -u -p # both try to open 6th

Re: [Owfs-developers] owserver stops sampling when rndis_host is active

2010-09-24 Thread Paul Alfille
Interesting question! Do you still see the "statistics, settigs, bus.0 interface uncached ..." directories? If so, that would suggest it's the serial port that's being blocked. Paul Alfille On Fri, Sep 24, 2010 at 10:37 AM, Pär Bergman wrote: > Hi, > I have owse

Re: [Owfs-developers] owserver stops sampling when rndis_host is active

2010-09-24 Thread Paul Alfille
On Fri, Sep 24, 2010 at 10:51 AM, Paul Alfille wrote: > Interesting question! > > Do you still see the "statistics, settigs, bus.0 interface uncached ..." > directories? If so, that would suggest it's the serial port that's being > blocked. > > I should

Re: [Owfs-developers] OWFS stability

2010-09-24 Thread Paul Alfille
When you say "zero caching" -- how do you accomplish that? (It would help with debugging). Paul Alfille On Fri, Sep 10, 2010 at 5:02 AM, Molnar Domokos wrote: > Hi, > > I have just read the thread *owfs-mounted directory fails first time after > inactivity > peri

Re: [Owfs-developers] Owserver responding with unexpected data

2010-09-26 Thread Paul Alfille
at owserver still is functioning. Indeed 4294967295 is 0x or "-1" (granted I'm playing a little fast and loose since network encoded longs are really unsigned integers). So check for that magic number in the payload length and discard the packet (it will have no payload data). Paul

Re: [Owfs-developers] Owserver responding with unexpected data

2010-09-27 Thread Paul Alfille
ly send a read/write or directory request with a given path name, and get the response. That makes the modules easy to write, and allows them to be very portable. Paul Alfille On Mon, Sep 27, 2010 at 9:00 AM, Domokos MOLNÁR wrote: > Hi Paul, > > thanks for the info. Now it's clear.

Re: [Owfs-developers] [2.8p2] Fixing for Hobbyboards LCD module bug disabling buttons

2010-10-06 Thread Paul Alfille
This is great. Thank you. On Wed, Oct 6, 2010 at 3:56 AM, Der Tiger wrote: > Hi Paul, > > Since at least 2.7p6 there has been a bug causing all three buttons of > the Hobbyboards LCD module (using a DS2408) to malfunction. This is due > to the fact, that the three lowest bits of the port register

Re: [Owfs-developers] Problems with kernel w1-gpio

2010-10-14 Thread Paul Alfille
I certainly know the internals. I don't know if it's endian sensitive. I used the kernel headers from the netlink for the netlink information. Can I send you an "instrumented" owfs version that will print out more detail? Paul Alfille 2010/10/14 Mauricio Culibrk : > >

Re: [Owfs-developers] Problems with kernel w1-gpio

2010-10-14 Thread Paul Alfille
ssage per packet actually used. Evgeniy added generic support for us, so OWFS can use w1 as a bus master. We still have to get a little fancy, reading all the netlink messages, and distributing them the the correct thread in the program, as well as watching for time outs and broadcast messages.

Re: [Owfs-developers] Problems with kernel w1-gpio

2010-10-14 Thread Paul Alfille
A quick test shows that w1 works with DS2490 (usb) under i386 (actually 64 bit) in the current version. Can you try ./configure --enable-owtraffic and run (as root) with the --debug setting? That will help start the debugging process. Paul Alfille On Thu, Oct 14, 2010 at 9:30 PM, Paul Alfille

Re: [Owfs-developers] [2.8p2] Fix for inaccessible fourth line of Hobbyboards LCD module

2010-10-19 Thread Paul Alfille
Good catch -- thanks. Paul Alfille On Tue, Oct 19, 2010 at 4:54 AM, Der Tiger wrote: >  ReHi Paul, > > Due to a typo, the fourth line of the Hobbyboards LCD module (utilizing > a DS2408) is not accessible via LCD_H/screenyx. > > Please, consider patching the source in the SVN

Re: [Owfs-developers] Problems building on obscure hardware :-)

2010-10-20 Thread Paul Alfille
Sounds like a perl module is missing in your environment. Not sure why it's needed, except for building the perl modules. You can probably use CPAN to load the module. Plenty of online sources to describe the process. (something like 'perl -MCPAN -e shell') Paul Alfille On Wed,

Re: [Owfs-developers] Problems with kernel w1-gpio - SOLVED!

2010-10-21 Thread Paul Alfille
Thank you for finding this! The locking was needed for uClibc that apparently didn't have a thread safe snprintf implementation. Paul Alfille On Thu, Oct 21, 2010 at 3:27 PM, Mauricio Culibrk wrote: > > Aaahh. > I finally managed to solve the w1-gpio master isse with owf

Re: [Owfs-developers] Revisiting: Python OW and threading

2010-10-22 Thread Paul Alfille
igher level is safe (that's what owcapi does). Paul Alfille > 2010/10/22 Joshua J. Kugler >> >> Reading through the Python module, there doesn't seem to be any kind of >> lock or semaphore preventing simultaneous reads.  Is there

Re: [Owfs-developers] have to run sudo root on 1 pc but not on the other

2010-10-27 Thread Paul Alfille
Clearly a permissions issue with the USB bus. The device is set up by a udev configuration script, which is where I'd look first. Paul Alfille On Wed, Oct 27, 2010 at 4:36 PM, Norman Elliott wrote: > I have owfs running as a normal user on Ubuntu 10.04 32bit > > but on Ubuntu 10.0

Re: [Owfs-developers] have to run sudo root on 1 pc but not on the other

2010-10-27 Thread Paul Alfille
Is the ds2490.ko module blacklisted on both machines? It would block libusb from opening the USB device and can only be onloaded by root. Paul On Wed, Oct 27, 2010 at 6:23 PM, Norman Elliott wrote: > On 27 October 2010 23:08, Paul Alfille wrote: >> >> Clearly a permissions iss

Re: [Owfs-developers] OWFS roadmap

2010-10-28 Thread Paul Alfille
On Thu, Oct 28, 2010 at 4:54 AM, Rob Conway wrote: > Hi, > > Just wondering if there was an update on the roadmap for OWFS.  It does > everything I want it to do however was just wondering if there was any > significant changes in the pipeline over the next 6 - 12 months. > > I would also like to

Re: [Owfs-developers] OWFS roadmap

2010-10-28 Thread Paul Alfille
s but needs tuning) 6. Support for some 3rd party slaves in the pipeline. Some platforms are problematic to build on, and libtool seems to change and deprecate features all the time. It would be nice to make that more robust. Are there other features that we should aim for? Paul Alfille On Thu, O

Re: [Owfs-developers] Owfs connect timout error

2010-10-29 Thread Paul Alfille
actual adapters added so much debug output, and was used relatively infrequently so was made a configure-time feature. Paul Alfille On Fri, Oct 29, 2010 at 8:08 AM, William Brown wrote: > On 10/28/2010 10:05 PM, Marcus Priesch wrote: > Debug is already enabled in configure.  What is the syn

Re: [Owfs-developers] OWFS roadmap

2010-10-29 Thread Paul Alfille
wrote: > On 10/28/2010 09:11 PM, Paul Alfille wrote: > >> Good question about the roadmap: >> >> 1. Fix current issues (like the rwlock, alias, and LinkUSB). > > Is there a bug track system where one can read about current issues? In > other words, I'd like

Re: [Owfs-developers] Bug in memory read

2010-11-01 Thread Paul Alfille
Thank you for making this easily tested demonstration. The bug seems to be in large (>64 byte) reads with the USB adapter, and is now fixed. pages.ALL actually read each 32 byte page and concatenated them, so didn't fail. Paul Alfille On Mon, Nov 1, 2010 at 6:56 PM, Jim Kusznir wrote:

Re: [Owfs-developers] Faking trees in --tester mode

2010-11-01 Thread Paul Alfille
st based on requests (like making the simulated temperatures stay in a configurable range). Would simulating the DS2409 directories be helpful? Paul Alfille On Mon, Nov 1, 2010 at 2:45 AM, Joshua J. Kugler wrote: > So, I'd like to construct a unit test that ensures my code walks a tree >

[Owfs-developers] New release 2.8p3

2010-11-01 Thread Paul Alfille
I've bundled a number of fixes into a new release. Release OWFS 2.8p3 1. Fix for BAE0910 visibility causing segfault 2. Support for BAE0911 larger firmware size 3. Add BAE0911 properties 4. Fix i2c bus channels 5. Fix python indenting 6. Fix for larger memory reads (bug in DS2406 memory read) 7.

Re: [Owfs-developers] Hang in ow_slurp.c when unplugging LinkUSB

2010-11-02 Thread Paul Alfille
Nice pickup. Will be included in the next release. On Tue, Nov 2, 2010 at 5:46 PM, Marcus Priesch wrote: > Dear all, > > i found an endless loop in the Slurp function (ow_slurp.c) ... > > reproduceable simply by unplugging the LinkUSB when owfs is using the > device - also when there is no traff

Re: [Owfs-developers] Owfs connect timout error continues

2010-11-13 Thread Paul Alfille
ence so you can compare. I'd next look to the serial driver or a permissions issue. What's the output of 'dmesg'? Paul Alfille On Thu, Nov 11, 2010 at 9:57 AM, Marcus Priesch wrote: > Hi Wil, > > Am Montag, den 08.11.2010, 02:06 -1000 schrieb William Brown: >>

Re: [Owfs-developers] Owfs connect timout error continues

2010-11-13 Thread Paul Alfille
I've placed many of the startup sequences in the web site to aid diagnosing connection problems. See: http://owfs.org/index.php?page=startup-sequence Paul Alfille On Sat, Nov 13, 2010 at 5:37 PM, Paul Alfille wrote: > I've tested the current version of OWFS against both

Re: [Owfs-developers] DS2423 questions

2010-11-15 Thread Paul Alfille
Are you looking at the "counter" field? On Mon, Nov 15, 2010 at 3:15 AM, Gregg Levine wrote: > Hello! > I've resurrected an on again, off again project concerning the DS2423. > It seems to display properly via the original viewer that the company > wrote, for Windows up to Windows XP, (I don't kn

Re: [Owfs-developers] Directory listings empty - Proposed patch

2010-11-16 Thread Paul Alfille
Wou7ld modifying your patch to: if (recv(scs->file_descriptor, test_read, 1, MSG_DONTWAIT | MSG_PEEK) <= 0) { be appropriate to catch recv errors as a "close connection" condition? Paul Alfille On Mon, Nov 15, 2010 at 4:58 PM, Jacob Joseph wrote: > Oops.  I intr

  1   2   3   4   5   6   7   8   9   10   >