Yes, the overuse of the word "pullup" is confusing, but I wanted to keep the parameter names the same as those of the module parameters.
Here's what the README says:
Code: Select all
File: w1-gpio-overlay.dtb
Info: Configures the w1-gpio Onewire interface module.
Use this overlay if you *don't* need a pin to drive an external pullup.
Load: dtoverlay=w1-gpio,<param>=<val>
Params: gpiopin GPIO pin for I/O (default "4")
pullup Non-zero, "on", or "y" to enable the parasitic
power (2-wire, power-on-data) feature
File: w1-gpio-pullup-overlay.dtb
Info: Configures the w1-gpio Onewire interface module.
Use this overlay if you *do* need a pin to drive an external pullup.
Load: dtoverlay=w1-gpio-pullup,<param>=<val>,...
Params: gpiopin GPIO pin for I/O (default "4")
pullup Non-zero, "on", or "y" to enable the parasitic
power (2-wire, power-on-data) feature
extpullup GPIO pin for external pullup (default "5")
How does this apply in your case? Well, although you have a pullup resistor, I doubt you are using a dedicated GPIO pin to enable the pullup, so you don't need the "-pullup" variant.
If you are using the parasitic power mode (where the host delivers power over the data line), and you would know this because your /etc/modules or /etc/modprobe.d/<something>.conf would include "pullup=1", then you would need to add ",pullup=1" or ",pullup=on".
In summary, I think you need either:
or possibly
Code: Select all
dtoverlay=w1-gpio,gpiopin=4,pullup=1
I suggest you try the first version, and if your sensor is reporting a steady 85C then switch to the second instead.