Re: [Owfs-developers] BUG: owtcl treats all results as C strings; patch included

2013-07-05 Thread Jan Kandziora
Am 23.06.2013 17:55, schrieb Jan Kandziora: Hi, while playing with Pascal Baerten's BAE0911, I found owtcl is treating all results from OW_get as C strings, which makes reading data with embedded \0 chars impossible. I made I minimal patch which uses the length information of OW_get

[Owfs-developers] DS2409 explicit branch selection / alarm mechanism

2013-07-05 Thread Jan Kandziora
Hi, owfs has an ingenious automatic branch selection mechanism for the DS2409 MicroLAN coupler. A user application has to remember only the path for a certain chip and owfs does all the pesky DS2409 switching to reach that chip on the network behind the curtains. This magic has two drawbacks.

Re: [Owfs-developers] DS2409 explicit branch selection / alarm mechanism

2013-07-05 Thread Jan Kandziora
Am 05.07.2013 23:12, schrieb Jan Kandziora: Hi, [...] Attached is a related patch to modules/owlib/src/c/ow_2409.c which adds to nodes auxselect and mainselect. Writing something to these nodes selects the aux/main branch of a DS2409 without any meddling of the automatic branch selection

Re: [Owfs-developers] Water/Moisture Sensor?

2013-07-06 Thread Jan Kandziora
Am 06.07.2013 17:40, schrieb Peter Hollenbeck: I am building a 26 foot wood power boat. The bilge below the cabin and afterdeck floor is 7 sealed water tight (hopefully) compartments. I plan no inspection ports but would like a way to detect moisture. If there were an appropriate sensor I

Re: [Owfs-developers] Water/Moisture Sensor?

2013-07-07 Thread Jan Kandziora
Am 07.07.2013 02:13, schrieb Peter Hollenbeck: Stuart Island, British Columbia Interesting idea. Ocean water temperature here is about 10C and air temperature, when we are here April through October, ranges from about 10 to 20. I will have to experiment to see if the differential would be a

Re: [Owfs-developers] Water/Moisture Sensor?

2013-07-07 Thread Jan Kandziora
Am 07.07.2013 17:00, schrieb Peter Hollenbeck: I like the idea of using cheap ICs. Can you suggest one for me to consider? For your application, I cannot recommend any. Kind regards Jan -- This SF.net email

Re: [Owfs-developers] Water/Moisture Sensor?

2013-07-07 Thread Jan Kandziora
Am 07.07.2013 17:24, schrieb Peter Hollenbeck: Could I use leaf wetness sensors such as this: http://www.hobby-boards.com/store/products/Leaf-Wetness-Sensor.html Should work for a while, at least as long the bilge is dry. Once seawater gets in contact with the board I think it has to be

[Owfs-developers] Returning empty strings for ascii properties (patch included)

2013-07-07 Thread Jan Kandziora
Hello, I found ascii properties like /simultaneous/single and $chip/alias return -EINVAL when the string result is empty. I don't think this is a useful behaviour as catching this error just for the empty string case obscures real error cases happening in the layers below. *This problem is only

Re: [Owfs-developers] 85

2013-07-14 Thread Jan Kandziora
Am 13.07.2013 20:21, schrieb Jerry Scharf: The origin of 85 was that the original sensors were 8 bit and only went to 85c and thus all 1s (FF)was an error. When the extended the range to 125c and the bits extended, the error value was already set and produces the problem you have. Hind

Re: [Owfs-developers] 85

2013-07-14 Thread Jan Kandziora
Am 14.07.2013 13:10, schrieb Jan Kandziora: I see currently owfs is unable to update the scrachpad RAM only, as it would be neccessary to implement such a scheme. Paul, what do you think about having a node which does the Write Scratchpad command, but leaves out the Copy scratchpad command

Re: [Owfs-developers] Getting serial data into owfs -any idea's

2013-07-17 Thread Jan Kandziora
Am 17.07.2013 12:17, schrieb Robert Conway: I do have a couple of BAE910's however looking at the brain4home web site development may of stopped for a while. No, it doesn't. I have ordered a batch of Pascal's BAE0911 a short while ago and working with him hitting the last bugs out of the

Re: [Owfs-developers] Getting serial data into owfs -any idea's

2013-07-17 Thread Jan Kandziora
Am 17.07.2013 14:27, schrieb Robert Conway: I also have the BAE911 however never connected it, I might try and get it running on my RPi. Although will try the BAE910 first as I know how this works on my Ubuntu server. Never tried it on my RaspberryPi. Make sure to use at least owfs-2.9 and

Re: [Owfs-developers] Issue with simple DS18S20 reading cached/uncached with PHP ownnet or owhttpd

