Changeset 32057


Ignore:
Timestamp:
May 14, 2017, 9:16:07 PM (6 weeks ago)
Author:
brainslayer
Message:

init ss led state

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/router/services/sysinit/sysinit-mvebu.c

    r32048 r32057  
    185185        }
    186186        set_gpio(3, 0);         //disable sata led as initial value
    187         set_gpio(4, 0);         //disable usb led as initial value
    188         set_gpio(5, 0);         //disable usb led as initial value
     187        set_gpio(4, 0);         //disable usb 1 led as initial value
     188        set_gpio(5, 0);         //disable usb 2 led as initial value
     189        set_gpio(8, 0);         //disable usb ss led as initial value
    189190
    190191        if (brand == ROUTER_WRT_1900AC) {
    191192                sysprintf("echo disk-activity > /sys/class/leds/mamba\\:white\\:esata/trigger");
    192193        }
    193 
    194194        if (brand == ROUTER_WRT_1200AC) {
    195195                sysprintf("echo disk-activity > /sys/class/leds/caiman\\:white\\:sata/trigger");
    196196        }
    197 
    198197        if (brand == ROUTER_WRT_1900ACV2) {
    199198                sysprintf("echo disk-activity > /sys/class/leds/cobra\\:white\\:sata/brightness");
    200199
    201200        }
    202 
    203201        if (brand == ROUTER_WRT_1900ACS) {
    204202                sysprintf("echo disk-activity > /sys/class/leds/shelby\\:white\\:sata/brightness");
    205203        }
    206 
    207204        if (brand == ROUTER_WRT_3200ACM) {
    208205                sysprintf("echo disk-activity > /sys/class/leds/rango\\:white\\:sata/brightness");
Note: See TracChangeset for help on using the changeset viewer.