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

Open
opened 2021-01-31 03:30:27 +00:00 by firozdang · 4 comments
firozdang commented 2021-01-31 03:30:27 +00:00 (Migrated from github.com)

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

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 2021-10-07 02:32:50 +01:00 (Migrated from github.com)

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.

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 2022-01-30 02:50:28 +00:00 (Migrated from github.com)

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?

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 2022-11-28 12:31:39 +00:00 (Migrated from github.com)

I have the same log

I have the same log
DavyGD commented 2024-08-01 12:31:00 +01:00 (Migrated from github.com)

I have the same.

I have the same.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Gandalf/OctoPrint-Enclosure#389