Hi,
I've seen several posts that describe that it is possible to (a) have more than one w1 bus on a pi 4b annd (b) use different GPIO for a w1 bus. And I thought that you simply habe to use several dtoverlay commands to specify the GPIO to which the wire strings are connected, e.g.However, while both of my strings work fine on GPIO4 separately I don't manage to get any of them working on a different GPIO (e.g. 17 or 27). Not even if there's only a single string/bus connected.I get the following entry that at least shows that the dtoverlay accepts the gpiopin option.No slave devices appear while the w1_bus_master1 resp. w1_bus_master2 are present.
Has anybody a working w1 bus on a GPIO different from 4?
Thanks!
Greetings
Ingo
I've seen several posts that describe that it is possible to (a) have more than one w1 bus on a pi 4b annd (b) use different GPIO for a w1 bus. And I thought that you simply habe to use several dtoverlay commands to specify the GPIO to which the wire strings are connected, e.g.
Code:
sudo dtoverlay w1-gpio gpiopin=4 pullup=0 # header pin 7 sudo dtoverlay w1-gpio gpiopin=17 pullup=0 # header pin 11 sudo dtoverlay w1-gpio gpiopin=27 pullup=0 # header pin 13 Code:
root@pi:/sys/bus/w1/devices# dtoverlay w1-gpio gpiopin=17Code:
[ 225.248918] gpio-539 (onewire@1b): enforced open drain please flag it properly in DT/ACPI DSDT/board fileHas anybody a working w1 bus on a GPIO different from 4?
Thanks!
Greetings
Ingo
Statistics: Posted by docingo — Tue Mar 04, 2025 3:22 pm