Agreed.  We'll make the change upstream in slugos-init and let you know when 
it's done.
-- Rod

-----Original Message-----
From: Martin Michlmayr <t...@cyrius.com>
Date: Wednesday, Mar 25, 2009 5:03 pm
Subject: Re: Bug#521079: leds sript not working with 2.6.29
To: Rod Whitby <r...@whitby.id.au>
CC: 521...@bugs.debian.org

* 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.co




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