IGEPv2 board....
cd /sys/class/leds
echo 0 > gpio-led\:green\:d0/brightness
echo 0 > gpio-led\:green\:d1/brightness
echo 0 > gpio-led\:red\:d0/brightness
echo 0 > gpio-led\:red\:d1/brightness
# the gpio-led:green:d1 led remains on...on with value of 0
echo 1 > gpio-led\:green\:d0/brightness
echo 1 > gpio-led\:green\:d1/brightness
echo 1 > gpio-led\:red\:d0/brightness
echo 1 > gpio-led\:red\:d1/brightness
# all leds turn on. However, gpio-led:green:d1 turns off
Beagle XM board....
cd /lib/modules/2.6.35-1008-linaro-omap/kernel/drivers/leds
insmod led-class.ko
insmod leds-gpio.ko
cd /sys/class/leds
echo 0 > beagleboard::pmu_stat/brightness
echo 0 > beagleboard::usr0/brightness
echo 0 > beagleboard::usr1/brightness
# all leds are now off...
echo 1 > beagleboard::pmu_stat/brightness
echo 1 > beagleboard::usr0/brightness
echo 1 > beagleboard::usr1/brightness
# all leds are now on....
I've tested and verified the Maverick proposed kernel from http:// launchpadlibrar ian.net/ 58060627/ linux-image- 2.6.35- 1008-linaro- omap_2. 6.35-1008. 15_armel. deb does resolve and fix this bug.
Tests were made on IGEPv2 board and Beagle XM (to assure no regression).
kernel config......
CONFIG_ LEDS=y
CONFIG_ MAC80211_ LEDS=y
CONFIG_ RFKILL_ LEDS=y
CONFIG_ RTL8187_ LEDS=y
CONFIG_ AR9170_ LEDS=y
CONFIG_ B43_LEDS= y
CONFIG_ B43LEGACY_ LEDS=y
CONFIG_ P54_LEDS= y
CONFIG_ RT2X00_ LIB_LEDS= y
CONFIG_ JOYSTICK_ XPAD_LEDS= y
CONFIG_ HID_PICOLCD_ LEDS=y
CONFIG_ NEW_LEDS= y
CONFIG_ LEDS_CLASS= m
CONFIG_ LEDS_88PM860X= m
CONFIG_ LEDS_PCA9532= m
CONFIG_ LEDS_GPIO= m
CONFIG_ LEDS_GPIO_ PLATFORM= y
CONFIG_ LEDS_LP3944= m
CONFIG_ LEDS_PCA955X= m
CONFIG_ LEDS_WM831X_ STATUS= m
CONFIG_ LEDS_WM8350= m
CONFIG_ LEDS_DA903X= m
CONFIG_ LEDS_DAC124S085 =m
CONFIG_ LEDS_REGULATOR= m
CONFIG_ LEDS_BD2802= m
CONFIG_ LEDS_LT3593= m
CONFIG_ LEDS_ADP5520= m
CONFIG_ LEDS_MC13783= m
CONFIG_ LEDS_TRIGGERS= y
CONFIG_ LEDS_TRIGGER_ TIMER=m
CONFIG_ LEDS_TRIGGER_ HEARTBEAT= m
CONFIG_ LEDS_TRIGGER_ BACKLIGHT= m
CONFIG_ LEDS_TRIGGER_ GPIO=m
CONFIG_ LEDS_TRIGGER_ DEFAULT_ ON=m
IGEPv2 board.... :green\ :d0/brightness :green\ :d1/brightness :red\:d0/ brightness :red\:d1/ brightness
cd /sys/class/leds
echo 0 > gpio-led\
echo 0 > gpio-led\
echo 0 > gpio-led\
echo 0 > gpio-led\
# the gpio-led:green:d1 led remains on...on with value of 0
echo 1 > gpio-led\ :green\ :d0/brightness :green\ :d1/brightness :red\:d0/ brightness :red\:d1/ brightness
echo 1 > gpio-led\
echo 1 > gpio-led\
echo 1 > gpio-led\
# all leds turn on. However, gpio-led:green:d1 turns off
Beagle XM board.... 2.6.35- 1008-linaro- omap/kernel/ drivers/ leds
cd /lib/modules/
insmod led-class.ko
insmod leds-gpio.ko
cd /sys/class/leds :pmu_stat/ brightness :usr0/brightnes s :usr1/brightnes s
echo 0 > beagleboard:
echo 0 > beagleboard:
echo 0 > beagleboard:
# all leds are now off...
echo 1 > beagleboard: :pmu_stat/ brightness :usr0/brightnes s :usr1/brightnes s
echo 1 > beagleboard:
echo 1 > beagleboard:
# all leds are now on....