#14406: GPIOs config for WNR-3500L
----------------------+--------------------------------------------
  Reporter:  johndoe  |      Owner:  hauke
      Type:  defect   |     Status:  accepted
  Priority:  normal   |  Milestone:
 Component:  kernel   |    Version:  Trunk
Resolution:           |   Keywords:  GPIO, WNR-3500L, LEDs, Buttons
----------------------+--------------------------------------------

Comment (by Zajec):

 johndoe: if you're still interested in getting this router working...
 could you test buttons? You can do this with:
 {{{
 echo $port > /sys/class/gpio/export
 echo "in" > /sys/class/gpio/gpio$port/direction
 cat /sys/class/gpio/gpio$port/value
 [PRESS BUTTON AND KEEP IT PRESSED]
 cat /sys/class/gpio/gpio$port/value
 }}}
 If "value" changes from 1 to 0 after pressing button, it means you found a
 correct GPIO.

--
Ticket URL: <https://dev.openwrt.org/ticket/14406#comment:7>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to