FS#9755 - Bluetooth broken after recent bluez (3.27) upgrades

Attached to Project: Arch Linux
Opened by Keerthi (keerthi) - Tuesday, 04 March 2008, 00:01 GMT
Last edited by Roman Kyrylych (Romashka) - Sunday, 16 March 2008, 15:42 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Thomas Bächler (brain0)
Roman Kyrylych (Romashka)
Architecture All
Severity High
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Description:
It appears that gnome-obex-send has been obsoleted in favour of bluetooth-sendto. I'm able send files from my mobile to laptop but not vice versa.

I get "Bluetooth OBEX server failed: The name org.openobex was not provided by any .service files" when sending files from laptop to mobile.

More info:
http://bbs.archlinux.org/viewtopic.php?id=44791

Additional info:
* package version(s)
Please see below

* config and/or log files etc.

keerthi ~ $ pacman -Q | grep blue
blueman 0.3-3
bluez-gnome 0.23-1
bluez-libs 3.27-1
bluez-utils 3.27-2
gnome-bluetooth 0.11.0-1.1
python-pybluez 0.14-2

keerthi ~ $ pacman -Q | grep obe
gnome-vfs-obexftp 0.4-3
obexftp 0.20-2
openobex 1.3-2

keerthi ~ $ sudo /etc/rc.d/bluetooth start
Password:
:: Starting bluetooth subsystem: hcid [DONE]

keerthi ~ $ lsmod | grep -i blue
bluetooth 51172 6 l2cap,hci_usb

keerthi ~ $ dmesg | grep -i blue
Bluetooth: Core ver 2.11
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: HCI USB driver ver 2.9
Bluetooth: L2CAP ver 2.9
Bluetooth: L2CAP socket layer initialized

keerthi ~ $ bluetooth-applet
Bluetooth OBEX server failed: The name org.openobex was not provided by any .service files

keerthi ~ $ hcitool dev
Devices:
hci0 00:10:C6:64:E2:32
keerthi ~ $ hcitool scan
Scanning ...
00:16:B8:C2:42:24 Z550i

Steps to reproduce:
1. Install bluez-gnome 0.23-1, bluez-libs 3.27-1, bluez-utils 3.27-2, gnome-bluetooth 0.11.0-1.1
from extra.
2. Reboot
3. Start bluetooth manually:
sudo /etc/rc.d/bluetooth start
4. Launch bluetooth-applet from command line (kill it if it auto-starts in step 3). ** Error "Bluetooth OBEX server failed: The name org.openobex was not provided by any .service files" will be printed **
Or
5. Type bluetooth-sendto --device=<mac:addr> /path/to/interesting/file
** Error "Bluetooth OBEX server failed: The name org.openobex was not provided by any .service files" will be printed **
This task depends upon

Closed by  Roman Kyrylych (Romashka)
Sunday, 16 March 2008, 15:42 GMT
Reason for closing:  Fixed
Comment by Jan de Groot (JGC) - Tuesday, 04 March 2008, 09:36 GMT
Try using /etc/rc.d/bluetooth start. You need the daemon running to get access to bluetooth. This is just another daemon like hal, networkmanager, etc which listens on dbus for commands.
Comment by Keerthi (keerthi) - Tuesday, 04 March 2008, 13:09 GMT
The daemon is running as you can see from the 3rd command in the list.
Comment by Jan de Groot (JGC) - Tuesday, 04 March 2008, 13:21 GMT
But is it also running?
Comment by Keerthi (keerthi) - Tuesday, 04 March 2008, 13:24 GMT
Yes. I can see it in 'ps aux'.
Comment by João Rodrigues (gothicknight) - Wednesday, 05 March 2008, 14:43 GMT
I can confirm this behaviour.
Comment by Thomas Bächler (brain0) - Wednesday, 05 March 2008, 23:35 GMT
There is no .service file for obex in the bluez-utils source. There is an option --enable-obex, but it is ignored. I have no idea what to do here.
Comment by Thomas Bächler (brain0) - Wednesday, 05 March 2008, 23:41 GMT
Asked around in #bluez, apparently we need obex-data-server:
http://tadas.dailyda.com/software/
http://wiki.muiline.com/obex-data-server
Comment by Keerthi (keerthi) - Thursday, 06 March 2008, 06:52 GMT
Thanks Thomas. I see you maintain the bluez-utils/bluez-libs packages. Are you going to create an arch package for obex-data-server anytime soon?
Comment by Keerthi (keerthi) - Friday, 07 March 2008, 02:58 GMT
OK... I managed to build obex-data-server from the source. See http://aur.archlinux.org/packages.php?ID=15549 for PKGBUILD.
I'm now able to send files over bluetooth from laptop to mobile. Yay!.
Comment by Thomas Bächler (brain0) - Friday, 07 March 2008, 11:41 GMT
So, if I add obex-data-server this is fixed?

Is this only needed for bluez-gnome? Roman, you maintain bluez-gnome, can you add obex-data-server and add a optdepend/postinstall to bluez-gnome?
Comment by Keerthi (keerthi) - Friday, 07 March 2008, 12:57 GMT
[quote]So, if I add obex-data-server this is fixed?[/quote]
Yes. Absolutely.

And yes. bluez-gnome needs this as a dependency.
Comment by Roman Kyrylych (Romashka) - Sunday, 09 March 2008, 09:00 GMT
ok, will be fixed in next version of bluez-gnome package
Comment by Roman Kyrylych (Romashka) - Sunday, 16 March 2008, 14:59 GMT
Ok, I'm building bluez-gnome and obex-data-server.
Is obex-data-server a strict dependency or a makedependency (dependency for applet only)?

Loading...