From patchwork Fri Feb 6 08:20:08 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Marcin_Miko=C5=82ajczak?= X-Patchwork-Id: 437083 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id A6ED61402A0 for ; Fri, 6 Feb 2015 19:20:35 +1100 (AEDT) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id B136428A6C8; Fri, 6 Feb 2015 09:17:48 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 29B5628755C for ; Fri, 6 Feb 2015 09:17:42 +0100 (CET) X-policyd-weight: using cached result; rate: -8.5 Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com [209.85.217.180]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Fri, 6 Feb 2015 09:17:39 +0100 (CET) Received: by mail-lb0-f180.google.com with SMTP id b6so16207233lbj.11 for ; Fri, 06 Feb 2015 00:20:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:content-type:content-transfer-encoding:date:from:to :subject:message-id:user-agent; bh=4tJlPIcPh9A6bCAxIvgYEjDUbFW0g4HGPpExxn11GzQ=; b=Vsu/7tNjaq4pKcundXXe5voNek7zPgKWLssbuRhDjZIT96IYOARBmMGsoBBApxHU4S 5tp11tlpKsof86MXmChlRFN4n3XAYtN/GjioDOx76Gk28L5aVzshXfdgxocH6SL9BvB9 TRI7cHZ81UN+8R94b3W4m0OO5XUoqFBUns6tTDKzakD/0io/AS0woq+16iWDpMGV2ie/ EmbOXg6UxsB1/QmU5GbY3rwFCfl7M0nICWaE3eaETcv3zoGhLM3Xm29UoKh2RRoINC5P 9q95ZGaWT2hZVLW+zlFNw3hUCSumxVZfYrdX9DtiqPFACmSrlH2iYqDUPEyJIkL253RN TYmA== X-Received: by 10.152.23.73 with SMTP id k9mr1584296laf.54.1423210810835; Fri, 06 Feb 2015 00:20:10 -0800 (PST) Received: from poczta.mikolajczaki.pl (host-79.173.3.190.tesatnet.pl. [79.173.3.190]) by mx.google.com with ESMTPSA id xs7sm288090lbb.22.2015.02.06.00.20.09 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 06 Feb 2015 00:20:09 -0800 (PST) MIME-Version: 1.0 Date: Fri, 06 Feb 2015 09:20:08 +0100 From: =?UTF-8?Q?Marcin_Miko=C5=82ajczak?= To: openwrt-devel@lists.openwrt.org Message-ID: <4cecc3a0f2796a41293bf68b731c1228@mikolajczaki.pl> X-Sender: gr4ffy@gmail.com User-Agent: Roundcube Webmail/1.0.5 Subject: [OpenWrt-Devel] [PATCH] ar71xx: ZyXEL NBG6716 leds improvement X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" This patch fixes a LEDs in ZyXEL NBG6716 - POWER LED was missing - USB LEDs incorrect order Index: trunk/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds =================================================================== --- trunk/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds (wersja 44288) +++ trunk/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds (kopia robocza) @@ -215,8 +215,8 @@ ucidef_set_led_netdev "wan" "WAN" "zyxel:white:internet" "eth1" ucidef_set_led_wlan "wlan" "WLAN" "zyxel:white:wifi2g" "phy1tpt" ucidef_set_led_wlan "wlan5" "WLAN5" "zyxel:white:wifi5g" "phy0tpt" - ucidef_set_led_usbdev "usb1" "USB1" "zyxel:white:usb0" "1-1" - ucidef_set_led_usbdev "usb2" "USB2" "zyxel:white:usb1" "2-1" + ucidef_set_led_usbdev "usb1" "USB1" "zyxel:white:usb0" "2-1" + ucidef_set_led_usbdev "usb2" "USB2" "zyxel:white:usb1" "1-1" ;; om2p | \ Signed-off-by: Marcin Mikolajczak Index: trunk/target/linux/ar71xx/base-files/etc/diag.sh =================================================================== --- trunk/target/linux/ar71xx/base-files/etc/diag.sh (wersja 44288) +++ trunk/target/linux/ar71xx/base-files/etc/diag.sh (kopia robocza) @@ -130,7 +130,7 @@ status_led="nbg460n:green:power" ;; nbg6716) - status_led="nbg6716:white:power" + status_led="zyxel:white:power" ;; om2p | \ om2pv2 | \