2013-07-19 Thread Jan Kandziora
Am 18.07.2013 23:43, schrieb Thomas: Problem is: -with PHP, I read null value... for uncached / cached -with owhttpd: uncached is working fine and cache is giving Error: No such file or directory -with owfile system /mnt/1wire/uncached is working fine and cache is null value -with

Re: [Owfs-developers] Compatibility issue: PCA954x I2C-switch in conjunction with DS2483 and owfs

2013-07-22 Thread Jan Kandziora
Am 22.07.2013 10:49, schrieb Robert Budde: So my question: - What to look for? I2C or Onewire? I'd look for I²C first. Hook up a scope and check if the rising signal edges are edgy enough. I²C is picky about that. The transmission gates in the PCA954x may round the edges

Re: [Owfs-developers] differt temp reading between DS18S20 and DS18B20?

2013-07-23 Thread Jan Kandziora
Am 22.07.2013 20:55, schrieb Jan Sennesael: All these sensors are parasite powered. Which temperatures are we talking about? At low temperatures, parasite power will make the sensor warm itself up a significant amount. There is no way this could be calibrated by the factory as the resulting

Re: [Owfs-developers] Compatibility issue: PCA954x I2C-switch in conjunction with DS2483 and owfs

2013-07-23 Thread Jan Kandziora
Am 22.07.2013 10:49, schrieb Robert Budde: The first DS2483 is directly connected to the native I2C line (/dev/i2c-1) of the Beaglebone Black. As far as I can tell, this setup works well as long as I do not enable the I2C switch. When I enable the I2C-switch by using a Device Tree Overlay it

Re: [Owfs-developers] differt temp reading between DS18S20 and DS18B20?

2013-07-23 Thread Jan Kandziora
Am 23.07.2013 19:09, schrieb Jan Sennesael: I am mesuring on a copper tube (sensor attached with tie wraps so the flat side makes a good connection). The temps i am measuring are between 12 and 22 °C. This is problematic because it's near to the ambient temperature. With such a low temperature

Re: [Owfs-developers] differt temp reading between DS18S20 and DS18B20?

2013-07-23 Thread Jan Kandziora
Am 23.07.2013 21:46, schrieb Vajk Fekete: You also must take into account the wiring. The wires go to the sensor, up to the die itself, and are made of good heat conducting material. I second that, in fact that should be the culprit. Kind regards Jan

Re: [Owfs-developers] BUG: owtcl treats all results as C strings; patch included

2013-08-12 Thread Jan Kandziora
Am 23.06.2013 17:55, schrieb Jan Kandziora: Hi, while playing with Pascal Baerten's BAE0911, I found owtcl is treating all results from OW_get as C strings, which makes reading data with embedded \0 chars impossible. I made I minimal patch which uses the length information of OW_get

[Owfs-developers] BUG: owtcl does useless UTF-8 mangling when returning binary data

2013-08-12 Thread Jan Kandziora
Hi Serg, Paul, all I found another problem with owtcl's returning binary data. As soon the result form owlib contains a 0xc8, the input is wrongly treated as UTF-8. I made a patch similar to that of ow::put. If you think it's ok I will commit it. Kind regards Jan Index: ow.c

Re: [Owfs-developers] BUG: owtcl does useless UTF-8 mangling when returning binary data

2013-09-07 Thread Jan Kandziora
Am 12.08.2013 22:09, schrieb Jan Kandziora: Hi Serg, Paul, all I found another problem with owtcl's returning binary data. As soon the result form owlib contains a 0xc8, the input is wrongly treated as UTF-8. I made a patch similar to that of ow::put. If you think it's ok I will commit

Re: [Owfs-developers] Problem with 1-Wire USB Adapter

2013-09-25 Thread Jan Kandziora
Am 25.09.2013 22:10, schrieb Klaus Weglehner: There are about 15 DS18B20 mostly in a star topology. This is near worst-case. You could make it only worse by having some of these bus-powered. There is no way to have this working reliable. If you can't help building a star because the sensors

Re: [Owfs-developers] Problem with 1-Wire USB Adapter

2013-09-26 Thread Jan Kandziora
Am 27.09.2013 01:40, schrieb Colin Reese: How does one make use of this? The simultaneous/single_ds2400? Simply by reading that node. But I gave it only as an example what I had to do to make the whole thing work for me. Batteries included wasn't good with the I²C hosts and my application.

Re: [Owfs-developers] 1Wire Power Supply

2013-09-29 Thread Jan Kandziora
Am 27.09.2013 08:24, schrieb Markus Gaugusch: So my question is: How can I improve the power supply on my bus? I feed +8V to my extra power lines and have a small 5V regulator at any tap. When powering devices through the bus cable, you have to take care the ground level isn't lifted too high

Re: [Owfs-developers] Simultaneous read of temperature sensors

