Hello,
does owfs support DS2484 (I2C/1-wire bridge) ? I've just hooked it up to raspberry pi and I can see it on the i2c bus but no matter how I connect 18B20 sensor to it (with or without explicit power line) they don't show up in the 1 wire directory :o/ thanks, lukasz -- ------------------------------------------------------------------------- Lukasz Salwinski PHONE: 310-825-1402 UCLA-DOE Institute for Genomics & Proteomics FAX: 310-206-3914 UCLA, Los Angeles EMAIL: [hidden email] ------------------------------------------------------------------------- ------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/owfs-developers |
Interesting. So the only thing different here is the level translation goes down to 1.8V vs. 3.3V compared to the DS2483? On Mon, Feb 9, 2015 at 12:59 PM, Lukasz Salwinski <[hidden email]> wrote: Hello, ------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/owfs-developers |
On 02/09/2015 01:20 PM, Colin Reese wrote:
> Interesting. So the only thing different here is the level translation goes > down to 1.8V vs. 3.3V compared to the DS2483? it looks like this is the only difference in the specs I can find... Is DS2483 supported ? owfs documentation mentions only DS2482-100 and DS2482-800 chips. I've used 3.3V for both Vcc & SLPZ. I'd guess can try to set Vcc to 5V and see what happens... lukasz > On Mon, Feb 9, 2015 at 12:59 PM, Lukasz Salwinski <[hidden email]> > wrote: > >> Hello, >> does owfs support DS2484 (I2C/1-wire bridge) ? I've just hooked it >> up to raspberry pi and I can see it on the i2c bus but no matter how >> I connect 18B20 sensor to it (with or without explicit power line) >> they don't show up in the 1 wire directory :o/ >> >> thanks, >> lukasz -- ------------------------------------------------------------------------- Lukasz Salwinski PHONE: 310-825-1402 UCLA-DOE Institute for Genomics & Proteomics FAX: 310-206-3914 UCLA, Los Angeles EMAIL: [hidden email] ------------------------------------------------------------------------- ------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/owfs-developers |
Yes, I use DS2483 all over the place for years. See here for commands I use: http://www.cupidcontrols.com/2014/01/owfs-owserver-owhttp-owpython-and-a-little-1wire-pi/ On Mon, Feb 9, 2015 at 2:13 PM, Lukasz Salwinski <[hidden email]> wrote: On 02/09/2015 01:20 PM, Colin Reese wrote: ------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/owfs-developers |
On 02/09/2015 02:16 PM, Colin Reese wrote:
> Yes, I use DS2483 all over the place for years. See here for commands I > use: > http://www.cupidcontrols.com/2014/01/owfs-owserver-owhttp-owpython-and-a-little-1wire-pi/ ok.. I'll get myself some DS2483s... thanks, lukasz > On Mon, Feb 9, 2015 at 2:13 PM, Lukasz Salwinski <[hidden email]> > wrote: > >> On 02/09/2015 01:20 PM, Colin Reese wrote: >>> Interesting. So the only thing different here is the level translation >> goes >>> down to 1.8V vs. 3.3V compared to the DS2483? >> >> it looks like this is the only difference in the specs I can find... >> Is DS2483 supported ? owfs documentation mentions only DS2482-100 and >> DS2482-800 chips. >> >> I've used 3.3V for both Vcc & SLPZ. I'd guess can try to set Vcc to 5V and >> see what happens... >> >> lukasz >> >>> On Mon, Feb 9, 2015 at 12:59 PM, Lukasz Salwinski <[hidden email]> >>> wrote: >>> >>>> Hello, >>>> does owfs support DS2484 (I2C/1-wire bridge) ? I've just hooked it >>>> up to raspberry pi and I can see it on the i2c bus but no matter how >>>> I connect 18B20 sensor to it (with or without explicit power line) >>>> they don't show up in the 1 wire directory :o/ >>>> >>>> thanks, >>>> lukasz >> >> >> >> -- >> ------------------------------------------------------------------------- >> Lukasz Salwinski PHONE: 310-825-1402 >> UCLA-DOE Institute for Genomics & Proteomics FAX: 310-206-3914 >> UCLA, Los Angeles EMAIL: [hidden email] >> ------------------------------------------------------------------------- >> >> >> ------------------------------------------------------------------------------ >> 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 >> [hidden email] >> https://lists.sourceforge.net/lists/listinfo/owfs-developers >> > > > > ------------------------------------------------------------------------------ > 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 > [hidden email] > 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: [hidden email] ------------------------------------------------------------------------- ------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/owfs-developers |
I carefully diff-ed the DS2483 and DS2484 data sheets. There are no substantive differences. The DS2483 seems to be a little fussier about having Strong Pull-up (SPU) stopped before a reset. Thus, I would have expected the DS2484 to work fine. Can you check your hardware setup? Paul On Mon, Feb 9, 2015 at 5:22 PM, Lukasz Salwinski <[hidden email]> wrote: On 02/09/2015 02:16 PM, Colin Reese wrote: ------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/owfs-developers |
On 02/09/2015 05:15 PM, Paul Alfille wrote:
> I carefully diff-ed the DS2483 and DS2484 data sheets. There are no > substantive differences. The DS2483 seems to be a little fussier about > having Strong Pull-up (SPU) stopped before a reset. > > Thus, I would have expected the DS2484 to work fine. Can you check your > hardware setup? > > Paul I've checked the connections, changed Vcc to 5V but 18B20s still does not register :o/ DS2483 are on the way but in the I'm tempted to connect the sensors directly to rpi just to see if they are ok... lukasz > On Mon, Feb 9, 2015 at 5:22 PM, Lukasz Salwinski <[hidden email]> > wrote: > >> On 02/09/2015 02:16 PM, Colin Reese wrote: >>> Yes, I use DS2483 all over the place for years. See here for commands I >>> use: >>> >> http://www.cupidcontrols.com/2014/01/owfs-owserver-owhttp-owpython-and-a-little-1wire-pi/ >> >> ok.. I'll get myself some DS2483s... >> >> thanks, >> lukasz >> >>> On Mon, Feb 9, 2015 at 2:13 PM, Lukasz Salwinski <[hidden email]> >>> wrote: >>> >>>> On 02/09/2015 01:20 PM, Colin Reese wrote: >>>>> Interesting. So the only thing different here is the level translation >>>> goes >>>>> down to 1.8V vs. 3.3V compared to the DS2483? >>>> >>>> it looks like this is the only difference in the specs I can find... >>>> Is DS2483 supported ? owfs documentation mentions only DS2482-100 and >>>> DS2482-800 chips. >>>> >>>> I've used 3.3V for both Vcc & SLPZ. I'd guess can try to set Vcc to 5V >> and >>>> see what happens... >>>> >>>> lukasz >>>> >>>>> On Mon, Feb 9, 2015 at 12:59 PM, Lukasz Salwinski <[hidden email] >>> >>>>> wrote: >>>>> >>>>>> Hello, >>>>>> does owfs support DS2484 (I2C/1-wire bridge) ? I've just hooked >> it >>>>>> up to raspberry pi and I can see it on the i2c bus but no matter how >>>>>> I connect 18B20 sensor to it (with or without explicit power line) >>>>>> they don't show up in the 1 wire directory :o/ >>>>>> >>>>>> thanks, >>>>>> lukasz >>>> >>>> >>>> >>>> -- >>>> >> ------------------------------------------------------------------------- >>>> Lukasz Salwinski PHONE: >> 310-825-1402 >>>> UCLA-DOE Institute for Genomics & Proteomics FAX: >> 310-206-3914 >>>> UCLA, Los Angeles EMAIL: >> [hidden email] -- ------------------------------------------------------------------------- Lukasz Salwinski PHONE: 310-825-1402 UCLA-DOE Institute for Genomics & Proteomics FAX: 310-206-3914 UCLA, Los Angeles EMAIL: [hidden email] ------------------------------------------------------------------------- ------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/owfs-developers |
Is the bus found? Are you getting bus and no sensors or no bus?
> On Feb 10, 2015, at 7:29 AM, Lukasz Salwinski <[hidden email]> wrote: > >> On 02/09/2015 05:15 PM, Paul Alfille wrote: >> I carefully diff-ed the DS2483 and DS2484 data sheets. There are no >> substantive differences. The DS2483 seems to be a little fussier about >> having Strong Pull-up (SPU) stopped before a reset. >> >> Thus, I would have expected the DS2484 to work fine. Can you check your >> hardware setup? >> >> Paul > > I've checked the connections, changed Vcc to 5V but 18B20s still does not > register :o/ DS2483 are on the way but in the I'm tempted to connect the > sensors directly to rpi just to see if they are ok... > > lukasz > > >> On Mon, Feb 9, 2015 at 5:22 PM, Lukasz Salwinski <[hidden email]> >> wrote: >> >>>> On 02/09/2015 02:16 PM, Colin Reese wrote: >>>> Yes, I use DS2483 all over the place for years. See here for commands I >>>> use: >>> http://www.cupidcontrols.com/2014/01/owfs-owserver-owhttp-owpython-and-a-little-1wire-pi/ >>> >>> ok.. I'll get myself some DS2483s... >>> >>> thanks, >>> lukasz >>> >>>> On Mon, Feb 9, 2015 at 2:13 PM, Lukasz Salwinski <[hidden email]> >>>> wrote: >>>> >>>>>> On 02/09/2015 01:20 PM, Colin Reese wrote: >>>>>> Interesting. So the only thing different here is the level translation >>>>> goes >>>>>> down to 1.8V vs. 3.3V compared to the DS2483? >>>>> >>>>> it looks like this is the only difference in the specs I can find... >>>>> Is DS2483 supported ? owfs documentation mentions only DS2482-100 and >>>>> DS2482-800 chips. >>>>> >>>>> I've used 3.3V for both Vcc & SLPZ. I'd guess can try to set Vcc to 5V >>> and >>>>> see what happens... >>>>> >>>>> lukasz >>>>> >>>>>> On Mon, Feb 9, 2015 at 12:59 PM, Lukasz Salwinski <[hidden email] >>>> >>>>>> wrote: >>>>>> >>>>>>> Hello, >>>>>>> does owfs support DS2484 (I2C/1-wire bridge) ? I've just hooked >>> it >>>>>>> up to raspberry pi and I can see it on the i2c bus but no matter how >>>>>>> I connect 18B20 sensor to it (with or without explicit power line) >>>>>>> they don't show up in the 1 wire directory :o/ >>>>>>> >>>>>>> thanks, >>>>>>> lukasz >>>>> >>>>> >>>>> >>>>> -- >>> ------------------------------------------------------------------------- >>>>> Lukasz Salwinski PHONE: >>> 310-825-1402 >>>>> UCLA-DOE Institute for Genomics & Proteomics FAX: >>> 310-206-3914 >>>>> UCLA, Los Angeles EMAIL: >>> [hidden email] > > > > > -- > ------------------------------------------------------------------------- > Lukasz Salwinski PHONE: 310-825-1402 > UCLA-DOE Institute for Genomics & Proteomics FAX: 310-206-3914 > UCLA, Los Angeles EMAIL: [hidden email] > ------------------------------------------------------------------------- > > ------------------------------------------------------------------------------ > 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 > [hidden email] > https://lists.sourceforge.net/lists/listinfo/owfs-developers ------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/owfs-developers |
On 02/10/2015 10:12 AM, Colin Reese wrote:
> Is the bus found? Are you getting bus and no sensors or no bus? yes. i2c side seems to be ok - i2cdetect reports device 18 and once owfs is started the bus directory (together with a bunch of others) shows up. the sensor directory is not there so I'm guessing something's bad on the 1-wire side of the bridge. lukasz > >> On Feb 10, 2015, at 7:29 AM, Lukasz Salwinski <[hidden email]> wrote: >> >>> On 02/09/2015 05:15 PM, Paul Alfille wrote: >>> I carefully diff-ed the DS2483 and DS2484 data sheets. There are no >>> substantive differences. The DS2483 seems to be a little fussier about >>> having Strong Pull-up (SPU) stopped before a reset. >>> >>> Thus, I would have expected the DS2484 to work fine. Can you check your >>> hardware setup? >>> >>> Paul >> >> I've checked the connections, changed Vcc to 5V but 18B20s still does not >> register :o/ DS2483 are on the way but in the I'm tempted to connect the >> sensors directly to rpi just to see if they are ok... >> >> lukasz >> >> >>> On Mon, Feb 9, 2015 at 5:22 PM, Lukasz Salwinski <[hidden email]> >>> wrote: >>> >>>>> On 02/09/2015 02:16 PM, Colin Reese wrote: >>>>> Yes, I use DS2483 all over the place for years. See here for commands I >>>>> use: >>>> http://www.cupidcontrols.com/2014/01/owfs-owserver-owhttp-owpython-and-a-little-1wire-pi/ >>>> >>>> ok.. I'll get myself some DS2483s... >>>> >>>> thanks, >>>> lukasz >>>> >>>>> On Mon, Feb 9, 2015 at 2:13 PM, Lukasz Salwinski <[hidden email]> >>>>> wrote: >>>>> >>>>>>> On 02/09/2015 01:20 PM, Colin Reese wrote: >>>>>>> Interesting. So the only thing different here is the level translation >>>>>> goes >>>>>>> down to 1.8V vs. 3.3V compared to the DS2483? >>>>>> >>>>>> it looks like this is the only difference in the specs I can find... >>>>>> Is DS2483 supported ? owfs documentation mentions only DS2482-100 and >>>>>> DS2482-800 chips. >>>>>> >>>>>> I've used 3.3V for both Vcc & SLPZ. I'd guess can try to set Vcc to 5V >>>> and >>>>>> see what happens... >>>>>> >>>>>> lukasz >>>>>> >>>>>>> On Mon, Feb 9, 2015 at 12:59 PM, Lukasz Salwinski <[hidden email] >>>>> >>>>>>> wrote: >>>>>>> >>>>>>>> Hello, >>>>>>>> does owfs support DS2484 (I2C/1-wire bridge) ? I've just hooked >>>> it >>>>>>>> up to raspberry pi and I can see it on the i2c bus but no matter how >>>>>>>> I connect 18B20 sensor to it (with or without explicit power line) >>>>>>>> they don't show up in the 1 wire directory :o/ >>>>>>>> >>>>>>>> thanks, >>>>>>>> lukasz >>>>>> -- ------------------------------------------------------------------------- Lukasz Salwinski PHONE: 310-825-1402 UCLA-DOE Institute for Genomics & Proteomics FAX: 310-206-3914 UCLA, Los Angeles EMAIL: [hidden email] ------------------------------------------------------------------------- ------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/owfs-developers |
In reply to this post by Lukasz Salwinski
Am 10.02.2015 um 16:29 schrieb Lukasz Salwinski:
> > I've checked the connections, changed Vcc to 5V but 18B20s still does not > register :o/ DS2483 are on the way but in the I'm tempted to connect the > sensors directly to rpi just to see if they are ok... > Have you made sure the w1 driver is not claming the DS2484 for itself? Either unload/blacklist the DS2482 module or use --w1 instead of --i2c=ALL:ALL for owfs. Kind regards Jan ------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/owfs-developers |
Wait, is that even possible? I thought w1 was for bitbanging on a GPIO, having nothing to do with i2c. On Tue, Feb 10, 2015 at 1:34 PM, Jan Kandziora <[hidden email]> wrote: Am 10.02.2015 um 16:29 schrieb Lukasz Salwinski: ------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/owfs-developers |
In reply to this post by Jan Kandziora
On 02/10/2015 01:34 PM, Jan Kandziora wrote:
> Am 10.02.2015 um 16:29 schrieb Lukasz Salwinski: >> >> I've checked the connections, changed Vcc to 5V but 18B20s still does not >> register :o/ DS2483 are on the way but in the I'm tempted to connect the >> sensors directly to rpi just to see if they are ok... >> > Have you made sure the w1 driver is not claming the DS2484 for itself? > Either unload/blacklist the DS2482 module or use --w1 instead of > --i2c=ALL:ALL for owfs. 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 > > Kind regards > > Jan > > ------------------------------------------------------------------------------ > 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 > [hidden email] > 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: [hidden email] ------------------------------------------------------------------------- ------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/owfs-developers |
In reply to this post by CReese
Am 10.02.2015 um 22:39 schrieb Colin Reese:
> Wait, is that even possible? I thought w1 was for bitbanging on a GPIO, > having nothing to do with i2c. > There are w1 kernel drivers for ds2482, ds2490, bitbanging on a GPIO and the synthesizeable ds1wm bus master. CONFIG_W1_MASTER_DS2490=m CONFIG_W1_MASTER_DS2482=m CONFIG_W1_MASTER_DS1WM=m CONFIG_W1_MASTER_GPIO=m Like the ds2490 kernel driver is the usual troublemaker when using the DS9490R adaptor on a normal PC, the ds2482 driver seems to be its replacement on the raspberry. Always mind the kernel driver, the given error description (bus present but no devices, or devices coming and going) are the most likely error mode when two drivers are "sharing" the same host adaptor. Kind regards Jan ------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/owfs-developers |
In reply to this post by Lukasz Salwinski
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 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 ------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/owfs-developers |
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 > [hidden email] > 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: [hidden email] ------------------------------------------------------------------------- ------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/owfs-developers |
In reply to this post by Jan Kandziora
Why on earth would you bitbang a 2482 on a Pi when a perfectly good i2c bus exists?
> On Feb 11, 2015, at 5:52 AM, Jan Kandziora <[hidden email]> wrote: > >> Am 10.02.2015 um 22:39 schrieb Colin Reese: >> Wait, is that even possible? I thought w1 was for bitbanging on a GPIO, >> having nothing to do with i2c. > There are w1 kernel drivers for ds2482, ds2490, bitbanging on a GPIO and > the synthesizeable ds1wm bus master. > > CONFIG_W1_MASTER_DS2490=m > CONFIG_W1_MASTER_DS2482=m > CONFIG_W1_MASTER_DS1WM=m > CONFIG_W1_MASTER_GPIO=m > > Like the ds2490 kernel driver is the usual troublemaker when using the > DS9490R adaptor on a normal PC, the ds2482 driver seems to be its > replacement on the raspberry. > > > Always mind the kernel driver, the given error description (bus present > but no devices, or devices coming and going) are the most likely error > mode when two drivers are "sharing" the same host adaptor. > > Kind regards > > Jan > > > ------------------------------------------------------------------------------ > 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 > [hidden email] > https://lists.sourceforge.net/lists/listinfo/owfs-developers ------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/owfs-developers |
In reply to this post by Lukasz Salwinski
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 ------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/owfs-developers |
In reply to this post by CReese
Am 11.02.2015 um 20:12 schrieb Colin Reese:
> Why on earth would you bitbang a 2482 on a Pi when a perfectly good > i2c bus exists? > I beg your pardon? Bitbanging *onewire* requires no additional chip and is done through a configureable GPIO on the Raspberry Pi. In addition, the w1 kernel driver can make use of a ds2482(-100, -800,83,84) on any of the existing i2c buses. Of course, the w1 system does not bitbang at all in that case, but makes use of the bcm2708's i2c subsystem. Actually, it would do that on any board, too. Some laptops have internal hardware connected the onewire bus which was the original cause to have this w1 kernel driver, I think. Kind regards Jan ------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/owfs-developers |
I found the initial post of available methods confusing and apparently misinterpreted your response.
C > On Feb 11, 2015, at 11:30 AM, Jan Kandziora <[hidden email]> wrote: > >> Am 11.02.2015 um 20:12 schrieb Colin Reese: >> Why on earth would you bitbang a 2482 on a Pi when a perfectly good >> i2c bus exists? > I beg your pardon? > > Bitbanging *onewire* requires no additional chip and is done through a > configureable GPIO on the Raspberry Pi. > > In addition, the w1 kernel driver can make use of a ds2482(-100, > -800,83,84) on any of the existing i2c buses. Of course, the w1 system > does not bitbang at all in that case, but makes use of the bcm2708's i2c > subsystem. > > > Actually, it would do that on any board, too. Some laptops have internal > hardware connected the onewire bus which was the original cause to have > this w1 kernel driver, I think. > > Kind regards > > Jan > > ------------------------------------------------------------------------------ > 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 > [hidden email] > https://lists.sourceforge.net/lists/listinfo/owfs-developers ------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/owfs-developers |
Am 11.02.2015 um 20:39 schrieb Colin Reese:
> I found the initial post of available methods confusing and > apparently misinterpreted your response. > Sorry, I should have used the serial comma. http://www.verbicidemagazine.com/wp-content/uploads/2011/09/Oxford-Comma.jpg Kind regards Jan ------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/owfs-developers |
Free forum by Nabble | Edit this page |