Cannot receive files using bluetooth

Bug #211252 reported by iamer on 2008-04-03
250
This bug affects 28 people
Affects Status Importance Assigned to Milestone
bluez-gnome
Fix Released
Medium
obex-data-server
Fix Released
Unknown
bluez-utils (Ubuntu)
Low
Unassigned
Hardy
Low
Unassigned
Intrepid
Low
Unassigned
gnome-bluetooth (Debian)
Invalid
Undecided
Unassigned
gnome-user-share (Ubuntu)
Medium
Unassigned
Hardy
Undecided
Unassigned
Intrepid
Undecided
Unassigned
obex-data-server (Ubuntu)
Low
Unassigned
Hardy
Low
Unassigned
Intrepid
Low
Unassigned

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.

iamer (iamer) wrote :

It seems to be a bug in latest bluez-utils package ... downgrading to bluez-utils_3.24-0ubuntu2_amd64.deb and using gnome-obex-server solves it.

Alfredo Matas (amatas) wrote :

Same here using nokia e65 and a usb bluetooth stick.

I can send files from the laptop to the phone but I can't send from the phone to the laptop.

iamer (iamer) wrote : Very strange

First I don't understand why bluez-utils was upgraded to such an unstable version, in which most basic functions are not functioning. just search on launchpad for bluetooth related bugs and you will find people complaining about breakage in every possible part of the bluetooth stack.

Second I don't understand why there is no action being taken to fix these breakages when we are so close to a release! I can't imagine a release with such a big regression from the previous one, and bluetooth functionality is no longer an extra, it is a very basic need.

Right now I used aptitude to hold bluez-utils to the previous version I got from the archives ( 3.24-0ubuntu ) and gnome-obex-server to receive files.

So please, if it is an ubuntu breakage can you at least point to where we can try to fix it. I have tried to fix it but failed. If it is an upstream bug, can we try talking to them, and if there is no fix coming soon, downgrade the version.

I am not whining or trying to be rude, but this is really annoying and we are so close to a stable LTS release.

iamer, head to #ubuntu-devel in irc.freenode.net to express your concern.

iamer (iamer) wrote :

I did yesterday, I understand the shortage of time and developers. I will try to help.

I confirm this bug.
I cannot send file from nokia 6630 to pc.

Another related bug: I cannot browse memory of the device with Nautilus anymore. (work fine in Gutsy).

Thank you...

Alessandro, make sure you have "Receive files from remote devices" enabled in obex-data-server and when you enable it, you see a notification message saying "Receiving of incoming files is enabled". Successfully sent files should appear on your desktop.

Do you get any errors during sending? Does command "hcitool dev" output your bluetooth device?

iamer's problem seems to be bluez-utils or kernel related.

Alessandro Grechi (alexit) wrote :

>Alessandro, make sure you have "Receive files from remote devices" enabled in obex-data-server and when you >enable it, you see a notification message saying "Receiving of incoming files is enabled".
This option in checked, and I get the notification message. But when I try to send a file from tel to pc, I get an error in telephone "impossible to send file". No errors are displayed in pc-side, neither on terminal:

ale@ubuntu:~$ gnome-obex-server
conn_request: bdaddr xx:xx:xx:xx:xx:xx
conn_complete: status 0x00

Sending from pc to tel, works fine, so the the bluetooth device is fully working...

iamer (iamer) wrote :

if you install the package "gnome-vfs-obexftp" with the new bluez-utils, you will able to use nautilus to browse the memory of bluetooth devices.
Right click on the bluetooth applet , and choose browse device , you should see an icon on the desktop where the phone is mounted and nautilus comes up showing the URI "obex://xx:xx:xx:xx:xx:xx"

You can later on unmount the mobile like any storage device.

However you cannot browse available devices using "obex://" in nautilus as this is not ported to new the gvfs backends.

The problem with sending individual files from the phone to the computer is different, it has to with not publishing a push service in the sdp server, so the phone thinks you cannot handle the file transfer.

