home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.68k stars 30.81k forks source link

Bluetooth dongle stopped working on HA Yellow after updating to OS 10 #91625

Closed CrazyCoder closed 1 year ago

CrazyCoder commented 1 year ago

The problem

XDO BT802 (RTL8761BU) USB dongle stopped working. Device is not detected by host OS. Errors in dmesg output.

Home Assistant 2023.4.5
Supervisor 2023.04.0
Operating System 10.0
Frontend 20230411.1 - latest

It's a regression after updating the OS to version 10.

What version of Home Assistant Core has the issue?

2023.4.5

What was the last working version of Home Assistant Core?

2023.4.3

What type of installation are you running?

Home Assistant OS

Integration causing the issue

bluetooth

Link to integration documentation on our website

https://www.home-assistant.io/integrations/bluetooth/

Diagnostics information

dmesg output:

[  295.323082] usb 1-1.1: new full-speed USB device number 7 using dwc2
[  295.523061] usb 1-1.1: device descriptor read/64, error -32
[  295.835098] usb 1-1.1: device descriptor read/64, error -32
[  296.147105] usb 1-1.1: new full-speed USB device number 8 using dwc2
[  296.347100] usb 1-1.1: device descriptor read/64, error -32
[  296.663082] usb 1-1.1: device descriptor read/64, error -32
[  296.775219] usb 1-1-port1: attempt power cycle
[  297.479132] usb 1-1.1: new full-speed USB device number 9 using dwc2
[  297.895101] usb 1-1.1: device not accepting address 9, error -32
[  298.099129] usb 1-1.1: new full-speed USB device number 10 using dwc2
[  298.515224] usb 1-1.1: device not accepting address 10, error -32
[  298.522448] usb 1-1-port1: unable to enumerate USB device

Tried rebooting the system, hard power off, different USB ports, extension cables and no cables, nothing worked after OS update.

2023-04-18 10:59:40.755 WARNING (MainThread) [homeassistant.config_entries] Config entry 'USBBT' for bluetooth integration not ready yet: Bluetooth adapter None with address 00:E0:42:C4:2E:03 not found; Retrying in background

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

BT USB dongle used: XDO BT802 (RTL8761BU).

home-assistant[bot] commented 1 year ago

Hey there @bdraco, mind taking a look at this issue as it has been labeled with an integration (bluetooth) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `bluetooth` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign bluetooth` Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


bluetooth documentation bluetooth source (message by IssueLinks)

CrazyCoder commented 1 year ago

Built-in Bluetooth on Home Assistant Yellow is disabled via /boot/config.txt:

dtoverlay=miniuart-bt
dtoverlay=disable-bt
bdraco commented 1 year ago

I think you meant to submit an issue here https://github.com/home-assistant/operating-system as this is the core queue.

CrazyCoder commented 1 year ago

Thanks, reported at https://github.com/home-assistant/operating-system/issues/2478.