BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 09-18-2007, 01:28 PM   #1
erroneus
Knows Where the Search Button Is
 
erroneus's Avatar
 
Join Date: Feb 2007
Location: Texas
Model: 8100
Carrier: T-Mobile
Posts: 42
Default Problem with USB storage

Please Login to Remove!

For the longest time, I have been using an older version of bcharge and everything I cared about was working. (What I cared about was USB charging and access to USB storage.) Then today, I noticed that my 8100 wasn't charging.

I changed bcharge packages and ultimately installed barry 0.8 from RPMs on sourceforge. Still not working. "lsusb" wasn't even showing the device I soon noticed, then I changed the USB cable I was using and it's working... however!

USB storage no longer works. I get this in dmesg:

Quote:
usb-storage: device found at 87
usb-storage: waiting for device to settle before scanning
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usb 4-6.4: usbfs: interface 0 claimed by usb-storage while 'bcharge' sets config #1
usb 4-6.4: reset full speed USB device using ehci_hcd and address 87
I'm sure this is something easy to fix or something but the brain isn't working today so I'm hoping someone will just point the way to it for me?
__________________
Device: Blackberry 8100 v4.2.0.64
Carrier: T-Mobile USA
BES: 4.1.0.38
Desktop OS: Fedora 7 Linux, Windows XP (vmware)
Offline  
Old 09-19-2007, 01:16 PM   #2
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

Grab a flashlight and look at the miniUSB cable -- does it have 4 or 5 pinout connectors on both ends? Some cables have 4 and will not work with phones (Moto, BB) so I'd check that first and foremost.

If you have 5 pins -- did you try unplugging the cable and plugging it back in? After a phone reboot my first plug of the BB *never* works right with mass storage, I always have to unplug/plugin it again in order for mass storage to start working. This is without bcharge at all, just a raw BB device - the OS is buggy.
__________________
[ Linux & BlackBerry ] http://www.blackberryforums.com/linux-users-corner/
Offline  
Old 09-19-2007, 01:44 PM   #3
erroneus
Knows Where the Search Button Is
 
erroneus's Avatar
 
Join Date: Feb 2007
Location: Texas
Model: 8100
Carrier: T-Mobile
Posts: 42
Default

Quote:
Originally Posted by rivviepop View Post
Grab a flashlight and look at the miniUSB cable -- does it have 4 or 5 pinout connectors on both ends? Some cables have 4 and will not work with phones (Moto, BB) so I'd check that first and foremost.

If you have 5 pins -- did you try unplugging the cable and plugging it back in? After a phone reboot my first plug of the BB *never* works right with mass storage, I always have to unplug/plugin it again in order for mass storage to start working. This is without bcharge at all, just a raw BB device - the OS is buggy.
Yeah, I had determined the "original" problem was the cable acting up. I used a different cable after I had messed up my software configuration... bcharge works when using the other cable. Now my problem is as stated in the first post... somehow this new version of bcharge is preventing the usb-storage thing from doing what it did before.... before I messed things up.
__________________
Device: Blackberry 8100 v4.2.0.64
Carrier: T-Mobile USA
BES: 4.1.0.38
Desktop OS: Fedora 7 Linux, Windows XP (vmware)
Offline  
Old 09-20-2007, 11:04 PM   #4
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

"is it plugged in" check: did you check the USB Mass Storage settings of the phone? perhaps you meant to temporarily turn it off while dealing with the bcharge upgrade...

Assuming that's not it, the previous output makes it feel like usb_storage is loading sooner than bcharge, bcharge then resets the port which screws up usb_storage. I haven't tried 0.8 yet to know what happens with that code, I honestly don't want bcharge resetting my ports. One of these days I'm going to dig up the old original version which did nothing more than adjust the current flow and exit.
__________________
[ Linux & BlackBerry ] http://www.blackberryforums.com/linux-users-corner/
Offline  
Old 09-21-2007, 02:39 AM   #5
erroneus
Knows Where the Search Button Is
 
erroneus's Avatar
 
Join Date: Feb 2007
Location: Texas
Model: 8100
Carrier: T-Mobile
Posts: 42
Default

That's probably what's happening in this case. I have the USB storage setting on my phone set to "prompt" so each time I answer the question yes or no, so it leaves little doubt.

That makes me wonder though...
__________________
Device: Blackberry 8100 v4.2.0.64
Carrier: T-Mobile USA
BES: 4.1.0.38
Desktop OS: Fedora 7 Linux, Windows XP (vmware)
Offline  
Old 09-21-2007, 12:13 PM   #6
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 erroneus View Post
That's probably what's happening in this case. I have the USB storage setting on my phone set to "prompt" so each time I answer the question yes or no, so it leaves little doubt.

That makes me wonder though...
Yeah I have mine set the same way, if left to auto-mount (in the phone, i.e. Yes) I sometimes don't get it working correctly. I suspect some sort of timing issue, by having it on Prompt *something* (hotplug? insmod? the phone?) is given more time to do what it needs and allows a successful mount always, except for the "first time since phone reboot" issue I mentioned.

If you sneak over as root and rename bcharge to bcharge.old, then plug in the phone, do you get a normal correct USB mount consistently? (for debugging rmmod usb_storage first as well just to be clean)
__________________
[ Linux & BlackBerry ] http://www.blackberryforums.com/linux-users-corner/
Offline  
Old 09-21-2007, 05:56 PM   #7
erroneus
Knows Where the Search Button Is
 
erroneus's Avatar
 
Join Date: Feb 2007
Location: Texas
Model: 8100
Carrier: T-Mobile
Posts: 42
Default

Quote:
Originally Posted by rivviepop View Post
Yeah I have mine set the same way, if left to auto-mount (in the phone, i.e. Yes) I sometimes don't get it working correctly. I suspect some sort of timing issue, by having it on Prompt *something* (hotplug? insmod? the phone?) is given more time to do what it needs and allows a successful mount always, except for the "first time since phone reboot" issue I mentioned.

If you sneak over as root and rename bcharge to bcharge.old, then plug in the phone, do you get a normal correct USB mount consistently? (for debugging rmmod usb_storage first as well just to be clean)
Okay, that was interesting. rmmod'ing usb_storage didn't seem to help (especially not a good idea if I have other USB storage devices in use) However, I did prevent bcharge from running automatically. The notice on the BB screen informing me of insufficient power for charging though... then I manually ran bcharge, and it did its thing... now every 2nd or third time I plug in the USB cable, the blackberry mounts... still not as reliable as it once was but at least it's accessible. I wonder what would be the best fix for this?
__________________
Device: Blackberry 8100 v4.2.0.64
Carrier: T-Mobile USA
BES: 4.1.0.38
Desktop OS: Fedora 7 Linux, Windows XP (vmware)
Offline  
Old 09-21-2007, 09:09 PM   #8
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 erroneus View Post
The notice on the BB screen informing me of insufficient power for charging though... then I manually ran bcharge, and it did its thing... now every 2nd or third time I plug in the USB cable, the blackberry mounts... still not as reliable as it once was but at least it's accessible. I wonder what would be the best fix for this?
I didn't mean to run bcharge at all -- what happens when you just plug it in, get the 'insufficient charge' screen and hit ESC, then Yes to mount the card? Does it mount reliably (repeatedly) without any bcharge usage whatsoever?
__________________
[ Linux & BlackBerry ] http://www.blackberryforums.com/linux-users-corner/
Offline  
Old 09-22-2007, 06:58 PM   #9
erroneus
Knows Where the Search Button Is
 
erroneus's Avatar
 
Join Date: Feb 2007
Location: Texas
Model: 8100
Carrier: T-Mobile
Posts: 42
Default

Ah yes... in that it's rather reliable. I had never tried escaping past the low-power dialog before! I didn't know you could access the usb-storage device without an adequate power supply.
__________________
Device: Blackberry 8100 v4.2.0.64
Carrier: T-Mobile USA
BES: 4.1.0.38
Desktop OS: Fedora 7 Linux, Windows XP (vmware)
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


1PC 72*72mm directly Connect AC 0-20A Analog Ammeter Panel AMP Current Meter picture

1PC 72*72mm directly Connect AC 0-20A Analog Ammeter Panel AMP Current Meter

$9.39



Analog Panel AMP VOLT Current Ammeter Voltmeter Voltage Gauge 10A 50V DH-670 DC  picture

Analog Panel AMP VOLT Current Ammeter Voltmeter Voltage Gauge 10A 50V DH-670 DC

$12.99



1PC Analog Ammeter Panel AMP Current Meter 100x120mm 59C2 DC 0-1500mA picture

1PC Analog Ammeter Panel AMP Current Meter 100x120mm 59C2 DC 0-1500mA

$9.29



Mini Digital Voltmeter Ammeter DC 100V 10A Car LED Display Panel Amp Volt Tester picture

Mini Digital Voltmeter Ammeter DC 100V 10A Car LED Display Panel Amp Volt Tester

$10.49



LCD Digital Multimeter Voltmeter Ammeter Ohmmeter Volt AC DC Tester Leads Meter picture

LCD Digital Multimeter Voltmeter Ammeter Ohmmeter Volt AC DC Tester Leads Meter

$10.95



US Stock DC 0 ~ 10A Round Analog AMP Current Pointer Needle Panel Meter Ammeter picture

US Stock DC 0 ~ 10A Round Analog AMP Current Pointer Needle Panel Meter Ammeter

$15.55







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