IMHO , why this happens, is either policykit -- bluez problems , or the new bluez-utils sdp server is messed up.

Matti Lindell (mlind) wrote :

Alessandro, you shouldn't be using gnome-obex-server, but bluez-gnome <--> obex-data-server. Try to uninstall gnome-bluetooth package and kill all gnome-obex-server processes.

Matti Lindell (mlind) wrote :

iamer, in Hardy gnome-vfs-obexftp has no use as nautilus is using gvfs now and it has its own gvfsd-obex backend for obex file transfers. Please uninstall gnome-vfs-obexftp and use bluez-gnome <--> obex-data-server.

Alessandro Grechi (alexit) wrote :

Ehm.. I'm a litte bit confused :)
What should I install and what don't ?

Which packages are supposed to be presente in Hardy?

@iamer
I did this procedure fine in Gutsy, but now doesn't work.
Pratically, nautilus come up showing the right obex url, but the folder is empty (see attached screeshot)

Matti Lindell (mlind) wrote :

Alessandro, the default desktop install provides both bluez-gnome and obex-data-server, so you don't have to manually install anything.

If you have gnome-bluetooth and/or gnome-vfs-obexftp installed, remove both packages. According to your screenshot, the phone seems to be mounted okay by gvfs (and obex-data-server), but no files are shown. I'm able to successfully mount Nokia 6230i phone and browse its files.

Could you try doing:
$ killall obex-data-server
$ obex-data-server --no-daemon

in a console, then connect to your phone using the bluetooth applet and attach the console output as a file.

iamer (iamer) wrote :

ok I did as you said , I thought the gvfs backend for obex was provided by that package.

Anyway that doesn't change anything :

obex-data-server --no-daemon
** Message: obex-data-server 0.3.1
** Message: Using Session bus
** Message: server socket created
** Message: Server created by: :1.10
** Message: server socket created
** Message: Server created by: :1.10

** (obex-data-server:10202): WARNING **: Server path: /home/iamer/Desktop
** Message: Default adapter

** (obex-data-server:10202): WARNING **: Server path: /home/iamer
** Message: Default adapter

And still the phone can't see a push service on the computer and can't send files

Alessandro Grechi (alexit) wrote :

I've remove everything except bluez-gnome and obex-data-server, but the applet is gone. I need also bluez-utils to have it, so I've installed this package manually.
Console output is attached.

Stealth (g1ann1) wrote :

Same situation as Alessandro, using nokia 6630. Works sending pc to phone, dont works phone to pc and browsing memory

Onkar Shinde (onkarshinde) wrote :

Is this specific to Nokia devices? Can anyone try with some other phone, like Sony Ericsson?
Also please try deleting the device from list of paired devices. Recreate the pairing by initiating from device.

iamer (iamer) wrote :

Mine is a sony ericsson. I deleted the pairing on the computer as well as the phone. Then initiated a send from the phone. It said failed without even trying to pair.
I initiated a pair manually on the phone and bluetooth-applet allowed me to successfully complete the pairing.
In the device properties on the phone I can't see any services advertised by the computer.

Stealth (g1ann1) wrote :

With my son's sony ericsson all works fine. The phone can send or receive files, and i can mount it and browse it.
At this point......possible there is something wrong with symbian?

iamer (iamer) wrote :

My sony ericsson is a W960i , which is symbian UIQ based. So maybe it is common between symbian phones.

Onkar Shinde (onkarshinde) wrote :

This was just discussed on IRC and it was suggested that the device should be 'visible and connectible for other devices' for obex to work.

Ahmad Amr (aamr) wrote :

The strange thing is that receiving files worked fine on my laptop (with built-in bluetooth), but showed me the "Sending failed" message when trying to send any file to my PC with a bluetooth dongle, any ideas?

iamer (iamer) wrote :

If that was the problem then the mobile would have never been able to find the computer in the bluetooth scan. Is anybody looking at the hcidump output :S

