[Bug 211252] Re: Cannot receive files using bluetooth

Baptiste Mille-Mathias baptiste.millemathias at gmail.com
Sun Apr 4 10:44:36 BST 2010


Since lucid, gnome-user-share is installed which permit file reception
using bluetooth

** Changed in: bluez-utils (Ubuntu)
       Status: Confirmed => Fix Released

** Changed in: bluez-utils (Ubuntu Hardy)
       Status: Confirmed => Won't Fix

** Changed in: bluez-utils (Ubuntu Intrepid)
       Status: Confirmed => Won't Fix

** Changed in: obex-data-server (Ubuntu Hardy)
       Status: Confirmed => Won't Fix

** Changed in: obex-data-server (Ubuntu Intrepid)
       Status: Confirmed => Invalid

** Changed in: obex-data-server (Ubuntu Hardy)
       Status: Won't Fix => Invalid

** Changed in: obex-data-server (Ubuntu)
       Status: Confirmed => Invalid

** Changed in: gnome-bluetooth (Debian)
   Importance: Unknown => Undecided

** Changed in: gnome-bluetooth (Debian)
 Remote watch: Debian Bug tracker #531525 => None

** Changed in: gnome-bluetooth (Debian)
       Status: New => Invalid

** Also affects: gnome-user-share (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: gnome-user-share (Ubuntu)
   Importance: Undecided => Medium

** Changed in: gnome-user-share (Ubuntu)
       Status: New => Fix Released

** Changed in: gnome-user-share (Ubuntu)
    Milestone: None => ubuntu-10.04

-- 
Cannot receive files using bluetooth
https://bugs.launchpad.net/bugs/211252
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is a direct subscriber.

Status in Bluetooth applications for GNOME: Invalid
Status in obex-data-server: Fix Released
Status in “bluez-utils” package in Ubuntu: Fix Released
Status in “gnome-user-share” package in Ubuntu: Fix Released
Status in “obex-data-server” package in Ubuntu: Invalid
Status in “bluez-utils” source package in Hardy: Won't Fix
Status in “gnome-user-share” source package in Hardy: New
Status in “obex-data-server” source package in Hardy: Invalid
Status in “bluez-utils” source package in Intrepid: Won't Fix
Status in “gnome-user-share” source package in Intrepid: New
Status in “obex-data-server” source package in Intrepid: Invalid
Status in “gnome-bluetooth” package in Debian: Invalid

Bug description:
Binary package hint: obex-data-server

Description:	Ubuntu hardy (development branch)
Release:	8.04

obex-data-server:
  Installed: 0.3-0ubuntu1
  Candidate: 0.3-0ubuntu1
  Version table:
 *** 0.3-0ubuntu1 0
        500 http://archive.ubuntu.com hardy/main Packages
        100 /var/lib/dpkg/status

I am trying to send files from a mobile phone ( N70 and W960i ) to my laptop using a usb dongle. The phone always complains "Failed to connect".

I remember this used to work when I had Gutsy and when i first upgraded to Hardy. I have all bluetooth related packages installed and updated, and using bluetooth-applet the laptop is discoverable and file receiving is enabled.

Expected :
Sent file should be received.

What happened :

obex-data-server is running and creates its dbus service fine. I can send things from the laptop to the mobile. I have hcidump of the failed connection mobile --> laptop.

HCI sniffer - Bluetooth packet analyzer ver 1.40
device: hci0 snap_len: 1028 filter: 0xffffffffffffffff
> HCI Event: Connect Request (0x04) plen 10
< HCI Command: Accept Connection Request (0x01|0x0009) plen 7
> HCI Event: Command Status (0x0f) plen 4
> HCI Event: Connect Complete (0x03) plen 11
< ACL data: handle 1 flags 0x02 dlen 10
    L2CAP(s): Info req: type 2
< HCI Command: Read Remote Supported Features (0x01|0x001b) plen 2
> HCI Event: Command Status (0x0f) plen 4
< HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4
> HCI Event: Max Slots Change (0x1b) plen 3
> HCI Event: Command Complete (0x0e) plen 6
< HCI Command: Change Connection Packet Type (0x01|0x000f) plen 4
> HCI Event: Number of Completed Packets (0x13) plen 5
> ACL data: handle 1 flags 0x02 dlen 12
    L2CAP(s): Connect req: psm 1 scid 0x0040
> HCI Event: Command Status (0x0f) plen 4
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
< ACL data: handle 1 flags 0x02 dlen 16
    L2CAP(s): Connect rsp: dcid 0x0040 scid 0x0040 result 0 status 0
      Connection successful
> HCI Event: Connection Packet Type Changed (0x1d) plen 5
> HCI Event: Command Status (0x0f) plen 4
> HCI Event: Connection Packet Type Changed (0x1d) plen 5
> ACL data: handle 1 flags 0x02 dlen 16
    L2CAP(s): Info rsp: type 2 result 0
      Extended feature mask 0x0003
> HCI Event: Number of Completed Packets (0x13) plen 5
> HCI Event: Read Remote Supported Features (0x0b) plen 11
> ACL data: handle 1 flags 0x02 dlen 10
    L2CAP(s): Info req: type 2
< ACL data: handle 1 flags 0x02 dlen 16
    L2CAP(s): Info rsp: type 2 result 0
      Extended feature mask 0x0000
> ACL data: handle 1 flags 0x02 dlen 12
    L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 0
< ACL data: handle 1 flags 0x02 dlen 18
    L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 4
      Success
      MTU 672 
< ACL data: handle 1 flags 0x02 dlen 12
    L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 0
> HCI Event: Number of Completed Packets (0x13) plen 5
> HCI Event: Remote Name Req Complete (0x07) plen 255
> HCI Event: Number of Completed Packets (0x13) plen 5
> HCI Event: Number of Completed Packets (0x13) plen 5
> ACL data: handle 1 flags 0x02 dlen 18
    L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 4
      Success
      MTU 672 
> ACL data: handle 1 flags 0x02 dlen 17
    L2CAP(d): cid 0x0040 len 13 [psm 1]
        SDP SS Req: tid 0x1 len 0x8
          pat uuid-16 0x1105 (OBEXObjPush)
          max 65535
          cont 00
< ACL data: handle 1 flags 0x02 dlen 14
    L2CAP(d): cid 0x0040 len 10 [psm 1]
        SDP SS Rsp: tid 0x1 len 0x5
          count 0
          cont 00
> HCI Event: Number of Completed Packets (0x13) plen 5
> ACL data: handle 1 flags 0x02 dlen 12
    L2CAP(s): Disconn req: dcid 0x0040 scid 0x0040
< ACL data: handle 1 flags 0x02 dlen 12
    L2CAP(s): Disconn rsp: dcid 0x0040 scid 0x0040
> HCI Event: Number of Completed Packets (0x13) plen 5
< HCI Command: Disconnect (0x01|0x0006) plen 3
> HCI Event: Command Status (0x0f) plen 4
> HCI Event: Disconn Complete (0x05) plen 4

Proposition for SRU update of the bug in bluez-utils:-

Description of the bug: Some Nokia phones cannot send images to the computer over bluetooth.

This bug has been address in Intrepid by updating to the latest upstream release which includes the fix. A minimal patch (debdiff) is available in Whoopie's comment in this bug report. The fix has been tested by various people both those affected by the bug and those who aren't, all reports are positive that the fix works and doesn't impact the users who aren't affected. The patch itself is also a very minor patch which changes the type of one variable thus the chance for regression should be slim.

TEST CASE: (for affected Nokia phones)

1. Ensure bluetooth is configured and working correctly.
2. Enable "Receive files from remote devices" in the Bluetooth preferences.
3. Attempt to send an image from the phone to the Computer.
4. The (nokia) phone will report "Sending Failed" (or similar).

Expected Result: At step (4) the file will send and be available on the desktop.





More information about the Ubuntu-sponsors mailing list