author | hrw <hrw> | 2006-05-16 09:49:39 (UTC) |
---|---|---|
committer | hrw <hrw> | 2006-05-16 09:49:39 (UTC) |
commit | 46eab1f4cc65e464eba94d6e9965601f304cc1cf (patch) (unidiff) | |
tree | 01459182b6f7aed9868f58a52392c98b206c05e6 /libopie2/opiecore/device | |
parent | 782a34192c2c879a80fd319153a2b2f48ded1c99 (diff) | |
download | opie-46eab1f4cc65e464eba94d6e9965601f304cc1cf.zip opie-46eab1f4cc65e464eba94d6e9965601f304cc1cf.tar.gz opie-46eab1f4cc65e464eba94d6e9965601f304cc1cf.tar.bz2 |
Zaurus ODevice: fix brightness control for Collie/Poodle
-rw-r--r-- | libopie2/opiecore/device/odevice_zaurus.cpp | 2 |
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 | |||
@@ -231,25 +231,25 @@ void Zaurus::init(const QString& cpu_info) | |||
231 | d->m_model = Model_Zaurus_SLC3100; | 231 | d->m_model = Model_Zaurus_SLC3100; |
232 | d->m_modelstr = "Zaurus SL-C3100"; | 232 | d->m_modelstr = "Zaurus SL-C3100"; |
233 | } else { | 233 | } else { |
234 | d->m_model = Model_Zaurus_SL5500; | 234 | d->m_model = Model_Zaurus_SL5500; |
235 | d->m_modelstr = "Unknown Zaurus"; | 235 | d->m_modelstr = "Unknown Zaurus"; |
236 | } | 236 | } |
237 | 237 | ||
238 | // set path to backlight device in kernel 2.6 | 238 | // set path to backlight device in kernel 2.6 |
239 | switch ( d->m_model ) | 239 | switch ( d->m_model ) |
240 | { | 240 | { |
241 | case Model_Zaurus_SLB600: // fallthrough | 241 | case Model_Zaurus_SLB600: // fallthrough |
242 | case Model_Zaurus_SL5500: | 242 | case Model_Zaurus_SL5500: |
243 | m_backlightdev = "/sys/class/backlight/locomo-backlight/"; | 243 | m_backlightdev = "/sys/class/backlight/locomo-bl/"; |
244 | break; | 244 | break; |
245 | default: | 245 | default: |
246 | m_backlightdev = "/sys/class/backlight/corgi-bl/"; | 246 | m_backlightdev = "/sys/class/backlight/corgi-bl/"; |
247 | } | 247 | } |
248 | 248 | ||
249 | // set initial rotation | 249 | // set initial rotation |
250 | switch( d->m_model ) | 250 | switch( d->m_model ) |
251 | { | 251 | { |
252 | case Model_Zaurus_SL6000: // fallthrough | 252 | case Model_Zaurus_SL6000: // fallthrough |
253 | case Model_Zaurus_SLA300: | 253 | case Model_Zaurus_SLA300: |
254 | d->m_rotation = Rot0; | 254 | d->m_rotation = Rot0; |
255 | break; | 255 | break; |