How to access my BlackBerry
Rick Stevens
ricks at nerd.com
Wed Apr 13 17:40:33 UTC 2011
On 04/13/2011 10:07 AM, Mike Fleetwood wrote:
> Hi,
>
> I am trying to access my BlackBerry Bold 9780 from my Fedora 14
> default GNOME desktop so I can copy some music and ring tones to it.
> But when I plug it in nothing happens. However, my normal USB Key and
> external hard drive work perfectly; when connected they are mounted
> and Nautilus displays their contents.
>
> I can see my phone is attached.
> [mike at edge ~]$ lsusb
> Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 001 Device 004: ID 0fca:8004 Research In Motion, Ltd.
> Bus 001 Device 002: ID 13d3:507b IMC Networks
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>
> And that it has been seen as a storage device. Tail of /var/log/messages:
> Apr 13 17:43:20 edge kernel: [ 122.106221] usb 1-2: new high speed
> USB device using ehci_hcd and address 4
> Apr 13 17:43:20 edge kernel: [ 122.221386] usb 1-2: New USB device
> found, idVendor=0fca, idProduct=8004
> Apr 13 17:43:20 edge kernel: [ 122.221400] usb 1-2: New USB device
> strings: Mfr=1, Product=5, SerialNumber=3
> Apr 13 17:43:20 edge kernel: [ 122.221410] usb 1-2: Product: RIM
> Composite Device
> Apr 13 17:43:20 edge kernel: [ 122.221418] usb 1-2: Manufacturer:
> Research In Motion
> Apr 13 17:43:20 edge kernel: [ 122.221426] usb 1-2: SerialNumber:
> XXXXXXXXXXXXXXXXXXXXXxXXXXXXXXXXXXXXXXXX
> Apr 13 17:43:20 edge kernel: [ 122.234856] scsi3 : usb-storage 1-2:1.1
> Apr 13 17:43:21 edge kernel: [ 123.239031] scsi 3:0:0:0:
> Direct-Access RIM BlackBerry SD 0003 PQ: 0 ANSI: 4 CCS
> Apr 13 17:43:21 edge kernel: [ 123.242806] sd 3:0:0:0: Attached scsi
> generic sg1 type 0
> Apr 13 17:43:21 edge kernel: [ 123.255192] sd 3:0:0:0: [sdb] Attached
> SCSI removable disk
>
> Help appreciated.
Judging from that, it's /dev/sdb. Do an "fdisk -l /dev/sdb" and you
should find the partition (IIRC, it'll be /dev/sdb1). By default,
Fedora doesn't automount those devices unless you put in a udev rule
for it. So must "mount /dev/sdb1 /mnt" and access /mnt.
Here is my /etc/udev/rules.d/99-blackberry.rules:
--------------------------- CUT HERE --------------------------------
# This goes into /etc/udev/rules.d to set the permissions on the
# blackberry when it gets plugged in
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="0fca",
ATTR{idProduct}=="0001", ACTION=="add", RUN+="/usr/bin/logger New
BlackBerry $env{DEVNAME}"
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="0fca",
ATTR{idProduct}=="0004", ACTION=="add", RUN+="/usr/bin/logger New
BlackBerry $env{DEVNAME}"
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="0fca",
ATTR{idProduct}=="0006", ACTION=="add", RUN+="/usr/bin/logger New
BlackBerry $env{DEVNAME}"
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="0fca",
ATTR{idProduct}=="0004", ACTION=="add", RUN+="/bin/chown
--reference=/dev/console $env{DEVNAME}"
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="0fca",
ATTR{idProduct}=="0006", ATTR{bMaxPower}=="100mA", ACTION=="add",
RUN+="/usr/local/sbin/bcharge"
# BlackBerry Storm
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="0fca",
ATTR{idProduct}=="8004", ACTION=="add", RUN+="/usr/bin/logger New
BlackBerry $env{DEVNAME}"
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="0fca",
ATTR{idProduct}=="8004", ACTION=="add", RUN+="/bin/chown
--reference=/dev/console $env{DEVNAME}"
--------------------------- CUT HERE --------------------------------
Obviously, you need to add lines for your Bold similar to the two I
have above for my old Storm (now an Android2 user...and not thrilled
with it).
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, C2 Hosting ricks at nerd.com -
- AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 -
- -
- To err is human. To forgive, a large sum of money is needed. -
----------------------------------------------------------------------
More information about the users
mailing list