Gusty, Hardy: Not seeing bluetooth services even after pairing

Bug #148712 reported by zeddock on 2007-10-03
This bug report is a duplicate of:  Bug #186973: obexftp does not work in hardy + gvfs. Edit Remove
38
Affects Status Importance Assigned to Milestone
bluez-utils (Ubuntu)
Medium
Unassigned
Nominated for Hardy by Alex Mayorga
gnome-bluetooth (Ubuntu)
Medium
Unassigned
Nominated for Hardy by Alex Mayorga
gnome-vfs-obexftp (Ubuntu)
Undecided
Unassigned
Nominated for Hardy by Alex Mayorga

Bug Description

I have latest Gusty updates on a Dell Latitude D800

Under Bluetooth-Manager applet I can see and trust my 8525 PDA. If I try to Browse and then connect I get error:
===
Couldn't display "obex://[00:17:e4:3c:43:39]".
Check if the service is available.
===
jim@latlap:~$ hcitool scan
Scanning ...
        00:17:E4:3C:43:39 WM_DaAdministr2
=== Obviously the device is seen
jim@latlap:~$ hidd --connect 00:17:E4:3C:43:39
Can't get device information: Success
=== Now can it NOT get the info, or is it successful? Which is it?
jim@latlap:~$ hcitool inq
Inquiring ...
        00:17:E4:3C:43:39 clock offset: 0x4d6a class: 0x1a0114
=== OK Now I am really lost!

Anybody understand what is happening here?

Thanx!

zeddock

Marcel Holtmann (holtmann) wrote :

That is probably as simple bug in hidd. It happen if you try to connect a device which is not working according to the HID specification. These are all devices that are not a mouse, keyboard or in some cases a mobile phone.

Sorry. I really don't yet understand what you mean. Have I reported this
incorrectly?

zeddock

On 10/4/07, Marcel Holtmann <email address hidden> wrote:
>
> That is probably as simple bug in hidd. It happen if you try to connect
> a device which is not working according to the HID specification. These
> are all devices that are not a mouse, keyboard or in some cases a mobile
> phone.
>
> --
> Gusty: Not seeing bluetooth services even after pairing
> https://bugs.launchpad.net/bugs/148712
> You received this bug notification because you are a direct subscriber
> of the bug.
>

I am not yet sure what you mean. Did I incorrectly report this?

zeddock

Scott (s-drinkwater) wrote :

I also have the same issue, but connecting with my nokia 7710 - Can scan and find Bluetooth devices but when trying to connect it fails. Mobile phone saying "connection lost" I think it’s dropping the connection.

I have tested with a few options from pairing first, auto device type every combination of settings in Ubuntu and phones No luck. Also tested on flatmates non nokia phone - still a no go.

Scott (s-drinkwater) wrote :

I can Comfirm this bug.

Changed in bluez-utils:
status: New → Confirmed
zeddock (zeddock) wrote :

I cannot get BT to connect beyond pairing in any Gusty package. So I think this might be deeper than just the bluez-utils.

zeddock

Changed in gnome-bluetooth:
status: New → Confirmed
Krzysztof Wyszyński (goomior) wrote :

I have the same problem when trying to browse my SE K750i filesystem using Bluetooth Manager in Gnome. When I turn on my phone, it works flawlessly, but after about one minute i drops the connection and it is impossible to connect again using Bluetooth Manager. Also the 'Gnome OBEX Send' functionality stops working. Then I have to restart the phone and it works again for a short time. Sending files from phone to my laptop always works perfectly using gnome-obex-server. Also the Remote Control functionality always works. Either through hidd or inititated by the phone. I use Ubuntu Gutsy RC.

hcitool scan:
Scanning ...
        00:1B:59:48:37:85 Krzysztof's K750i

hcitool inq:
Inquiring ...
        00:1B:59:48:37:85 clock offset: 0x7541 class: 0x520204

Krzysztof Wyszyński (goomior) wrote :

I forgot to write that when I try to 'Browse Device' via the Bluetooth Manager notification area icon, then I get an error message:

Couldn't display "obex://[00:1b:59:48:37:85]".
Check if the service is available.

The phone is seen and trusted.

Same here.

zeddock

