[unRaid 6.3.5] USB Bluetooth not recognised... completely?


Recommended Posts

Hey guys!

 

I have a docker instance of "Home-Assistant" where I'm already passing an USB device:

/dev/ttyACM0

As you can see it creates the device above. However I have a USB Bluetooth device which it gets listed in lsusb (It's the Broadcom one) while the other is the Z-wave Z-Stick

root@unBeast:~# lsusb
Bus 003 Device 005: ID 0a5c:21ec Broadcom Corp. 
Bus 003 Device 002: ID 0658:0200 Sigma Designs, Inc. 

But for this bluetooth device I'm not getting an appropriate "/dev" device. I've tried passing the bus and device ID to docker but it seems to not work or I'm not doing it correctly.

 

Can anyone point me out in the right direction? Maybe it's not possible to pass it unless unRaid creates a "/dev" device and has the appropriate drivers to support it?

 

Doing a `dmesg | grep Broadcom` is not showing up anything either. Connecting this USB bluetooth to a Raspberry Pi2 with Raspbian recognizes it without problems so it's clear that at least it works on Linux. Maybe I'm just doing wrong the passthrough thing to Docker :/

 

Thanks for any help!

Edited by bluepr0
Link to comment
  • 1 month later...
  • 1 year later...

I've been trying to figure out the same issue.

 

Looking around, it looks like the primary issue is that there's not a Bluetooth driver for the Bluetooth dongle.

 

Running usb-devices shows that the Broadcom device doesn't have drivers:

Quote

usb-devices

T:  Bus=03 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  3 Spd=12  MxCh= 0
D :  Ver= 2.00 Cls=ff(vend.) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=0a5c ProdID=21e8 Rev=01.12
S:  Manufacturer=Broadcom Corp
S:  Product=BCM20702A0
S:  SerialNumber=5CF3708ECDE6
C :#Ifs= 4 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#=0x0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=01 Prot=01 Driver=(none)
I:  If#=0x1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=01 Prot=01 Driver=(none)
I:  If#=0x2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
I:  If#=0x3 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=01 Driver=(none)

 

I've seen it suggested that btusb needs to be loaded, but there's no btusb module to load:

Quote

modprobe -v btusb
modprobe: FATAL: Module btusb not found in directory /lib/modules/4.14.49-unRAID

 

So, until Unraid supports Bluetooth on the host, there's no way to pass the device through to a docker container like Home Assistant.

 

At least, that's as far as I've gotten. Anyone else have any better luck I"d love to know how you got it working.

Edited by kmwoley
Link to comment

I've just been banging my head against the same issue for a few days, thank god I found your post @kmwoley, it gives me the exact answer that I was looking for!

 


T:  Bus=03 Lev=02 Prnt=03 Port=02 Cnt=01 Dev#= 10 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=0a12 ProdID=0001 Rev=88.91
S:  Product=CSR8510 A10
C:  #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=(none)
I:  If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=(none)

root@Sven:/dev# modprobe -v btusb
modprobe: FATAL: Module btusb not found in directory /lib/modules/4.14.13-unRAID

Now we just need some smart cookie to come up with a solution to the issue.

Link to comment

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.