2013-09-29 Thread Jan Kandziora
Am 27.09.2013 10:04, schrieb Mick Sulley: My network has a HobbyBoards 6 port hub and I have never got it to work through that, don't know why. simultaneous/temperature and simultaneous/voltage use the Skip ROM command which addresses all chips on a bus segment simultaenously. After that, a

Re: [Owfs-developers] Need a new adaptor. Some thoughts?

2013-09-29 Thread Jan Kandziora
Am 29.09.2013 11:22, schrieb Vajk Fekete: The key piece of information is, that ds9490 uses the ds2490 chip. Which is kinda discontinued by dallas/maxim. At a point they stated they have made a huge lot that will last years, and stopped production. They may have restarted production, or are

Re: [Owfs-developers] Simultaneous read of temperature sensors

2013-09-29 Thread Jan Kandziora
Am 29.09.2013 21:46, schrieb Markus Gaugusch: I've now successfully used simultaneous command, but my bus has one iButton DS18S20 (which does not have separate power pin) Which package? Both the TO-92 and SO-8 packages have a Vdd power pin. while the other ones are 3-pin TO-92 with

[Owfs-developers] Optocoupled Onewire

2013-10-01 Thread Jan Kandziora
Hi all, I guess all of you interested in opto-isolating the onewire already know the DS2480B datasheet and Thomas Rudolphi's circuits (for those who don't, check http://home.kpn.nl/thomas_7/1wire/1wire_isolating.html) Knowing these, I tried to make a real simple circuit for my own projects.

Re: [Owfs-developers] Failing DS1820

2013-10-04 Thread Jan Kandziora
Am 03.10.2013 22:33, schrieb Håkan Elmqvist: I have a remote DS1820 that consistently reads exactly 85 degrees C, both in cached and uncached modes, Possible misunderstanding: there is no cached or uncached mode. OWFS always caches sampled values. The difference between the two directories is,

Re: [Owfs-developers] Self heating and parasitic power [was Failing DS1820]

2013-10-05 Thread Jan Kandziora
Am 05.10.2013 11:01, schrieb Mick Sulley: I agree with what has been said, but a further question - the discussion refers specifically to parasitic power, does the same not apply to powered networks? I had always assumed that it did, just that powered was faster, I am wrong here? It's

Re: [Owfs-developers] How can I get simultaneous temperature readings to work?

2013-10-10 Thread Jan Kandziora
Am 10.10.2013 22:17, schrieb Håkan Elmqvist: To get a proper answer to that question you will have ask Paul Afille. But my understanding is that owfs remembers that it recently has issued a skip rom command. If I understand the sources correctly: not Skip ROM in general, but the time the

Re: [Owfs-developers] How can I get simultaneous temperature readings to work?

2013-10-11 Thread Jan Kandziora
Am 11.10.2013 00:16, schrieb Mick Sulley: Yes that is what I see as well. I have a hobbyboards hub and simultaneous doesn't work for me. You have to use the simultaneous subdirectory of the farest main or aux bus you use. /simultaneous will only issue the command up to the first DS2409, as

Re: [Owfs-developers] LCD-Display controller from Louis Swart does not show up

2013-12-01 Thread Jan Kandziora
Am 01.12.2013 18:34, schrieb tatnat: Should it show up already without VCC The µC on that board will almost certainly only run on external power. Kind regards Jan -- Rapidly troubleshoot problems before

Re: [Owfs-developers] Question about support for ADA401WA ...

2013-12-04 Thread Jan Kandziora
Am 04.12.2013 16:40, schrieb Marcus Priesch: so owfs has to send all bytes to DS2480B belonging to one transaction with no delays larger than this timeout, otherwise the id has to be inserted again ... is this posible in OWFS ?!? Well, you have to make sure the owfs process isn't scheduled

Re: [Owfs-developers] Diagnosing disappearing devices adapters

2013-12-04 Thread Jan Kandziora
Am 04.12.2013 23:12, schrieb Top-Dog: I have also observed in other cases that the file system disappears immediately after ow.init('u') is called. Access to the onewire hardware is usually limited to *one* owlib intance. When you have two or more, use owserver for the actual hardware

Re: [Owfs-developers] Diagnosing disappearing devices adapters

2013-12-05 Thread Jan Kandziora
Am 05.12.2013 01:30, schrieb Top-Dog: Hi Jan, I have these entries in the directory /etc/modprobe.d/: blacklist ds2490 blacklist ds2490r Good. What do you mean by 'one' owlib instance? Do you mean that every time I call ow.init('u') in python I create a new instance even if I exit

Re: [Owfs-developers] Diagnosing disappearing devices adapters

2013-12-06 Thread Jan Kandziora
Am 05.12.2013 21:08, schrieb Top-Dog: Thanks for the explanations. I'm still a bit confused about how I'm meant to use the python api though. If I don't mount the file system with 'sudo /opt/owfs/bin/owfs --allow_other -u /root/EEPROM.../' then when I go straight to python and do the usual

