Modify

Opened 5 years ago

Last modified 4 years ago

#12475 new task

Compex wpe72 LEDS and button

Reported by: neryba Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: base system Version: Attitude Adjustment 12.09 Beta
Keywords: Cc:

Description

Please add two leds

#define WPE72_GPIO_LED_ETH0       0
#define WPE72_GPIO_LED_ETH0       1

{
	                .name           = "wpe72:green:eth0",
	                .gpio           = WPE72_GPIO_LED_ETH0,
	                .active_low     = 1,
	        }, {
	                .name           = "wpe72:green:eth1",
	                .gpio           = WPE72_GPIO_LED_ETH1,
	                .active_low     = 1,
	        }

and reconfigure button, because it always pressed

{
	                .desc           = "reset",
	                .type           = EV_KEY,
	                .code           = KEY_RESTART,
	                .debounce_interval = WPE72_KEYS_DEBOUNCE_INTERVAL,
	                .gpio           = WPE72_GPIO_RESET,
	                .active_low     = 1,
	        }

add changes to /etc/uci-defaults/leds

wpe72)
	        ucidef_set_led_netdev "eth0" "ETH0" "wpe72:green:eth0" "eth0"
	        ucidef_set_led_netdev "eth1" "ETH1" "wpe72:green:eth1" "eth1"
	        ;;

Attachments (0)

Change History (1)

comment:1 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.