Package: nslu2-utils
Version: 20080403-2
Severity: normal
Tags: patch

The disk leds doesn't work on my system.
With the corrected udev rule the leds should work like expected.
(USB device is plugged into USB port 1 disk led 1 comes on)


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: arm (armv5tel)

Kernel: Linux 2.6.25-2-ixp4xx
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages nslu2-utils depends on:
ii  devio                       1.2-1        correctly read (or write) a
region
ii  flash-kernel                1.11         utility to write kernel and
initra
ii  slugimage                   1:0.0+r104-5 NSLU2 firmware image
manipulation

nslu2-utils recommends no packages.

Versions of packages nslu2-utils suggests:
ii  beep                          1.2.2-22   advanced pc-speaker beeper

-- no debconf information

--===============1017271839==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="z60_nslu2-led.rules.patch"

--- /home/bb/share/z60_nslu2-led.rules.orig    2008-07-15 18:33:48.000000000
+0200
+++ /etc/udev/rules.d/z60_nslu2-led.rules    2008-08-31 18:45:12.000000000
+0200
@@ -1,2 +1,2 @@
-SUBSYSTEM=="usb", DEVPATH=="*/usb3/3-[12]", ACTION=="add",
PROGRAM="/usr/bin/leds disk-%n on"
-SUBSYSTEM=="usb", DEVPATH=="*/usb3/3-[12]", ACTION=="remove",
PROGRAM="/usr/bin/leds disk-%n off"
+SUBSYSTEM=="usb", DEVPATH=="*/usb1/1-[12]", ACTION=="add",
PROGRAM="/usr/bin/leds disk-%n on"
+SUBSYSTEM=="usb", DEVPATH=="*/usb1/1-[12]", ACTION=="remove",
PROGRAM="/usr/bin/leds disk-%n off"

--===============1017271839==--

Reply via email to