You are not logged in.
Pages: 1
This is a new instalation. Bluetooth works fine until the first suspend. Then it stops.
I reviewed similar threads, but I haven't found the solution.
Here is output from lsusb -tv before suspend:
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 10000M
ID 1d6b:0003 Linux Foundation 3.0 root hub
|__ Port 4: Dev 2, If 0, Class=Hub, Driver=hub/2p, 5000M
ID 0451:8440 Texas Instruments, Inc.
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M
ID 1d6b:0002 Linux Foundation 2.0 root hub
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
ID 0451:8442 Texas Instruments, Inc.
|__ Port 5: Dev 8, If 0, Class=Human Interface Device, Driver=usbhid, 480M
ID 0451:82ff Texas Instruments, Inc.
|__ Port 1: Dev 4, If 0, Class=Imaging, Driver=, 480M
ID 04e8:6860 Samsung Electronics Co., Ltd Galaxy A5 (MTP)
|__ Port 3: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
ID 046d:c077 Logitech, Inc. M105 Optical Mouse
|__ Port 5: Dev 5, If 0, Class=Vendor Specific Class, Driver=, 480M
ID 27c6:55a4 Shenzhen Goodix Technology Co.,Ltd.
|__ Port 6: Dev 7, If 0, Class=Video, Driver=uvcvideo, 480M
ID 5986:2130 Acer, Inc
|__ Port 6: Dev 7, If 1, Class=Video, Driver=uvcvideo, 480M
ID 5986:2130 Acer, Inc
|__ Port 10: Dev 9, If 0, Class=Wireless, Driver=btusb, 12M
ID 8087:0026 Intel Corp.
|__ Port 10: Dev 9, If 1, Class=Wireless, Driver=btusb, 12M
ID 8087:0026 Intel Corp.
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 10000M
ID 1d6b:0003 Linux Foundation 3.0 root hub
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
ID 1d6b:0002 Linux Foundation 2.0 root hub
And here is after suspend:
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 10000M
ID 1d6b:0003 Linux Foundation 3.0 root hub
|__ Port 4: Dev 2, If 0, Class=Hub, Driver=hub/2p, 5000M
ID 0451:8440 Texas Instruments, Inc.
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M
ID 1d6b:0002 Linux Foundation 2.0 root hub
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
ID 0451:8442 Texas Instruments, Inc.
|__ Port 2: Dev 12, If 0, Class=Imaging, Driver=, 480M
ID 1004:633e LG Electronics, Inc. LM-X420xxx/G2/G3 Android Phone (MTP/download mode)
|__ Port 5: Dev 8, If 0, Class=Human Interface Device, Driver=usbhid, 480M
ID 0451:82ff Texas Instruments, Inc.
|__ Port 3: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
ID 046d:c077 Logitech, Inc. M105 Optical Mouse
|__ Port 5: Dev 5, If 0, Class=Vendor Specific Class, Driver=, 480M
ID 27c6:55a4 Shenzhen Goodix Technology Co.,Ltd.
|__ Port 6: Dev 7, If 0, Class=Video, Driver=uvcvideo, 480M
ID 5986:2130 Acer, Inc
|__ Port 6: Dev 7, If 1, Class=Video, Driver=uvcvideo, 480M
ID 5986:2130 Acer, Inc
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 10000M
ID 1d6b:0003 Linux Foundation 3.0 root hub
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
ID 1d6b:0002 Linux Foundation 2.0 root hub
As you see the
|__ Port 10: Dev 9, If 0, Class=Wireless, Driver=btusb, 12M
is missing in the second output, so I cannot use husb_modeswitch solution.
Some other outputs:
[gtp@ewi 15:14:36 ~]$ sudo lsmod | grep bt
btusb 69632 0
btrtl 24576 1 btusb
btbcm 20480 1 btusb
btintel 32768 1 btusb
bluetooth 741376 15 btrtl,btintel,btbcm,bnep,btusb,rfcomm
[gtp@ewi 15:14:41 ~]$ /usr/lib/bluetooth/bluetoothd -n -d
bluetoothd[21393]: Bluetooth daemon 5.55
bluetoothd[21393]: src/main.c:parse_config() parsing /etc/bluetooth/main.conf
bluetoothd[21393]: src/main.c:parse_config() Key file does not have key “DiscoverableTimeout” in group “General”
bluetoothd[21393]: src/main.c:parse_config() Key file does not have key “AlwaysPairable” in group “General”
bluetoothd[21393]: src/main.c:parse_config() Key file does not have key “PairableTimeout” in group “General”
bluetoothd[21393]: src/main.c:parse_config() Key file does not have key “Privacy” in group “General”
bluetoothd[21393]: src/main.c:parse_config() Key file does not have key “JustWorksRepairing” in group “General”
bluetoothd[21393]: src/main.c:parse_config() Key file does not have key “TemporaryTimeout” in group “General”
bluetoothd[21393]: src/main.c:parse_config() Key file does not have key “Name” in group “General”
bluetoothd[21393]: src/main.c:parse_config() Key file does not have key “Class” in group “General”
bluetoothd[21393]: src/main.c:parse_config() Key file does not have key “DeviceID” in group “General”
bluetoothd[21393]: src/main.c:parse_config() Key file does not have key “ReverseServiceDiscovery” in group “General”
bluetoothd[21393]: src/main.c:parse_config() Key file does not have key “Cache” in group “GATT”
bluetoothd[21393]: src/main.c:parse_config() Key file does not have key “KeySize” in group “GATT”
bluetoothd[21393]: src/main.c:parse_config() Key file does not have key “ExchangeMTU” in group “GATT”
bluetoothd[21393]: src/main.c:parse_config() Key file does not have key “Channels” in group “GATT”
bluetoothd[21393]: src/main.c:parse_controller_config() Key file does not have key “BRPageScanType” in group “Controller”
bluetoothd[21393]: src/main.c:parse_controller_config() Key file does not have key “BRPageScanInterval” in group “Controller”
bluetoothd[21393]: src/main.c:parse_controller_config() Key file does not have key “BRPageScanWindow” in group “Controller”
bluetoothd[21393]: src/main.c:parse_controller_config() Key file does not have key “BRInquiryScanType” in group “Controller”
bluetoothd[21393]: src/main.c:parse_controller_config() Key file does not have key “BRInquiryScanInterval” in group “Controller”
bluetoothd[21393]: src/main.c:parse_controller_config() Key file does not have key “BRInquiryScanWindow” in group “Controller”
bluetoothd[21393]: src/main.c:parse_controller_config() Key file does not have key “BRLinkSupervisionTimeout” in group “Controller”
bluetoothd[21393]: src/main.c:parse_controller_config() Key file does not have key “BRPageTimeout” in group “Controller”
bluetoothd[21393]: src/main.c:parse_controller_config() Key file does not have key “BRMinSniffInterval” in group “Controller”
bluetoothd[21393]: src/main.c:parse_controller_config() Key file does not have key “BRMaxSniffInterval” in group “Controller”
bluetoothd[21393]: src/main.c:parse_controller_config() Key file does not have key “LEMinAdvertisementInterval” in group “Controller”
bluetoothd[21393]: src/main.c:parse_controller_config() Key file does not have key “LEMaxAdvertisementInterval” in group “Controller”
bluetoothd[21393]: src/main.c:parse_controller_config() Key file does not have key “LEMultiAdvertisementRotationInterval” in group “Controller”
bluetoothd[21393]: src/main.c:parse_controller_config() Key file does not have key “LEScanIntervalAutoConnect” in group “Controller”
bluetoothd[21393]: src/main.c:parse_controller_config() Key file does not have key “LEScanWindowAutoConnect” in group “Controller”
bluetoothd[21393]: src/main.c:parse_controller_config() Key file does not have key “LEScanIntervalSuspend” in group “Controller”
bluetoothd[21393]: src/main.c:parse_controller_config() Key file does not have key “LEScanWindowSuspend” in group “Controller”
bluetoothd[21393]: src/main.c:parse_controller_config() Key file does not have key “LEScanIntervalDiscovery” in group “Controller”
bluetoothd[21393]: src/main.c:parse_controller_config() Key file does not have key “LEScanWindowDiscovery” in group “Controller”
bluetoothd[21393]: src/main.c:parse_controller_config() Key file does not have key “LEScanIntervalAdvMonitor” in group “Controller”
bluetoothd[21393]: src/main.c:parse_controller_config() Key file does not have key “LEScanWindowAdvMonitor” in group “Controller”
bluetoothd[21393]: src/main.c:parse_controller_config() Key file does not have key “LEScanIntervalConnect” in group “Controller”
bluetoothd[21393]: src/main.c:parse_controller_config() Key file does not have key “LEScanWindowConnect” in group “Controller”
bluetoothd[21393]: src/main.c:parse_controller_config() Key file does not have key “LEMinConnectionInterval” in group “Controller”
bluetoothd[21393]: src/main.c:parse_controller_config() Key file does not have key “LEMaxConnectionInterval” in group “Controller”
bluetoothd[21393]: src/main.c:parse_controller_config() Key file does not have key “LEConnectionLatency” in group “Controller”
bluetoothd[21393]: src/main.c:parse_controller_config() Key file does not have key “LEConnectionSupervisionTimeout” in group “Controller”
bluetoothd[21393]: src/main.c:parse_controller_config() Key file does not have key “LEAutoconnecttimeout” in group “Controller”
D-Bus setup failed: Connection ":1.105" is not allowed to own the service "org.bluez" due to security policies in the configuration file
bluetoothd[21393]: src/main.c:main() Unable to get on D-Bus
[gtp@ewi 15:17:54 ~]$
This part seems to be meaningful:
D-Bus setup failed: Connection ":1.105" is not allowed to own the service "org.bluez" due to security policies in the configuration file
bluetoothd[21393]: src/main.c:main() Unable to get on D-Bus
[bluetooth]# power on
No default controller available
[bluetooth]# list
[bluetooth]# devices
No default controller available
[bluetooth]#
/etc/bluetooth/main.conf (comments removed):
[General]
[Controller]
[GATT]
[Policy]
#
AutoEnable=true
And here goes /usr/share/dbus-1/system.d/bluetooth.conf:
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<!-- ../system.conf have denied everything, so we just punch some holes -->
<policy user="root">
<allow own="org.bluez"/>
<allow send_destination="org.bluez"/>
<allow send_interface="org.bluez.Agent1"/>
<allow send_interface="org.bluez.MediaEndpoint1"/>
<allow send_interface="org.bluez.MediaPlayer1"/>
<allow send_interface="org.bluez.Profile1"/>
<allow send_interface="org.bluez.GattCharacteristic1"/>
<allow send_interface="org.bluez.GattDescriptor1"/>
<allow send_interface="org.bluez.LEAdvertisement1"/>
<allow send_interface="org.freedesktop.DBus.ObjectManager"/>
<allow send_interface="org.freedesktop.DBus.Properties"/>
<allow send_interface="org.mpris.MediaPlayer2.Player"/>
</policy>
<policy context="default">
<allow send_destination="org.bluez"/>
</policy>
</busconfig>
I will be thankful for every suggestion.
Last edited by GregP (2021-02-23 14:30:08)
Offline
Pages: 1