[OpenWrt-Devel] WRT54GS v1.0 GPIO definitions in r41004

Rafał Miłecki zajec5 at gmail.com
Fri Jun 20 06:20:31 EDT 2014


On 20 June 2014 08:28, Rafał Miłecki <zajec5 at gmail.com> wrote:
> On 5 June 2014 19:20, Catalin Patulea <cat at vv.carleton.ca> 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

Hauke: it seems nvram may be wrong there. According to the Catalin,
reset button uses GPIO 6. On the other hand it seems adm6996.c never
really uses "eerc".

Any idea about solving this? A device-specific workaround? Commenting
out eerc in adm6996.c?
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list