Re: [Owfs-developers] First Post and some questions

2005-06-09 Thread Jan Kandziora
Am Mittwoch, 8. Juni 2005 23:12 schrieb Alfille, Paul H.,M.D.: You are absolutely welcome to participate. Then I'm happy to go on the bug-hunt. Anyway, for my project I need an automation framework (not a GUI, just a library) for 1-wire devices and Linux, with some things owfs itself doesn't

Re: [Owfs-developers] First Post and some questions

2005-06-09 Thread Jan Kandziora
Am Donnerstag, 9. Juni 2005 11:39 schrieb Paul Alfille: Anyway, for my project I need an automation framework (not a GUI, just a library) for 1-wire devices and Linux, with some things owfs itself doesn't address, e.g. timers or grouping of 1-wire chips to devices - the goal here is to

Re: [Owfs-developers] First Post and some questions

2005-06-09 Thread Jan Kandziora
Am Donnerstag, 9. Juni 2005 14:06 schrieb Serg Oskin: JK == Jan Kandziora wrote: JK Am Mittwoch, 8. Juni 2005 23:12 schrieb Alfille, Paul H.,M.D.: You are absolutely welcome to participate. JK Then I'm happy to go on the bug-hunt. JK Anyway, for my project I need an automation

Re: [Owfs-developers] First Post and some questions

2005-06-09 Thread Jan Kandziora
Am Donnerstag, 9. Juni 2005 16:08 schrieb Scott Walde: Jan Kandziora wrote: Am Donnerstag, 9. Juni 2005 11:39 schrieb Paul Alfille: You are addressing a more general problem, aggregates of 1-wire devices. There are a few known sensors, like the pressure sensor, that use more than one device

Re: [Owfs-developers] First Post and some questions

2005-06-09 Thread Jan Kandziora
Am Donnerstag, 9. Juni 2005 21:03 schrieb Alfille, Paul H.,M.D.: Tested it out: If an owserver process fails, The system reports no content on that bus entry, until it is restored. Probably exactly what you want. Yes, already found this out, too. Excellent! Will you know all the owservers

Re: [Owfs-developers] owtcl and writing data

2005-06-13 Thread Jan Kandziora
Am Montag, 13. Juni 2005 01:30 schrieb Serg Oskin: Please teak a look into the test code below. The first 10 to 70 (varies) cycles of the loop the LED blinks but I get an unknown error 4294967295 After about 2..5s (varies), I get an invalid argument And the DS2406 output does

Re: [Owfs-developers] owtcl and writing data

2005-06-13 Thread Jan Kandziora
Am Montag, 13. Juni 2005 15:25 schrieb Paul Alfille: Actually, one thought (with the new version pulled from the CVS) enable error messages: (For the script version with goes to the command line) /opt/owfs/bin/owfs --foreground --error_level=9 -u /mnt/1wire Then on another screen run the

[Owfs-developers] owtcl and forcing bus rescan.

2005-06-13 Thread Jan Kandziora
Serg, and anybody else who's into this, I want to use iButton keys with my vending machine. They just appear on the 1-Wire wire bus when connected, disappear when disconnected (but only on bus rescan). With owfs, I can always touch the uncached directory to force a rescan of the bus, and

Re: [Owfs-developers] owtcl and forcing bus rescan.

2005-06-13 Thread Jan Kandziora
(by OW::get uncached e.g.) Kind regards Jan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jan Kandziora Sent: Monday, June 13, 2005 3:38 PM To: owfs-developers@lists.sourceforge.net Subject: [Owfs-developers] owtcl and forcing bus rescan

Re: [Owfs-developers] Performance

2005-06-17 Thread Jan Kandziora
Am Mittwoch, 15. Juni 2005 04:57 schrieb Paul Alfille: I've written up my testing of OWFS performance. Great. Many thanks for the data, Paul. If I understand correctly, it cost about 20ms to check if a device is present on the bus (list process). Does it have the same cost to read or change a

Re: [Owfs-developers] More on Hanging Problems

2005-06-21 Thread Jan Kandziora
Am Dienstag, 21. Juni 2005 04:46 schrieb Paul Alfille: On Monday 20 June 2005 04:38 pm, Jan Kandziora wrote: Dear Paul, I've investigated further on the problem I described last week (in the thread owtcl and writing data). It seems to be related to EMC: Nearly every time I switch

Re: [Owfs-developers] More on Hanging Problems

2005-06-21 Thread Jan Kandziora
Am Dienstag, 21. Juni 2005 08:43 schrieb Christian Magnusson: I have actually also noticed some of those problems too... I have one of my LCD-displays in my office very close to the lamp-switch, and sometimes owserver has hanged at the same time as I entered the room and switched on the lamp

Re: [Owfs-developers] More on Hanging Problems

