This question has been asked several times but no answers were posted.
Cannot turn on Bluetooth on Ubuntu 23.10 (Asus ROG ROG Flow X13 GV302XV) seemed like a great answer but didn't work in my case.
sudo dkms install btusb/4.1
failed at the end of the build. However, this answer was aimed at a problem with a USB BT connection. In my case, bluetooth is implemented on the mobo.
$ sudo service bluetooth status
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor pre>
Active: active (running) since Fri 2024-02-16 21:38:23 PST; 1 day 21h ago
Docs: man:bluetoothd(8)
Main PID: 1905 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 76903)
Memory: 2.3M
CPU: 172ms
CGroup: /system.slice/bluetooth.service
└─1905 /usr/lib/bluetooth/bluetoothd
Feb 18 17:30:50 Ubuntu bluetoothd[1905]: Endpoint unregistered: sender=:1.89 pa>
Feb 18 17:30:50 Ubuntu bluetoothd[1905]: Endpoint unregistered: sender=:1.89 pa>
Shows that the service is running ok. But.... there is no bluetooth icon in the top right status bar (as it is on my M8H machine using a BT dongle)
sudo lshw | grep blue -C 8
configuration: driver=usbhid maxpower=500mA speed=12Mbit/s
*-usb:1
description: Bluetooth wireless interface
product: Qualcomm Bluetooth 4.1
vendor: ASUSTek Computer, Inc.
physical id: 9
bus info: usb@1:9
version: 0.01
capabilities: bluetooth usb-2.01
configuration: driver=btusb maxpower=100mA speed=12Mbit/s
*-usbhost:1
product: xHCI Host Controller
vendor: Linux 5.15.0-94-generic xhci-hcd
physical id: 1
bus info: usb@2
logical name: usb2
version: 5.15
Bluetooth has worked on this machine previously but that could have been when earlier versions of Ubuntu were installed.
The mobo specs are bt v4.0/3.0+HS on an Intel Z170 chipset.
The problem: In Ubuntu's BT settings, bluetooth is turned on and the devices search wheel is spinning but no devices are ever found. This is true even if I install a BT dongle. The desktop right beside it is an ASUS ROG M8H mobo with no integrated BT. With a dongle installed it immediately connects to selected BT devices. Both machines are running identical versions of Ubuntu.
ASUS has firmware for bt but only in Microsoft format. They are clear that they do not support *NIX but obviously there are many of us running Ubuntu on ROG machines without problems.
I'd like to be able to run just one speaker via BT on each desktop instead of having four speaker sets, one hardwired to each machine. Yes, I know I can only have the device paired to one PC at a time.
sudo dmesg|grep Blue
[165140.288091] Bluetooth: hci0: unexpected event for opcode 0x2005
bluetoothctl
fires up but I don't understand enough about that tool to use it productively. Looks like it's working ok though. Just no devices are discovered (and yes, the wifi antenna is connected. The manual sort of implies that this is needed for BT)
$ hciconfig
hci0: Type: Primary Bus: USB
BD Address: C8:FF:28:31:81:72 ACL MTU: 1024:8 SCO MTU: 50:8
DOWN
RX bytes:13041 acl:0 sco:0 events:2012 errors:0
TX bytes:17186 acl:0 sco:0 commands:1506 errors:0
As expected for an onboard BT capability
$ btmgmt info
Index list with 1 item
hci0: Primary controller
addr C8:FF:28:31:81:72 version 7 manufacturer 29 class 0x000000
supported settings: powered connectable fast-connectable discoverable bondable link-security ssp br/edr hs le advertising secure-conn debug-keys privacy static-addr phy-configuration
current settings: ssp br/edr le secure-conn
name Ubuntu
short name
$ bluetoothctl list
Controller C8:FF:28:31:81:72 Ubuntu [default]
$ rfkill unblock all
frankie@Ubuntu:~$ hciconfig
hci0: Type: Primary Bus: USB
BD Address: C8:FF:28:31:81:72 ACL MTU: 1024:8 SCO MTU: 50:8
DOWN
RX bytes:13041 acl:0 sco:0 events:2012 errors:0
TX bytes:17195 acl:0 sco:0 commands:1509 errors:0
frankie@Ubuntu:~$ bluetoothctl power on
Failed to set power on: org.bluez.Error.Busy
frankie@Ubuntu:~$ bluetoothctl scan on
Failed to start discovery: org.bluez.Error.NotReady
$ bluetoothctl
Agent registered
[CHG] Controller C8:FF:28:31:81:72 Pairable: yes
[bluetooth]# list
Controller C8:FF:28:31:81:72 Ubuntu [default]
[bluetooth]# show
Controller C8:FF:28:31:81:72 (public)
Name: Ubuntu
Alias: Ubuntu
Class: 0x00000000
Powered: no
Discoverable: no
DiscoverableTimeout: 0x00000000
Pairable: yes
UUID: Message Notification Se.. (00001133-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)
UUID: OBEX Object Push (00001105-0000-1000-8000-00805f9b34fb)
UUID: Message Access Server (00001132-0000-1000-8000-00805f9b34fb)
UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb)
UUID: IrMC Sync (00001104-0000-1000-8000-00805f9b34fb)
UUID: Vendor specific (00005005-0000-1000-8000-0002ee000001)
UUID: Headset (00001108-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
UUID: Phonebook Access Server (0000112f-0000-1000-8000-00805f9b34fb)
UUID: Device Information (0000180a-0000-1000-8000-00805f9b34fb)
UUID: Audio Sink (0000110b-0000-1000-8000-00805f9b34fb)
UUID: Generic Access Profile (00001800-0000-1000-8000-00805f9b34fb)
UUID: Handsfree Audio Gateway (0000111f-0000-1000-8000-00805f9b34fb)
UUID: Audio Source (0000110a-0000-1000-8000-00805f9b34fb)
UUID: OBEX File Transfer (00001106-0000-1000-8000-00805f9b34fb)
Modalias: usb:v1D6Bp0246d0540
Discovering: no
Roles: central
Roles: peripheral
Advertising Features:
ActiveInstances: 0x00 (0)
SupportedInstances: 0x05 (5)
SupportedIncludes: tx-power
SupportedIncludes: appearance
SupportedIncludes: local-name
[bluetooth]# devices
[bluetooth]# power on
Failed to set power on: org.bluez.Error.Busy
Ideas?
Your driver was installed successfully. You just need to enable the device:
rfkill unblock all
hciconfig
and see see that the "DOWN" turns into "UP RUNNING PSCAN"bluetoothctl power on
bluetoothctl scan on
and see nearby devicesThe absence of
dmesg
andjournalctl
errors mean that nothing went wrong. You havedriver=btusb
so the driver loaded and detected the internal device properly. The problem was the "DOWN" inhciconfig
, and the corresponding thing you would see inrfkill list
.