Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Host OS Support for Bluetooth Devices

Featured Replies

I have a Bluetooth dongle that I want to use in a docker container. Docker requires that the Host OS install drivers for the device before it can be passed to the container. 

 

Searching the forums it appears I am not alone in that need, particularly for the users of Home Assistant.

 

See this post for more info:

 

 

Edited by kmwoley

  • Replies 85
  • Views 45.8k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • That worked, I adde the below to my /boot/config/go:   sudo curl -L https://raw.githubusercontent.com/Realtek-OpenSource/android_hardware_realtek/rtk1395/bt/rtkbt/Firmware/BT/rtl8761b_config -

  • Correct.  We're adding bt kernel drivers in Unraid 6.7 release.

  • Chuck Claunch
    Chuck Claunch

    After messing with this for a bit I realized I could in fact pass the specific USB bluetooth device as yayitazale attempted above.  The key was to pass it as a path.  Instead of doing  --device='/

Posted Images

+1

 

You are not alone. I’m using several home automation appliances via docker on unraid, where Bluetooth support is mandatory these days. Using another host or VM just for supporting Bluetooth is a huge pain. 

PLEASE add Bluetooth support. 

Edited by Diggewuff

+1

 

I have this exact use case also, It doesn't really make sense to make a VM with a docker container (home assistant) inside it just to be able to use a bluetooth dongle with unraid.

 

Please add support for it at the OS level.

Yees please

  • 2 weeks later...

+1

  • 2 weeks later...

Yes please!

+1 

 

Also very interested in this to pass device onto Homeassistant Docker.

  • 1 month later...

I guess we never got anywhere with this huh?

  • Author

I don’t know what captures the @limetech folks attention to provide feedback on feature requests. This got posted in at the time 6.5 was getting prepped to ship, so maybe there’s time to look at it now?

  • Author

That’s my understanding, yes. I’m not at all an expert, but I recall potentially needing bluez-libs and bluez-utils (bluez.org) to make it all work. 

 

 

15 minutes ago, kmwoley said:

bluez-libs and bluez-utils

Those are user-space utils that would be installed within a container I think.

  • Author

If so, that’s easy. Kernel driver support is the biggest blocker. 

 

I am happy to test if you need it. 

 

Thanks for for looking into it!

  • 2 weeks later...

If I can just 'pile on' to this thread... I have a MB with integrated Bluetooth (uses Intel 8260 communication module, which is connected via PCIE) and I want to pass that through to a docker. If I was using a VM instead, I'm sure I could just pass this IOMMU group:

IOMMU group 17:[8086:24f3] 06:00.0 Network controller: Intel Corporation Wireless 8260 (rev 3a)

But I would prefer to use the docker so would need the kernel module. Is the correct module called 'btintel'? I guess it's not supported in the current kernel given:

modprobe btintel
modprobe: FATAL: Module btintel not found in directory /lib/modules/4.18.17-unRAID

 

13 hours ago, dazzathewiz said:

it's not supported in the current kernel given:

Correct.  We're adding bt kernel drivers in Unraid 6.7 release.

  • Author

Thank you! So awesome. 

  • 2 weeks later...

Great news! Thanks very much

  • 1 month later...

thanks for this!

  • 2 weeks later...

Yay!! 

  • Quote

    Added Bluetooth support in the Linux kernel.  We did not add the user-space tools so this will be mostly useful to support Bluetooth in docker containers.

     

 

1 hour ago, dazzathewiz said:

Yay

Let me know how this works out.  There are a set of realtek bluetooth devices which require firmware and I've had a hard time finding the "official" firmware bin files.  We'll keep an eye out for them but if the device doesn't work and it's realtek, check the syslog to see if there is a message indicating "can't find firmware".

Please let me know if you want to see the full syslog, but here is what I am seeing in mine

 

Jan 22 20:41:54  kernel: Bluetooth: hci0: BCM20702A
Jan 22 20:41:54  kernel: Bluetooth: hci0: BCM20702A1 (001.002.014) build 0000
Jan 22 20:41:54  kernel: bluetooth hci0: Direct firmware load for brcm/BCM20702A1-0a5c-21e8.hcd failed with error -2
Jan 22 20:41:54  kernel: Bluetooth: hci0: BCM: Patch brcm/BCM20702A1-0a5c-21e8.hcd not found

 

57 minutes ago, indy5 said:

Please let me know if you want to see the full syslog, but here is what I am seeing in mine

 


Jan 22 20:41:54  kernel: Bluetooth: hci0: BCM20702A
Jan 22 20:41:54  kernel: Bluetooth: hci0: BCM20702A1 (001.002.014) build 0000
Jan 22 20:41:54  kernel: bluetooth hci0: Direct firmware load for brcm/BCM20702A1-0a5c-21e8.hcd failed with error -2
Jan 22 20:41:54  kernel: Bluetooth: hci0: BCM: Patch brcm/BCM20702A1-0a5c-21e8.hcd not found

 

Following this:

https://plugable.com/2014/06/23/plugable-usb-bluetooth-adapter-solving-hfphsp-profile-issues-on-linux/

 

We added that firmware for the next -rc release.

 

Note: There may be other missing firmware you may run across depending on what device you're using.  The problem is that the Linux world doesn't much like firmware - firmware files are referred to as 'blobs' which means they are just binary data files, which means they are not built from source.

 

There is a kernel firmware repo but in our experience different manufacturers are slow to submit their firmware (looking at you again Realtek).  For example, why didn't those guys at plugable submit this firmware to be included upstream?  Then they wouldn't have had to write that article explaining how to make it work.  Oh well...

 

On 1/23/2019 at 1:44 PM, limetech said:

Following this:

https://plugable.com/2014/06/23/plugable-usb-bluetooth-adapter-solving-hfphsp-profile-issues-on-linux/

 

We added that firmware for the next -rc release.

 

Note: There may be other missing firmware you may run across depending on what device you're using.  The problem is that the Linux world doesn't much like firmware - firmware files are referred to as 'blobs' which means they are just binary data files, which means they are not built from source.

 

There is a kernel firmware repo but in our experience different manufacturers are slow to submit their firmware (looking at you again Realtek).  For example, why didn't those guys at plugable submit this firmware to be included upstream?  Then they wouldn't have had to write that article explaining how to make it work.  Oh well...

 

I have upgraded to RC2 and am still having issues with this device.

 

Jan 25 09:26:35 kernel: bluetooth hci0: Direct firmware load for brcm/BCM20702A1-0a5c-21e8.hcd failed with error -2
Jan 25 09:26:35 kernel: Bluetooth: hci0: BCM: Patch brcm/BCM20702A1-0a5c-21e8.hcd not found

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.