summaryrefslogtreecommitdiff
path: root/recipes/shr
diff options
context:
space:
mode:
authorSebastian Spaeth <Sebastian@SSpaeth.de>2009-11-26 09:33:17 +0100
committerSebastian Spaeth <Sebastian@SSpaeth.de>2009-11-26 09:33:17 +0100
commit524b40aa58653ca5546503215e8a6479b95b5132 (patch)
treed68fd158504b2ce30953c3162d55b5180f6146f8 /recipes/shr
parentd099cc6187bfa1e2c719c1616aa60c28007a0eb1 (diff)
initscripts-shr: add glamoFIFOtweak to Xsession.d
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Diffstat (limited to 'recipes/shr')
-rw-r--r--recipes/shr/initscripts-shr/70glamoFIFOtweak4
-rw-r--r--recipes/shr/initscripts-shr_0.0.1.bb7
2 files changed, 10 insertions, 1 deletions
diff --git a/recipes/shr/initscripts-shr/70glamoFIFOtweak b/recipes/shr/initscripts-shr/70glamoFIFOtweak
new file mode 100644
index 0000000000..fc8da9e64b
--- /dev/null
+++ b/recipes/shr/initscripts-shr/70glamoFIFOtweak
@@ -0,0 +1,4 @@
+#!/bin/sh
+# Enable FIFO stage for the LCD engine's memory access
+# see http://git.bitwiz.org.uk/?p=kernel.git;a=commit;h=01e4e0c2a1c39d7e4556f8996f21dfaf73b2869c
+echo "4366 16384" > /sys/class/i2c-adapter/i2c-0/0-0073/pcf50633-regltr.9/glamo3362.0/regs \ No newline at end of file
diff --git a/recipes/shr/initscripts-shr_0.0.1.bb b/recipes/shr/initscripts-shr_0.0.1.bb
index 23fa05fd74..683268c507 100644
--- a/recipes/shr/initscripts-shr_0.0.1.bb
+++ b/recipes/shr/initscripts-shr_0.0.1.bb
@@ -5,7 +5,7 @@ DEPENDS = ""
RDEPENDS = ""
LICENSE = "GPL"
PV = "0.0.1"
-PR = "r11"
+PR = "r12"
RPROVIDES_${PN} = "initscripts"
RCONFLICTS_${PN} = "initscripts"
@@ -32,6 +32,7 @@ SRC_URI = "file://alignment.sh \
file://sendsigs \
file://umountfs \
file://umountnfs.sh \
+ file://70glamoFIFOtweak \
"
inherit base
@@ -104,4 +105,8 @@ do_install () {
ln -sf ../init.d/umountnfs.sh ${D}${sysconfdir}/rc6.d/S31umountnfs.sh
ln -sf ../init.d/umountfs ${D}${sysconfdir}/rc6.d/S40umountfs
ln -sf ../init.d/reboot ${D}${sysconfdir}/rc6.d/S90reboot
+
+ # install the Glamo FIFO tweak in an xsession.d file
+ install -d ${D}${sysconfdir}/X11/Xsession.d
+ install -m 0755 ${WORKDIR}/70glamoFIFOtweak ${D}${sysconfdir}/X11/Xsession.d
}