-rw-r--r-- | libopie/odevice.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libopie/odevice.cpp b/libopie/odevice.cpp index a33d4ad..9fd3ae2 100644 --- a/libopie/odevice.cpp +++ b/libopie/odevice.cpp @@ -699,48 +699,49 @@ int iPAQ::readLightSensor ( ) return val; } int iPAQ::lightSensorResolution ( ) const { return 256; } /************************************************** * * Zaurus * **************************************************/ void Zaurus::init ( ) { d-> m_vendorstr = "Sharp"; d-> m_vendor = Vendor_Sharp; QFile f ( "/proc/filesystems" ); if ( f. open ( IO_ReadOnly ) && ( QTextStream ( &f ). read ( ). find ( "\tjffs2\n" ) >= 0 )) { + d-> m_vendorstr = "OpenZaurus Team"; d-> m_systemstr = "OpenZaurus"; d-> m_system = System_OpenZaurus; f. close ( ); f. setName ( "/etc/oz_version" ); if ( f. open ( IO_ReadOnly )) { QTextStream ts ( &f ); d-> m_sysverstr = ts. readLine ( );//. mid ( 10 ); f. close ( ); } } else { d-> m_systemstr = "Zaurus"; d-> m_system = System_Zaurus; } f. setName ( "/proc/deviceinfo/product" ); if ( f. open ( IO_ReadOnly ) ) { QTextStream ts ( &f ); QString model = ts. readLine ( ); f. close ( ); if ( model == "SL-5000D" ) { d-> m_model = Model_Zaurus_SL5000; |