2005-06-24 Thread Jan Kandziora
Am Dienstag, 21. Juni 2005 13:18 schrieb Alfille, Paul H.,M.D.: DS2480_reset_errors DS9097_reset_errors DS9490_reset_errors (and perhaps if DS2480_read_timeout is large I think...) if(DS2480_reset_errors || DS9097_reset_errors || DS9490_reset_errors) { COM_close(in); usleep(10);

Re: [Owfs-developers] More on Hanging Problems

2005-06-25 Thread Jan Kandziora
Am Samstag, 25. Juni 2005 05:50 schrieb Paul Alfille: Your logs show mainly BUS_select_low_errors increasing. And DS... errors. But I think that's just a summary, am I right? Unfortunately there are 5 places in file ow_bus.c function BUS_select_low where that variable is incremented. I've

Re: [Owfs-developers] More on Hanging Problems

2005-06-30 Thread Jan Kandziora
Am Montag, 27. Juni 2005 13:17 schrieb Christian Magnusson: Try the latest cvs again... I have fixed a missing usb_release_interface() and some other statistics from those errors. /Christian Sorry for the delay. I had my business partners here, which messed up things a lot. I've done some

Re: [Owfs-developers] More on Hanging Problems

2005-07-01 Thread Jan Kandziora
Am Donnerstag, 30. Juni 2005 21:56 schrieb Christian Magnusson: You are right... The kernel thinks the usb adapter is physically removed and then inserted again and get a new device number. This problem is very fatal and question is if such thing should be handled by owfs. Hm. owserver does

Re: [Owfs-developers] More on Hanging Problems

2005-07-06 Thread Jan Kandziora
Am Donnerstag, 30. Juni 2005 15:41 schrieb Christian Magnusson: Have you succeeded to use the latest cvs-version yet? Just wondering... Now I had the time to test a bit. I have to say: unfortunately not. $ /opt/owfs/bin/owserver -u1 -p19160 --foreground --error_level=9

Re: [Owfs-developers] More on Hanging Problems

2005-07-07 Thread Jan Kandziora
Hallo Christian Magnusson, am Donnerstag, 7. Juli 2005 00:17 schriebst du: Could you try a couple of things... Does your adapter reconnect if you unplug it manually and then insert it again? If you look in owfs/modules/owlib/src/c/ow_ds9490.c, then find following comment on row 437 or

[Owfs-developers] Re: 2 updated files

2005-07-07 Thread Jan Kandziora
Hallo Christian, am Donnerstag, 7. Juli 2005 10:13 schriebst du: Here are 2 new updated files. Hopefully this will describe some more about the problem... Ok. I tried and got INFO: PARSENAME path=(null) ERR: Opened USB DS9490 adapter at 001/002. : Permission denied INFO: Found device

Re: [Owfs-developers] connecting many DS2408

2006-02-15 Thread Jan Kandziora
Am Dienstag, 14. Februar 2006 20:12 schrieb Marc Lavallée: Le 13 Février 2006 15:03, Jan Kandziora a écrit : Am Montag, 13. Februar 2006 19:46 schrieb Marc Lavallée: I'm new to the 1-wire technology. I'd like to interface over 30 DS2408 on a 1-wire bus, using ordinary ethernet

Re: [Owfs-developers] w1 changes

2006-03-09 Thread Jan Kandziora
don't expect too much money, my budget is limited, too) Kind regards Jan Kandziora -- The first law of demos: - never try to actually use the system for anything --- This SF.Net email is sponsored by xPML, a groundbreaking scripting

Re: [Owfs-developers] w1 changes

2006-03-09 Thread Jan Kandziora
. Also the alarm directory isn't yet implemented. Evgeniy is eager to improve function. I'll talk to him directly, too. Kind regards Jan Kandziora -- Linux - It's now safe to turn on your computer. --- This SF.Net email

Re: [Owfs-developers] w1 changes

2006-03-10 Thread Jan Kandziora
of remote chips, but I don't think that's the way it should be done. In contrast, it should provide a transparent interface where the onewire discover sequence can be triggered, where alarms are monitored, and where remote chips can be accessed by a user-space library. Kind regards Jan

Re: [Owfs-developers] w1 changes

2006-03-10 Thread Jan Kandziora
Am Freitag, 10. März 2006 12:43 schrieb Christoph Scheurer: Sorry, that was too unspecific. What I mean is: one could just use an empty I2C-slave module with only the basic I2C communication support that recognizes the DS2482 and move all the W1 specific functions to OWFS. Besides

Re: [Owfs-developers] Re: w1 changes

2006-03-13 Thread Jan Kandziora
Jan Kandziora -- You cannot kill time without injuring eternity. --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime

Re: [Owfs-developers] Re: w1 changes

2006-03-13 Thread Jan Kandziora
to be done, and will be implemented on top of socket based access to w1 subsystem. Ok. Kind regards Jan Kandziora -- MCSE: Minesweeper Consultant and Solitaire Expert --- This SF.Net email is sponsored by xPML, a groundbreaking

Re: [Owfs-developers] Re: w1 changes

2006-03-14 Thread Jan Kandziora
by the kernel automatically, too - chips which are read out more often by an application are updated more often. I can't measure the effort needed to implement this, though. Kind regards Jan Kandziora -- ...Deep Hack Mode -- that mysterious and frightening state of consciousness where

Re: [Owfs-developers] Sample bash scripts

2006-03-18 Thread Jan Kandziora
Am Samstag, 18. März 2006 01:28 schrieb Marek Wodzinski: Hello, Sometimes there are questions about programming in bash. I have two mini hardware projects which are controlled by (not so simple) bash scripts, so if anyone is interested in sample scripts, there are available at

Re: [Owfs-developers] DS2408

2006-03-23 Thread Jan Kandziora
Am Donnerstag, 23. März 2006 15:48 schrieb Alfille, Paul H.,M.D.: Can you see key presses (or pin changes) with this script? I haven't set up fuse so far. I will test that later today and use the latest snapshot, too. Please note I use SuSE, too, not Debian. Quick test: At least I could see

Re: [Owfs-developers] DS2408

2006-03-23 Thread Jan Kandziora
Am Donnerstag, 23. März 2006 15:48 schrieb Alfille, Paul H.,M.D.: Well, I've been working with Marc Lavallée who is on a Debian system. He has DS2408's behind DS2409 switches, and can't get either the latches, or the key presses to be recognized. What is interesting is that the live-cd does

Re: [Owfs-developers] Using One-Wire FS in a robotic system

2006-04-12 Thread Jan Kandziora
Am Mittwoch, 12. April 2006 05:54 schrieb Gregg Levine: Hello! Has anyone other then I considered applying the OWFS (CVS or a released version) in a robotic system? Comments, criticism, and even insults to be delivered off list, and this address. Hi Gregg, why do you want to keep such an

Re: [Owfs-developers] DS2409 hub fix

2006-04-15 Thread Jan Kandziora
Am Samstag, 15. April 2006 18:44 schrieb Paul Alfille: The current CVS version has better support for the DS2409. I'll make a new release, but would appreciate testing. Which kinds of chips do you expect to work behind the Hub now which did not before? If it's not only the DS182x (don't have

Re: [Owfs-developers] Serial Port Requirements

2006-04-16 Thread Jan Kandziora
Am Sonntag, 16. April 2006 16:25 schrieb Paul Alfille: /dev/i2c is char major 89. Pretty nice kernal code has been written by Ben Gardener ^^; If I code somethig up, do you have a test platform? The PXA base board I use has an I²C socket which should work fine, if we trust the

Re: [Owfs-developers] Serial Port Requirements

2006-04-22 Thread Jan Kandziora
Am Samstag, 22. April 2006 15:55 schrieb Paul Alfille: Ok, after perusing a lot of code examples, I get it. Everyone cheats. They either copy the relevant defines from the header file, or pretend that kernel headers are the same as glibc headers. It's messy, but I can do that. I'd like to

Re: [Owfs-developers] Serial Port Requirements

2006-04-23 Thread Jan Kandziora
Am Sonntag, 23. April 2006 08:23 schrieb Christoph Scheurer: Hi, Besides more restrictive electrical specifications and timeouts to prevent the bus to be locked, SMBus is a subset of I2C, i.e. for the protocol every I2C master device can send all commands a SMBus slave is able to understand

Re: [Owfs-developers] Ds2408 and DS2406

2006-05-09 Thread Jan Kandziora
Am Montag, 8. Mai 2006 00:10 schrieb Wizard: hey guys I am having a few problems (user error i know ) I can get a DS2408 to toggle on or off a led or a relay. but i cant seem to get it to sense weather the door is open or closed. using magnetic switches on the doors to a relay because the

[Owfs-developers] DS2409 -- Smart-On or Direct-On

2006-05-31 Thread Jan Kandziora
Dear all, I'm planning to attach several onewire keylocks to the network of the machine I'm developing. My idea was to attach each lock to the main output of a DS2409 to identify the individual lock and to shorten the search algorithm to the main/ subpath of the network. This seems to work if

Re: [Owfs-developers] DS2409 -- Smart-On or Direct-On

2006-05-31 Thread Jan Kandziora
Am Mittwoch, 31. Mai 2006 22:06 schrieb Paul Alfille: A. smart on B. I don't know. So reading the $DS2409_ID/main/uncached directory will just trigger the search on the main subnetwork, instead of the entire network? Jan -- 1) Never draw what you can copy. 2) Never copy what you can

Re: [Owfs-developers] DS2409 -- Smart-On or Direct-On

2006-05-31 Thread Jan Kandziora
Am Mittwoch, 31. Mai 2006 23:09 schrieb Alfille, Paul H.,M.D.: Correct. I don't know how large your network is, but there are issues with the DS2409. There will be ~80..150 chips for each machine, so triggering the search algorithm for the entire network is a great cost. Basically, we

Re: [Owfs-developers] DS2482-800 adapter

2006-06-02 Thread Jan Kandziora
Am Freitag, 2. Juni 2006 19:27 schrieb Paul Alfille: Any progress on testing? With the i2c bitbanging adapter (from linux/Documentation/i2c/i2c-parport), both the DS2482-100 and DS2482-800 work fine now. So, from owfs point of view, i2c support is complete. We have more problems with the

Re: [Owfs-developers] owfs based weather station

2006-06-03 Thread Jan Kandziora
Am Samstag, 3. Juni 2006 05:09 schrieb Paul Alfille: We support the DS2431 (counter), DS2450 (direction) DS2438 (humidity) and of course temperature (DS18x20 or DS2438, or more). The DS2406x2 barometer needs work. All the rest of the owfs function -- remote operation, arbitrary numbers of

Re: [Owfs-developers] Change DS2490 Settings

2006-06-07 Thread Jan Kandziora
Am Mittwoch, 7. Juni 2006 17:48 schrieb Michael Weber: I am trying to change the timing settingss on a DS2490 adapter. The network consists of tens of Temperature sensors and some PIOs mainly, roughly 30 devices. It is very unstable and we are searching for solutions. One would be to adjust

Re: [Owfs-developers] Change DS2490 Settings

2006-06-07 Thread Jan Kandziora
Am Mittwoch, 7. Juni 2006 21:44 schrieb Paul Alfille: Actually, I have some alternative timing settings suggested by William Robison that we could try. It's been hard to justify changing anything until we had test networks that could be compared. I'll add it in, at least temporarily, add a

Re: [Owfs-developers] Looking for a One Wire Latched Sensor

2006-06-10 Thread Jan Kandziora
Am Samstag, 10. Juni 2006 20:44 schrieb Jim Duda: Hobby-boards puts a DS2408 on their LCD driver board. I might be able to use that. Has anyone attempted to adapt this board for use in a door bell sensor? Jim, it's not that hard to solder an 150mil SO package by hand. Just glue it

Re: [Owfs-developers] 1-Wire on GPIO ports of OpenWrt running devices (again)

2006-07-28 Thread Jan Kandziora
Am Freitag, 28. Juli 2006 03:20 schrieb Stefan Eitel: Hi, I know this has been discussed before (in November 05), but I wanted to point the developers to some references. This is not new stuff, but someone has managed to use the GPIO ports on a Linksys WRT54G to access SD Cards, see

[Owfs-developers] LCD control with DS2408

2006-08-03 Thread Jan Kandziora
Dear all, for my project, a Onewire controlled HD44780 display would come in handy. I see owfs supports the reference design from http://www.maxim-ic.com/appnotes.cfm/appnote_number/3286 As the D7 line is tied to GND in that schematic, it's not possible to use all the characters (and

Re: [Owfs-developers] LCD control with DS2408

2006-08-05 Thread Jan Kandziora
Am Freitag, 4. August 2006 03:19 schrieb Eric Vickery: That is a really strange reference design and I hadn't see that one before, it doesn't make any sense to tie D7 to ground. If you don't need the extended character set and the busy flag, tying D7 to GND is quite ok. But I need äöüÄÖÜß,

Re: [Owfs-developers] DS1821 do you know how to setup this chip?

2006-08-08 Thread Jan Kandziora
Am Montag, 7. August 2006 23:51 schrieb Alfille, Paul H.,M.D.: David, That Non-obselescence letter is very interesting. Quite a few 1-wire devices listed: Parallel port adapters. (DS1410x...) Old battery sensors (DS2434/6/7) Not DS2438 fortunately. Timers DS2415/7 DS2404 Volt A/d DS2450 (

Re: [Owfs-developers] Comment about the P8 release

2006-08-13 Thread Jan Kandziora
Am Samstag, 12. August 2006 23:29 schrieb Paul Alfille: Is that an owfs error? I don't recognize any components of that message. tuxtap-demo is a small tcl script which uses owtcl and an attached DS9490R to do onewire communication. It works more or less, but every 3..4 seconds, owtcl pauses

Re: [Owfs-developers] 1-wire-master.jpeg

2006-09-05 Thread Jan Kandziora
Am Dienstag, 5. September 2006 03:38 schrieb William Estrada: I am totally lost here. I want to build system console for a linksys wrt54g. I think I can do it with the 1-wire interface, like so: http://64.124.13.3/1-Wire/1-wire-master.jpeg But I need help with the design. If one of

Re: [Owfs-developers] Bad Adapter adapter reconnected log messages

2006-09-17 Thread Jan Kandziora
Am Sonntag, 17. September 2006 12:34 schrieb Philipp Haeuser: Oh, and I would strongly encourage you to read http://pdfserv.maxim-ic.com/en/an/app148.pdf Kind regards Jan -- Microsoft should switch to the vacuum cleaner business where people actually want products that suck.

Re: [Owfs-developers] Bad Adapter adapter reconnected log messages

2006-09-17 Thread Jan Kandziora
Am Sonntag, 17. September 2006 17:35 schrieb Paul Alfille: Philipp, What is the license on the code you refrerence? There isn't any information at the start of the files, and I don't want to look too closely at the rest. This display uses the ST7036, a HD44780 compatible controller. The

Re: [Owfs-developers] LCD displays / 1wire topology?

2006-09-18 Thread Jan Kandziora
Am Montag, 18. September 2006 23:18 schrieb Philipp Haeuser: Is it sufficient to daisy-chain the DATA line, and can GND and +5V still remain in stubbed topology, or should I run all of these wires through (i.e. back and forth via separate wires) all of the sensor cables, too? Onewire Data and

Re: [Owfs-developers] DS2408 LCD_M OR LCD_H

2006-09-21 Thread Jan Kandziora
Am Mittwoch, 20. September 2006 21:33 schrieb Roberto Spadim: OK LCD_H is 4 bits and LCD_M isn't but we don't have CMD file (function), (i think that will work only for LCD_H) like /LCD_H/send_command and when i make this: echo LCD_CLEAR ./send_command or something like echo 1

Re: [Owfs-developers] i2c

2006-09-21 Thread Jan Kandziora
Am Donnerstag, 21. September 2006 20:20 schrieb Roberto Spadim: have any PCI card? Any i2c adapter the linux kernel has drivers for will work. To build an interface card, the Philips PCF8584 chip is your choice. You could hook up a PCF8584 chip to an EPP parallel port, too. Maybe there are

Re: [Owfs-developers] DS2450

2006-09-27 Thread Jan Kandziora
Am Mittwoch, 27. September 2006 05:30 schrieb Roberto Spadim: ok now i readed datasheet fully... In the shaded areas (8 to 16 bits area) the accuracy is less than the resolution. The conversion results may include random noise. ok, so i can understood that it have 8 bit acurracy and 8 non

Re: [Owfs-developers] How many single switches can be connected? (FWD)

2006-10-03 Thread Jan Kandziora
Am Dienstag, 3. Oktober 2006 03:07 schrieb Alfille, Paul H.,M.D.: B. Cache will fill with more devices. It is flushed automatically, and degrades gracefully when full. Currently full is triggered my memory allocation failure, but we could be more elegant if required. (Memory is part of the

[Owfs-developers] Need for Speed... (scanning speed)

2006-11-18 Thread Jan Kandziora
Hi there, in my application I have some Ibutton locks I need to scan. The locks are connected through a DS2482-800 onewire host. I expected scanning a single key on an otherwise empty bus (reading bus.0/uncached) would require a single reset pulse, presence pulse and then about 200 onewire

Re: [Owfs-developers] Need for Speed... (scanning speed)

2006-11-19 Thread Jan Kandziora
Am Sonntag, 19. November 2006 00:53 schrieb Paul Alfille: Ahha! It looks like a logic error -- if no device is found, the code still tests for a CRC error in the serial number, and probably asks for retries. AH! That was simple. Thanks for hunting this down, Paul. Fixed in the CVS. I'll

Re: [Owfs-developers] Need for Speed... (scanning speed)

2006-11-24 Thread Jan Kandziora
Am Sonntag, 19. November 2006 00:53 schrieb Paul Alfille: Ahha! It looks like a logic error -- if no device is found, the code still tests for a CRC error in the serial number, and probably asks for retries. Fixed in the CVS. Hmmm. Now the scanning on the DS2482 doesn't work at all, at

Re: [Owfs-developers] Need for Speed... (scanning speed)

2006-11-27 Thread Jan Kandziora
Am Montag, 27. November 2006 13:26 schrieb Alfille, Paul H.,M.D.: Hi Jan, Is this still an open problem? I tested the DS9097 (Passive) adapter which uses very similar logic and had a similar fix done. It works. I don't have a DS2482 to test. On my development machine, with a home-brewn ELV

[Owfs-developers] Problems compiling CVS

2006-12-04 Thread Jan Kandziora
Hi all, I have a problem compiling the last week's CVS (owfs-2.5p7) with owtcl support. I always get an error if SWIG is enabled, and disabling it disables owtcl, too. Here's what I tried: $ aclocal autoheader autoconf libtoolize -f -c automake -a -c $ ./configure --disable-perl

Re: [Owfs-developers] Problems compiling CVS

2006-12-04 Thread Jan Kandziora
Am Montag, 4. Dezember 2006 16:22 schrieb Jan Kandziora: Hi all, Forget the previous posting. $ ./configure --disable-owperl --disable-owpython --disable-owphp ^^ ^^ did the trick. Kind regards Jan -- People get annoyed when you try to debug them

[Owfs-developers] owtcl: Changed semantics?

2006-12-04 Thread Jan Kandziora
Hi all, it seems owtcl return values were changed: % OW::get uncached bus.7/,bus.6/,bus.5/,bus.4/,bus.3/,bus.2/,bus.1/,bus.0/,01.7ABFA608/ Before there were spaces between the components of a reply. Is this change intended? Any more surprises? Kind regards Jan -- Es ist zehn Uhr

[Owfs-developers] owtcl in owfs2.5p7: Segmentation fault

2006-12-04 Thread Jan Kandziora
Hi all, I finally could experiment a bit with last week's CVS and owtcl. Unfortunately, it breaks on scanning a specific bus when no key is connected. janskiste:~ # tclsh % package require ow 0.1 % OW::init /dev/i2c-1 % OW::get uncached bus.7/,bus.6/,bus.5/,bus.4/,bus.3/,bus.2/,bus.1/,bus.0/ %

Re: [Owfs-developers] owtcl: Changed semantics?

2006-12-04 Thread Jan Kandziora
Am Montag, 4. Dezember 2006 18:29 schrieb Serg Oskin: It is semantics owcapi. Use form OW::get [path] -list which returns tcl-list. In manpage has described. In Changelog did not write, sorry. Ah, I see. Anyway, thanks for fixing the *.ALL behaviour to return a tcl list, too. Kind regards

Re: [Owfs-developers] owtcl in owfs2.5p7: Segmentation fault

2006-12-04 Thread Jan Kandziora
Am Montag, 4. Dezember 2006 18:59 schrieb Jan Kandziora: Schnipp I found another bug in owtcl. If an invalid request is forwarded to owlib, it doesn't change the reply buffer pointer at all, not even to NULL. This e.g. leads to: % OW::get bus.0/uncached/68689/present *** glibc

[Owfs-developers] Scan for pulled keys

2006-12-05 Thread Jan Kandziora
Dear all, as scanning the onewire using the SEARCH ROM command is still expensive, I thought about different functions for detecting plug-in and pull events for a lock in my program. If the host thinks a certain key -- which was detected before by usual scanning -- is plugged in a lock, it

Re: [Owfs-developers] Scan for pulled keys

2006-12-05 Thread Jan Kandziora
Am Dienstag, 5. Dezember 2006 14:31 schrieb Jan Kandziora: Dear all, as scanning the onewire using the SEARCH ROM command is still expensive, I thought about different functions for detecting plug-in and pull events for a lock in my program. Another idea: Is the Read ROM command implemented

Re: [Owfs-developers] Hobby Boards questions

2006-12-05 Thread Jan Kandziora
Am Dienstag, 5. Dezember 2006 18:31 schrieb Gregg C Levine: Hello! That series of issues with the LCD display device that Hobby Boards developed independently of Maxim brought to mind an interesting issue. For example what boards made by them are directly supported? And what boards are an

Re: [Owfs-developers] Hobby Boards questions

2006-12-06 Thread Jan Kandziora
Am Mittwoch, 6. Dezember 2006 01:14 schrieb Paul Alfille: Currently, the only aggregate we support is the TAI-8570 barometer, which uses 2 DS2406. In that case, the DS2406 memory is used to point to the partner chip, so the aggregate can be autodiscovered. There is certainly an appeal to

[Owfs-developers] Caching problem?

2006-12-12 Thread Jan Kandziora
Hi all, I think I discovered a problem with caching in the alarm directory. See this transcript: janskiste:/home/jan # tclsh % package require ow 0.1 % OW::init /dev/i2c-1 % OW::get

Re: [Owfs-developers] Caching problem?

2006-12-12 Thread Jan Kandziora
Am Dienstag, 12. Dezember 2006 19:26 schrieb Paul Alfille: Clearly a bug. Now fixed (in the CVS). Have you checked in already? If yes, the bug is still there. I noticed something interesting: It seems to be connected to the caching of the chip presence: % OW::put 1F.0F1B0500/discharge 1

[Owfs-developers] Proposed Enhancement: read_ROM node in simultaneous directories

2006-12-12 Thread Jan Kandziora
Hi all, hi Paul, I made a small enhancement to owfs to implement the read ROM function all onewire chips have. With this function, a single key on a (sub)-bus can be identified without (fairly expensive) scanning. The attached code works with ibutton keys on the buses of a DS2482-800 and with

Re: [Owfs-developers] Echo string to LCD gets funky trailing char

2006-12-12 Thread Jan Kandziora
Am Mittwoch, 13. Dezember 2006 01:12 schrieb [EMAIL PROTECTED]: Should I be doing this differently (instead of echoing it) How about using the printf shell builtin or, if you don't have bash at hand, how about using echo -n? Kind regards Jan -- A closed mouth gathers no foot.

Re: [Owfs-developers] Proposed Enhancement: read_ROM node in simultaneous directories

2006-12-13 Thread Jan Kandziora
Am Mittwoch, 13. Dezember 2006 03:28 schrieb Paul Alfille: I'm impressed. You certainly figured out the code style. Questions: 1. We read_ROM and get a positlve result if any devices exist on the selected path? You currently return the name a of single device. And error if there are

Re: [Owfs-developers] Proposed Enhancement: read_ROM node in simultaneous directories

2006-12-13 Thread Jan Kandziora
Am Mittwoch, 13. Dezember 2006 12:51 schrieb Paul Alfille: How about separating the functions as: present = 0 if no devices, 1 if more single = if 0 or 1, else name (ID) You can return other error codes, just not through FS_output_ascii_z I checked in a provisional simultaneous/present --

Re: [Owfs-developers] Proposed Enhancement: read_ROM node in simultaneous directories

2006-12-13 Thread Jan Kandziora
: number of elements whether the members are lettered or numbered whether the elements are stored together and split, or separately and joined */ /* Simultaneous is a trigger to do a mass conversion on all the devices in the specified path */ /* Added present From Jan Kandziora to search

Re: [Owfs-developers] Proposed Enhancement: read_ROM node in simultaneous directories

2006-12-14 Thread Jan Kandziora
Am Mittwoch, 13. Dezember 2006 23:09 schrieb Paul Alfille: Look at http://owfs.sourceforge.net/commands.html It is a list of devices and the listed command codes. 0x0F for read_ROM works only for DS2401 (and DS2400 I guess). 0x33 works for almost all chips, except DS1821 (thermometer

[Owfs-developers] Bug in DS2409 code, patch included

2006-12-14 Thread Jan Kandziora
Hi All, Hi Paul I think I found a bug in the DS2409 code. According to the datasheet, the discharge lines command is 0x99, not 0xCC (that's Smart-On Main). Proposed patch: --- owfs.orig/module/owlib/src/c/ow_2409.c 2006-12-14 20:50:04.0 +0100 +++ owfs/module/owlib/src/c/ow_2409.c

Re: [Owfs-developers] Bug in DS2409 code, patch included

2006-12-14 Thread Jan Kandziora
Am Donnerstag, 14. Dezember 2006 22:29 schrieb Paul Alfille: Jan, Thank you very much! I think I found another occurrence of this bug. As the discharge lines command is not really needed for branch turnoff, I left it out. diff -Naur owfs.orig/module/owlib/src/c/ow_select.c

Re: [Owfs-developers] Bug in DS2409 code, patch included

2006-12-14 Thread Jan Kandziora
Am Donnerstag, 14. Dezember 2006 23:52 schrieb Jan Kandziora: Am Donnerstag, 14. Dezember 2006 22:29 schrieb Paul Alfille: Jan, Thank you very much! I think I found another occurrence of this bug. As the discharge lines command is not really needed for branch turnoff, I left it out

Re: [Owfs-developers] Proposed Enhancement: read_ROM node in simultaneous directories

2006-12-14 Thread Jan Kandziora
Am Donnerstag, 14. Dezember 2006 12:33 schrieb Jan Kandziora: But from the problems we encounter I think the following is done when reading 1F./simultaneous/single Byte 0 0x55 ROM Command (Match ROM) Byte 1 0x1F Family Code (DS2409) Byte 2..7 ID Byte 8

Re: [Owfs-developers] Proposed Enhancement: read_ROM node in simultaneous directories

2006-12-15 Thread Jan Kandziora
Am Freitag, 15. Dezember 2006 03:05 schrieb Paul Alfille: Jan, The DS2409 code has been quite a chore to implement. OWFS has the most flexible of any implementation I know -- support for unlimitted branching, interleaved bus usage, and lazy bus changes. I'll be interested in any improvements

Re: [Owfs-developers] Proposed Enhancement: read_ROM node in simultaneous directories

2006-12-15 Thread Jan Kandziora
Am Freitag, 15. Dezember 2006 03:05 schrieb Paul Alfille: Jan, The DS2409 code has been quite a chore to implement. OWFS has the most flexible of any implementation I know -- support for unlimitted branching, interleaved bus usage, and lazy bus changes. I'll be interested in any improvements

Re: [Owfs-developers] Proposed Enhancement: read_ROM node in simultaneous directories

2006-12-16 Thread Jan Kandziora
Am Samstag, 16. Dezember 2006 02:11 schrieb Paul Alfille: On 12/15/06, Jan Kandziora [EMAIL PROTECTED] wrote: Before I'll rumble through that, I'd like to add another node to the DS2409 chip: clearevent just issues a 0x66 disconnect all lines control command and clears the DS2409s event

Re: [Owfs-developers] Proposed Enhancement: read_ROM node in simultaneous directories

2006-12-16 Thread Jan Kandziora
Am Samstag, 16. Dezember 2006 02:37 schrieb Paul Alfille: This is an ambitious, but tricky change. When you are happy with it, let me test it too. I can construct a 2 level network here. My idea is to transfer the BUS_select_branch() from BUS_next into BUS_select. This should do no harm --

Re: [Owfs-developers] Proposed Enhancement: read_ROM node in simultaneous directories

2006-12-18 Thread Jan Kandziora
Am Samstag, 16. Dezember 2006 02:11 schrieb Paul Alfille: There are some subtilties with deeper branching. OWFS kee[s trak of the last selected path to reduce redundant path selection (you have to turn off all sister DS2409s at each level). I'll add a flag that marks the stored path as

Re: [Owfs-developers] PHP Class for OWServer

2006-12-20 Thread Jan Kandziora
Am Mittwoch, 20. Dezember 2006 13:16 schrieb Paul Alfille: Hello Roberto, Very nice work. I found the documentation at the end of the file (as you had said) and have a few comments: A. I dont believe there is a default port for owserver. Should we issue a request for a registered port

Re: [Owfs-developers] PHP Class for OWServer

2006-12-20 Thread Jan Kandziora
Am Mittwoch, 20. Dezember 2006 15:17 schrieb Paul Alfille: Sounds fine. We also have an mdns protocol registered. Do you want to submit the request? If you are ok with it, I will. It may take some time until I collected the neccessary information for the application (protocol details etc),

Re: [Owfs-developers] PHP Class for OWServer

2006-12-20 Thread Jan Kandziora
Am Mittwoch, 20. Dezember 2006 17:13 schrieb Roberto Spadim: any idea on what port should we use as default today?! As IANA will choose the port number alone, just waiting for the application result seems to be a wise idea -- I expect it to be through first week after new year's eve. In the

Re: [Owfs-developers] usage of 1wire sensors in motor-sports

2006-12-24 Thread Jan Kandziora
Am Sonntag, 24. Dezember 2006 16:41 schrieb Japie: On Sun, 24 Dec 2006 14:17:18 +0200, Paul Alfille wrote: Can owfs/1wire read in mili-seconds? That might be pushing it.10 to 100 msec. That would do, 10.000rpm ~ 180 pulses per second, but if I take a pulse from the cams it wil be 90

Re: [Owfs-developers] Fwd: [IANA #50010] Application for port-number: owserver (Assigned-4304)

2007-01-24 Thread Jan Kandziora
Am Dienstag, 23. Januar 2007 02:16 schrieb Paul Alfille: Great news, 4304 is out default port. I'll modify the programs and examples to use it. In general, if no port is specified, 4304 will be assumed. That's indeed great news. owserver has a default port now and will be put into

Re: [Owfs-developers] i2c

2007-02-06 Thread Jan Kandziora
Am Dienstag, 6. Februar 2007 08:30 schrieb Stuart Poulton: Dear All, Does anyone have experience of working i2c interfaces for either DS2482-100 , DS2482-800, initially something parallel port based would be ideal. I posted a schematic a while ago. To avoid cluttering the list, I mailed it

Re: [Owfs-developers] Some thoughts on logos, etc.

2007-02-13 Thread Jan Kandziora
Am Montag, 12. Februar 2007 22:01 schrieb David Lissiuk: Standards are a good thing. And OWFS has become a major player in terms of 1-Wire work. As an end user, I'd like to know that my hardware is fully supported and tested by OWFS and uses a wiring standard like 1WRJ45 when I buy the product

Re: [Owfs-developers] Cable length when connecting a 18B20 sensor to a USB dongle

2007-03-03 Thread Jan Kandziora
Am Samstag, 3. März 2007 21:14 schrieb Pedro Côrte-Real: Do I need to power the 18B20 with Vcc for this distance? No. Power requirement of the DS18B20 is max. 1.5mA, which causes only a voltage drop in the mV range even on long and thin 1W and GND lines. Check for contact problems at the

Re: [Owfs-developers] e: line distance

2007-03-04 Thread Jan Kandziora
Am Sonntag, 4. März 2007 00:53 schrieb Wizard: If you power a lot of onewire chips (and peripheals) over a thin, long cable, the GND niveau at the end of the cable may reach 0.7V due to the current through it. This disturbs the onewire function for chips at the end of the cable a lot.

Re: [Owfs-developers] OT: 1-wire Relais Output

2007-04-07 Thread Jan Kandziora
Am Samstag, 7. April 2007 13:05 schrieb Sven Geggus: Hello, not exactly a Software Question but anyway. I intend to switch mains connected devices by 1-wire. Any suggestion for a suitable circuit? Solid state relays, e.g. by OptoZZ or similar behave as a LED on low voltage side. If you like

Re: [Owfs-developers] OT: 1-wire Relais Output

2007-04-07 Thread Jan Kandziora
Am Samstag, 7. April 2007 15:50 schrieb Sven Geggus: Jan Kandziora [EMAIL PROTECTED] wrote: Solid state relays, e.g. by OptoZZ or similar behave as a LED on low voltage side. If you like to build such a thing yourself, try e.g. MOC3043. I think that a mechanical Relay Output would better

Re: [Owfs-developers] attaching microcontrollers to OW

2007-04-21 Thread Jan Kandziora
Am Samstag, 21. April 2007 20:45 schrieb njh: On Sat, 21 Apr 2007, Paul Alfille wrote: The problem isn't technical -- Louis Swart does it (PIC based) in his LCD controller. Dallas/Maxim restricts 1-wire slaves (their patents, intellectual property, and quality assurance), while making

  1   2   3   4   5   6   7   >