Re: [Owfs-developers] How to enable USB?

2011-07-15 Thread Pedro Côrte-Real
On Fri, Jul 15, 2011 at 8:30 PM, Mick Sulley wrote: > That's it, it now says USB is enabled. > > I still cannot see my 1-wire network, but I guess that is a different > problem, I will investigate further. Did you try "-u all" and running as root? Sometimes your user won't have enough permissions

Re: [Owfs-developers] Sporadic wrong readings from owserver

2011-07-15 Thread Pedro Côrte-Real
On Fri, Jul 15, 2011 at 7:55 PM, Paul Alfille wrote: > That's great. > In looking through the code to figure out your difficulty, I found a way to > optimise the code and reduce wear on the DS2438. It will be reflected in the > next release. > Briefly, the VAD/VDD switch is taken from the scratchp

Re: [Owfs-developers] How to enable USB?

2011-07-15 Thread Mick Sulley
That's it, it now says USB is enabled. I still cannot see my 1-wire network, but I guess that is a different problem, I will investigate further. Thanks for your help. Mick On 15/07/11 18:46, Paul Alfille wrote: Not libusb-1.0, we use libusb-0.14 Looking at the Ubuntu packages, it's libusb

Re: [Owfs-developers] Sporadic wrong readings from owserver

2011-07-15 Thread Paul Alfille
That's great. In looking through the code to figure out your difficulty, I found a way to optimise the code and reduce wear on the DS2438. It will be reflected in the next release. Briefly, the VAD/VDD switch is taken from the scratchpad memory, rather than EEPROM backup. By only setting the opti

Re: [Owfs-developers] How to enable USB?

2011-07-15 Thread Pedro Côrte-Real
On Fri, Jul 15, 2011 at 6:46 PM, Paul Alfille wrote: > Not libusb-1.0, we use libusb-0.14 > Looking at the Ubuntu packages, it's > libusb-dev > I've toyed with moving the libusb-1.0 but it's a fair amount of work. Ah right. I had both installed and didn't notice. Pedro -

Re: [Owfs-developers] How to enable USB?

2011-07-15 Thread Paul Alfille
Not libusb-1.0, we use libusb-0.14 Looking at the Ubuntu packages, it's libusb-dev I've toyed with moving the libusb-1.0 but it's a fair amount of work. Paul Alfille On Fri, Jul 15, 2011 at 1:31 PM, Pedro Côrte-Real wrote: > $ sudo apt-get install libusb-1.0-0-dev > --

Re: [Owfs-developers] Sporadic wrong readings from owserver

2011-07-15 Thread Pedro Côrte-Real
On Thu, Jul 14, 2011 at 5:17 PM, Paul Alfille wrote: > I'm having trouble recreating the error. > I tried 8000 consecutive readings on an AAG humidity sensor. No stray > readings. > I'll look through your logs next. I seem to have fixed the problem. I had a 12V power brick connected directly to a

Re: [Owfs-developers] How to enable USB?

2011-07-15 Thread Pedro Côrte-Real
On Fri, Jul 15, 2011 at 6:01 PM, Mick Sulley wrote: > I do have libusb-0.1-4 and libusb-1.0-0 installed > > Any ideas?  I am running Ubuntu 11.04 and owfs 2.8p12 Since you're compiling you need the dev package. Install libusb-1.0-0-dev and you should be fine. You probably know this but you need t

Re: [Owfs-developers] How to enable USB?

2011-07-15 Thread Gregg Levine
On Fri, Jul 15, 2011 at 1:01 PM, Mick Sulley wrote: > Hi, > > How do I enable USB? > > I have run > ./configure --include-USB > It all seems fairly happy but when it completes it says USB is DISABLED > > I found an earlier mail which suggested running > apt-get install libusb > I tried that and go

[Owfs-developers] How to enable USB?

2011-07-15 Thread Mick Sulley
Hi, How do I enable USB? I have run ./configure --include-USB It all seems fairly happy but when it completes it says USB is DISABLED I found an earlier mail which suggested running apt-get install libusb I tried that and got Unable to locate package libusb I do have libusb-0.1-4 and libusb-1.0

[Owfs-developers] EDS0068 Alarm functions seems to be messed up in 2.8p12

2011-07-15 Thread Erik Freiholtz
Hi, i just tried the new EDS0068 unit from Embedded data systems with 2.8p12. Reading the measured values works fine, but the alarm functions seems to be messed up. Writing to the threshold directory doesn't work and reading the threshold directory returns garbage for most of the values. It i

Re: [Owfs-developers] Reading platinum resistance themometers

2011-07-15 Thread Pedro Côrte-Real
On Fri, Jul 15, 2011 at 12:40 PM, Paul Alfille wrote: > See http://owfs.org/index.php?page=voltage-measurement > You'll need an offset, but many of the "current" sensors measure voltage in > that range. > With a 1.25V offset, the DS2438 would be a great choice. It will measure > +-0.25V with .25mV

Re: [Owfs-developers] Reading platinum resistance themometers

2011-07-15 Thread Paul Alfille
See http://owfs.org/index.php?page=voltage-measurement You'll need an offset, but many of the "current" sensors measure voltage in that range. With a 1.25V offset, the DS2438 would be a great choice. It will measure +-0.25V with .25mV resolution. The MAX6018 http://www.maxim-ic.com/datasheet/inde

Re: [Owfs-developers] Reading platinum resistance themometers

2011-07-15 Thread Pedro Côrte-Real
On Fri, May 27, 2011 at 11:55 AM, Pedro Côrte-Real wrote: > The way the system works is it reads temperatures in the panel > (outside) and on the top and bottom of the water tank. So for those I > would need to use the built in sensors as it would be hard to access > the spots to install new senso