summaryrefslogtreecommitdiff
path: root/libopie2
authorhrw <hrw>2006-05-16 09:49:39 (UTC)
committer hrw <hrw>2006-05-16 09:49:39 (UTC)
commit46eab1f4cc65e464eba94d6e9965601f304cc1cf (patch) (side-by-side diff)
tree01459182b6f7aed9868f58a52392c98b206c05e6 /libopie2
parent782a34192c2c879a80fd319153a2b2f48ded1c99 (diff)
downloadopie-46eab1f4cc65e464eba94d6e9965601f304cc1cf.zip
opie-46eab1f4cc65e464eba94d6e9965601f304cc1cf.tar.gz
opie-46eab1f4cc65e464eba94d6e9965601f304cc1cf.tar.bz2
Zaurus ODevice: fix brightness control for Collie/Poodle
Diffstat (limited to 'libopie2') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiecore/device/odevice_zaurus.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie2/opiecore/device/odevice_zaurus.cpp b/libopie2/opiecore/device/odevice_zaurus.cpp
index 28a1ccf..4963f54 100644
--- a/libopie2/opiecore/device/odevice_zaurus.cpp
+++ b/libopie2/opiecore/device/odevice_zaurus.cpp
@@ -219,49 +219,49 @@ void Zaurus::init(const QString& cpu_info)
d->m_model = Model_Zaurus_SL5500;
d->m_modelstr = "Zaurus SL-5500 or SL-5000d";
} else if ( model == "SHARP Tosa" ) {
d->m_model = Model_Zaurus_SL6000;
d->m_modelstr = "Zaurus SL-6000";
} else if ( model == "SHARP Spitz" ) {
d->m_model = Model_Zaurus_SLC3000;
d->m_modelstr = "Zaurus SL-C3000";
} else if ( model == "SHARP Akita" ) {
d->m_model = Model_Zaurus_SLC1000;
d->m_modelstr = "Zaurus SL-C1000";
} else if ( model == "SHARP Borzoi" ) {
d->m_model = Model_Zaurus_SLC3100;
d->m_modelstr = "Zaurus SL-C3100";
} else {
d->m_model = Model_Zaurus_SL5500;
d->m_modelstr = "Unknown Zaurus";
}
// set path to backlight device in kernel 2.6
switch ( d->m_model )
{
case Model_Zaurus_SLB600: // fallthrough
case Model_Zaurus_SL5500:
- m_backlightdev = "/sys/class/backlight/locomo-backlight/";
+ m_backlightdev = "/sys/class/backlight/locomo-bl/";
break;
default:
m_backlightdev = "/sys/class/backlight/corgi-bl/";
}
// set initial rotation
switch( d->m_model )
{
case Model_Zaurus_SL6000: // fallthrough
case Model_Zaurus_SLA300:
d->m_rotation = Rot0;
break;
case Model_Zaurus_SLC3100: // fallthrough
case Model_Zaurus_SLC3000: // fallthrough
case Model_Zaurus_SLC1000: // fallthrough
case Model_Zaurus_SLC7x0:
initHingeSensor();
d->m_rotation = rotation();
d->m_direction = direction();
break;
case Model_Zaurus_SLB600: // fallthrough
case Model_Zaurus_SL5000: // fallthrough
case Model_Zaurus_SL5500: // fallthrough
default: