Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5224

Device Tree • Re: Interrupt not working for dynamic device tree overlay (dtoverlay)

$
0
0
I've managed to solve my issue another way. The reason I was trying to use the dynamic overlay in the first place is because the GPIO expander is on a separate circuit board that may or may not have power when the Pi boots. If the board did not have power during boot, then the device tree driver would fail to load. I now know that I can force a "re-probe" of the driver by executing the following command after the GPIO expander has power.

Code:

echo 1-0074 | sudo tee /sys/bus/i2c/drivers/pca953x/bind
This way I can keep the overlay in config.txt, and just execute the command above if the Pi boots when the GPIO expander doesn't have power.

Statistics: Posted by mattmunee — Wed Aug 14, 2024 6:48 pm



Viewing all articles
Browse latest Browse all 5224

Trending Articles