BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 10-26-2007, 03:11 PM   #1
bdowling
Thumbs Must Hurt
 
Join Date: Jan 2007
Model: 8800
Carrier: Orange
Posts: 181
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
penguin3107
BlackBerry God
 
penguin3107's Avatar
 
Join Date: Jan 2005
Model: iOS 5
Carrier: VZW
Posts: 11,701
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
rivviepop
BlackBerry Extraordinaire
 
rivviepop's Avatar
 
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
Posts: 2,166
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
bdowling
Thumbs Must Hurt
 
Join Date: Jan 2007
Model: 8800
Carrier: Orange
Posts: 181
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
roofus
BlackBerry Extraordinaire
 
Join Date: Aug 2004
Location: West of Ottawa, Canada
Model: PassP
OS: 10
Carrier: Bell
Posts: 1,069
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
bdowling
Thumbs Must Hurt
 
Join Date: Jan 2007
Model: 8800
Carrier: Orange
Posts: 181
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
bdowling
Thumbs Must Hurt
 
Join Date: Jan 2007
Model: 8800
Carrier: Orange
Posts: 181
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
bdowling
Thumbs Must Hurt
 
Join Date: Jan 2007
Model: 8800
Carrier: Orange
Posts: 181
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
bdowling
Thumbs Must Hurt
 
Join Date: Jan 2007
Model: 8800
Carrier: Orange
Posts: 181
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
bdowling
Thumbs Must Hurt
 
Join Date: Jan 2007
Model: 8800
Carrier: Orange
Posts: 181
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
bdowling
Thumbs Must Hurt
 
Join Date: Jan 2007
Model: 8800
Carrier: Orange
Posts: 181
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
blakeatl
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
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
rivviepop
BlackBerry Extraordinaire
 
rivviepop's Avatar
 
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
Posts: 2,166
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



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


OEM Dell XPS 8910 8920 8930 Alienware Aurora R5 R6 R7 Front Cooling Fan 7M0F5 picture

OEM Dell XPS 8910 8920 8930 Alienware Aurora R5 R6 R7 Front Cooling Fan 7M0F5

$12.11



Dell OEM Latitude Rugged Extreme 5414 Driving Board Cable for Cable 5414VERTCBL picture

Dell OEM Latitude Rugged Extreme 5414 Driving Board Cable for Cable 5414VERTCBL

$8.95



Dell OEM Latitude Rugged Extreme 7404 GPS Antenna Junction Cable Cable KMX0M picture

Dell OEM Latitude Rugged Extreme 7404 GPS Antenna Junction Cable Cable KMX0M

$2.95



Dell OEM Latitude Rugged Extreme 7404 Left and Right Mouse Buttons 00008 picture

Dell OEM Latitude Rugged Extreme 7404 Left and Right Mouse Buttons 00008

$5.95



NEW DELL OEM REPLACEMENT PROJECTOR LAMP FOR 4220 4320 GENUINE ORIGINAL  picture

NEW DELL OEM REPLACEMENT PROJECTOR LAMP FOR 4220 4320 GENUINE ORIGINAL

$198.22



DELL 330-6581 3306581 725-10229 OEM LAMP FOR 1510X 1610HD 1610X  - Made By DELL picture

DELL 330-6581 3306581 725-10229 OEM LAMP FOR 1510X 1610HD 1610X - Made By DELL

$39.98







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