Ahmad Amr (aamr) wrote :

No, the mobile phone actually finds the computer very easily, it just can't send it any files!

Dmitriy.trt (dmitriy-trt) wrote :

I've got some different situation... If I enable notebook's internal bluetooth (i've got special button for it, i think the button controls power of bluetooth adapter) or plug-in external bluetooth-adapter when linux is started and I logged in, there is no pop-up message about receiving files and it is not working (i've tested from Nokia 6290, Sony Ericsson z310i and from another PC, so this is not sending device problem!). But if you logout and login again with already enabled bluetooth-adapter (internal or external), the pop-up message will appear and receiving files will work. Then, I can disable and enable bluetooth, receiving will work. But if you disable, log out, login again and enable bluetooth-adapter, receiving don't work again. :(

I think, problem is while session applications loading and there is no bluetooth-adapter enabled.

Laptop: Acer Aspire 5920G, Ubuntu 8.04 Beta

Installed: bluez-gnome 0.25-0ubuntu1 and obex-data-server 0.3.1-0ubuntu1
Not installed: gnome-vfs-obexftp

Matti Lindell (mlind) wrote :

Dmitriy, your issue is probably different, see bug #213885.

I have the same issue. I can receive files sent from my computer to my phone, but I can't send files from my phone to my computer. Nokia E51.

However, I can browse my phone from my computer using Nautilus.

This is a pretty big regression nevertheless.

Onkar Shinde (onkarshinde) wrote :

@Tomasz,

If you are able to browse the device then the issue is not as severe for you as others, right? You can do just copy paste to transfer files between your phone and your pc.

@everyone else,
Can you verify if the situation is same for you i.e. you can not send the file but browse the device? I am just trying to narrow down the area of problem.

  • unnamed Edit (189 bytes, application/pgp-signature; name=signature.asc)
Download full text (5.1 KiB)

It's true that I can browse the device's memory as I described in
https://bugs.launchpad.net/ubuntu/+source/obex-data-server/+bug/211252/comments/9 , but many objects on the phone are not accessible this way. for example contacts , todo , calendar etc..

On Mon, 2008-04-21 at 14:09 +0000, Onkar Shinde wrote:
> @Tomasz,
>
> If you are able to browse the device then the issue is not as severe for
> you as others, right? You can do just copy paste to transfer files
> between your phone and your pc.
>
> @everyone else,
> Can you verify if the situation is same for you i.e. you can not send the file but browse the device? I am just trying to narrow down the area of problem.
>
> --
> Cannot recieve files using bluetooth
> https://bugs.launchpad.net/bugs/211252
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Source Package "bluez-utils" in Ubuntu: New
> Status in Source Package "obex-data-server" in Ubuntu: New
>
> 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 Pack...

Read more...

Sorry I replied from evolution by mistake.

Alessandro Grechi (alexit) wrote :

@Onkar

I have installed latest bluez-utils updates (3.26-0ubuntu6) but it didn't solve the bug: I cannot send file from phone to pc, neither browse my phone (nokia 6630).
Sending from pc to phone works just fine.

Thanks

Alessio Igor Bogani (abogani) wrote :

Installing bluez-utils from Debian unstable solved here.

Alessandro Grechi (alexit) wrote :

Nice, so we have to ask MOTU team to upgrade the package from Debian source....

Alessandro Grechi (alexit) wrote :

Bug confirmed by many users

Changed in bluez-utils:
status: New → Confirmed
Onkar Shinde (onkarshinde) wrote :

bluez-utils is a package in main, not universe. The package requires a merge as there are some changes on ubuntu side. It is highly unlikely that merge will happen at this point of time (3 days before final release).

As of now the bug seems to be affecting only Symbian phones. I am attaching here a detailed test report by Sami Mäkinen that he put in a comment on bug #146145.

I will also meanwhile provide merged packages in my ppa for detailed testing. I will try to get this bug fixed in hardy updates but I can not promise anything as I am not a developer.

