11-23-2009 08:40 PM
Our program requires access to the BlackBerry via USB. We're working on a Mac version and are currently having problems unloading the Mac Blackberry Desktop Manager on Snow Leopard. Specifically when we unload RIMBBUSB.kext, it seems to start right back up.
If anyone else has experienced this problem and knows a solution, any help would be appreciated.
12-04-2009 01:47 PM
Here's some more information, if anyone else can share any information. We've just filed an issue in the Issue Tracker, as well.
Our program requires access to the BlackBerry via USB. Since there is no USB API like on the Windows BlackBerry Desktop Manager we have attempted to unload the BDM for MAC drivers by using the following commands when we need access to the USB connection on the BlackBerry.
Unload BBDaemon and BBLaunchAgent
sudo launchctl unload /Library/LaunchDaemons/com.rim.BBDaemon.plist
sudo launchctl unload /Library/LaunchAgents/com.rim.BBLaunchAgent.plist
sudo kextunload /System/Library/Extensions/RIMBBUSB.kext
sudo kextunload /System/Library/Extensions/RIMBBVSP.kext
The drivers fail to unload because they say something still had a handle on them, however there doesn't appear to be any other BDM apps running on the system.
Since we are unable to unload the drivers, we are currently requiring our customers to uninstall the BDM for Mac, which is a less than ideal situation.
Even with the uninstall, the task must be done manually since the uninstaller that comes with the BDM for Mac does not appear to properly remove all of files.
Our instructions to our customers to remove the BDM for mac are the following
Drag the following folder (if it exists) to the trash
Drag the following files (if they exist) to the trash.
/Application/BlackBerry Desktop Manager
Finally Reboot your system.
Once the user does this, we are then able to communicate with the BlackBerry over USB.