Comment 7 for bug 654582

Revision history for this message
Torez Smith (lnxtorez) wrote :

I've tested and verified the Maverick proposed kernel from http://launchpadlibrarian.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....
        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....