I had this conversation from the designer of ds9490r forewarded to me (and permission to post):
On Wed, 12 Jan 2005 18:24:58 -0000 "MANSION, James" <[EMAIL PROTECTED]> wrote: > Evgeniy, > > Silly question but - is there a document (or example of) on how to > actually access the devices that the kernel detects from a user > application? w1 core creates unified set of files in /sys (sysfs) directory, reading(writing is coming) from those files is transferred into w1 commands, which are sent over the wire. > Any particular advantage to this rather than libusb? If and only if you want to use usb <-> w1 connection, then there are no advantages at all, but if you want to use extend your setup later, for example add lpt/rs232 <-> w1 bus master or GPIO based or any other, then it is better to use unified interface to w1 core(and thus do not change upper layer applications), which is provided by kernel's implementation. In some cases(GPIO, iPaq w1 master) it is the only solution to use kernel drivers. > Am I right to think that once Linux detects the devices with a > suitable kernel, then I *have* to use the built in device and can't > attach raw from libusb? As far as I remember, you can not use both kernel ds2490 driver and libusb one in parallel. > Cheers > James Evgeniy Polyakov ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers