summaryrefslogtreecommitdiff
path: root/packages/libopie/libopie2
diff options
context:
space:
mode:
authorDmitry Baryshkov <dbaryshkov@gmail.com>2008-12-01 19:20:48 +0300
committerDmitry Baryshkov <dbaryshkov@gmail.com>2008-12-01 19:27:52 +0300
commit7561550296a46418f866833c0b49203f7fd2cd85 (patch)
treee4a3e51dca10f32a0a63e802acc486ede7755a02 /packages/libopie/libopie2
parent1823b120ab53ea960148e140b4515abc4082aedb (diff)
libopie2: add patch to keep up with changed tosa kernel interface
Some kernel interfaces have changed on tosa. This patch fixes the backlight setting. More to come later. Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Diffstat (limited to 'packages/libopie/libopie2')
-rw-r--r--packages/libopie/libopie2/libopie2-tosa.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/libopie/libopie2/libopie2-tosa.patch b/packages/libopie/libopie2/libopie2-tosa.patch
new file mode 100644
index 0000000000..f62c4643d1
--- /dev/null
+++ b/packages/libopie/libopie2/libopie2-tosa.patch
@@ -0,0 +1,14 @@
+Index: libopie2/opiecore/device/odevice_zaurus.cpp
+===================================================================
+--- libopie2.orig/opiecore/device/odevice_zaurus.cpp 2008-12-01 06:38:14.670256416 +0300
++++ libopie2/opiecore/device/odevice_zaurus.cpp 2008-12-01 07:47:16.045256590 +0300
+@@ -286,6 +286,9 @@ void Zaurus::init(const QString& cpu_inf
+ case Model_Zaurus_SL5500:
+ m_backlightdev = "/sys/class/backlight/locomo-bl/";
+ break;
++ case Model_Zaurus_SL6000:
++ m_backlightdev = "/sys/class/backlight/tosa_bl/";
++ break;
+ default:
+ m_backlightdev = "/sys/class/backlight/corgi-bl/";
+ }