Results 1 to 9 of 9

Thread: Mount Blackberry Tour

Hybrid View

  1. #1
    Join Date
    Mar 2007
    Beans
    4

    Re: Mount Blackberry Tour

    Try this...

    http://www.thinktek.ca/articles/article3.php

    ...
    In the syslog file I would see repeated "reset high speed USB device using ehci_hcd and address #" messages. Upon further investigation I learnt that this may be due to the setting for the maximum amount of data that will be transferred to or from the device in a single command, as set in /sys/block/sdb/device/max_sectors once the device is connected. The default setting is 240, which equates to 120KB. This value works for most devices, but the Bold doesn't like it. I changed it to 128 (aka 64KB) using "echo 128 > /sys/block/sdb/device/max_sectors", which is the default for Windows, and hey presto! It worked!

    The next question was how to make this the default. Digging deeper into it I learnt that the udev system is responsible for detecting hot plugged devices now and it is controlled by scripts in /etc/udev/rules.d. I added the following line to /etc/udev/rules.d/80-programs.rules to set the default max_sectors value to 128 for all devices. It may result in a slight performance hit, but functionality is more important to me at this point. I may try playing with some benchmarks some day...

    # Blackberry Bold is not happy with max_sectors=240 - JayM 20090317
    SUBSYSTEM=="block", BUS=="usb", KERNEL=="sd*", ATTRS{idVendor}=="0fca", RUN+="/bin/sh -c 'echo 128 >
    /sys/block/%k/device/max_sectors'"
    Note: that's only two lines... the SUBSYSTEM command should be one line. It's split for formatting...

    Next time I plugged in the Bold and checked max_sectors it was set to 128 and everything worked as expected. Now I can copy files back and forth without any issues.
    ...

  2. #2
    Join Date
    Jan 2010
    Location
    No longer SoFl
    Beans
    Hidden!
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: Mount Blackberry Tour

    I was trying a few things that I found in the forums. Seems I can either have barrybackup working or mass storage device working but not both. Changing the configuration files around allows one but not the other.

    I have a Blackberry Bold, but this was the last forum that I used to get the device working in mass storage mode.

    EDIT:
    I had password protected my Blackberry and while working on it the device would time out and it would not allow mass storage mode until I entered the device password, and then again for allowing mass storage mode. My Blackberry Bold works with both Berrybackup and in mass storage mode provided it doesn't time out and need the password.
    Last edited by SoFl W; September 28th, 2010 at 12:20 AM. Reason: Figured out my mistake, added the solution.



  3. #3
    Join Date
    Jan 2010
    Location
    No longer SoFl
    Beans
    Hidden!
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: Mount Blackberry Tour

    Tried it again today and couldn't enter mass storage mode, but barrybackup works.
    UGH!
    Anybody have the BB Bold working with Lucid 10.4?

    EDIT:
    Seems that after I safely remove the device, unplug it, plug it back it it wont recognize the Blackberry. Works again after a reboot of the PC. As far as I have it now I need to reboot my PC each time to have it recognize the Blackberry in Mass Media mode. Not sure which is easier, taking the microSD card out or rebooting the PC.
    I wonder if there is some stored in memory setting that doesn't get reset after unplugging the device, but does when rebooting.
    Last edited by SoFl W; October 2nd, 2010 at 05:23 PM. Reason: see edit



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •