diff --git a/src/GPIOPinData.cpp b/src/GPIOPinData.cpp index 9405ce5..775cd5e 100644 --- a/src/GPIOPinData.cpp +++ b/src/GPIOPinData.cpp @@ -674,7 +674,7 @@ namespace GPIO map gpio_chip_ngpio{}; map pwm_dirs{}; - vector sysfs_prefixes = {"/sys/devices/", "/sys/devices/platform/"}; + vector sysfs_prefixes = {"/sys/devices/", "/sys/devices/platform/", "/sys/bus/platform/devices/"}; // Get the gpiochip offsets set gpio_chip_names{};