[FS#1271] ar71xx/mikrotik: GPIO setup broken by commit e66c47fb14f56be48366d1206b54724ab6dc2502
LEDE Bugs
lede-bugs at lists.infradead.org
Sat Jan 13 16:11:18 PST 2018
A new Flyspray task has been opened. Details are below.
User who did this - João Chainho (joaochainho)
Attached to Project - OpenWrt/LEDE Project
Summary - ar71xx/mikrotik: GPIO setup broken by commit e66c47fb14f56be48366d1206b54724ab6dc2502
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To -
Operating System - All
Severity - Medium
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - Commit [[https://github.com/openwrt/openwrt/commit/e66c47fb14f56be48366d1206b54724ab6dc2502|e66c47fb14f56be48366d1206b54724ab6dc2502]] broke the GPIO setup on at least some MikroTik devices: RB750UPr2, RB951Ui-2nD.
GPIOs are not being configured during boot. Reverting this commit, everything works fine again.
root at OpenWrt:~# /etc/init.d/gpio_switch reload
/etc/rc.common: eval: line 1: can't create /sys/class/gpio/gpio45/direction: Permission denied
/etc/rc.common: eval: line 1: can't create /sys/class/gpio/gpio14/direction: Permission denied
root@ OpenWrt:~# ls /sys/class/gpio/gpio14/
active_low device subsystem uevent value
root@ OpenWrt:~# ls /sys/class/gpio/gpio45/
active_low device subsystem uevent value
More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=1271
More information about the lede-bugs
mailing list