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

2005-07-18 Thread Matthew Percival
G'Day, > > > 2. How big a send/recieve buffer does the adapter have? > > > > At the moment, I am buffering everything in kernel, and sending it one > > byte (or bit, if performing Search ROM) at a time. I am considering > > changing that in future, but at the moment there is no hard limit. >

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

2005-07-17 Thread Paul Alfille
On Sunday 17 July 2005 08:45 pm, Matthew Percival wrote: > 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 Instrum

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 r

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 adapt

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

2005-07-13 Thread Matthew Percival
G'Day, > No, you got it all correct. There are a set of bit-level commands, and then > some > higher level composite commands (byte or more). Thanks for checking those out for me: I believe everything is just about right now. I was also having some trouble with support for the DS2431, b

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

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

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

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.

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

2005-07-11 Thread Christian Magnusson
On Mon, 2005-07-11 at 16:19 +1000, Matthew Percival wrote: > G'Day, > > I have added some fprintf()s to the code, and noticed that > OMAP_select() and OMAP_next_both() are never called; nor is > CheckPresence_low(). No errors are recorded anywhere, however, and > pn->si->AnyDevices is bei

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

2005-07-10 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-10 Thread Paul Alfille
On Sunday 10 July 2005 10:52 pm, Matthew Percival wrote: > G'Day, > > Thanks for the suggestions: it has made things a lot easier to work > through! I had actually skipped those files (ow_ds9097.c, etc) assuming > they were 1-Wire devices, rather than adaptors --- I did not think I > would

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

2005-07-10 Thread Christian Magnusson
On Mon, 2005-07-11 at 04:52, Matthew Percival wrote: > G'Day, > > > > I have now just finished writing a kernel module which handles the > > > OMAP's hardware support for 1-Wire, and have used a test program to > > > interact with the DS2431. All that remains to do is have a nice, user > > > pr

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

2005-07-10 Thread Matthew Percival
G'Day, > > I have now just finished writing a kernel module which handles the > > OMAP's hardware support for 1-Wire, and have used a test program to > > interact with the DS2431. All that remains to do is have a nice, user > > program that can handle interactions with any number of any kind

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

[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 as