I've made some tests of the w1 system (this is the wire1 kernel module and the related kernel support for usb, i2c and some embedded 1-wire bus masters). It works (at least for USB) in the 2.6.31 kernel (Suse 11.2) but it's painfully slow. It seems the delay is the netlink responses from the kernel, so I'm enlisting the kernel developers for assistance.
Getting kernel support will be especially useful for the embedded space, where GPIO pins are used for 1-wire bus masters. Paul Alfille On Fri, Dec 4, 2009 at 7:20 AM, Paul Alfille <[email protected]> wrote: > I don't think w1 will work without -OW_MT (multiithreading). It's the > asynchronous nnature of tje w1 netlink interface. We have no place to accept > announcements of new bus masters, bus master's leaving, etc. > > OWFS spends a lot of time waiting for IO from many different sources: > serial or USB ports, network interfaces, netlink, avahi/bonjour. I suppose > it could have been designed with one big 'select', but we didn't do it that > way. Instead there are threads created for each of those tasks. > > Single threading works for the simpler case: Accept one request, talk to > each bus master in turn, then respond. The zero-conf and w1 interfaces break > that design without multithreading. > > Paul Alfille > > > On Fri, Dec 4, 2009 at 2:37 AM, Wolfgang Grandegger > <[email protected]>wrote: > >> >> Does it make sense to test with --disable-mt? I got it compiled with >> some fixes (missing #if OW_MT) but it seems *not* to work. >> >> Wolfgang. >> > >
------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________ Owfs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/owfs-developers
