vitormhenrique / OctoPrint-Enclosure

OctoPrint Enclosure Plugin
GNU General Public License v3.0
396 stars 202 forks source link

DS18B20 [enforced open drain please flag it properly in dt/acpi dsdt/board file] OctoPrint-Enclosure #389

Open firozdang opened 3 years ago

firozdang commented 3 years ago

I connected DS18B20 sensor with pullup resisters, and after updating /boot/config with dtoverlay=w1-gpio, I cant see anything in dmesg

XX@octopi:~ $ dmesg | grep gpio [ 1.477648] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000 [ 6.357868] gpio-4 (onewire@0): enforced open drain please flag it properly in DT/ACPI DSDT/board file

Using the following sensor kit, I checked with multimeter, vcc and gnd are correctly connected, also my data signal is correctly connected on GPIO#4, PIN#16:

https://www.banggood.com/DS18B20-Temperature-Sensor-Module-Kit-Waterproof-Electronic-Building-Block-p-1027637.html

ademuri commented 2 years ago

I think that error is a red herring - my sensor works fine and I also see that error. Are you sure you have it connected to the right pin? On my Pi 3B+, GPIO 4 is pin 7.

luizbgomide commented 2 years ago

I also have that warning, not sure what to do about it or how to fix it? I think we are probably missing something in the config.txt, but looting at the dtoverly docs I don't see what could be missing...

BTW: I tried to two dtoverlays: gpio-w1 and gpio-w1-pullup. No change, I thought about removing the external resistor pullup. Maybe that is unnecessary now?

tyukesz commented 1 year ago

I have the same log

DavyGD commented 1 month ago

I have the same.