Hope this helps.

Naveen (naveenkhanna) wrote :

Installing bluez-utils from Debian unstable as mentioned by Alessio Igor Bogani works. I'm able to send files from my symbian based nokia 6600 to Kubuntu Hardy RC (previously didn't work as noted in bug #146145).

Stealth (g1ann1) wrote :

Sending files (to pc from nokia 6630) works with debian sid package, but device is not mounted and the window is still empty. Services, from bluetooth preferences, are not activables clicking the checkbox. I see checked only the audio service and i can't check others.
With original hardy package all checkbox seems to be workings.

Andrea Grandi (andreagrandi) wrote :

I confirm this bug too: I cannot send files from my Nokia N73 to my PC anymore after upgrading to Ubuntu 8.04, while with 7.10 it worked fined.

Same problem here:

* Clean install of ubuntu 8.04
* Removed pairing from my phone - all nice and clean
* Added the pairing successfully
* I can connect to the phone from nautilus and browse/dl/etc
* I can sync my evolution contacts, etc with my phone using opensync/msynctool
* I CANNOT send using obex push from my phone to my computer

More information:

* I do *not* have gnome-bluetooth installed
* I am not running gnome-obex-server
* obex-data-server *is* running
* I have enabled 'receive files from remote devices' and saw the popup when I enabled it.

My phone is a nokia n95. As far as I can tell, my computer is not advertising that it is capable of any bluetooth services - it seems to be working as a client only.

I'm more than happy to help debug if someone wants to give me commands to type..

Julien (ju+) wrote :

Confirmed here, with a Nokia N70.

I could browse/copy files with Nautilus in 7.10, since Hardy, Nautilus opens an empty window ( obex// address is right)

Changed in obex-data-server:
status: New → Confirmed
Changed in obex-data-server:
status: Unknown → In Progress
Changed in obex-data-server:
status: In Progress → Fix Released
Emmet Hikory (persia) on 2008-08-11
Changed in obex-data-server:
importance: Undecided → Low
status: Confirmed → Fix Released
importance: Undecided → Low
status: New → Confirmed
Changed in bluez-utils:
importance: Undecided → Low
importance: Undecided → Low
status: New → Confirmed
Changed in bluez-utils:
status: Confirmed → Fix Released
Kenny Millington (kmdm) on 2008-08-11
description: updated
Max (maxter) on 2008-10-28
Changed in bluez-utils:
assignee: nobody → maxter
status: Fix Released → Confirmed
assignee: maxter → nobody
Max (maxter) on 2008-11-24
Changed in obex-data-server:
status: Fix Released → Confirmed
111 comments hidden view all 191 comments

Hi Max, yeah I'm using Baptiste Mille-Mathias' PPA:

https://launchpad.net/~bmillemathias/+archive

Make sure you install gnome-user-share as well. Make sure you delete the pairing from both the phone and the pc and start again. I've had a lot of success using the packages from that repo with an n95.. Before it was impossible to receive via obex.

Confirmed means that the bug truly exists and needs to be fixed, solved means that the bug is fixed.

- original message -
Subject: [Bug 211252] Re: Cannot receive files using bluetooth
From: newuser <email address hidden>
Date: 16/12/2008 12:58 pm

@Ahmad: what's the difference between confirmed and solved?
Someone can tell me why this bug is still unresolved although it exists since many time?
I don't want be polemic, it's just my curiosity! Hard problem? Few time for experts to dedicate this bug? Bluetooth producers doesn't wants give technicals details to help experts to solve the bug? Other?
Thank you
:)

--
Cannot receive files using bluetooth
https://bugs.launchpad.net/bugs/211252
You received this bug notification because you are a direct subscriber
of the bug.

newuser (16b) wrote :

Thank you very much to all!!
:)

Wow this bug is still alive and kicking.

Well I have the same problem as most of you being. I'm using Nokia 6600 (Symbian) with ubuntu hardy (32 bit). My problems are:

