[Lucid] Bluetooth Send To hangs on connecting

Bug #478174 reported by KevinM
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OEM Priority Project
Invalid
Undecided
Unassigned
obexd (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: gnome-bluetooth

Reporting via gnome bluetooth manual (yelp selected as package by default but believe it's gnome-bluetooth. Software versions: gnome-bluetooth 2.28.1-0ubuntu2, bluez and bluetooth 4.51-0ubuntu2. I've paired my phone with the PC by clicking on the Bluetooth Applet and selecting 'Set up new device'. The phone and PC connect and I can browse the device. If I use 'Send To' from either Nautilus or by right-click the Bluetooth Applet, I get the messagebox that the PC is connecting and then the PC just sits there (see attached). I get no message on the phone (SE K800i).
If I browse the phone and my source PC folder, with Nautilus, I can copy and paste the file to my phone.

ProblemType: Bug
Architecture: amd64
CheckboxSubmission: 09c9034319185e9677e67e4c57fdb6e8
CheckboxSystem: daed2f3d6643b4a84b4520a2427f8c2b
Date: Sun Nov 8 08:47:24 2009
DistroRelease: Ubuntu 10.04
ExecutablePath: /usr/bin/yelp
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
NonfreeKernelModules: nvidia
Package: yelp 2.28.0-0ubuntu2
ProcEnviron:
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-2.2-generic
SourcePackage: yelp
Uname: Linux 2.6.32-2-generic x86_64

Revision history for this message
KevinM (kevbert1) wrote :
Revision history for this message
KevinM (kevbert1) wrote :

Only the default packages are installed (the ones that are supplied with the current kernel(s)).

Revision history for this message
KevinM (kevbert1) wrote :

Tried bluetooth today after a lucid upgrade of obex-data-server 0.4.4-2build1 to 0.4.5-1. 'Send To' works on the second attempt at sending a file to the phone (K800i). The first attempt fails and times out. Subsequent attempts work fine for both Nautilus and the Bluetooth Applet.

Revision history for this message
Baptiste Mille-Mathias (bmillemathias) wrote :

Hello KevinM

Do you still experience the same problem on normal lucid installation?
Could you also test with the obexd-client 022 I have in my ppa? and tell me if that fix the issue?

thanks a lot.

Revision history for this message
KevinM (kevbert1) wrote :

With the current version of Lucid I still get theproblem but now get the following screen (attached). I can still cut and paste. Will try your obex file and post back shortly.

Revision history for this message
KevinM (kevbert1) wrote :

Just added your PPA, updated and installed obexd-client 0.22 (plus bluez and all other PPA packages) and rebooted.
Tried again and get the same message (as in #5). Can still cut and paste though. Funnily enough if I click on the bluetooth applet I get a menu that suggests the phone is disconnected (see attached) but I'm still able to get and delete files from the phone without doing anything apart from using Nautilus.

Revision history for this message
Baptiste Mille-Mathias (bmillemathias) wrote :

Coukd you run the following command in a terminal and tell me if it outputs some error:
$ bluetooth-sendto ----device=XX:XX:XX:XX:XX:XX (XX:XX:XX:XX:XX:XX is your device address)
and select the file to send.
Are you sure your remote device support receiving files?
What does return "hcitool info XX:XX:XX:XX:XX:XX"

Thanks

Revision history for this message
KevinM (kevbert1) wrote :

Some outputs as requested:
$ hcitool scan
Scanning ...
 00:1E:DC:86:44:2D K800i
$ bluetooth-sendto ----device=00:1E:DC:86:44:2D
Unknown option ----device=00:1E:DC:86:44:2D
$ bluetooth-sendto --device=00:1E:DC:86:44:2D
(new window opens, select a file and window immediately displays error as per post #5. No messages on phone.)
$ hcitool info 00:1E:DC:86:44:2D
Requesting information ...
 BD Address: 00:1E:DC:86:44:2D
 Device Name: K800i
 LMP Version: 2.0 (0x3) LMP Subversion: 0x520
 Manufacturer: ST Microelectronics (48)
 Features: 0xff 0xe9 0x8d 0xfe 0x9b 0xe9 0x00 0x00
  <3-slot packets> <5-slot packets> <encryption> <slot offset>
  <timing accuracy> <role switch> <hold mode> <sniff mode>
  <park state> <SCO link> <HV3 packets> <u-law log> <A-law log>
  <CVSD> <power control> <transparent SCO> <broadcast encrypt>
  <EDR ACL 2 Mbps> <EDR ACL 3 Mbps> <enhanced iscan>
  <interlaced iscan> <interlaced pscan> <inquiry with RSSI>
  <extended SCO> <EV4 packets> <EV5 packets> <AFH cap. slave>
  <AFH class. slave> <3-slot EDR ACL> <5-slot EDR ACL>
  <AFH cap. master> <EDR eSCO 2 Mbps> <EDR eSCO 3 Mbps>
  <3-slot EDR eSCO>
$

The phone supports receiving files over bluetooth v2.0 - it's a SonyEricsson K800i (I've previously worked for SonyEricsson and Ericsson). I have an HTC Monet phone which I know does not support receiving files. SendTo has been very problematic in the past (see Bug #294617 which was reported using the same K800i).

Revision history for this message
Baptiste Mille-Mathias (bmillemathias) wrote :

and could you run also /usr/share/doc/obexd-client/examples/send-files 00:1E:DC:86:44:2D your-file
and see if it output something?.

About the comment #6
> Funnily enough if I click on the bluetooth applet I get a menu that suggests the phone is disconnected (see
> attached) but I'm still able to get and delete files from the phone without doing anything apart from using
> Nautilus.

Could you report this to https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-bluetooth (upstream bug system)

Thanks

Revision history for this message
KevinM (kevbert1) wrote :

We finally have something that might help...

$ /usr/share/doc/obexd-client/examples/send-files 00:1E:DC:86:44:2D BT2.txt
Traceback (most recent call last):
  File "/usr/share/doc/obexd-client/examples/send-files", line 65, in <module>
    client.SendFiles({ "Destination": sys.argv[1] }, sys.argv[2:], path)
  File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 620, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.openobex.Error.Failed:
$

Revision history for this message
KevinM (kevbert1) wrote :
Jerone Young (jerone)
Changed in oem-priority:
status: New → Invalid
Tony Espy (awe)
affects: gnome-bluetooth (Ubuntu) → obexd (Ubuntu)
Changed in obexd (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.