Modify

Opened 5 years ago

Closed 5 years ago

#13454 closed defect (fixed)

E4200 - wrong detection

Reported by: anonymous Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: kernel Version: Trunk
Keywords: Cc:

Description

[    3.496000] Found board: "Linksys E4200 V1"
[    3.500000] diag: kernel found a "Linksys E4200 V1"
[    3.508000] diag: board was detected as "Linksys E4200 V1", but not gpio configuration available
[    3.516000] diag: now trying legacy detect
[    3.520000] diag: Detected 'Linksys WRT54G/GS/GL'
cat /etc/openwrt_release 
DISTRIB_ID="OpenWrt"
DISTRIB_RELEASE="Bleeding Edge"
DISTRIB_REVISION="r36499"
DISTRIB_CODENAME="barrier_breaker"
DISTRIB_TARGET="brcm47xx/generic"
DISTRIB_DESCRIPTION="OpenWrt Barrier Breaker r36499"

Attachments (1)

diag.diff (1023 bytes) - added by Mitch <mitchhubers@…> 5 years ago.
package/kernel/broadcom-diag/diag.c patch

Download all attachments as: .zip

Change History (6)

comment:1 Changed 5 years ago by hauke

  • Resolution set to invalid
  • Status changed from new to closed

This is probably a follow up error of #13441.

comment:2 Changed 5 years ago by hauke

No it is not a follow up error, but I do not know it's gpio configuration, you have to provide patch specifying where to find which buttons and gpios.

comment:3 Changed 5 years ago by Mitch <mitchhubers@…>

I searched a bit in the source code. I found something. I don't know if it what you need.

E4200.1.0.05.007_us\release\src\include\sbpcmcia.h

#define HNBU_WPS		0x31	/* 1 byte; GPIO pin for WPS button */

E4200.1.0.05.007_us\release\src\router\shared\utils.h

#elif (LINKSYS_MODEL == E4200)
 enum {	WL = -1,
	DMZ = -2,
	DIAG = 1,
	SES_LED1 = 3,	// Orange
	RESET_BUTTON = 6, //wuzh modify 2008-3-3
	SES_BUTTON = 8,   //wuzh modify 2008-3-3
	SES_LED2 = 9,	// White
        DIAG2 = 10,
	USB_LED = 0
	/*USB_LED_CONT1 = 10,
	USB_LED_CONT2 = 11,
	USB_LED1 = 15,
	USB_LED2 = 18*/}; 

E4200.1.0.05.007_us\release\src\shared\linux_gpio.c

#if ( (LINKSYS_MODEL == E300) || (LINKSYS_MODEL == E4200))
#define USB_LED_GPIO 3
#define USB_ENABLE_GPIO 4

E4200.1.0.05.007_us\release\src\linux\linux-2.6\drivers\net\ctmisc-e4200\ext_io.h

//wuzh add for Disable/Enable USB
#define ENABLE_USB_GPIO            0x1
#define DISABLE_USB_GPIO           0x0

comment:4 Changed 5 years ago by Mitch <mitchhubers@…>

  • Resolution invalid deleted
  • Status changed from closed to reopened

I found these gpio settings using nvram show

reset_gpio=6
gpio0=wps_status_led
gpio2=robo_reset
gpio3=wps_led
wl0gpio0=8

Changed 5 years ago by Mitch <mitchhubers@…>

package/kernel/broadcom-diag/diag.c patch

comment:5 Changed 5 years ago by hauke

  • Resolution set to fixed
  • Status changed from reopened to closed

This was fixed in r37666.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.