Skip to contentSkip to conversation

Koen Kooi : beaglebone-capes: use backlight hack for all LCD4 variants

PATCH Arago Project git 1 participant 1 message Jul 26, 2012

lore
Share & tools
lore
#0 lore raw
Module: meta-ti
Branch: master
Commit: 51ce8e5738e9ab91122769aa1bedd36f95de613d
URL:    http://arago-project.org/git/meta-ti.git?a=commit;h=51ce8e5738e9ab91122769aa1bedd36f95de613d
Author: Koen Kooi <[email protected]>
Date:   Thu Jun 28 11:53:55 2012 +0200

beaglebone-capes: use backlight hack for all LCD4 variants

---

 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(-)
recipes-ti/beagleboard/beaglebone-capes.bb +1 -1
index b463a89..ae9132e 100644
@@ -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
 
recipes-ti/beagleboard/beaglebone-capes/cape-stop.sh +2 -2
index 4950017..222a010 100755
@@ -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";;
recipes-ti/beagleboard/beaglebone-capes/cape.sh +1 -1
index 566cdf5..c279349 100755
@@ -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;;