browse device should not try to connect non-OBEX devices

Bug #214750 reported by Harri
20
Affects Status Importance Assigned to Milestone
bluez-gnome (Baltix)
Fix Released
Undecided
Unassigned
bluez-gnome (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

Binary package hint: bluez-gnome

Scenario: Hardy, amd64, DVD live image of today (4/9/08). Set my Bluetooth headset (BTST-9300) to pairing mode. Select "Browse device" from the Bluetooth applet. It says:

 BTST-9300 headset

Select it and click on [connect]. Then there is an error popup saying

 Couldn't display "obex://[00:0A:94:A1:4A:42]"

 Error: host down
 Please select another viewer and try again.

Of course I did not select _any_ viewer, so this error message is not helpful to get Bluetooth working.

Update : This bug ask bluez-gnome to show only OBEX compatible devices in browse devices. If this is not possible, Gnome/gvfs could just to show a more comprehensible error message when connecting to the device so the overall user can understand that the device is "not browsable".

Revision history for this message
Onkar Shinde (onkarshinde) wrote :

Harri,

'Browse Device' functionality is for devices with some file system ex. phones, PDA or media players. There is nothing to browse in a headset.
I think there was some discussion regarding disabling this menu for devices that can not be browsed. But I am not aware of latest status.

Changed in bluez-gnome:
status: New → Invalid
Revision history for this message
Harri (harald-dunkel) wrote : Re: [Bug 214750] Re: Couldn't display obex

I don't think that your reply makes my bug report invalid. The
error message is absolutely meaningless for 99% of the Ubuntusers,
regardless whether they used an expected BT device or not. Maybe
the next unexpected PDA connected via BT creates the same error
popup.

My suggestion would be to reopen this BR to get some more user-
friendly dialog here.

Many thanx

Harri

Revision history for this message
Onkar Shinde (onkarshinde) wrote : Re: Couldn't display obex

I am not sure what you meant by 'next unexpected PDA connected via BT creates the same error popup'. Because PDA is an obex device and it won't create an error.
Anyway, this is not error in functionality but 'proper error message' problem. I have reopened the bug but I don't have authority to mark it as wishlist. Please note that bug will have to be confirmed by someone first. I can't because I don't have bluetooth headset.

Changed in bluez-gnome:
status: Invalid → New
Revision history for this message
Feanor (angelo-pantano) wrote :

i can confirm the bug since i suffer it by trying to connect to my nokia e51.

i cant transfer files or use its modem via bluetooth in hardy.

Revision history for this message
Saivann Carignan (oxmosys) wrote :

I confirm this bug report and set the Importance to Wishlist. I changed the description to suggest the removal of non-OBEX devices from the Browse devices menu since the error would not show if only OBEX devices would be there. Thanks for this bug report!

description: updated
Changed in bluez-gnome:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
asif s (asif-asifshaikh) wrote :

FYI: I am experiencing the exact same issue. Trying to connect a Logitech V470 Wireless Bluetooth Laser Mouse on Ubuntu 8.04 Hardy Heron.
Please help!
I was able to get this working temporarily by making changes to the /etc/default/bluetooth file, but now it has recently stopped working. No idea why this is happening.

Revision history for this message
Kobus Prinsloo (kprinsloo) wrote :

I am also experiencing this problem. I am trying to connect Targus Bluetooth Mouse AMB01 with Acer Travelmate 8104 running Ubuntu 8.04 Hardy Heron. I was able to connect my phone and copy files from phone to laptop.

I had it working in 7.04 some time ago, but can't remember what I did to get it working then. Since then I have tried all sorts of tips and tricks and How-to's. All without success.

Revision history for this message
Ittay Dror (ittay-dror) wrote :

Same problem here trying to browse my phone

Revision history for this message
Jason Branco (formulajay) wrote :

i can also confirm this problem. I have Ubuntu 8.04 installed with a Kensington bluetooth adapter and I get the same "Host down" error when trying to connect to my Motorola S9 headset and Motorola A1200 phone.

Revision history for this message
john (hellandbarrenjoy) wrote :

i only get this error if i connect 2 of the same bt devices. i have 2 m1330s each with a v470. i image from one laptop and restore to the other. the mac addresses are different so i was able to connect the first v470 without issue. once i connect the second v470, i got 'obex host down'. and i think 'directory exists'. i haven't tried editing the conf files yet which is my next step before completely reinstalling bt.

Revision history for this message
DannyDei (dei-bnb) wrote :

Same problem with my laptop Samsung Q45 hardy-heron MOTOROLA H700 detected but I get

Couldn't display "obex://[00:13:17:30:A9:E9]/". Error: Host down
Please select another viewer and try again.

 on connecting
I have followed a very good explanation on

http://ubuntuforums.org/showthread.php?t=786640

of course I couldn't get as far as the "pair the headset with a passkey" because the connection doesn't get me that far.

Any news on this BUG ?

Revision history for this message
DannyDei (dei-bnb) wrote :

Might be helpful for others.

In a new attempt I have selected on the "BROWSE DEVICES" instead of "ALL TYPES" just "HEADSET" and the message got different :

Couldn't display "obex://[00:13:17:30:A9:E9]/".
Error: DBus error org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
Please select another viewer and try again.

but then trying again the "HOST DOWN" message comes back again an again.

By the way the Browse Device feature can only accept ALL CATEGORY and with BOUNDED or TRUSTED the device H700 disappears from the list of the devices.

Revision history for this message
Marco Agudelo (magudelo) wrote :

I'm having the same problem connecting to a Logitech bluetooth headset. The connection works with my Motorola Q phone.

Revision history for this message
Mike Dalrymple (mike-mikedalrymple) wrote :

I was having similar problems with a Logitech v470 bluetooth mouse. After reading Onkar Shinde's post, I realized that I was using the UI incorrectly. When you right click on the Bluetooth icon there is the "Browse Device..." option. I was incorrectly reading this as "Browse FOR Devices..." To actually connect my mouse I had to do the following:

1. Right click the Bluetooth Icon
2. Select "Preferences..."
3. In the device's tab (mine was called "fourtytwo-0", yours will be different) there is a pane for "Bonded devices" that was empty.
4. I put my mouse in discovery mode and it appeared in the bonded devices screen.
5. While it was in discovery mode I clicked the "Add Trust" button (actual name may be slightly different.

So now I had a trusted device but it still didn't work and when I went to Services, it didn't show up. It turns out that the discovery mode is short lived and your device needs to be in discovery mode even if it is trusted for it to appear in the services window. So...

6. Click the Services tab.
7. Make sure the service you want is running.
8. Select the service you want to add your device to.
9. Cick the "Add" button.
10. Put your device (in my case my mouse) in discovery mode again and it should appear.

Bob's your uncle. I hope this helps.

As far as the bug report goes, maybe a more helpful message like "No devices found that support browsing." Unfortunately the term "Browse" is incredibly overloaded in this business.

Revision history for this message
inguanzo (inguansoft) wrote :

Wopppa !!!

try this link, It rules, It worked for me at the very first try !

https://help.ubuntu.com/community/BluetoothHeadset

Hope It helps
Inguanzo

Revision history for this message
Harri (harald-dunkel) wrote : Re: [Bug 214750] Re: browse device should not try to connect non-OBEX devices

Many thanx.

I had found this link:

 http://fosswire.com/2008/01/11/a2dp-stereo-linux/

Regards

Harri

Revision history for this message
Mario Limonciello (superm1) wrote :

This should be significantly improved in the BlueZ Gnome 1.8 package that entered intrepid yesterday. You won't be able to browse devices that don't provide OBEX.

Changed in bluez-gnome:
status: Confirmed → Fix Released
Changed in bluez-gnome (Baltix):
status: New → Fix Released
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.