[Solved] USB Bluetooth support on Synology DSM 7.1 and DSM 7.2

Hey HighTower,

I managed to make it work on DSM 7.2 by following the instructions but taking the kernel source from https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.4.302.tar.xz instead of Synology’s website.

Now my problem is the same as many here ; I can see hci0 being up and working, but the home assistant integration I wanted (xiaomi BLE) says “No unconfigured Bluetooth adapters found”, my understanding from these discussions is that all integrations don’t work?

@HighTower, I’ve compiled modules for DSM 7.2, kernel 4.4.320, apollolake (x86_64), DS918+, you can find them here:
https://drive.google.com/drive/folders/1EuCnIGQ3j78D2dHG-oPnclqaKCmVlK8J?usp=sharing

I’ve upgraded my NAS to 7.2 lately, i can confirm it is working fine, one thing that i did some time ago cause i had some issues with HASS it is that my container is running with network mode set to host.

Thank you very much!
I’ve tested and confirm that your modules works fine as for bluetooth as well as for serial!

Do you have the drivers for geminilake 7.2? Thank you.

Thanks for this. Are you able to share instructions on how to compile the modules or point me to links with resources on how to do it? Apart from bluetooth, I’m hoping I can also get my DVB-T USB tuners working.

I finally decided to upgrade to DSM 7.2 on my DS220+ geminilake, kernel version 4.4.302+.

Everything was smooth, I also compiled the bluetooth modules
https://drive.google.com/drive/folders/1834rzXBfoKC0s7tmvOrsIWyUdFVjZ3HM?usp=sharing

I’ve also created a guide on how to compile them for DSM 7.2 if anyone needs to compiles for other architectures.

I used my DS220+ to compile, inside an ubuntu docker container.

1 Like

Hi guys… I managed to get my bluetooth adapters to show up in home assistant following this thread. However, it comes up as “Failed setup, will retry”… when I check the logs it says:

" * Config entry ‘00:19:86:00:0B:79’ for bluetooth integration not ready yet: hci0 (00:19:86:00:0B:79): Failed to start Bluetooth: [org.freedesktop.DBus.Error.ServiceUnknown] The name org.bluez was not provided by any .service files; Retrying in background"

Any ideas how to fix this?

amd v1000 drivers

https://drive.google.com/drive/folders/1jf2XXV79ojFzDt0vCqVktIxnOJd7hkAM?usp=sharing

To have hciconfig hci0 up on boot do the following

configuration.yaml

shell_command:
  hciconfigup: "hciconfig hci0 up"

Automation.yaml

- alias: hci_config_up
  description: "hci_config_up"
  mode: single
  trigger:
    - platform: homeassistant
      event: start
  condition: []
  action:
    - service: shell_command.hciconfigup
      data: {}
1 Like

Yeah, wanted to ask this too, same problem here. Let me know if you have any updates. Tried fixing this for the last hour, sadly no progress.

I used my DS1517+ to compile, inside an ubuntu docker container on DSM 7.1. I spent 2 days achieving this goal, but could not assemble the modules. Does anyone have AVOTON for DSM 7.2?

tried it myself, I am getting some compilation errors.

I suspect DSM 7.2 avoton doesn’t use kernel v4.4.302 but maybe v3.

Maybe someone with DSM 7.2 avoton can help with the kernel version (uname -a)

How did you guys install BlueZ?

I assume that’s why I’m getting this error “Failed to start Bluetooth: [org.freedesktop.DBus.Error.ServiceUnknown] The name org.bluez was not provided by any .service files” ?

1 Like

jeenyeong@Jeen-NAS:~$ uname -a
Linux Jeen-NAS 4.4.302+ #64570 SMP Tue Jun 13 21:39:53 CST 2023 x86_64 GNU/Linux synology_v1000_1821+

Linux NAS2 3.10.108 #64570 SMP Fri Jul 14 01:07:53 CST 2023 x86_64 GNU/Linux synology_avoton_1517+
upgrade to 7.2

I need the kernel version from dsm 7.2, I assume this one is from 7.1

it’s 7.2 kernel. i’m upgrade my 1517+ to 7.2 update 3

hmm… so it is the old kernel used in 7.1

I was able to compile the modules by following the guide that I’ve posted.

Here are the compiled modules for avoton DSM 7.2 kernel 3.10.108
https://drive.google.com/drive/folders/1H0wdFXY-nkStIMTtzYT8iJ1n5Y0jGniR?usp=sharing

1 Like

thanks a lot! i’m use https://cdn.kernel.org/pub/linux/kernel/v3.x/linux-3.10.108.tar.gz kernel and bluetooth.ko not compiled. everything works now.

So (I think) I managed to get BlueZ installed via Entware, following the guide here: DSM 7: Enable Compiling Of Native Modules · homebridge/homebridge-syno-spk Wiki · GitHub

However, I’m still getting the same error "“Failed to start Bluetooth: [org.freedesktop.DBus.Error.ServiceUnknown] The name org.bluez was not provided by any .service files”

Unfortunately I am super noob with linux and cli. Are you guys installing BlueZ another way? Do I even need to install it?

Or does my issue have anything to do with the way I’m installing my Home Assistant? I’m using the following code:

docker run -d --name=hassio_supervisor \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /var/run/dbus:/run/dbus:ro \
-v /volume1/docker/homeassistant:/data \
-e SUPERVISOR_SHARE=/volume1/docker/homeassistant \
-e SUPERVISOR_NAME=hassio_supervisor \
-e HOMEASSISTANT_REPOSITORY=homeassistant/qemux86-64-homeassistant \
--security-opt seccomp=unconfined \
--privileged \
--restart always \
ghcr.io/home-assistant/amd64-hassio-supervisor:2023.09.2
mount --make-shared /volume1/