You are not logged in.
Pages: 1
Hi,
I have followed the Arch wiki to setup the Bluetooth but I have problem in loading btusb. I have installed bluez bluez-utils, loaded btusb and then start/enable the Bluetooth service. Now the problem is that each time I reboot my machine, the module btusb is not loaded anymore thus the Bluetooth does not work.
If I search for the btusb module I cannot find it in the list of loaded modules
$ lsmod | grep btusb
$ systemctl status bluetooth
○ bluetooth.service - Bluetooth service
Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disabled)
Active: inactive (dead)
Docs: man:bluetoothd(8)
The service starts only if I load the module manually each time
$ modprobe btusb
$ systemctl enable bluetooth
$ systemctl start bluetooth
$ sudo systemctl status bluetooth
● bluetooth.service - Bluetooth service
Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2021-06-23 14:48:19 CEST; 3s ago
Docs: man:bluetoothd(8)
Main PID: 1693 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 38222)
Memory: 1.8M
CPU: 20ms
CGroup: /system.slice/bluetooth.service
└─1693 /usr/lib/bluetooth/bluetoothd
Jun 23 14:48:19 MATTE-WORK systemd[1]: Starting Bluetooth service...
Jun 23 14:48:19 MATTE-WORK bluetoothd[1693]: Bluetooth daemon 5.59
Jun 23 14:48:19 MATTE-WORK systemd[1]: Started Bluetooth service.
Jun 23 14:48:19 MATTE-WORK bluetoothd[1693]: Starting SDP server
Jun 23 14:48:19 MATTE-WORK bluetoothd[1693]: Bluetooth management interface 1.19 initialized
I really cannot understand why the module is not loaded automatically at startup. Can you help me?
Offline
It should be autoloaded for supported HW. Do you use some power manager like laptop-mode-tools or TLP that might blacklist/try to handle the module itself based on configuration? Which HW does it ultimately bind to, what's your output of
lsusb #needs usbutils
lsusb -t
Online
It should be autoloaded for supported HW. Do you use some power manager like laptop-mode-tools or TLP that might blacklist/try to handle the module itself based on configuration? Which HW does it ultimately bind to, what's your output of
lsusb #needs usbutils lsusb -t
I do not use any of these tools. I want to add that this problem arises after I reinstalled bluez and bluez-utils (for other reasons). Before re-installation everything works and the module was loaded automatically for my HW.
$ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
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 06cb:00d4 Synaptics, Inc.
Bus 001 Device 004: ID 04f2:b67e Chicony Electronics Co., Ltd TOSHIBA Web Camera - HD
Bus 001 Device 003: ID 046d:c328 Logitech, Inc. Corded Keyboard K280e
Bus 001 Device 002: ID 145f:0263 Trust Trust Wireless Mouse
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
$ lsusb -t
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 10000M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 10000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M
|__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 3: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 3: Dev 3, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 7: Dev 4, If 0, Class=Video, Driver=uvcvideo, 480M
|__ Port 7: Dev 4, If 1, Class=Video, Driver=uvcvideo, 480M
|__ Port 7: Dev 4, If 2, Class=Video, Driver=uvcvideo, 480M
|__ Port 7: Dev 4, If 3, Class=Video, Driver=uvcvideo, 480M
|__ Port 8: Dev 5, If 0, Class=Vendor Specific Class, Driver=, 12M
Offline
Problem solved. The issue is related to the version 5.59-2 of bluez. To solve you need to remove the cache and downgrade bluez <= 5.58
$ sudo rm -rf /var/lib/bluetooth
$ downgrade bluez
Downgrading also bluez-utils is not needed. After having downgraded bluez you have to start/enable the bluetooth service. The kernel module btusb should be loaded automatically.
related discussion: https://github.com/bluez/bluez/issues/157
Thank you for the support.
Offline
Pages: 1