author | llornkcor <llornkcor> | 2004-08-17 22:43:56 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2004-08-17 22:43:56 (UTC) |
commit | 5e11a688c1b9f1d411322df6fb3d4d96613fd44d (patch) (unidiff) | |
tree | 123fea1b43e59c06835cd26d6fb3203a84d72357 /libopie2 | |
parent | 502c9b68e4739b6d487bb2ccd98e34535b7d4f77 (diff) | |
download | opie-5e11a688c1b9f1d411322df6fb3d4d96613fd44d.zip opie-5e11a688c1b9f1d411322df6fb3d4d96613fd44d.tar.gz opie-5e11a688c1b9f1d411322df6fb3d4d96613fd44d.tar.bz2 |
add sl-6000
-rw-r--r-- | libopie2/opiecore/device/odevice.h | 1 | ||||
-rw-r--r-- | libopie2/opiecore/device/odevice_zaurus.cpp | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/libopie2/opiecore/device/odevice.h b/libopie2/opiecore/device/odevice.h index 762d3f1..cb7a83f 100644 --- a/libopie2/opiecore/device/odevice.h +++ b/libopie2/opiecore/device/odevice.h | |||
@@ -73,8 +73,9 @@ enum OModel { | |||
73 | Model_Zaurus_SL5500 = ( Model_Zaurus | 0x000002 ), | 73 | Model_Zaurus_SL5500 = ( Model_Zaurus | 0x000002 ), |
74 | Model_Zaurus_SLA300 = ( Model_Zaurus | 0x000003 ), | 74 | Model_Zaurus_SLA300 = ( Model_Zaurus | 0x000003 ), |
75 | Model_Zaurus_SLB600 = ( Model_Zaurus | 0x000004 ), | 75 | Model_Zaurus_SLB600 = ( Model_Zaurus | 0x000004 ), |
76 | Model_Zaurus_SLC7x0 = ( Model_Zaurus | 0x000005 ), | 76 | Model_Zaurus_SLC7x0 = ( Model_Zaurus | 0x000005 ), |
77 | Model_Zaurus_SL6000 = ( Model_Zaurus | 0x000006 ), | ||
77 | 78 | ||
78 | Model_SIMpad = ( 3 << 24 ), | 79 | Model_SIMpad = ( 3 << 24 ), |
79 | 80 | ||
80 | Model_SIMpad_All = ( Model_SIMpad | 0xffffff ), | 81 | Model_SIMpad_All = ( Model_SIMpad | 0xffffff ), |
diff --git a/libopie2/opiecore/device/odevice_zaurus.cpp b/libopie2/opiecore/device/odevice_zaurus.cpp index 6ac3157..47682bb 100644 --- a/libopie2/opiecore/device/odevice_zaurus.cpp +++ b/libopie2/opiecore/device/odevice_zaurus.cpp | |||
@@ -173,8 +173,11 @@ void Zaurus::init(const QString& cpu_info) | |||
173 | d->m_modelstr = "Zaurus SL-B500 or SL-5600"; | 173 | d->m_modelstr = "Zaurus SL-B500 or SL-5600"; |
174 | } else if ( model == "Sharp-Collie" || model == "Collie" ) { | 174 | } else if ( model == "Sharp-Collie" || model == "Collie" ) { |
175 | d->m_model = Model_Zaurus_SL5500; | 175 | d->m_model = Model_Zaurus_SL5500; |
176 | d->m_modelstr = "Zaurus SL-5500 or SL-5000d"; | 176 | d->m_modelstr = "Zaurus SL-5500 or SL-5000d"; |
177 | } else if ( model == "SHARP Tosa" ) { | ||
178 | d->m_model = Model_Zaurus_SL6000; | ||
179 | d->m_modelstr = "Zaurus SL-6000"; | ||
177 | } else { | 180 | } else { |
178 | d->m_model = Model_Zaurus_SL5500; | 181 | d->m_model = Model_Zaurus_SL5500; |
179 | d->m_modelstr = "Unkown Zaurus"; | 182 | d->m_modelstr = "Unkown Zaurus"; |
180 | } | 183 | } |
@@ -182,8 +185,9 @@ void Zaurus::init(const QString& cpu_info) | |||
182 | // set initial rotation | 185 | // set initial rotation |
183 | 186 | ||
184 | bool flipstate = false; | 187 | bool flipstate = false; |
185 | switch ( d->m_model ) { | 188 | switch ( d->m_model ) { |
189 | case Model_Zaurus_SL6000: | ||
186 | case Model_Zaurus_SLA300: | 190 | case Model_Zaurus_SLA300: |
187 | d->m_rotation = Rot0; | 191 | d->m_rotation = Rot0; |
188 | break; | 192 | break; |
189 | case Model_Zaurus_SLC7x0: | 193 | case Model_Zaurus_SLC7x0: |