On Tuesday 24 May 2005 12:16 pm, Peter Kropf wrote:
> From my experience, the kernel drivers aren't worth the effort to try
> to get working. Last time I looked at them, they were undocumented and
> there was no user mode code / library / examples that used them. The
> kernel drivers are also not compatable with OWFS.
>
> My suggestion is to not load them into your running kernel and to just
> use OWFS. But I am a bit biased towards OWFS ;-)
>
> - Peter
>

Peter says it very well. The idea behind the W1 drivers seem nice, a unified 
abstraction layer hiding the adapter type. Unfortunately it will be 
linux-specific (not too great a problem), and is undocumented.

A greater problem is that each adapter type has different strengths. A better 
search routine, different in-band/out-of-band signaling, etc. OWFS has 
evolved to use each adapter efficiently, for our usage pattern. A 
kernel-based driver would not know when to reset, for instance, since it 
wouldn't know which thread of OWFS was grabbing the adapter. I suspect that 
the kernel driver would not be as efficient.

Currently W1 is only relevant to USB. OWFS unloads the ds9094r kernel driver 
and uses libusb, so you really don't have to make any changes. When W1 is 
finally documented, we will see about supporting it. I am most interested in 
W1 for direct bitbanging interfaces in embedded systems and the Matrox video 
card.

Paul



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to