Re: [Owfs-developers] Diagnosing disappearing devices adapters

2013-12-08 Thread Jan Kandziora
Am 07.12.2013 23:22, schrieb Top-Dog: OK... but how do I read and write to an EEPROM page file if I can't access the file structure of the 'sensor'? You still don't understand. Owlib just offers a file *representation* of the devices of the bus. The owfs tool presents this file representation

Re: [Owfs-developers] Remote reset of hanging owfs system?

2013-12-09 Thread Jan Kandziora
Am 09.12.2013 18:23, schrieb Arne Raaen: This is easily fixed by briefly disconnecting the LinkUSBi usb contact, but the roundtrip to the cabin is 5 hours... Most likely this is a problem either with the adapter itself or with a USB hub inbetween. Check the kernel log with # dmesg | grep

Re: [Owfs-developers] Remote reset of hanging owfs system?

2013-12-09 Thread Jan Kandziora
Am 09.12.2013 21:33, schrieb Arne Raaen: As stated in the initial post, rebooting does not help. (Doesn't it follow that removing and installing the usb modules should not work either?) I had the impression the system hangs *because* of the reboot. If it's a coldplug issue (yes, such

Re: [Owfs-developers] Remote reset of hanging owfs system?

2013-12-09 Thread Jan Kandziora
Am 09.12.2013 21:53, schrieb Jan Kandziora: I had the impression the system hangs *because* of the reboot. If it's a coldplug issue (yes, such errors exists), removing the USB modules would help, as it would help to *hot*plug the device. Another idea in that direction: Are you sure

Re: [Owfs-developers] Remote reset of hanging owfs system?

2013-12-09 Thread Jan Kandziora
Am 09.12.2013 22:11, schrieb Arne Raaen: The problem arose (probably) at a brief power failure, i.e. an abrupt shutdown followed by restart once power returned. Ok, given all the other suggestions this should mean the FTDI or LINKs hardware is failing. Anyway, try rmmoding the hcd modules.

Re: [Owfs-developers] Diagnosing disappearing devices adapters

2013-12-09 Thread Jan Kandziora
Am 09.12.2013 22:13, schrieb Top-Dog: And on the side, I can't open the file 'list' (at /settings/alias/list) using sftp, but when I try ssh'ing into it I can open the file in nano (but it's empty) and when I try to write to it I get 'Error: Operation not supported. This may be because

Re: [Owfs-developers] LCD-Display controller from Louis Swart does not show up

2013-12-11 Thread Jan Kandziora
Am 11.12.2013 23:00, schrieb Bernd Lamparter: the device is correctly connected. It shows up on the OneWireViewer from Maxim. With OWFS I tried versions 2.8p15 and 2.9p1 without success. I always see the USB-connector, but not display controller. What's the result of ls on the /uncached

Re: [Owfs-developers] LCD-Display controller from Louis Swart does not show up

2013-12-12 Thread Jan Kandziora
Am 12.12.2013 00:02, schrieb Bernd Lamparter: It shows the adapter:81.D7BB3000. Currently I don't have other 1-wire devices connected. That tells nothing. To check what's wrong, it's important to connect the LCD controller, then read /uncached. When the 81. in the DS9490R magically

Re: [Owfs-developers] Remote reset of hanging owfs system?

2013-12-14 Thread Jan Kandziora
Am 14.12.2013 09:05, schrieb Arne Raaen: Hi, I run Ubuntu 12.04, with the Ubuntu version of owfs, 2.8p13 lsmod does not show ehci etc. I guess this means usb is not complied as modules in ubuntu?? Check with $ zgrep /proc/config.gz USB_.HCI_HCD Is there an equivalent to rmmod,

Re: [Owfs-developers] pseudo-bus serial bridge

2014-01-27 Thread Jan Kandziora
Am 27.01.2014 20:47, schrieb Colin Reese: So how does a local owfs instance read a remote server and merge networks? It does automatically. You can additionally see the remote branches as separare bus.X/ directories if you like. Kind regards Jan

Re: [Owfs-developers] pseudo-bus serial bridge

2014-02-10 Thread Jan Kandziora
Am 10.02.2014 00:31, schrieb Colin Reese: Well, I want a cheap, small, low-power, bullet-proof sensor node. I want to be able to read loads of them, preferably in a developed, extendable framework, from a central sensor gateway, at the moment an RPi-based control unit. Nothing seems to meet

Re: [Owfs-developers] pseudo-bus serial bridge

2014-02-10 Thread Jan Kandziora
Am 10.02.2014 13:20, schrieb Colin Law: On 10 February 2014 12:01, Vajk Fekete vaj...@gmail.com wrote: I do not see what is the reason against the linux box. I do not think you could get cheaper with an avr and Xbee than a tplink 703n, http://www.ebay.com/bhp/tp-link-tl-wr703n I presume

Re: [Owfs-developers] OWCAPI OW_put buffer

2014-02-22 Thread Jan Kandziora
Am 22.02.2014 05:12, schrieb Robin Gilks: I've been using 100mS between DS2413 write and DS2438 read on the old Dallas s/w but even taking it up to 300mS I'm failing to read the correct value with owfs. Do you have any DS2409 bus couplers inbetween? OWFS will turn the switches *every time*

Re: [Owfs-developers] OWCAPI OW_put buffer

2014-02-23 Thread Jan Kandziora
Am 23.02.2014 07:16, schrieb Robin Gilks: No couplers - hanging off the bus are 16x DS2413 switches and 3x DS2438 battery monitors which are used for measuring the output of a current transformer and temperature. How do you access the onewire, direct to USB-Serial or via the w1 kernel

Re: [Owfs-developers] OWCAPI OW_put buffer

2014-02-23 Thread Jan Kandziora
Am 23.02.2014 19:26, schrieb Robin Gilks: If you look back in the thread you'll see I'm using a USB9097 which is a ch341 usb/uart and a ds2480b master driver combination. I read that, but I had the impression you have a bunch of hardware so it wasn't clear to me what you are actually testing.

Re: [Owfs-developers] Do some action when new iButton is read

2014-03-14 Thread Jan Kandziora
Am 14.03.2014 14:09, schrieb Rob: I am trying to make a punch clock with owfs and iButtons. Therefore I want to call a link when a new iButton is put on the reader. When I look at the owfs uncached directory, everything works as expected. An iButton is detected immediately when put on the

Re: [Owfs-developers] Off-Topic, vusb-iButton: Do some action when new iButton is read

2014-03-14 Thread Jan Kandziora
Am 14.03.2014 15:07, schrieb Rob: the vusb looks interesting! What I want to do is following: a user puts the iButton on the reader. The id should be stored in a database, together with the time (by using some Python). Simply use Python::Tk and bind for keypresses. It's a little tricky to

Re: [Owfs-developers] 1-wire stability problems rasberry pi - usb and parasite

2014-03-18 Thread Jan Kandziora
Am 18.03.2014 21:12, schrieb Jan Sennesael: Sadly it seems that the DS2409 is no longer available, It's discontinued, so usual distributors don't list it anymore. You have to ask around who has still stock. I bet there are millions somewhere out there waiting to be used. Don't know where at

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

2014-04-05 Thread Jan Kandziora
Am 02.04.2014 21:00, schrieb Jan Sennesael: The UTP is approximately 45m long, cat 5e. I am using wire nr 1/2 for gnd/+5V and 4/5 for 1wire/gnd (hobbyboard pinout). The sensor worked without problems on the tree setup (with a diy usb master), nothing else has changed. The other pairs of

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

2014-04-13 Thread Jan Kandziora
Am 13.04.2014 09:18, schrieb vermus: I have DS9490R and 1-wire bus short circuit in logs. Cable don't connected. What is this mean? How to test device? A possible bug is a shorted DS9503 protective diode in the device. This happens after static overvoltage on the bus line, e.g. wrongly

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

2014-04-14 Thread Jan Kandziora
Am 14.04.2014 14:44, schrieb vermus: vermus wrote ps. Can you give a bus voltage from DS9490R ? In my case it ~ 1 Volt (3 and 4 pin), but AFAIK sensors on parasite power needs 3-5V... i was right.. Typically, 1-Wire slave devices operate over the voltage range of 2.8V (min) to 5.25V

Re: [Owfs-developers] strange DS2762 persistence

2014-04-16 Thread Jan Kandziora
Am 16.04.2014 10:04, schrieb Ors Tiszay: But reading the DS2762 as if it was still connected: # cat /mnt/owfs/1F.F96B0800/aux/30.4CF9B812/current You are not reading the DS2762 but the cache. Do a # cat /mnt/owfs/uncached/1F.F96B0800/aux/30.4CF9B812/current instead. Kind

Re: [Owfs-developers] strange DS2762 persistence

2014-04-16 Thread Jan Kandziora
Am 16.04.2014 11:12, schrieb Ors Tiszay: Nor should the file system one the device is disconnected, but someone will correct me on this if wrong. Search ROM is a costly operation on most host adapters (with the noteable execption of the DS9490, which handles it semi-automatically) so owfs

Re: [Owfs-developers] strange DS2762 persistence

2014-04-16 Thread Jan Kandziora
Am 16.04.2014 18:04, schrieb Ors Tiszay: I understand that search ROM is costly, but: 1. on reading uncached, owfs should, like you say, update its view on the bus. Nevertheless, this does not seem to happen: # ls -la /mnt/owfs/uncached/1F.F96B0800/aux/30.4CF9B812/ # ls -la

Re: [Owfs-developers] Optimal DS2406 input circuitry?

2014-04-28 Thread Jan Kandziora
Am 28.04.2014 13:50, schrieb Johan Ström: Mostly this has been working good, with reliable triggering of the latch. However, one problem with pull-up based circuit is that I get erroneous triggers if VCC disappears, for example due to a bus disconnect, So.. my questions would be: a) what

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

2014-05-08 Thread Jan Kandziora
Am 08.05.2014 17:23, schrieb Chris Green: If I run owserver do I need owfs as well? As I said I'm very confused The owfs program is the front-end for fuse. Any of the programs owfs owtftp owhttpd owserver ... and most of the language bindings (all not ownet) are mere frontends for the

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

2014-05-08 Thread Jan Kandziora
Am 09.05.2014 00:03, schrieb Stefano Miccoli: If you chose option 2) you should start owserver and owfs, and you may start also owhttpd and owftp. Your owfs.conf file is correctly setup for option 2) and you can start also owhttp and owftpd. I second that, BUT Chris may NOT use --usb=ALL

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

2014-06-01 Thread Jan Kandziora
Am 27.05.2014 18:20, schrieb Colin Law: This might make a nice wifi remote 1-wire server if it gets off the ground. https://www.indiegogo.com/projects/vocore-a-coin-sized-linux-computer-with-wifi Well, actually no. Designing a base board for USB2.0 and Ethernet lines is by no means simple.

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

2014-06-02 Thread Jan Kandziora
Am 02.06.2014 21:27, schrieb Stefano Miccoli: This target (which I would call rather call a sed hell) tries to cope with a simple problem: the manpages contain '.so file' requests which cannot be resolved properly by the man system. Thank you for addressing this. Does it also fixes the

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

2014-06-03 Thread Jan Kandziora
Am 03.06.2014 09:02, schrieb Stefano Miccoli: Do you mean installcheck? I was unaware of such a problem: both 'make check' and 'make installcheck' do nothing in src/man, since no test suite is defined. No, the checkinstall program which creates RPM and DEB packages just from a Makefile.

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

2014-06-04 Thread Jan Kandziora
Am 04.06.2014 04:17, schrieb 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. IIRC, dbus is * far too

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

2014-06-11 Thread Jan Kandziora
Am 11.06.2014 13:04, schrieb Paul Alfille: Also, in the documentation about systemd, there was a long passage about how the daemonizing should be done external to the program -- is that still the recommended policy? I guess the early testing could help there. Yeah, that's one of the key

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

