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

2014-06-20 Thread Catalin Patulea
On Fri, Jun 20, 2014 at 3:20 PM, Catalin Patulea wrote: >> 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". > I modified adm6996.c to allow GPIO export and started controlling > gpio6

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

2014-06-20 Thread Catalin Patulea
On Fri, Jun 20, 2014 at 6:20 AM, Rafał Miłecki wrote: >> 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

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

2014-06-20 Thread Rafał Miłecki
On 20 June 2014 08:28, Rafał Miłecki wrote: > On 5 June 2014 19:20, Catalin Patulea wrote: >> Here is dmesg also: >> http://pastebin.com/ZHXdd3PK >> >> Note: >> [ 12.58] gpio-keys gpio-keys.0: unable to claim gpio 6, err=-16 >> [ 12.66] gpio-keys: probe of gpio-keys.0 failed with erro

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

2014-06-19 Thread Rafał Miłecki
On 5 June 2014 19:20, Catalin Patulea wrote: > Here is dmesg also: > http://pastebin.com/ZHXdd3PK > > Note: > [ 12.58] gpio-keys gpio-keys.0: unable to claim gpio 6, err=-16 > [ 12.66] gpio-keys: probe of gpio-keys.0 failed with error -16 > [ 12.90] leds-gpio: probe of leds-gpio

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

2014-06-05 Thread Catalin Patulea
Also seems package/broadcom-diag/src/diag.c's legacy detection default WRT54G layout is correct for my board. But I guess nowadays diag.c uses board.c information first. On Thu, Jun 5, 2014 at 6:38 PM, Catalin Patulea wrote: > On Jun 5, 2014 4:13 PM, "Rafał Miłecki" wrote: >> See attached file (

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

2014-06-05 Thread Catalin Patulea
On Jun 5, 2014 4:13 PM, "Rafał Miłecki" wrote: > See attached file (I've just added your case to it). 0x0101/42/0x10 > seems correct for WRT54GS V1.0 (I found it in 2 other places too). As > you noticed, it's also the same for WRT54G V2. Thanks for this. Do you know if the GPIO layout is the same

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

2014-06-05 Thread Rafał Miłecki
On 5 June 2014 19:12, Catalin Patulea wrote: > It feels like I have a WRT54GS v1.0 hardware with WRT54G NVRAM. Does > anyone have a WRT54GS v1.0 nvram dump to compare? WRTSL54GS dump would > also be nice. See attached file (I've just added your case to it). 0x0101/42/0x10 seems correct for WRT54G

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

2014-06-05 Thread Rafał Miłecki
On 5 June 2014 19:12, Catalin Patulea wrote: > Hi, > > I've got a WRT54GS v1.0 and trying to run r41004 on it. I'm having > trouble with assignment of GPIOs. > > The model number on the case, serial no, MAC and FCC ID all match a > WRT54GS v1.0 according to: > https://wikidevi.com/wiki/Linksys_WRT

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

2014-06-05 Thread Catalin Patulea
Here is dmesg also: http://pastebin.com/ZHXdd3PK Note: [ 12.58] gpio-keys gpio-keys.0: unable to claim gpio 6, err=-16 [ 12.66] gpio-keys: probe of gpio-keys.0 failed with error -16 [ 12.90] leds-gpio: probe of leds-gpio failed with error -16 I also have trouble with sysupgrade.

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

2014-06-05 Thread Catalin Patulea
Hi, I've got a WRT54GS v1.0 and trying to run r41004 on it. I'm having trouble with assignment of GPIOs. The model number on the case, serial no, MAC and FCC ID all match a WRT54GS v1.0 according to: https://wikidevi.com/wiki/Linksys_WRT54GS_v1.0 But my nvram has these board parameters: boardtyp