You are not logged in.
Hey
Just bought a new (cheap) bluetooth adapter (from some company called Maxxions).
`bluetoothctl` is giving me an error: `No default controller available`.
rein ~ $ sudo bluetoothctl
Agent registered
[bluetooth]# power on
No default controller available
[bluetooth]# scan on
No default controller available
[bluetooth]#
rein ~ $ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 005: ID 1b1c:1b5e Corsair Harpoon Wireless Mouse
Bus 003 Device 004: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 003 Device 003: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter
Bus 003 Device 002: ID 093a:8301 Pixart Imaging, Inc. HID Wireless Dongle
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 2ea8:2105 Wings Tech Gaming Keyboard
Bus 001 Device 004: ID 045e:0719 Microsoft Corp. Xbox 360 Wireless Adapter
Bus 001 Device 003: ID 1532:0502 Razer USA, Ltd Gaming Headset [Kraken USB]
Bus 001 Device 002: ID 1b1c:1b65 Corsair Harpoon Wireless Dongle
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
(note that it doesn't actually show up as a Realtek device)
dmesg reports some interesting errors
rein ~ $ sudo dmesg | grep Bluetooth
[ 7.542246] Bluetooth: Core ver 2.22
[ 7.542273] Bluetooth: HCI device and connection manager initialized
[ 7.542276] Bluetooth: HCI socket layer initialized
[ 7.542277] Bluetooth: L2CAP socket layer initialized
[ 7.542280] Bluetooth: SCO socket layer initialized
[ 7.574317] Bluetooth: hci0: CSR: Unbranded CSR clone detected; adding workarounds and force-suspending once...
[ 7.574324] Bluetooth: hci0: CSR: Failed to suspend the device for our Barrot 8041a02 receive-issue workaround
[ 7.897046] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 7.897049] Bluetooth: BNEP filters: protocol multicast
[ 7.897053] Bluetooth: BNEP socket layer initialized
[ 10.270368] Bluetooth: hci0: command 0x0c01 tx timeout
[ 12.403420] Bluetooth: hci0: command 0x080f tx timeout
[ 14.537046] Bluetooth: hci0: command 0x0c1b tx timeout
[ 16.670365] Bluetooth: hci0: command 0x0c46 tx timeout
[ 18.803357] Bluetooth: hci0: command 0x0c63 tx timeout
[ 20.936683] Bluetooth: hci0: command 0x0c77 tx timeout
[ 23.070072] Bluetooth: hci0: command 0x2024 tx timeout
[ 25.203641] Bluetooth: hci0: command 0x2031 tx timeout
rein ~ $ lsmod | grep bluetooth
bluetooth 757760 12 btrtl,btintel,btbcm,bnep,btusb
ecdh_generic 16384 1 bluetooth
rfkill 32768 4 bluetooth,cfg80211
crc16 16384 2 bluetooth,ext4
rein ~ $ hciconfig
hci0: Type: Primary Bus: USB
BD Address: 04:7F:0E:02:B8:DA ACL MTU: 1021:9 SCO MTU: 255:4
DOWN
RX bytes:663 acl:0 sco:0 events:35 errors:0
TX bytes:402 acl:0 sco:0 commands:40 errors:0
rein ~ $ hcitool dev
Devices:
The adapter came with a little driver installer CD (for windows), which according to the text on the disk installs `RTL8761B`. I tried installing the rtl8761usb package but it didn't help.
I also tried all of these solutions from the wiki.
I also performed this hex edit of the btusb driver.
Last edited by LevitatingBusinessMan (2022-03-17 21:50:55)
Offline
have you tried this?
create this file:
/etc/modprobe.d/btusb.conf
with the following line:
options btusb enable_autosuspend=0
Offline
have you tried this?
create this file:
/etc/modprobe.d/btusb.conf
with the following line:
options btusb enable_autosuspend=0
Hey thanks for answering jonno2002. I already tried that as a kernel param, just tried it your method as well but it didn't help.
Offline
is that without the aur package installed ?
Offline
is that without the aur package installed ?
With the aur package installed
Offline
try without as well
Offline
try without as well
Didn't work either.
Offline
https://gist.github.com/nevack/6b36b82d … 9124840a07
this seems to be your issue, looks like it may be fixed in future kernel version, or you can patch and build your current kernel, i cant help with the process tho your on your own.
Offline
https://gist.github.com/nevack/6b36b82d … 9124840a07
this seems to be your issue, looks like it may be fixed in future kernel version, or you can patch and build your current kernel, i cant help with the process tho your on your own.
I compiled the bluetooth-next kernel to which this patch should be applied.
The dmesg log has changed but the dongle is still not working:
rein ~ $ sudo dmesg | grep Bluetooth
[ 8.549642] Bluetooth: Core ver 2.22
[ 8.549661] Bluetooth: HCI device and connection manager initialized
[ 8.549664] Bluetooth: HCI socket layer initialized
[ 8.549666] Bluetooth: L2CAP socket layer initialized
[ 8.549668] Bluetooth: SCO socket layer initialized
[ 8.589852] Bluetooth: hci0: CSR: Unbranded CSR clone detected; adding workarounds and force-suspending once...
[ 8.589858] Bluetooth: hci0: CSR: Couldn't suspend the device for our Barrot 8041a02 receive-issue workaround
[ 9.063531] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 9.063534] Bluetooth: BNEP filters: protocol multicast
[ 9.063537] Bluetooth: BNEP socket layer initialized
[ 11.340353] Bluetooth: hci0: command 0x0c01 tx timeout
[ 11.340354] Bluetooth: hci0: Opcode 0x c01 failed: -110
Offline
Someone at the thread @jonno pointed me to was able to figure some stuff out about this driver.
For anyone interested: https://gist.github.com/nevack/6b36b82d … nt-4108046
I've abandoned all hope and returned the usb dongle.
Offline
have you tried this?
create this file:
/etc/modprobe.d/btusb.conf
with the following line:
options btusb enable_autosuspend=0
this work for me, obviously after reboot
Offline