Bug#744715: network-console: Add support for the Buffalo Linkstation LS-CHLv2/LS-XHL

2015-02-25 Thread Cyril Brulebois
Martin Michlmayr t...@cyrius.com (2014-04-16):
 * Michael Walle mich...@walle.cc [2014-04-13 21:49]:
  This patch adds support for the Buffalo Linkstation LS-CHLv2 and LS-XHL.
 
 Looks ok.

Marked as reviewed-by you and uploaded, thank you both again.

Mraw,
KiBi.


signature.asc
Description: Digital signature


Bug#744715: network-console: Add support for the Buffalo Linkstation LS-CHLv2/LS-XHL

2014-04-16 Thread Martin Michlmayr
* Michael Walle mich...@walle.cc [2014-04-13 21:49]:
 This patch adds support for the Buffalo Linkstation LS-CHLv2 and LS-XHL.

Looks ok.

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#744715: network-console: Add support for the Buffalo Linkstation LS-CHLv2/LS-XHL

2014-04-13 Thread Michael Walle
Package: network-console
Severity: wishlist
Tags: patch

This patch adds support for the Buffalo Linkstation LS-CHLv2 and LS-XHL.



-- System Information:
Debian Release: 7.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
From d7d469095a62a973e119f015c970777089cab931 Mon Sep 17 00:00:00 2001
From: Michael Walle mich...@walle.cc
Date: Thu, 10 Apr 2014 14:37:31 +0200
Subject: [PATCH] Add support for Buffalo Linkstation LS-CHLv2/LS-XHL.

Signed-off-by: Michael Walle mich...@walle.cc
---
 debian/network-console.postinst |7 +++
 1 file changed, 7 insertions(+)

diff --git a/debian/network-console.postinst b/debian/network-console.postinst
index c3d3cce..f164446 100755
--- a/debian/network-console.postinst
+++ b/debian/network-console.postinst
@@ -141,6 +141,13 @@ case $ARCHDETECT in
 	if [ -e /sys/class/leds/net5big-v2:red:power/brightness ]; then
 		echo 255  /sys/class/leds/net5big-v2:red:power/brightness
 	fi
+	# Buffalo Linkstation LS-CHLv2/LS-XHL
+	if [ -e /sys/class/leds/lsxl:blue:power/trigger ]; then
+		echo none  /sys/class/leds/lsxl:blue:power/trigger
+	fi
+	if [ -e /sys/class/leds/lsxl:red:alarm/brightness ]; then
+		echo 255  /sys/class/leds/lsxl:red:alarm/brightness
+	fi
 	;;
 arm*/orion5x)
 	# Buffalo devices
-- 
1.7.10.4