Please check the output of “rfkill list” – it’s possible that, the Bluetooth interface has been blocked.
It was software blocked. But after
rfkill unblock bluetooth
file transfer still not working. Maybe i need to find a working driver, but not sure where because Mpow doesn’t update the driver since 2020.
Thank you.
https://linuxreviews.org/Realtek_RTL8761B
https://software.opensuse.org/package/kernel-firmware-bluetooth
https://download.opensuse.org/repositories/home:/Sauerland/openSUSE_Leap_15.3/noarch/kernel-firmware-bluetooth-20220224-lp153.3.1.noarch.rpm
I had exactly the same problem on two machines but with different Bluetooth chipsets (one of them is Intel).
The problem started when bluez was updated to version 5.62. So at the moment I use bluez 5.61 and libell0 0.44 to circumvent that problem.
Regards
susejunky
Hi. How can I downgrade to those versions? I can’t find the packages.
Try to use bluez 5.63: http://www.bluez.org/release-of-bluez-5-63/
zypper addrepo https://download.opensuse.org/repositories/Base:System/openSUSE_Tumbleweed/Base:System.repo
zypper refresh
zypper install bluez
I installed that .63 version but no systray icon for bluetooth. Looked for blueberry and it’s now in a separated repo. Installed then blueman but file transfers still not working.
systemctl returns some errors:
$ sudo systemctl status bluetooth
● bluetooth.service - Bluetooth service
Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disabled)
Active: active (running) since Sun 2022-03-13 10:36:02 GMT; 13min ago
Docs: man:bluetoothd(8)
Main PID: 779 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 4915)
CPU: 399ms
CGroup: /system.slice/bluetooth.service
└─779 /usr/libexec/bluetooth/bluetoothd
Mar 13 10:41:10 localhost.localdomain bluetoothd[779]: profiles/audio/avdtp.c:avdtp_connect_cb() connect to 94:7B:E7:01:8F:1C: Permission denied (13)
Mar 13 10:42:17 localhost.localdomain bluetoothd[779]: src/adv_monitor.c:btd_adv_monitor_offload_supported() Manager is NULL, get offload support failed
Mar 13 10:42:17 localhost.localdomain bluetoothd[779]: src/adv_monitor.c:btd_adv_monitor_offload_supported() Manager is NULL, get offload support failed
Mar 13 10:42:17 localhost.localdomain bluetoothd[779]: src/adv_monitor.c:btd_adv_monitor_offload_supported() Manager is NULL, get offload support failed
Mar 13 10:42:17 localhost.localdomain bluetoothd[779]: src/adv_monitor.c:btd_adv_monitor_offload_supported() Manager is NULL, get offload support failed
Mar 13 10:42:17 localhost.localdomain bluetoothd[779]: src/adv_monitor.c:btd_adv_monitor_offload_supported() Manager is NULL, get offload support failed
Mar 13 10:42:18 localhost.localdomain bluetoothd[779]: src/adv_monitor.c:btd_adv_monitor_offload_supported() Manager is NULL, get offload support failed
Mar 13 10:42:18 localhost.localdomain bluetoothd[779]: src/adv_monitor.c:btd_adv_monitor_offload_supported() Manager is NULL, get offload support failed
Mar 13 10:42:21 localhost.localdomain bluetoothd[779]: src/adv_monitor.c:btd_adv_monitor_offload_supported() Manager is NULL, get offload support failed
Mar 13 10:43:41 localhost.localdomain bluetoothd[779]: /org/bluez/hci0/dev_94_7B_E7_01_8F_1C/fd1: fd(30) ready
.
.
I didn’t try to deal with those firmware issues yet.
Thanks.
This is a little mess. Seems obex.service doesn’t exist. But too complicated for me to fix. could be it fixed and leave all the services running? Sometimes you need to transfer files by bluetooth.
[11:16][da@:~]$:sudo systemctl start dbus-org.bluez.obex.service
Failed to start dbus-org.bluez.obex.service: Unit dbus-org.bluez.obex.service not found.
[11:16][da@:~]$:sudo systemctl enable /usr/lib/systemd/user/obex.service
Created symlink /etc/systemd/system/dbus-org.bluez.obex.service → /usr/lib/systemd/user/obex.service.
Created symlink /etc/systemd/system/obex.service → /usr/lib/systemd/user/obex.service.
[11:17][da@:~]$:sudo systemctl start obex.service
Job for obex.service failed because the control process exited with error code.
See "systemctl status obex.service" and "journalctl -xeu obex.service" for details.
[11:17][da@:~]$:systemctl status obex.service
× obex.service - Bluetooth OBEX service
Loaded: loaded (/etc/systemd/system/obex.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2022-04-08 11:17:38 BST; 30s ago
Process: 31207 ExecStart=/usr/libexec/bluetooth/obexd (code=exited, status=1/FAILURE)
Main PID: 31207 (code=exited, status=1/FAILURE)
CPU: 5ms
$:sudo journalctl -xeu obex.service
░░
░░ A start job for unit obex.service has begun execution.
░░
░░ The job identifier is 7043.
Apr 08 11:17:38 localhost.localdomain obexd[31207]: OBEX daemon 5.64
Apr 08 11:17:38 localhost.localdomain obexd[31207]: manager_init failed
Apr 08 11:17:38 localhost.localdomain obexd[31207]: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
Apr 08 11:17:38 localhost.localdomain systemd[1]: obex.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ An ExecStart= process belonging to unit obex.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Apr 08 11:17:38 localhost.localdomain systemd[1]: obex.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ The unit obex.service has entered the 'failed' state with result 'exit-code'.
Apr 08 11:17:38 localhost.localdomain systemd[1]: Failed to start Bluetooth OBEX service.
░░ Subject: A start job for unit obex.service has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit obex.service has finished with a failure.
░░
░░ The job identifier is 7043 and the job result is failed.
and what about this:
Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
is it supposed obex should be working by default in tumbleweed because is important?. why in my system are the things messed (for me as a normal user) this way?.
thanks.
some more information:
$:sudo systemctl start dbus-org.bluez.obex.service
Failed to start dbus-org.bluez.obex.service: Unit dbus-org.bluez.obex.service failed to load properly, please adjust/correct and reload service manager: File exists
See system logs and 'systemctl status dbus-org.bluez.obex.service' for details.
[11:41][da@:~]$:sudo systemctl enable dbus-org.bluez.obex.service
Failed to enable unit: Refusing to operate on alias name or linked unit file: dbus-org.bluez.obex.service
[11:41][da@:~]$:systemctl status dbus-org.bluez.obex.service
○ dbus-org.bluez.obex.service - Bluetooth OBEX service
Loaded: error (Reason: Unit dbus-org.bluez.obex.service failed to load properly, please adjust/correct and reload >
Active: inactive (dead)
Hi.
Could someone who can use blueman to transfer files to his phone (maybe better if a samsung) with no issues leave here a list of services running and related to obex, bluez, and dbus?
Thanks.
As i already stated in post #5 I discovered the same problem as you and my current workaround is to use bluez 5.61 and libell0 0.44 to circumvent that problem.
I was lucky to lock those packages so that I still can use them but I have no idea where you could get those packages from. They are no longer available at https://download.opensuse.org/history/.
However I just searched bugzilla and found this what sounds quite similar to our problem.
And on my system /home is a symlink. So i will try the fix mentioned by the bug-reporter.
Regards
susejunky
The bluez package was split a while back:
$ rpm -q --changelog bluez | grep -C 1 obex
* Tue Nov 23 2021
- Stop nuking the obex service, we support user systemd services
just fine now. Following this, no longer hack the dbus service,
leave it as a systemd service as upstream intended.
- Split out obex in own package with it's needed enabledment as a
systemd user service.
To fix this in TW:
$ sudo zypper in bluez-obex
$ systemctl --user start obex
Auto start doesn’t seem to be working, so a bug report is warranted.
This was helpful!
Although in the meantime after installing the latest bluez version I had already discovered that a package bluez-obex was missing and I installed it. But I had not sorted out yet how to get that service started.
Could you please share a link to that bug report so that i can remove my own “auto start mechanism” as soon as the problem is solved?
Thanks a lot.
Regards
susejunky
Finally I spent some time on this and I have good and bad news. The good is I got it working. The bad news are I don’t know how I did it. :shame:
you know, after visiting several links to pages and forums with information I got it. I’ll try to find out how, but now I leave here the links just in case anyone can fix this problem with them. Starting with the link awerlang](https://forums.opensuse.org/member.php/112310-awerlang)leaved and so on:https://bugzilla.opensuse.org/show_bug.cgi?id=1198626
https://stackoverflow.com/questions/45943505/unable-to-autolaunch-a-dbus-daemon-without-a-display-for-x11-netbeans-pi-as-r
https://bbs.archlinux.org/viewtopic.php?id=157545
https://stackoverflow.com/questions/19807978/obexd-daemon-not-running
https://bbs.archlinux.org/viewtopic.php?id=202815
this instruction that created a symlink from dbus-org.bluez.obex.service to obex.service:
[LEFT]sudo systemctl --global enable obex
or the export DBUS_SESSION_BUS_ADDRESS=/run/user/$(id -u)/bus
because in my system /usr/lib/systemd/user/dbus.socket doesn't look for .../dbus/user_bus_socket but only for bus (in /run/user/1000/)
actually I have duplicate dbus.service and dbus.socket files in these two locations:
/usr/lib/systemd/system/
/usr/lib/systemd/user/
and obex.service is in:
[LEFT][FONT=sans-serif]/usr/lib/systemd/user/[/LEFT][/FONT]
[/LEFT]
hope this helps, and thank you very much to everybody.rotfl!
Now transfer of files to the phone via bluetooth is working properly with bluez 5.64-1.9, blueman 2.2.4-41.1 on xfce 4.16.4 and kernel 5.17.4-1. [size=4]I leave here what I found out after a little researching:
[/size] It seems the only service active and running is bluetooth.service, and dbus-org.bluez.service is a link to it:
[13:03][da@:~]$:sudo systemctl status bluetooth.service
● bluetooth.service - Bluetooth service
Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2022-05-04 09:02:32 BST; 4h 1min ago
Docs: man:bluetoothd(8)
Main PID: 871 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 4915)
CPU: 1.765s
CGroup: /system.slice/bluetooth.service
└─871 /usr/libexec/bluetooth/bluetoothd
May 04 09:04:15 localhost.localdomain bluetoothd[871]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSource>
May 04 09:04:15 localhost.localdomain bluetoothd[871]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSource>
May 04 09:04:15 localhost.localdomain bluetoothd[871]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSource>
May 04 09:04:15 localhost.localdomain bluetoothd[871]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSource>
May 04 09:04:15 localhost.localdomain bluetoothd[871]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSource>
May 04 09:04:15 localhost.localdomain bluetoothd[871]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSource>
May 04 09:04:15 localhost.localdomain bluetoothd[871]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSource>
May 04 09:57:18 localhost.localdomain bluetoothd[871]: /org/bluez/hci0/dev_94_7B_E7_01_8F_1C/sep1/fd0: fd(40) ready
May 04 09:58:37 localhost.localdomain bluetoothd[871]: src/profile.c:ext_io_disconnected() Unable to get io data for He>
May 04 12:19:40 localhost.localdomain bluetoothd[871]: /org/bluez/hci0/dev_94_7B_E7_01_8F_1C/sep1/fd1: fd(40) ready
[13:03][da@:~]$:sudo systemctl status dbus-org.bluez.service
● bluetooth.service - Bluetooth service
Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2022-05-04 09:02:32 BST; 4h 1min ago
Docs: man:bluetoothd(8)
Main PID: 871 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 4915)
CPU: 1.785s
CGroup: /system.slice/bluetooth.service
└─871 /usr/libexec/bluetooth/bluetoothd
May 04 09:04:15 localhost.localdomain bluetoothd[871]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSource>
May 04 09:04:15 localhost.localdomain bluetoothd[871]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSource>
May 04 09:04:15 localhost.localdomain bluetoothd[871]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSource>
May 04 09:04:15 localhost.localdomain bluetoothd[871]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSource>
May 04 09:04:15 localhost.localdomain bluetoothd[871]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSource>
May 04 09:04:15 localhost.localdomain bluetoothd[871]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSource>
May 04 09:04:15 localhost.localdomain bluetoothd[871]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSource>
May 04 09:57:18 localhost.localdomain bluetoothd[871]: /org/bluez/hci0/dev_94_7B_E7_01_8F_1C/sep1/fd0: fd(40) ready
May 04 09:58:37 localhost.localdomain bluetoothd[871]: src/profile.c:ext_io_disconnected() Unable to get io data for He>
May 04 12:19:40 localhost.localdomain bluetoothd[871]: /org/bluez/hci0/dev_94_7B_E7_01_8F_1C/sep1/fd1: fd(40) ready
and obex.service and dbus-org.bluez.obex.service are enabled but inactive (maybe because they are used by bluetooth.service when are needed):
[13:04][da@:~]$:sudo systemctl status obex.service
○ obex.service - Bluetooth OBEX service
Loaded: loaded (/etc/systemd/system/obex.service; enabled; vendor preset: disabled)
Active: inactive (dead)
[13:07][da@:~]$:sudo systemctl status dbus-org.bluez.obex.service
○ dbus-org.bluez.obex.service - Bluetooth OBEX service
Loaded: loaded (/etc/systemd/system/dbus-org.bluez.obex.service; alias)
Active: inactive (dead)
The real files are these:
/usr/lib/systemd/user/obex.service (Alias=dbus-org.bluez.obex.service)
/usr/lib/systemd/system/bluetooth.service (Alias=dbus-org.bluez.service)
And I have these links in my system:
file in /etc/systemd/user:
/dbus-org.bluez.obex.service -link to- /usr/lib/systemd/user/obex.service
files in /etc/systemd/system:
obex.service -link to- /usr/lib/systemd/user/obex.service
dbus-org.bluez.obex.service -link to- /usr/lib/systemd/user/obex.service
dbus-org.bluez.service -link to- /usr/lib/systemd/system/bluetooth.service
I created this environment variable:
[11:02][da@:~]$:printenv | grep DBUS DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
and rfkill must show bluetooth as unblocked:
[12:27][da@:~]$:sudo rfkill ID TYPE DEVICE SOFT HARD 0 wlan phy0 unblocked unblocked 1 bluetooth hci0 unblocked unblocked
Finally I got this fixed. Many thanks :’(
Hi. Now transfer of files to the phone via bluetooth is working properly with bluez 5.64-1.9, blueman 2.2.4-41.1 on xfce 4.16.4 and kernel 5.17.4-1. [size=4]I leave here what I found out after a little researching:
[/size] It seems the only service active and running is bluetooth.service, and dbus-org.bluez.service is a link to it:
[13:03][da@:~]$:**sudo systemctl status bluetooth.service **
● bluetooth.service - Bluetooth service
Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disabled)
Active: **active (running)** since Wed 2022-05-04 09:02:32 BST; 4h 1min ago
Docs: man:bluetoothd(8)
Main PID: 871 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 4915)
CPU: 1.765s
CGroup: /system.slice/bluetooth.service
└─871 /usr/libexec/bluetooth/bluetoothd
May 04 09:04:15 localhost.localdomain bluetoothd[871]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSource>
May 04 09:04:15 localhost.localdomain bluetoothd[871]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSource>
May 04 09:04:15 localhost.localdomain bluetoothd[871]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSource>
May 04 09:04:15 localhost.localdomain bluetoothd[871]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSource>
May 04 09:04:15 localhost.localdomain bluetoothd[871]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSource>
May 04 09:04:15 localhost.localdomain bluetoothd[871]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSource>
May 04 09:04:15 localhost.localdomain bluetoothd[871]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSource>
May 04 09:57:18 localhost.localdomain bluetoothd[871]: /org/bluez/hci0/dev_94_7B_E7_01_8F_1C/sep1/fd0: fd(40) ready
May 04 09:58:37 localhost.localdomain bluetoothd[871]: src/profile.c:ext_io_disconnected() Unable to get io data for He>
May 04 12:19:40 localhost.localdomain bluetoothd[871]: /org/bluez/hci0/dev_94_7B_E7_01_8F_1C/sep1/fd1: fd(40) ready
[13:03][da@:~]$:**sudo systemctl status dbus-org.bluez.service **
● bluetooth.service - Bluetooth service
Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2022-05-04 09:02:32 BST; 4h 1min ago
Docs: man:bluetoothd(8)
Main PID: 871 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 4915)
CPU: 1.785s
CGroup: /system.slice/bluetooth.service
└─871 /usr/libexec/bluetooth/bluetoothd
May 04 09:04:15 localhost.localdomain bluetoothd[871]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSource>
May 04 09:04:15 localhost.localdomain bluetoothd[871]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSource>
May 04 09:04:15 localhost.localdomain bluetoothd[871]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSource>
May 04 09:04:15 localhost.localdomain bluetoothd[871]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSource>
May 04 09:04:15 localhost.localdomain bluetoothd[871]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSource>
May 04 09:04:15 localhost.localdomain bluetoothd[871]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSource>
May 04 09:04:15 localhost.localdomain bluetoothd[871]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSource>
May 04 09:57:18 localhost.localdomain bluetoothd[871]: /org/bluez/hci0/dev_94_7B_E7_01_8F_1C/sep1/fd0: fd(40) ready
May 04 09:58:37 localhost.localdomain bluetoothd[871]: src/profile.c:ext_io_disconnected() Unable to get io data for He>
May 04 12:19:40 localhost.localdomain bluetoothd[871]: /org/bluez/hci0/dev_94_7B_E7_01_8F_1C/sep1/fd1: fd(40) ready
and obex.service and dbus-org.bluez.obex.service are enabled but inactive (maybe because they are used by bluetooth.service when are needed):
[13:04][da@:~]$:**sudo systemctl status obex.service **
○ obex.service - Bluetooth OBEX service
Loaded: loaded (/etc/systemd/system/obex.service; enabled; vendor preset: disabled)
Active: inactive (dead)
[13:07][da@:~]$:**sudo systemctl status dbus-org.bluez.obex.service**
○ dbus-org.bluez.obex.service - Bluetooth OBEX service
Loaded: loaded (/etc/systemd/system/dbus-org.bluez.obex.service; alias)
Active: inactive (dead)
The real files are these:
**/usr/lib/systemd/user/obex.service** (Alias=dbus-org.bluez.obex.service)
**/usr/lib/systemd/system/bluetooth.service** (Alias=dbus-org.bluez.service)
And I have these links in my system:
file in /etc/systemd/user:
**dbus-org.bluez.obex.service** -as a link to- /usr/lib/systemd/user/obex.service
files in /etc/systemd/system:
**obex.service ** -as a link to- /usr/lib/systemd/user/obex.service
**dbus-org.bluez.obex.service** -as a link to- /usr/lib/systemd/user/obex.service
**dbus-org.bluez.service** -as a link to- /usr/lib/systemd/system/bluetooth.service
I created this environment variable aswell:
[11:02][da@:~]$:printenv | grep DBUS
**DBUS_SESSION_BUS_ADDRESS**=unix:path=/run/user/1000/bus
and rfkill must show bluetooth as unblocked:
[14:01][da@:~]$:**sudo rfkill**
ID TYPE DEVICE SOFT HARD
0 wlan phy0 unblocked unblocked
1 bluetooth hci0 **unblocked unblocked**
Finally I got this fixed. Many thanks :’(
An update here because after a fresh install file transfers via bluetooth didn’t work again:
$:sudo zypper in bluez-obexd (obexd wasn't installed).
and I needed to enable and start it:
systemctl --user start obex.service
systemctl --user enable obex.service
sometimes if it doesn't work:
- disconnect and delete the device from the devices window (bluez applet/devices).
- switch off bluetooth.
- switch off bluetooth in the phone too.
- start the pairing process again: switch on both bluetooths, search for devices, connect/pair...
Current installed versions:
bluez 5.69-1.1
blueman 2.3.5-1.4
kernel 6.5.3-1-default
xfce 4.18.4
It still working fine:
kernel 6.6.3-1-default
bluez 5.70-1.2
blueman 2.3.5-1.5
xfce 4.18