-rw-r--r-- | noncore/securityplugins/blueping/bluepingplugin.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/noncore/securityplugins/blueping/bluepingplugin.cpp b/noncore/securityplugins/blueping/bluepingplugin.cpp index 1c514e5..05c26ba 100644 --- a/noncore/securityplugins/blueping/bluepingplugin.cpp +++ b/noncore/securityplugins/blueping/bluepingplugin.cpp | |||
@@ -170,24 +170,28 @@ int BluepingPlugin::authenticate() { | |||
170 | odebug << "Bluetooth is not running, we must start it now" << oendl; | 170 | odebug << "Bluetooth is not running, we must start it now" << oendl; |
171 | 171 | ||
172 | OProcess startB; | 172 | OProcess startB; |
173 | switch ( ODevice::inst()->model() ) { | 173 | switch ( ODevice::inst()->model() ) { |
174 | case Model_iPAQ_H39xx: | 174 | case Model_iPAQ_H39xx: |
175 | startB << "/sbin/hciattach" << "/dev/tts/1" << "bcsp" << "921600"; | 175 | startB << "/sbin/hciattach" << "/dev/tts/1" << "bcsp" << "921600"; |
176 | break; | 176 | break; |
177 | 177 | ||
178 | case Model_iPAQ_H5xxx: | 178 | case Model_iPAQ_H5xxx: |
179 | startB << "/sbin/hciattach" << "/dev/tts/1" << "any" << "921600"; | 179 | startB << "/sbin/hciattach" << "/dev/tts/1" << "any" << "921600"; |
180 | break; | 180 | break; |
181 | 181 | ||
182 | case Model_MyPal_716: | ||
183 | startB << "/sbin/hciattach" << "/dev/ttyS1" << "bcsp" << "921600"; | ||
184 | break; | ||
185 | |||
182 | default: | 186 | default: |
183 | startB << "/sbin/hciattach" << "/dev/ttySB0" << "bcsp" << "230400"; | 187 | startB << "/sbin/hciattach" << "/dev/ttySB0" << "bcsp" << "230400"; |
184 | break; | 188 | break; |
185 | } // end switch on device models | 189 | } // end switch on device models |
186 | 190 | ||
187 | if ( !startB.start(OProcess::Block) ) { | 191 | if ( !startB.start(OProcess::Block) ) { |
188 | oerr << "could not start Bluetooth" << oendl; | 192 | oerr << "could not start Bluetooth" << oendl; |
189 | return MultiauthPluginObject::Skip; | 193 | return MultiauthPluginObject::Skip; |
190 | } | 194 | } |
191 | else | 195 | else |
192 | { | 196 | { |
193 | if ( (startB.normalExit()) && (startB.exitStatus() == 0) ) | 197 | if ( (startB.normalExit()) && (startB.exitStatus() == 0) ) |