On 10/14/07, Krzysztof Wyszyński <email address hidden> wrote:
>
> I forgot to write that when I try to 'Browse Device' via the Bluetooth
> Manager notification area icon, then I get an error message:
>
> Couldn't display "obex://[00:1b:59:48:37:85]".
> Check if the service is available.
>
> The phone is seen and trusted.
>
> --
> Gusty: Not seeing bluetooth services even after pairing
> https://bugs.launchpad.net/bugs/148712
> You received this bug notification because you are a direct subscriber
> of the bug.
>

the obex part:
install the gnome-vfs-obexftp package

Krzysztof Wyszyński (goomior) wrote :

Have it installed all the time. I just want to point out that browsing the phone memory works for some time, and then stops working at all. Phone is seen, trusted and discoverable by other devices, but memory browsing using Gnome Bluetooth Manager and sending files via Gnome Send To (OBEX Push) doesn't work any more. Phone restart is required.

P.S. Just checked that synchronization with Evolution using Multisync (via Bluetooth) is not affected.

I'm encountering an apparently similar issue with a Dell wireless bluetooth mouse under the 7.10 rc 1 build. The same laptop and same mouse worked fine with 7.04 (out of the box, in fact). The mouse does not require a passkey.

If I try to use the GNOME bluetooth applet to enable the mouse (with "Browse device..."), it fails with:

Couldn't display "obex://[00:07:61:94:22:bb]".
Check if the service is available.

The same mouse worked out-of-the-box on Ubuntu 7.04 .

bluez-utils, libgnomebt0, gnome-bluetooth, obexftp and gnome-vfs-obexftp (not that the latter two are really relevant) have been added to the packages installed by the base system.

Interrogating the device with sdptool reveals that it's definitely providing a HID protocol class descriptor:

root@ayaki:~# hciconfig
hci0: Type: USB
        BD Address: 00:1C:26:DE:88:A8 ACL MTU: 1017:8 SCO MTU: 64:8
        UP RUNNING PSCAN ISCAN
        RX bytes:36957 acl:1380 sco:0 events:875 errors:0
        TX bytes:26738 acl:1320 sco:0 commands:99 errors:0

root@ayaki:~# hcitool scan
Scanning ...
        00:07:61:94:22:BB Dell BT Travel Mouse

root@ayaki:~# hcitool inq
Inquiring ...
        00:07:61:94:22:BB clock offset: 0x2b3d class: 0x002580

root@ayaki:~# hcitool info 00:07:61:94:22:BB
Requesting information ...
        BD Address: 00:07:61:94:22:BB
        LMP Version: 1.2 (0x2) LMP Subversion: 0x229
        Manufacturer: Broadcom Corporation (15)
        Features: 0xbc 0x02 0x04 0x38 0x08 0x00 0x00 0x00
                <encryption> <slot offset> <timing accuracy> <role switch>
                <sniff mode> <RSSI> <power control> <enhanced iscan>
                <interlaced iscan> <interlaced pscan> <AFH cap. slave>

root@ayaki:~# sdptool browse 00:07:61:94:22:BB
Browsing 00:07:61:94:22:BB ...
Service RecHandle: 0x0
Service Class ID List:
  "SDP Server" (0x1000)
Protocol Descriptor List:
  "L2CAP" (0x0100)
    PSM: 1
  "SDP" (0x0001)
Language Base Attr List:
  code_ISO639: 0x656e
  encoding: 0x6a
  base_offset: 0x100
Profile Descriptor List:
  "" (0x0100)
    Version: 0x0100

Service Name: Dell BT Travel Mouse
Service Description: (3) Button Mouse
Service Provider: Logitech
Service RecHandle: 0x10000
Service Class ID List:
  "Human Interface Device" (0x1124)
Protocol Descriptor List:
  "L2CAP" (0x0100)
    PSM: 17
  "HIDP" (0x0011)
Language Base Attr List:
  code_ISO639: 0x656e
  encoding: 0x6a
  base_offset: 0x100
Profile Descriptor List:
  "Human Interface Device" (0x1124)
    Version: 0x0100

Service RecHandle: 0x10001
Service Class ID List:
  "PnP Information" (0x1200)
Protocol Descriptor List:
  "L2CAP" (0x0100)
    PSM: 1
  "SDP" (0x0001)
Profile Descriptor List:
  "PnP Information" (0x1200)
    Version: 0x0100

Please disregard the last comment; it's caused by a mixture of bad UI and my misunderstanding.

