#33 media card doesn't mount when connected to computer via usb

open-postponed
nobody
None
5
2009-09-03
2009-04-12
Jiang Yuan
No

I am use the cvs version of barry from http://download.opensuse.org/repositories/home:/ndprojects/openSUSE_11.0/i586/
My linux distro is Opensuse 11.0
My handset is BlackBerry 8120 with OS 4.5

If I uninstall barry, when I connect the phone to computer, a disk will display on Desktop.
If I install barry, when I connect the phone to computer, the disk icon doesn't display on Desktop.
But I can use bjavaloader to install and manage the software of my phone.

I find there is a utility called hal-blackberry in the rpm package.
When issue this command utility.

It shows the following python error:

sleetdrop@suse:~> sudo hal-blackberry
Traceback (most recent call last):
File "/usr/bin/hal-blackberry", line 42, in <module>
h = HalBlackberry()
File "/usr/bin/hal-blackberry", line 13, in __init__
self.get_properties()
File "/usr/bin/hal-blackberry", line 18, in get_properties
self.busnum = self.get_property( 'usb.bus_number' )
File "/usr/bin/hal-blackberry", line 22, in get_property
return self.device().GetProperty(name, dbus_interface="org.freedesktop.Hal.Device")
File "/usr/bin/hal-blackberry", line 39, in device
self._device = self._dbus.get_object("org.freedesktop.Hal", self.udi)
File "/usr/lib/python2.5/site-packages/dbus/bus.py", line 244, in get_object
follow_name_owner_changes=follow_name_owner_changes)
File "/usr/lib/python2.5/site-packages/dbus/proxies.py", line 237, in __init__
_dbus_bindings.validate_object_path(object_path)
ValueError: Invalid object path '': does not start with '/'

Discussion

  • Net Direct Inc.

    Net Direct Inc. - 2009-07-01

    Hi sleetdrop,

    Sorry for the delay in responding.

    The hal-blackberry script is installed for HAL support, and is meant to be run from HAL... see the FDI file that is also installed along with the python script. That FDI file calls the script, and I believe it sets up environment variable which are needed for proper operation.

    As for the disk, try running the following command, both with Barry and without Barry:

    lsusb -v

    You should see the Research In Motion device along with other USB devices on your system. What is interesting here is the Product ID number (usually 0006 or 0004) and the endpoints that are available. Without Barry, you should see a Mass Storage endpoint / interface available. You'll want to make sure this exists with Barry as well.

    If it does exist, then check your modules. Is 'usb_storage' loaded?

    - Chris

     
  • Nobody/Anonymous

    Thanks for you response, I finally found that if I quit any apps using media card, and replug the cable, then the disk icon appear on the desktop.

     
  • Net Direct Inc.

    Net Direct Inc. - 2009-07-01

    Excellent. I'll assume that means I can close this bug? :-)

    Distro integration is sometimes a big task and takes a lot of time... things as simple as a disk icon can be pretty complicated under the surface, unfortunately.

    By the way, were you using KDE, Gnome, or something else?

    - Chris

     
  • Jiang Yuan

    Jiang Yuan - 2009-07-01

    Maybe, But windows don't have this kind of problem.

     
  • Jiang Yuan

    Jiang Yuan - 2009-07-01

    BTW, I use the gnome desktop.

    It is not just about a disk icon, the media card itself can't be mounted!

     
  • Net Direct Inc.

    Net Direct Inc. - 2009-07-02

    I've added this to my todo list, when I test binary packages on OpenSUSE 11.1. Hopefully I can reproduce the problem there.

    - Chris

     
  • Jiang Yuan

    Jiang Yuan - 2009-07-03

    Thanks a lot!

     
  • Net Direct Inc.

    Net Direct Inc. - 2009-09-03

    This bug is left open since it is pending binary testing for OpenSUSE 11.1. Currently only Fedora and Ubuntu binary packages are directly supported in Barry Sourceforge releases due time constraints.

    - Chris

     
  • Net Direct Inc.

    Net Direct Inc. - 2009-09-03
    • status: open --> open-postponed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks