BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 10-26-2007, 03:11 PM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2007
Model: 8800
Carrier: Orange
Posts: 181
Post Thanks: 0
Thanked 0 Times in 0 Posts
Angry VMWare identifies BB as "RIM Mass Storage Device"

Please Login to Remove!

My main OS is Ubuntu 7.10. I'm doing my blackberry dev in a VMWare virtual machine running Windows XP.

Previously connecting my blackberry to the VM worked without any problems, and the blackberry was detected as "RIM Composite Device". Now, however, the VM detects the device as "RIM Mass Storage Device", and clicking to connect it doesn't do anything. I'm not sure why the behaviour has changed.

Does anyone know how I can get my blackberry connected again?

Many thanks in advance,

Ben
Offline  
Old 10-26-2007, 03:13 PM   #2 (permalink)
BlackBerry God
 
penguin3107's Avatar
 
Join Date: Jan 2005
Model: iOS 5
Carrier: VZW
Posts: 11,701
Post Thanks: 1
Thanked 237 Times in 219 Posts
Default

Do you have BlackBerry Desktop Manager installed in the Windows session?
__________________
BCSA
BES 5.0.3 MR4 :-: Exchange 2007 SP3 RU3
http://port3101.org
Offline  
Old 10-26-2007, 06:02 PM   #3 (permalink)
BlackBerry Extraordinaire
 
rivviepop's Avatar
 
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
Posts: 2,166
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Devices with SD card capability initially present themselves to linux as USB Mass Storage Devices on channel 6 and typically the usb_storage kernel module captures the device and takes control. Programs such as barry's bcharge can be used to reset the USB port to make the BB expose channel 4 which is the 'RIM Composite Device' (mass storage + device control).

If it worked before but doesn't now, something has changed in your process (or in the machine setup) - what that was, though, you'll have to dig around and think about. Somehow you had the VM instance able to talk to the channel 4 composite device at one point... does that tickle/jog any memories?
__________________
[ Linux & BlackBerry ] http://www.blackberryforums.com/linux-users-corner/
Offline  
Old 10-27-2007, 05:49 AM   #4 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2007
Model: 8800
Carrier: Orange
Posts: 181
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes Desktop Manager is installed in the Windows virtual machine.

I haven't changed anything in either the Linux or Windows OSs from when it worked to when it didn't work. Linux doesn't ever automount the blackberry.

I'll try installing barry and see if that helps.

Thanks, Ben
Offline  
Old 10-27-2007, 07:30 AM   #5 (permalink)
BlackBerry Extraordinaire
 
Join Date: Aug 2004
Location: West of Ottawa, Canada
Model: 9900
OS: 7
Carrier: Telus
Posts: 1,068
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I had the same problem running Vista as a virtual machine on an intel mac. I reinstalled the Desktop Manager and it corrected the problem.
Offline  
Old 10-28-2007, 06:00 AM   #6 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2007
Model: 8800
Carrier: Orange
Posts: 181
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I still have the same problem after installing and running bcharge. I've also uninstalled the desktop manager and installed the latest version from the blackberry website, without any luck.

Is there anything I can add to the vmx file to force it to detect the blackberry as a composite device?

Thanks, Ben
Offline  
Old 10-28-2007, 07:07 AM   #7 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2007
Model: 8800
Carrier: Orange
Posts: 181
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I've now tried connecting the blackberry using VMWare workstation instead of VMPlayer, and now I get the error message:

The specified device appears to be claimed by another driver (usb-storage) on the host operating system which means that the device may be in use. To continue, the device will first be disconnected from its current driver.

This was obviously the problem in VMPlayer, it just didn't report it. The blackberry isn't mounted in Linux. Any advice on how I can disconnect the driver?

Thanks, Ben
Offline  
Old 10-28-2007, 07:32 AM   #8 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2007
Model: 8800
Carrier: Orange
Posts: 181
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Adding usb.generic.skipsetconfig = "true" to my vmx file, and doing an rmmod usb_storage allows me to connect the blackberry to the VM, but only as a mass storage device. The desktop manager still cannot connect to the device.

Any ideas?

Thanks again, Ben
Offline  
Old 10-28-2007, 09:13 AM   #9 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2007
Model: 8800
Carrier: Orange
Posts: 181
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default More progress

OK I've got a little bit further. By following the "Cause 2" instructions at:

BlackBerry Search Results

and removing the usb.generic.skipsetconfig = "true" line from the vmx file I can now connect to the blackberry, and it's detected as a composite device. However, the Desktop Manager software can't detect the blackberry! :(

Anyone know where I can go from here?

Thanks yet again, Ben
Offline  
Old 10-28-2007, 09:32 AM   #10 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2007
Model: 8800
Carrier: Orange
Posts: 181
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I've got it working! The "Safely remove hardware" icon was showing in the taskbar. It listed the blackberry. I removed it and then it was detected by the desktop software!
Offline  
Old 10-28-2007, 09:41 AM   #11 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2007
Model: 8800
Carrier: Orange
Posts: 181
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Oh no - the same problem has happened again. It was all working OK. I did a couple of builds of my blackberry software, loading it onto the device using JavaLoader.exe. After the blackberry rebooted I can't connect again.

If I then close VMWare, edit the vmx to remove the usb autoload line, start vmware, unload usb_storage - then I can connect again.

Is there any way around this?

Last edited by bdowling : 10-28-2007 at 09:55 AM.
Offline  
Old 10-28-2007, 10:42 AM   #12 (permalink)
BlackBerry Extraordinaire
 
blakeatl's Avatar
 
Join Date: Oct 2006
Location: Atlanta area
Model: 8100
OS: 4.5.0.102
Carrier: T-mobile
Posts: 1,686
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Wow! I was never able to get my desktop manager to work, but I use Innotek Virtualbox though. Feisty only recognizes the mass storage device, but I just drag and drop for most of my stuff anyways.
__________________
Build Your Business Even If You Are On A Budget.
Magnetic Sponsoring
Offline  
Old 10-28-2007, 12:22 PM   #13 (permalink)
BlackBerry Extraordinaire
 
rivviepop's Avatar
 
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
Posts: 2,166
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by bdowling View Post
If I then close VMWare, edit the vmx to remove the usb autoload line, start vmware, unload usb_storage - then I can connect again.
OK I got a little lost (it's early, drinking coffee still ) - can you outline the steps in a 1-2-3 fashion for us on how, from scratch, you can get it to work? Once I have a good picture in the brain then we can start to look for holes in the logic and make it work easier...

(if we can)

PS: did you disable that USB_SUSPEND stuff via one of the methods in that post from the Barry guys? (you can pass it on the cmdline or use a /proc call I believe)
__________________
[ Linux & BlackBerry ] http://www.blackberryforums.com/linux-users-corner/
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.