I do think the UI isn't doing the right thing - it should pick a default action based on class(es) provided by the device, not just try to use obex to do file exchange. It also doesn't provide ANY indication that selecting a service in the preferences will display a configuration panel allowing you to connect to devices providing that service. *bad UI! sit!* .

Ahem. Anyway. At least the end result works smoothly and easily; it's just the configuration UI that's a bit odd.

If anybody reading this encounters the same confusion I did:

- Right click on the GNOME bluetooth applet
- Choose "Preferences"
- Select the "Services" tab
- Select the "Input" service
- Below the panel that appears in the blank space under the service list, click the newly created "Add" button
- Select your bluetooth input device.

My input won't really be useful but I have the same problem here with a Sony Ericsson K750i

It would connect after the cell has been turned on but the connection drops when you browse through the directories.

I managed to keep the connection going for 15 minutes when I was testing some themes. I was not browsing the cell phone but I was keeping the same directory opened.

Installing gnome-vfs-obexftp fixes another bug but definitely not this one.

Krzysztof Wyszyński (goomior) wrote :

Yeah so you have the same problem as I have. The only way to avoid this bug is not to use the phone browser at all. Just send files via Nautilus Send To and/or K750i's Send features.

Olivier Bitsch (olivierb2) wrote :

I tried the process give by Craig Ringer with running bluetooth-properties. I see the following error into the terminal :

process 7466: arguments to dbus_message_new_method_call() were incorrect, assertion "_dbus_check_is_valid_path (path)" failed in file dbus-message.c line 1074.
This is normally a bug in some application using the D-Bus library.

** ERROR **: Out of memory
aborting...
Abandon (core dumped)

I marked this bug as duplicate because the bug # 131530 was been reported upstream.

It's really annoying, i installted gnome-vfs-obexftp. Recently I updated my phone (se w850i) and now it does not work anymore.. Why does anything not work as it's supposed to do under Gutsy?!

Saivann Carignan (oxmosys) wrote :

This bug isn't a duplicate of bug #131530 which is about missing gnome-vfs-obexftp in default ubuntu install. This bug is about bluetooth devices that doesn't work correctly with ubuntu.

zeddock (zeddock) wrote :

I have to agree that this is not a duplicate.

zeddock

I'm very sorry :(

No problem!
This is the way it is supposed to work. I got dinged pretty hard several
weeks back for changing a bunch of bugs from Triaged to Confirmed, because I
thought "Triaged" was a way to reduce severity/focus. Turns out "Triaged"
is better than "Confirmed", or so I have been told. <smile>

zeddock

On Nov 13, 2007 12:03 PM, Andrea Corbellini <email address hidden>
wrote:

> I'm very sorry :(
>
> --
> Gusty: Not seeing bluetooth services even after pairing
> https://bugs.launchpad.net/bugs/148712
> You received this bug notification because you are a direct subscriber
> of the bug.
>

If all you need to do is to send and receive files from/to your cell phone you could install the bluetooth file sharing (sudo apt-get install gnome-bluetooth).

Jean-Noel Rey (jnrey) wrote :

Installed all this, including the last one. Still won't work, even with two phones beaming over from 10 cm like mad (I know).

... arguments to dbus_message_new_method_call() were incorrect, assertion "_dbus_check_is_valid_path (path)" failed ...

Changed in bluez-utils:
importance: Undecided → Medium
Changed in gnome-bluetooth:
importance: Undecided → Medium
Alex Mayorga (alex-mayorga) wrote :

Just reporting I'm seeing this same problem on a fully updated Hardy. It doesn't "just works"

Namely I see this error whenever I tried to browse a SonyEricsson K750 phone, a SonyEricsson K790 phone and a SonyEricsson HBH-600 headset:

Couldn't display "obex://[xx:xx:xx:xx:xx:xx]".
Check if the service is available.

There is quite more people being bitten by this bugger on this forum thread http://ubuntuforums.org/showthread.php?t=622045

I'll install all the suggested packages and get back with the success or failure of that.

Matthew Tighe (tighem) wrote :

I can also confirm this in Hardy and report installing the packages recommended in the thread does not work. The headset worked in Feisty, but did not work in either Gutsy (or now Hardy).

deli.ds (deli.ds) wrote :

I have had the same problem with;
 - Gutsy
 - Dell Inspiron 630m
 - Sony Ericsson k850i