1. Can see mounted phone on nautilus but can't see any object in it.

2. Can't send file to PC even though I can send file from PC to phone. Whenever I try to send a file to PC the phone complains with "Unable to connect."

My work around is to install gnome-bluetooth and downgrade bluez-utils but with this work around I still can't browse my phone. Can anyone tell me how to use the fixes mentioned above? Will I be able to browse, send/receive to/from phone/pc if I apply these fixes?

newuser (16b) wrote :

@Daniel James:
following your post I also installed bluetooth package from PPA for Baptiste Mille-Mathias!
Thank you very much for your post.
Now I'm able to send files from my mobile (nokia6630) to my laptop but I'm still unable to send files from laptop to pc. It's your situation too or are you able to send files from pc to mobile swell?

@newuser:
Hmm.. odd. I can send from my pc to my phone as well. I can also browse my phone and copy files from/to using that method.

Just so you know, all I need to do to send a file to my phone is right click on a file and click sendto. Then I select bluetooth and select my phone as the recipient.

Cyr4x (marcinwlo) wrote :

I cannot! My PC cannot connect to the phone when I'm trying to send a file or browse files. When I'm adding a new device in Ubuntu, my Phone is being reckognised, but PC cannot pair with it. When I'm adding it in an opposite way - a PC in the phone's thrusted devices - it pairs with PC, but i still cannot send files from PC to phone and browse phone files. On hardy everything worked "out of the box" perfectly. On intrepid i can do nothing!

Toni Ruottu (toni-ruottu) wrote :

Just tested with Jaunty. Still doesn't work.

To lighten up the moment a little, I have attached a joke.
 Q: "How can you tell, if one is using Ubuntu?"
 A: "He doesn't respond to your SMS messages as his phones memory is full."

Slothie (ian-rolfe) wrote :

Well I just "upgraded" my laptop to Xubuntu Intrepid, and was dismayed to find out that I couldn't send pictures from my phone to the pc. I've had the same results as everyone here; I could send to the phone (an LG KU990 "Viewty") but not from the phone to the PC.

My workaround (which is better than attacking the PC with a hammer :) ) after a lot of experimenting was to use Synaptic to install the gnome-bluetooth package and that made the "Applications->Accessories->Bluetooth File Sharing" thingie appear on the menu. This seems to work for file reception. Of course now I don't have the handy "Send this file" but I can fire up the bluetooth-applet for that.

The "browse" function still doesn't work, but then I never had that on Dapper so I can live without it.

A bit clunky, but at least I can transfer files. Hopefully this will get fixed sometime.

Max (maxter) wrote :

it seems that a new release of obex-data-server fix the browsing problem

http://tadas.dailyda.com/blog/2009/02/08/obex-data-server-043/

i hope that someone will create a ppa for this release of ods

Kenny Millington (kmdm) wrote :

@Max...

Tested before upgrading to obex-data-server 0.4.3 - failed.

Tested after upgrading to obex-data-server 0.4.3 - SUCCESS.

I've built a package for obex-data-server 0.4.3 in my PPA: https://launchpad.net/~ubuntu-kennynet/+archive/ppa

The installation process is as follows...

1. Add my PPA (and key) to your apt/software sources and update (e.g. sudo apt-get update).

2. Navigate to: System -> Preferences -> Personal File Sharing

Untick "Receive files in Downloads folder over Bluetooth"

(Leave the dialog open.)

2. Fire up a console, to make sure obex-data-server has been killed:-
$ kill `pidof obex-data-server`

(for some reason pkill didn't do the job)

3. Install the package
$ sudo apt-get install obex-data-server

4. Retick the "Receive files in Downloads folder over Bluetooth" option.

5. Attempt to send a file over bluetooth to your computer.

Hope this helps and thanks for the heads up!

Alessandro Grechi (alexit) wrote :

Great Kenny !! This solution works like a charm ;)

Finally... after MONTHS, this problem seems resolved.

Thank you very much!

