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

2005-07-17 Thread Paul Alfille
Nice work. I've been going through your code. One basic question: What exactly is this adapter and which architecture supports it? Specific comments: 1. in ow_omap.c : OMAP_reset, are we missing something? I see a loop, with fsync, but no body. 2. How big a send/recieve buffer does the

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

2005-07-17 Thread Matthew Percival
G'Day, Nice work. I've been going through your code. Thanks: I appreciate it! One basic question: What exactly is this adapter and which architecture supports it? It is not a true adaptor: Texas Instruments' OMAP development boards have hardware support for 1-Wire. I

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

2005-07-13 Thread Alfille, Paul H.,M.D.
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Matthew Percival Sent: Tuesday, July 12, 2005 11:11 PM To: owfs-developers@lists.sourceforge.net Subject: Re: [Owfs-developers] Adding another means of accessing devices(ie not serial, USB, etc)... G'Day

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

2005-07-12 Thread Matthew Percival
G'Day, And the search algorithm: http://www.maxim-ix.com/appnots.cfm/appnote_number/187 Thanks to this document, I was able to eventually sort out the problem. There were lots of small differences here and there between the way the serial device works, and the way the OMAP bus works;

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] 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

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

2005-07-07 Thread Matthew Percival
G'Day, I tried using owfs on my OMAP board, but even after I added basic support for the DS2431, it did not list the device in /mnt/1wire --- I am assuming that this is largely because of the unusual environment that I am operating under. Given the report that I had a bad adaptor, this

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

2005-07-07 Thread Paul Alfille
On Thursday 07 July 2005 09:50 pm, Matthew Percival wrote: G'Day, I tried using owfs on my OMAP board, but even after I added basic support for the DS2431, it did not list the device in /mnt/1wire --- I am assuming that this is largely because of the unusual environment that I am