I have an onboard bluetooth device that stops working a few hours after booting with this error. I can not understand what is the reason for this behavior, so I decided to use an another method. I need to reboot the bluetooth adapter without restarting the operating system.

Using
ls -lA /sys/class/bluetooth/, I make sure that the PCI address of the buggy device in the system logs belongs to Bluetooth:
Using
find /sys | grep drivers.*00:04.1, I find out which driver00:04.1is bound to:
I successfully unbind the
HSU serialdriver from00:04.1by usingecho -n "0000:00:04.1" | sudo tee /sys/bus/pci/drivers/"HSU serial"/unbind. You can see thathciconfigdoesn't output anything:
But I can't bind the
HSU serialdriver back to00:04.1.No such deviceerror occurs:
I also tried to specify the vendor
8086and device name1191, it did not help:
Using
lspci -nn, I saw that device00:04.1exists in the operating system:
How do I get the Bluetooth adapter to work, either by binding a driver to it, or by fixing the original bug that caused Bluetooth to crash?