[meta-ti] Koen Kooi : beaglebone-capes: use backlight hack for all LCD4 variants
Arago Project git
git at arago-project.org
Wed Jul 25 18:32:11 PDT 2012
Module: meta-ti
Branch: master
Commit: 51ce8e5738e9ab91122769aa1bedd36f95de613d
URL: http://arago-project.org/git/meta-ti.git?a=commit;h=51ce8e5738e9ab91122769aa1bedd36f95de613d
Author: Koen Kooi <koen at dominion.thruhere.net>
Date: Thu Jun 28 11:53:55 2012 +0200
beaglebone-capes: use backlight hack for all LCD4 variants
Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys at ti.com>
---
recipes-ti/beagleboard/beaglebone-capes.bb | 2 +-
.../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 b463a89..ae9132e 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 4950017..222a010 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 566cdf5..c279349 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;;
More information about the meta-ti
mailing list