1 comments hidden view all 191 comments
teimcrr (marco-carrarini) wrote :

A question for Kenny:
what about Hardy ? I still am with version obex-data-server - 0.3.1-0ubuntu2~test2
as in your repo.
Can I install obex-data-server - 0.4.3~ppa1 or it is only for Intrepid ?

Thanks

newuser (16b) wrote :

@kenny: how to add to my repositories your? I wrote:
deb https://launchpad.net/~ubuntu-kennynet/+archive/ppa intrepid
in my /etc/apt/sources.list but I've problem. Please can you explain the steps?
Thank you

Fionn (fbe) wrote :

The underlying bug in bluez-utils is now known for almost a year.
A fix is known for more than six months. Why the hell hasnt it been released yet?

Does LOW (as in priority) mean "let others wait" ?

Max (maxter) wrote :

@Fionn
the bug in bluez-utils is fixed from intrepid release.
the problem was in obex-data-server
and it was fixed only with version 0.4.3 of ODS

it is not a responsibility of ubuntu team, that can't fix all the bugs of all opensource applications.

Alexander Sack (asac) wrote :

can someone please write a summary which patch is supposed to get review/sponsorship here? If there are multiple patches involved, please reference them in your message.

Alexander Sack (asac) wrote :

also as the normal target is already "fix released", is this bug about getting those patches into intrepid/hardy as an SRU?

Kenny Millington (kmdm) wrote :

@Alexander:

With obex-data-server 0.4.3 being accepted into jaunty I believe this bug can be satisfied by backporting that version to intrepid, ideally as a SRU but even having it in intrepid-backports would help).

(A backport to hardy is alot more invasive due to bluez library version requirements for the 0.4.x obex-data-server versions.)

I've tried to cover what I know of the SRU requirements below, unfortunately I'm not totally familiar with both obex-data-server 0.3.x and 0.4.x.

IMPACT:

Users of certain affected Nokia phones are unable to send (/receive?) files between their PCs and phones.

DEVELOPMENT BRANCH (jaunty):

This has been addressed in jaunty by upgrading obex-data-server to 0.4.3 in which it was fixed upstream.

TEST CASE:

A simple test case with an affected Nokia phone, assumes bluetooth is setup on both the computer and phone etc...

1. Attempt to send a photo (or similar) to the computer.
2. Phone reports failure, no photo available on PC.

EXPECTED RESULT:

1. Attempt to send a photo (or similar) to the computer.
2. Phone reports photo sent successfully, and photo is located on the PC (desktop?).

REGRESSION POTENTIAL:

TODO (I don't know enough about the versions of obex-data-server to comment here, anyone else?)

Hope this helps.

Wolfgang Siebeck (ws-siam) wrote :

I just tried to send files to my desktop via bluetooth. It works as expected, if I send from my Nokia 6230, but from the N82 I get "Connection failed". Tried both the Nokia UI and YBrowser's BT-Obex. On the Desktop there is Hardy with all updates installed.

Thank you for your attention.

With up to date Ubuntu Jaunty, as installed by default without any manual additions, I cannot send files from N95 to computer. It does work the other way around.

after installing gnome-bluetooth I can send files from phone to PC

Why is gnome-bluetooth not installed and started by default, if bluetooth is enabled and visible? How on earth can users realize that they have an incomplete bluetooth setup, unless they manually select a package whose name or description does not even mention receiving files?

Kenny Millington (kmdm) wrote :

@Sami:

My Jaunty install is able to receive files fine from my N80 (and my N80 was a victim of this bug). I do not have the gnome-bluetooth package installed.

Did you have gnome-user-share and obex-data-server installed?

Just confirming here that my n95 *can* send files to my Jaunty install. Just enabled bluetooth receiving via the gnome-user-share dialog. Very impressed with Jaunty!

Fabio (imgfabio) wrote :

for me it's the same,
with N70 all works...and with blueman it's perfect!!!
great job!!

newuser (16b) wrote :

I upgraded ubuntu 8.10 -> 9.04 32bit hoping in a solution but...same problem.
:..(

I can't send/receive/browse nokia 6630 <-> my pc
Am I alone?

Toni Ruottu (toni-ruottu) wrote :

With Jaunty I am able to send files to pc from my Nokia N70 mobile phone, iff I 1) am running gnome-obex-server, or 2) have gnome-user-share configured to receive bluetooth files.