2014-06-12 Thread Jan Kandziora
Am 12.06.2014 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

Re: [Owfs-developers] t=-62 Errors? (Paul Alfille)

2014-07-11 Thread Jan Kandziora
Am 10.07.2014 03:29, schrieb Loren Amelang: Except I ended up with a 10K resistor in parallel with the suggested 4.7K pullup, for 3197 ohms, before I actually got real readings. This stinks the way the strong pullup is missing during temperature conversion. See e.g. the DS18B20 datasheet, page

Re: [Owfs-developers] Replacement for the DS9490R

2014-08-10 Thread Jan Kandziora
Am 10.08.2014 20:39, schrieb Pedro Côrte-Real: I've now had 3 or 4 DS9490R adapters fail after bad weather. They seem to be particularly susceptible. After I swap them out the whole network is fine though. They have a protective diode against lightning and other EMC inside, so yes, that

[Owfs-developers] Problems with multiple owservers when network components fail

2014-08-23 Thread Jan Kandziora
Hi all, I have problems with the network timeout in a system with multiple owservers. The x86 master and three Raspberry Pi are each one equipped with a self-made (sources identical) Linux distribution running owfs-2.9p0. They all have DS9490 host adaptors and all run owservers to access it. On

Re: [Owfs-developers] Missing data

2014-10-29 Thread Jan Kandziora
Am 28.10.2014 um 15:06 schrieb Coudy: If temperature sensor is powered, then reading is faster compared to parasitic power ? No, but it's the only way you can do a simultaneous conversion for all chips, and this 19 times faster if you have 19 chips. You cannot do a simultaneous conversion on

Re: [Owfs-developers] Missing data

2014-10-30 Thread Jan Kandziora
Am 29.10.2014 um 21:42 schrieb Coudy: Thank You Jan, I'll try to switch my sensors from parasitic power to regular power. How to enable simultaneous conversion for all chips ? this way ? echo 1 /mnt/1wire/simultaneous/temperature ? Yes, this starts the temperature conversion on all buses.

Re: [Owfs-developers] 3.3V bus master

2014-11-21 Thread Jan Kandziora
Am 21.11.2014 um 19:56 schrieb Jerry Scharf: Hi, I am looking at using the MAX31850 chip for my test setup. It is a 3.3V only device (will not take 5V on power.) Are there any bus masters and/or switches that support 3.3V for the power and data lines? I'd say, don't use parasite power,

Re: [Owfs-developers] another system design question, databases and flash

2014-11-23 Thread Jan Kandziora
Am 23.11.2014 um 09:13 schrieb Jerry Scharf: I am using a flash only system to be the master of my system for testing 300 power supplies. I want to use a MVC database/web design. In a normal disk based system, I wouldn't give the fact that the state of the each power supplies and

Re: [Owfs-developers] Raspberry pi + owfs + DS2408S + LCD don't work!

2014-12-01 Thread Jan Kandziora
Am 01.12.2014 um 07:16 schrieb Андрей Штых: I have the following problem: I connected to my raspberry pi to the LCD display. I used the bus master 1-wire DS2482-100. Next bus connected to it DS2408S and LSD display. Compiled from source owfs 2.9p8, does not work at all. Any attempt to write

Re: [Owfs-developers] Q about owfs / DS1921

2014-12-08 Thread Jan Kandziora
Am 08.12.2014 um 19:14 schrieb Csillag Kristof: On 2014-12-08 18:35, Colin Reese wrote: Check the datasheet. These parameters are well-documented. I tried to. I looked at http://datasheets.maximintegrated.com/en/ds/DS1921G.pdf It does not seem to contain the word easystart. From

Re: [Owfs-developers] Cannot recognize a DS9490R USB bus master in Archlinux

2014-12-12 Thread Jan Kandziora
Am 12.12.2014 um 12:03 schrieb joep: The output of lsmod includes: . ds2490 6924 0 . If you plan to use owfs with the internal libusb-based driver (--usb option), you have to blacklist that module. A MUST! You can use that module

Re: [Owfs-developers] Cannot recognize a DS9490R USB bus master in Archlinux

2014-12-13 Thread Jan Kandziora
Am 13.12.2014 um 10:54 schrieb joep: Hi Jan, I confirmed that by blacklisting the ds2490 module the errors I was getting (before I did anything with owfs) stopped. I blacklisted by including a .conf file in */etc/modprobe.d* with a 'blacklist' entry. After reboot the ds2490 was

Re: [Owfs-developers] DS2408

2014-12-17 Thread Jan Kandziora
Am 17.12.2014 um 18:06 schrieb Vasco: I thought it depends on lack of magic sequence that can be sent to chips to exit from test mode, but if the chip is in test mode only P0 output does not respond; in my system when a chip does not respond, it has the same behavior on all ports , not

[Owfs-developers] Git archive release tags

2014-12-21 Thread Jan Kandziora
Hi, I just switched over to the sf.net git archive and I see no release tags, 2.9p1 and so on. Shouldn't there be some? Maybe you all just missed $ git push --tags ? Kind regards Jan -- Download BIRT iHub

Re: [Owfs-developers] Git archive release tags

2014-12-21 Thread Jan Kandziora
Am 21.12.2014 um 15:16 schrieb Jan Kandziora: Hi, I just switched over to the sf.net git archive and I see no release tags, 2.9p1 and so on. Shouldn't there be some? Ok, I just sorted them all out by hand and pushed the whole list. So don't wonder when you pull the archive the next time

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

2015-01-02 Thread Jan Kandziora
Am 02.01.2015 um 16:08 schrieb Jan Sennesael: Everything was running fine, but when i tried to add a couple of sensors i run into some troubles: Since these sensors are on the other side of the house, is added a long utp cat5e cable (long= 25m a 30m) Don't use a pair for 1W and GND, as the

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

2015-01-03 Thread Jan Kandziora
Am 03.01.2015 um 09:49 schrieb Jan Sennesael: @Jan: now i'm a bit surprised, since maxim themselves talk about using cat5(e). Where? If yes, they forgot about all they've written in various application notes before. In my own experience, plain flat telephone wire is the best. Of course the

Re: [Owfs-developers] DS1991 with owfs

2015-02-04 Thread Jan Kandziora
Am 04.02.2015 um 09:23 schrieb Torrini, Eugenio: We are using Owfs in Linux to access a DS1991 and DS1995 through the USB DS9490R reader. Everything is ok for DS1995. For DS1991 we are not able to make it work. Maybe we are doing something wrong. We know the password of the 3 pages of the

Re: [Owfs-developers] DS2484 support ?

2015-02-11 Thread Jan Kandziora
Am 11.02.2015 um 17:02 schrieb Lukasz Salwinski: I see... I've been religiously inserting ds2482 module. Does it mean I only need i2c_bcm2708 and i2c_dev modules ? Besides ds2482 (explicitly inserted) modprobe also returns That's correct. Owfs can (and with --i2c= will) directly talk to all