Installed gnome-vfs-obexftp as mentioned at http://ubuntuforums.org/showthread.php?t=622045 (thanks Alex Mayorga Adame), and was then able to browse phone normally.

Saivann Carignan (oxmosys) wrote :

Thanks for all your comments. bluez has been updated recently in Hardy, can you test if you can reproduce this bug with Hardy alpha4 or more?

Scott (s-drinkwater) wrote :

After installing a program called Blueman everything is working fine..

This app is SO good id recommend it be installed as a core part of ubuntu on next release!

blueman.tuxfamily.org/

I think this so called bug was just a Super poor attempt and linking bluetooth into ubuntu and this app has fixed that.

Saivann Carignan (oxmosys) wrote :

Scott : Thanks for this great idea. I suggest that you open a needs packaging bug for blueman if you believe that it could be interesting for ubuntu users to have the possibility to use this program. However, we still need to have more information about this bug, can you reproduce this without blueman with a updated Hardy system? Thanks for your comment.

Alex Mayorga (alex-mayorga) wrote :

@Saïvann
Just confirming this is still a problem on a fully updated Hardy.
I've installed basically every obex package I've found, namely:
- gnome-vfs-obexftp
- obex-data-server
- obexfs
- obexftp
- obexpushd
- obextool

I still get this message whenever I try to browse an already paired and trusted phone (SonyEricsson K790i) or when I try to pair a headset (SonyEricsson HBH-600):

Couldn't display "obex://[00:0F:DE:F8:B5:8C]/".
Nautilus cannot handle obex: locations.

By the way, even if the Bluetooth "Browse Devices" window knows it is a headset it still tries to use obex on it, is that correct?

Please let me know if more info is needed.

Saivann Carignan (oxmosys) wrote :

Alex Mayorga Adame : Thanks for your comment. I can reproduce your issue, however it's not the same as the one described in this bug report. People here spoke about problems with services and pairing and had this error message :
Couldn't display "obex://[xx:xx:xx:xx:xx:xx]".
Check if the service is available.

Your error message describe bug 148712 which appeared recently and make impossible to use OBEX devices on Hardy.

You are right, you should not try to "browse" a headset since it's not possible. I suggest that you open a bug report to suggest that bluez-util should show only OBEX browsable devices.

Fabián Rodríguez (magicfab) wrote :

Summarizing:

1) The Bluetooth manager in Ubuntu will show any type of bluetooth device, however onlye devices that have the appropriate services for file browsing will be browsable with Nautilus. So this is not a bluetooth (as in drivers, hardware) bug, It is a "UI and library implementation of OBEX" problem - oversimplifying here.
2) Until Ubuntu 7.10, adding the gnome-vfs-obexftp package was enough to make this work *only* for devices that can be browsed (as mentioned above), 7.10 shipped with that bug.
3) Starting Ubuntu 8.04 gnome-vfs-obexftp is replaced with gvfs and gvfs does not implement yet the Bluetooth backaend so Nautilus can handle browsing BT devices filesystems

Workaround for Ubuntu 7.10 (Gutsy): install gnome-vfs-obexftp
Workaround for Ubuntu 8.04 (Hardy): none, this is still in development.

So, yes, this is a duplicate of Bug #186973.

For more details about all the upstream issues, related bugs and more about the move from gnome-vfs to gvs, see:
http://live.gnome.org/GioToDo

ouellettesr (ouellette-kevin) wrote :

I have this problem in Gutsy, But installing gnome-vfs-obexftp doesnt solve the problem.

I am running a fully patched Hardy. I have successfully paired a Motorola headset and HTC8525 Pocket PC. In both cases when I attempt to connect I get the message:

Couldn't display "obex://[xx:xx:xx:xx:xx:xx]/".
Error: Host down
Please select another viewer and try again.

I didn't try to browse the devices. I only attempted to connect to them using Bluetooth Manager.

Onkar Shinde (onkarshinde) wrote :

@Marion,

Please file a separate report for your problem stating the version of Ubuntu and various bluetooth related packages.

Ulrik Mikaelsson (rawler) wrote :

Tested on vanilla hardy + bluez-utils = 3.30-3ubuntu2 (due to bug#211252). My Sony Ericsson K810 does not find the Ubuntu host when trying to send images. It does however manage to pair successfully. Using a Nokia N95, both sending files and pairing works.

Tell me if you want some kind of trace-data from transactions with both phones. (And how to produce it)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers