On 5 June 2014 19:20, Catalin Patulea <[email protected]> wrote: > Here is dmesg also: > http://pastebin.com/ZHXdd3PK > > Note: > [ 12.580000] gpio-keys gpio-keys.0: unable to claim gpio 6, err=-16 > [ 12.660000] gpio-keys: probe of gpio-keys.0 failed with error -16 > [ 12.900000] leds-gpio: probe of leds-gpio failed with error -16
This is because __gpiod_request returned -EBUSY. Your nvram has following entries: gpio6=adm_rc gpio5=adm_eedi gpio3=adm_eesk gpio2=adm_eecs All of the above GPIOs are reserved by adm6996. It means registering LEDs failed (because GPIOs 2 and 3 were already in use) and registering buttons failed (because GPIO 6 was already in use). Could you find out, which GPIO is connected to your reset button? Simply export all GPIOs that you can and execute cat /sys/class/gpio/gpio*/value then press the reset buttong and execute cat /sys/class/gpio/gpio*/value again. Look for the GPIO that changed it's value. _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