Re: [Owfs-developers] DS2484 support ?

2015-02-11 Thread Jan Kandziora
Am 11.02.2015 um 20:12 schrieb Colin Reese: Why on earth would you bitbang a 2482 on a Pi when a perfectly good i2c bus exists? I beg your pardon? Bitbanging *onewire* requires no additional chip and is done through a configureable GPIO on the Raspberry Pi. In addition, the w1 kernel driver

Re: [Owfs-developers] DS2484 support ?

2015-02-11 Thread Jan Kandziora
Am 10.02.2015 um 22:39 schrieb Colin Reese: Wait, is that even possible? I thought w1 was for bitbanging on a GPIO, having nothing to do with i2c. There are w1 kernel drivers for ds2482, ds2490, bitbanging on a GPIO and the synthesizeable ds1wm bus master. CONFIG_W1_MASTER_DS2490=m

Re: [Owfs-developers] DS2484 support ?

2015-02-11 Thread Jan Kandziora
Am 10.02.2015 um 22:51 schrieb Lukasz Salwinski: w1 is hardwired to GPIO4 so I'm using GPIO17 to control SLPZ; I can toggle DS2484 on/off by setting GPIO17 to 1/0. it seems to be another indicator i2c side works fine... it's that just nothing shows up on the 1-wire side :o/ lukasz No,

Re: [Owfs-developers] DS2484 support ?

2015-02-11 Thread Jan Kandziora
Am 11.02.2015 um 20:39 schrieb Colin Reese: I found the initial post of available methods confusing and apparently misinterpreted your response. Sorry, I should have used the serial comma. http://www.verbicidemagazine.com/wp-content/uploads/2011/09/Oxford-Comma.jpg Kind regards Jan

Re: [Owfs-developers] DS2423 strangeness (again)

2015-02-18 Thread Jan Kandziora
Am 18.02.2015 um 08:23 schrieb Gregg Levine: In it he writes that it needed a 4.7K pull up resistor to Vbat. Well I found one and attached it. Same strange behavior as before. But what I'm concerned with more is what are the rest of us doing with their parts? What resistor value was selected

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

2015-02-18 Thread Jan Kandziora
Am 18.02.2015 um 15:34 schrieb Martin Rapavy: To add some technical details to my query: the bus master chip in question si very similiar to DS1WM (which is something like DS2482-800 but with memory-mapped registers, instead of I2C access). After browsing the sources for some time I concluded

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

2015-02-18 Thread Jan Kandziora
Am 18.02.2015 um 21:19 schrieb Martin Rapavy: I was exactly in favor of avoiding w1 because of bus polling. It is important for me not to use the bus frequently (the wire is also shared for reading out data from sensors). Do you think that the w1 polling might be turned off using

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

2015-02-18 Thread Jan Kandziora
Am 18.02.2015 um 21:58 schrieb Martin Rapavy: Option C Memory-mapped IO from userspace, which is *UGH!*. See module/owlib/src/c/ow/ow_ds2482.c for all the things to write and change. The disadvantage is owfs has to run as root to do MMIO. I don't mind running under root. I suppose

Re: [Owfs-developers] DS2423 strangeness (again)

2015-02-18 Thread Jan Kandziora
Am 18.02.2015 um 23:07 schrieb Gregg Levine: Hello! He cited that the resistor was connected to the counter inputs to the Voltage Battery input point. However I'm more inclined to try your idea then his. Which is of course what I'm looking for. You certainly need a capacitor for

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

2015-02-19 Thread Jan Kandziora
Am 19.02.2015 um 08:59 schrieb Martin Rapavy: Hi Paul, thanks for briefing me on the architecture of OWFS. My master chip has almost exactly the same register interface as Dallas DS1WM (http://datasheets.maximintegrated.com/en/ds/DS1WM.pdf). It only differs in one register: Clock divisor

Re: [Owfs-developers] DS2484 support ?

2015-02-10 Thread Jan Kandziora
Am 10.02.2015 um 16:29 schrieb Lukasz Salwinski: I've checked the connections, changed Vcc to 5V but 18B20s still does not register :o/ DS2483 are on the way but in the I'm tempted to connect the sensors directly to rpi just to see if they are ok... Have you made sure the w1 driver is not

Re: [Owfs-developers] DS2484 support ?

2015-02-12 Thread Jan Kandziora
Am 12.02.2015 um 17:19 schrieb Lukasz Salwinski: not loading ds2482 module did not help - the owfs filesystem is there: Sorting that obvious error out: Have you connected Vdd of the DS18B20 to GND? That's important if you want parasite-power mode. But powering the chip with 5V would be

<    1   2   3   4   5   6   7   >