* Rod Whitby <r...@whitby.id.au> [2009-03-25 10:20]:
> > /usr/bin/leds: line 32: echo: write error: Invalid argument
> > /usr/bin/leds: line 23: /sys/class/leds/nslu2:red:status/delay_on: No such 
> > file or directory
> > /usr/bin/leds: line 23: /sys/class/leds/nslu2:red:status/delay_off: No such 
> > file or directory
> > 
> Do you have any idea what has changed in the kernel to cause this?

There are two problems:

 - We used to set CONFIG_LEDS_TRIGGER_TIMER=y in the kernel but now
   it's a module.  I guess I'll change this back.

 - the leds script doesn't load the module.  I think regardless of
   what we do in our kernel, leds should try to load the module:

--- /usr/bin/leds~      2009-03-25 08:26:18.000000000 +0100
+++ /usr/bin/leds       2009-03-25 08:27:36.000000000 +0100
@@ -29,6 +29,8 @@
                                esac >"$1/brightness";;
 
                slow|fast|panic|blink|flash)
+                               modprobe ledtrig-timer > /dev/null 2>&1 || true
+
                                echo -n timer
 
                                case "$setting" in

-- 
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

Reply via email to