On 02/11/2015 11:22 AM, Jan Kandziora wrote:
> Am 11.02.2015 um 17:02 schrieb Lukasz Salwinski:
>>
>> I see... I've been religiously inserting ds2482 module. Does it mean
>> I only need i2c_bcm2708  and i2c_dev modules ? Besides ds2482 (explicitly
>> inserted) modprobe also returns
>>
> That's correct. Owfs can (and with --i2c= will) directly talk to all
> DS2482 via /dev/i2c-X.
>
>
> You can however use the --w1 option instead and Owfs will talk to the
> host adaptor through the kernel driver. That has the advantage the
> kernel sees the chips on the bus, too, and you can use the usual tools
> to get their sampled data e.g. lmsensors for temperature readout.
>
> The biggest disadvantage of --w1 is that you can't tell on which bus a
> chip exactly is, should you have more than one. The w1 system does not
> supply that information IIRC.
>
> And it's a bit slower as the kernel driver polls the bus by itself for
> new devices and thus, congests it with transfers that may be of no use
> in your application. Using Owfs without --w1 does not do initiate any
> onewire transfers when not told so by the applications. The difference
> is negligible when you aren't connecting real-time I/O by onewire, however.
>
> Kind regards
>
>       Jan

not loading ds2482 module did not help - the owfs filesystem is there:

pi@raspberrypi ~ $ ls -al  /mnt/1wire/
total 4
drwxr-xr-x 1 root root    8 Feb 12 07:21 .
drwxr-xr-x 3 root root 4096 Feb  9 02:50 ..
drwxr-xr-x 1 root root    8 Feb 12 07:21 bus.1
drwxr-xr-x 1 root root    8 Feb 12 07:21 settings
drwxr-xr-x 1 root root    8 Feb 12 07:21 statistics
drwxr-xr-x 1 root root   32 Feb 12 07:21 structure
drwxr-xr-x 1 root root    8 Feb 12 07:21 system
drwxr-xr-x 1 root root    8 Feb 12 07:21 uncached

but 18b20 does not show up :o/ I'll try ds2483 once I've get them
(within a couple of days)... I've tried both --i2c and --w1 - variants
-it makes no difference.

lukasz


-- 
-------------------------------------------------------------------------
  Lukasz Salwinski                             PHONE:        310-825-1402
  UCLA-DOE Institute for Genomics & Proteomics   FAX:        310-206-3914
  UCLA, Los Angeles                            EMAIL: luk...@mbi.ucla.edu
-------------------------------------------------------------------------

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to