diff options
author | Matthew Allum <mallum@openedhand.com> | 2005-10-03 18:13:53 +0000 |
---|---|---|
committer | Matthew Allum <mallum@openedhand.com> | 2005-10-03 18:13:53 +0000 |
commit | 17cab4cb0c61bb511e395ae39dc5db0122387e7c (patch) | |
tree | 8deaab363b14683f40a4fbcb13951ac2e2e0d3f3 /openembedded/packages/chkhinge26 | |
parent | 6a6723bc92dadae8fa541b81324b1430e68888b0 (diff) | |
download | poky-17cab4cb0c61bb511e395ae39dc5db0122387e7c.tar.gz |
Hack up the handler some more so it roughly works
git-svn-id: https://svn.o-hand.com/repos/poky@108 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/chkhinge26')
-rwxr-xr-x | openembedded/packages/chkhinge26/chkhinge26_0.0.bb | 2 | ||||
-rwxr-xr-x | openembedded/packages/chkhinge26/files/hinge-handler | 9 |
2 files changed, 8 insertions, 3 deletions
diff --git a/openembedded/packages/chkhinge26/chkhinge26_0.0.bb b/openembedded/packages/chkhinge26/chkhinge26_0.0.bb index 4ea9ebab3a..adf1bf0313 100755 --- a/openembedded/packages/chkhinge26/chkhinge26_0.0.bb +++ b/openembedded/packages/chkhinge26/chkhinge26_0.0.bb | |||
@@ -14,5 +14,5 @@ do_install_append () { | |||
14 | install -m 0755 ${WORKDIR}/hinge-handler ${D}/${bindir}/ | 14 | install -m 0755 ${WORKDIR}/hinge-handler ${D}/${bindir}/ |
15 | } | 15 | } |
16 | 16 | ||
17 | FILES_${PN} += "${BINDIR}/hinge-handler" | 17 | FILES_${PN} += "${bindir}/hinge-handler" |
18 | 18 | ||
diff --git a/openembedded/packages/chkhinge26/files/hinge-handler b/openembedded/packages/chkhinge26/files/hinge-handler index 12d0172e42..d8100e9b2e 100755 --- a/openembedded/packages/chkhinge26/files/hinge-handler +++ b/openembedded/packages/chkhinge26/files/hinge-handler | |||
@@ -21,13 +21,18 @@ fi | |||
21 | if [ $STATE = "0" ]; then | 21 | if [ $STATE = "0" ]; then |
22 | echo "lanscape" | 22 | echo "lanscape" |
23 | killall mbinputmgr | 23 | killall mbinputmgr |
24 | xrand -o normal | 24 | # urg mbinputmgr should kill below |
25 | killall matchbox-keyboard | ||
26 | killall matchbox-stroke | ||
27 | xrandr -o normal | ||
25 | exit 0 | 28 | exit 0 |
26 | fi | 29 | fi |
27 | 30 | ||
28 | if [ $STATE = "2" ]; then | 31 | if [ $STATE = "2" ]; then |
29 | echo "portrait" | 32 | echo "portrait" |
33 | xrandr -o left | ||
34 | # just to be extra safe | ||
35 | sleep 1 | ||
30 | mbinputmgr & | 36 | mbinputmgr & |
31 | xrandr -o left | ||
32 | exit 0 | 37 | exit 0 |
33 | fi \ No newline at end of file | 38 | fi \ No newline at end of file |