summaryrefslogtreecommitdiff
Unidiff
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
@@ -196,9 +196,9 @@ bool Jornada::setDisplayStatus ( bool on )
196 QString cmdline; 196 QString cmdline;
197 197
198 if ( d->m_model == Model_Jornada_56x ) { 198 if ( d->m_model == Model_Jornada_56x ) {
199 QString cmdline = QString::fromLatin1( "echo %1 > /sys/class/lcd/*/power; echo %2 > /sys/class/backlight/*/power").arg( on ? "0" : "4" ).arg( on ? "0" : "4" ); 199 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" );
200 } else if ( d->m_model == Model_Jornada_720 ) { 200 } else if ( d->m_model == Model_Jornada_720 ) {
201 QString cmdline = QString::fromLatin1( "echo %1 > /sys/class/lcd/e1356fb/power").arg( on ? "0" : "4" ); 201 cmdline = QString::fromLatin1( "echo %1 > /sys/class/lcd/e1356fb/power").arg( on ? "0" : "4" );
202 } 202 }
203 203
204 res = ( ::system( QFile::encodeName(cmdline) ) == 0 ); 204 res = ( ::system( QFile::encodeName(cmdline) ) == 0 );