diff options
author | Stanislav Brabec <utx@penguin.cz> | 2008-02-19 17:08:48 +0000 |
---|---|---|
committer | Stanislav Brabec <utx@penguin.cz> | 2008-02-19 17:08:48 +0000 |
commit | 74a532e4bc5f8b037d050a0a1fb66ea35eeac1ec (patch) | |
tree | 07fb39ed2aac11fa1b24c57cbdd7e47b854e9f20 /packages/zaurusd/files/01-check-toggle-landscape | |
parent | 13b71d3646054a698956460aa4246d9c9167dee4 (diff) |
- Ignore false toggle signals (work-around for OE#3390).
- Fixed default ALSA state for SL-Cxx00 (OE#2617).
- Do not alter incorrect mixer levels by zaurus-mixer-callback.
- Allow to disable rotation by touch ~/.norot.
- Fixed detection of panel_user.
Diffstat (limited to 'packages/zaurusd/files/01-check-toggle-landscape')
-rw-r--r-- | packages/zaurusd/files/01-check-toggle-landscape | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/zaurusd/files/01-check-toggle-landscape b/packages/zaurusd/files/01-check-toggle-landscape new file mode 100644 index 0000000000..13ae9a4e68 --- /dev/null +++ b/packages/zaurusd/files/01-check-toggle-landscape @@ -0,0 +1,9 @@ +#!/bin/sh + +# Try to determine and ignore false rotation signals caused by +# headphones removal or remote removal remembering the old state. +# OE#3390 +if test "`cat /var/run/last-screen-rotation`" = landscape ; then + exit +fi +echo landscape > /var/run/last-screen-rotation |