regarding gnome-obex-server: Are users supposed to know they need to install this? Are they also supposed to understand they have to start it from a menu everytime they want to receive files?

regarding gnome-user-share: Are users supposed to know they need to install this? After they have installed it, are they supposed to understand that they have to go to System -> Preferences -> Personal File Sharing to turn the bluetooth receiving on? After it is enabled, it does not immediately work because first bluetooth transfer starts the service, but it does not get up in time to answer to receive the file. When the user gets this error is he supposed to understand he should retry? Once the file transfer succeeds an ugly looking icon remains in the notification-area, and there is no way to interact with that icon, and even more importantly you simply cannot get rid of the icon, no matter what you do.

In previous Ubuntu releases I understood that the actual bluetooth application that sits in my notification area should have been able to handle all this. The only problem was it didn't work. No the thing might have gone worse. We have a working solution that is really hard to understand.

newuser (16b) wrote :

After last upgrades, now finally I'm able to send/receive files from/to nokia 6630 to/from pc.
I'm still unable to browse my phone!

Changed in bluez-utils (Debian):
status: Unknown → New
maximi89 (maximi89) on 2009-05-28
affects: bluez-utils (Debian) → obex-data-server (Debian)
newuser (16b) wrote :

@Toni Ruottu: great job!
I understand the hard work...and I'm happy because now it works for me! So good hard work did it!!!
Sincerely I'd like to give my help too, but I don't have a great programming skill! :((
As I wrote before, now I can send/receive files from/to 6630<->notebook and I can browse my phone too!
Just a (small) bug: I can't able to copy a file from phone to pc by "browsing" way (the copy function by browse way works well only from pc to phone!) When I try to do that a small window "file operation" open on my screen without works and if I click on close button the window closes after time. But as I wrote before, doesn't matter, I can use with success the send command (or the copy function by browse if I need to transfer files from pc to phone). Just I would inform you about that.
I want give 2 advices:
1) if someone has again problems after bluetooth updates.. maybe your bluetooth receiver is broken. (It's happened to me!). So, in this case...change it!
2) if you've all bluetooth packages updated and your bluetooth receiver isn't broken, try with this command:
$ sudo hciconfig hci0 reset (and after did it wait some seconds..)
:)

maximi89 (maximi89) wrote :

First, the device works?
you have bluetooth-applet running?

that is from gnome-bluetooth or bluez-gnome? what version?

now, what bluetooth device? lsusb

"lsof|grep obex-data" for locate the ID of the running server,
obex-data 30028 maximi89 mem REG 8,7 14264 150278 /usr/lib/libgthread-2.0.so.0.2000.3
obex-data 30028 maximi89 mem REG 8,7 744268 150275 /usr/lib/libglib-2.0.so.0.2000.3
obex-data 30028 maximi89 mem REG 8,7 249392 150277 /usr/lib/libgobject-2.0.so.0.2000.3
obex-data 30028 maximi89 mem REG 8,7 117348 438349 /lib/ld-2.9.so
obex-data 30028 maximi89 0u CHR 136,1 0t0 4 /dev/pts/1
obex-data 30028 maximi89 1u CHR 136,1 0t0 4 /dev/pts/1
obex-data 30028 maximi89 2u CHR 136,1 0t0 4 /dev/pts/1
obex-data 30028 maximi89 3u unix 0xf5adf980 0t0 125884 socket

"kill 30028" kill the application, now start the server ODS (obex-data-server)
"obex-data-server --no-daemon" now you can monitor ODS (this send only, with some calls of DBUS this can receive files)

