Re: [Owfs-developers] Adding another means of accessing devices (ie not serial, USB, etc)...

2005-07-11 Thread Matthew Percival
G'Day, I doubt that you could skip the omap_reset() function since it's used to address a specific device or the branch on the DS2490. (and reset the 1-wire bus which more devices need) I have added an OMAP_reset() now; it is fairly simple, but there does not seem to be much to do.

Re: [Owfs-developers] What is wrong with my owperl ?

2005-07-11 Thread Paul Alfille
On Monday 11 July 2005 01:24 pm, Krzysztof wrote: I still have a strange problem with owfs, sometimes I can not read files - just after I disconnect 18b20 from 1 wire network, its address directory (cache) still exists but reading the temperature file is impossible - mc gives error and

Re: [Owfs-developers] Adding another means of accessing devices (ie not serial, USB, etc)...

2005-07-11 Thread Matthew Percival
G'Day, As I understand you have copied ow_ds9097.c and made your changes to it. DS9097_reset() send a resetbyte 0xF0 and read a byte. If received byte is 0xF0, no devices where found on the bus and it's therefor no use to search for more devices in DS9097_next_both() where it exits later. If

Re: [Owfs-developers] Adding another means of accessing devices (ie not serial, USB, etc)...

2005-07-11 Thread Matthew Percival
I seem to have completely missed something very important. I decided to trace back, and it seems FS_realdir() is called by FS_dir_seek(), however that function is never called either; nor is FS_dir(). If I continue to follow the path, FS_dir() seems to only called from owfs in

Re: [Owfs-developers] Adding another means of accessing devices (ie not serial, USB, etc)...

2005-07-11 Thread Christian Magnusson
On Tue, 2005-07-12 at 09:32 +1000, Matthew Percival wrote: G'Day, As I understand you have copied ow_ds9097.c and made your changes to it. DS9097_reset() send a resetbyte 0xF0 and read a byte. If received byte is 0xF0, no devices where found on the bus and it's therefor no use to