Re: [OpenWrt-Devel] [PATCH] Fix leds-gpio brightness for .active_low LEDs

2008-01-10 Thread Rod Whitby
Nick Forbes wrote: > The leds-gpio driver initialises all LEDs in the OFF state, however > it incorrectly sets the "brightness" value to 255 (LED_FULL) for LEDs > which are ".active_low". This results in the LED being off at > initialisation, but the /sys/class/leds//brightness value being > 25

[OpenWrt-Devel] [PATCH] AR7: Initialise "power" LED in ON state for DG834G

2008-01-10 Thread Nick Forbes
This patch ensures the "power" LED on the DG834G is set to ON during driver initialisation. Previously the LED would default to OFF during kernel boot and have to be turned back on again via an init script. It relies on the fixed "leds-gpio" driver - patch supplied in previous email ("[PATCH] F

[OpenWrt-Devel] [PATCH] Fix leds-gpio brightness for .active_low LEDs

2008-01-10 Thread Nick Forbes
The leds-gpio driver initialises all LEDs in the OFF state, however it incorrectly sets the "brightness" value to 255 (LED_FULL) for LEDs which are ".active_low". This results in the LED being off at initialisation, but the /sys/class/leds//brightness value being 255 instead of 0. The attac

[OpenWrt-Devel] [PATCH] extending package dependencies

2008-01-10 Thread Ralph.Hempel
hello, the attached patch will add the possibility to add package dependencies depending on config options. Pls see the example below, The dependency statement in the package makefile > PKG_BUILD_DEPENDS:=ifx-os CONFIG_PACKAGE_ifx-dsl-vinax:ifx-dsl-vinax \ CONFIG_PACKAGE_ifx-dsl-