You need download the sources from www.bluez.org, you open the folder in terminal, where you put the folder...
what happen if you try this?
"maximi89@Maximiliano:~/obex-data-server-0.4.4$ python test/ods-server-test.py opp /tmp"
you can receive files, that means ODS are ok, the problem is bluetooth-applet, because it only can send files, for receiv needs gnome-user-share, but this are not working yet...

i have installed, gnome-bluetooth 2.27.5-1

i think bluetooth-applet needs to receive files using same ODS, and open any folder using command lines... because all use differents desktop, if you have a old machine, but you use bluetooth, why have installed nautilus? when you use thunar, pcmanfm or any other file manager?...

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=531525
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530491
http://bugzilla.gnome.org/show_bug.cgi?id=584582
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=531275
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530492
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530826

How you can see, the problem is from bluetooth-applet, because ODS itself can receive and send files, but for receive needs a program for open a session for receive... like we do with "python test/ods-server-test.py opp /tmp" but this is maded from DBUS calls...
Now, the gnome-bluetooth 0.9 have a program gnome-obex-server who are been replaced be bluetooth-applet in version 2.27

Any one questions?

maximi89 (maximi89) wrote :

The most important bug, of ODS project:
http://bugs.muiline.com/view.php?id=162

maximi89 (maximi89) wrote :

I was test with newer version of Gnome-bluetooth, 2.27.5-1 and this fails too on Debian... i believe this is a bug of bluetooth-applet it self.

Changed in obex-data-server (Debian):
status: New → Unknown
maximi89 (maximi89) wrote :

ODS works fine, bluetooth-applet don't make the appropiate call to DBUS for start session for receive files using ODS

affects: obex-data-server (Debian) → gnome-bluetooth (Debian)
Changed in gnome-bluetooth (Debian):
status: Unknown → New
Changed in bluez-gnome:
status: Unknown → Invalid
Changed in obex-data-server (Ubuntu):
status: Fix Released → Confirmed
John McCabe-Dansted (gmatht) wrote :

Still occurs in latest Karmic 64bit (and Jaunty) with Nokia N95.

I can confirm that installing and setting up properly gnome-user-share make the deal. I have a Nokia 6630 and I can send files from it to my laptop now.

There's the problem of the notification of gnome-user-share that stays here after the transfer and which is completely useless because you cannot interact with it.

I will make an update of the documentation page on the French Ubuntu community documentation.

Would be great if gnome-user-share was properly installed and configured along side all the OBEX things.

Toni Ruottu (toni-ruottu) wrote :

Some times the blue icon thingie doesn't appear on first run, which makes the transfer fail on first time. Thus I find the icon useful because it tells me the transfers are to succeed, but ofcourse it could go away afterwards. And, if the system was working properly we would not need it at all.

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
status: New → Invalid

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

Changed in gnome-user-share (Ubuntu):
importance: Undecided → Medium
milestone: none → ubuntu-10.04
status: New → Fix Released
Changed in gnome-user-share (Ubuntu Hardy):
status: New → Incomplete
Changed in bluez-gnome:
status: Invalid → Incomplete

Intrepid Ibex reached end-of-life on 30 April 2010 so I am closing the report. The bug has been fixed in newer releases of Ubuntu.

Changed in gnome-user-share (Ubuntu Intrepid):
status: New → Invalid
Changed in bluez-gnome:
status: Incomplete → Fix Released
Benjamin Drung (bdrung) wrote :

No remaining debdiff waiting for a sponsor. Therefore I unsubscribe ubuntu-sponsors.

Changed in bluez-gnome:
importance: Unknown → Medium
Rolf Leggewie (r0lf) wrote :

Hardy has seen the end of its life and is no longer receiving any updates. Marking the Hardy task for this ticket as "Won't Fix".

Changed in gnome-user-share (Ubuntu Hardy):
status: Incomplete → Won't Fix
Displaying first 40 and last 40 comments. View all 191 comments or add a comment.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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