On 02/11/2015 06:03 AM, Jan Kandziora wrote:
> Am 10.02.2015 um 22:51 schrieb Lukasz Salwinski:
>>
>> w1 is hardwired to GPIO4 so I'm using GPIO17 to control SLPZ; I can toggle
>> DS2484 on/off by setting  GPIO17  to 1/0. it seems to be another indicator
>> i2c side works fine... it's that just nothing shows up on the 1-wire side :o/
>> lukasz
>>
> No, the w1 system is not hardwired to GPIO4, it depends which kernel
> drivers you have loaded.
>
>
> The w1-gpio driver can use any GPIO, which one to use on the raspi is
> defined in arch/arm/mach-bcm2708/bcm2708.c, line 81
>
> // use GPIO 4 for the one-wire GPIO pin, if enabled
> #define W1_GPIO 4
>
> and can be set by the kernel cmdline option
>
>       bcm2708.w1_gpio_pin=8
>


that's useful - good to know there's a way to use other pins without
recompiling (that's what some raspi-related web page claimed)

> But independendly of the w1-gpio driver, there are three other host
> adaptor drivers, most prominently for your problem the "ds2482" module.
> That ds2482 kernel driver interferes with owfs on the chip when loaded
> and when owfs is used with the --i2c=ALL:ALL option. Then, both send
> control commands to the chip, and the mix of those won't work correctly,
> of course.
>
> Kind regards
>
>       Jan

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

 >wire 31280 1 ds2482, Live 0xbf132000

I guess I've got to try without these...

thanks,
lukasz



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


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