summaryrefslogtreecommitdiff
authorchicken <chicken>2005-02-19 08:11:08 (UTC)
committer chicken <chicken>2005-02-19 08:11:08 (UTC)
commit07f7d4fa6b0d0ac436494720e465af12e7005cc9 (patch) (side-by-side diff)
tree6cc51b8e6c009a10df5566be114a06b745359a77
parenteeb0aa0829b8a1eda5ae567f21d063d4fbfa031e (diff)
downloadopie-07f7d4fa6b0d0ac436494720e465af12e7005cc9.zip
opie-07f7d4fa6b0d0ac436494720e465af12e7005cc9.tar.gz
opie-07f7d4fa6b0d0ac436494720e465af12e7005cc9.tar.bz2
jornada device fixes
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--libopie2/opiecore/device/odevice_jornada.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libopie2/opiecore/device/odevice_jornada.cpp b/libopie2/opiecore/device/odevice_jornada.cpp
index 272109b..e4f8510 100644
--- a/libopie2/opiecore/device/odevice_jornada.cpp
+++ b/libopie2/opiecore/device/odevice_jornada.cpp
@@ -198,5 +198,5 @@ bool Jornada::setDisplayStatus ( bool on )
if ( d->m_model == Model_Jornada_56x ) {
- QString cmdline = QString::fromLatin1( "echo %1 > /sys/class/lcd/*/power; echo %2 > /sys/class/backlight/*/power").arg( on ? "0" : "4" ).arg( on ? "0" : "4" );
+ cmdline = QString::fromLatin1( "echo %1 > /sys/class/lcd/sa1100fb/power; echo %2 > /sys/class/backlight/sa1100fb/power").arg( on ? "0" : "4" ).arg( on ? "0" : "4" );
} else if ( d->m_model == Model_Jornada_720 ) {
- QString cmdline = QString::fromLatin1( "echo %1 > /sys/class/lcd/e1356fb/power").arg( on ? "0" : "4" );
+ cmdline = QString::fromLatin1( "echo %1 > /sys/class/lcd/e1356fb/power").arg( on ? "0" : "4" );
}