From 51ce8e5738e9ab91122769aa1bedd36f95de613d Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Thu, 28 Jun 2012 11:53:55 +0200 Subject: [PATCH] beaglebone-capes: use backlight hack for all LCD4 variants Signed-off-by: Koen Kooi Signed-off-by: Denys Dmytriyenko --- recipes-ti/beagleboard/beaglebone-capes.bb | 2 +- recipes-ti/beagleboard/beaglebone-capes/cape-stop.sh | 4 ++-- recipes-ti/beagleboard/beaglebone-capes/cape.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/recipes-ti/beagleboard/beaglebone-capes.bb b/recipes-ti/beagleboard/beaglebone-capes.bb index b463a893..ae9132ec 100644 --- a/recipes-ti/beagleboard/beaglebone-capes.bb +++ b/recipes-ti/beagleboard/beaglebone-capes.bb @@ -3,7 +3,7 @@ DESCRIPTION = "Userspace setup for beaglebone capes" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" -PR = "r3" +PR = "r4" inherit allarch diff --git a/recipes-ti/beagleboard/beaglebone-capes/cape-stop.sh b/recipes-ti/beagleboard/beaglebone-capes/cape-stop.sh index 49500176..222a010d 100755 --- a/recipes-ti/beagleboard/beaglebone-capes/cape-stop.sh +++ b/recipes-ti/beagleboard/beaglebone-capes/cape-stop.sh @@ -5,8 +5,8 @@ for eeprom in /sys/bus/i2c/devices/3-005*/eeprom ; do "BB-BONE-LCD3-01.") echo "Turning off backlight for LCD3 cape" i2cset -f -y 1 0x24 0x07 0x00;; - "BB-BONE-LCD4-01.") - echo "Turning off backlight for LCD3 cape" + "BB-BONE-LCD4"*) + echo "Turning off backlight for LCD4 cape" i2cset -f -y 1 0x24 0x07 0x00;; *) echo "unknown cape: $PARTNUMBER";; diff --git a/recipes-ti/beagleboard/beaglebone-capes/cape.sh b/recipes-ti/beagleboard/beaglebone-capes/cape.sh index 566cdf5f..c279349d 100755 --- a/recipes-ti/beagleboard/beaglebone-capes/cape.sh +++ b/recipes-ti/beagleboard/beaglebone-capes/cape.sh @@ -6,7 +6,7 @@ for eeprom in /sys/bus/i2c/devices/3-005*/eeprom ; do echo "Turning on backlight for LCD3 cape" i2cset -f -y 1 0x24 0x07 0x09 i2cset -f -y 1 0x24 0x08 0x60;; - "BB-BONE-LCD4-01.") + "BB-BONE-LCD4"*) echo "Turning on backlight for LCD4 cape" i2cset -f -y 1 0x24 0x07 0x09 i2cset -f -y 1 0x24 0x08 0x60;;