Bonjour à tous.
Je rencontre un souci de connexion/déconnexion Bluetooth sur enceinte connectée que je ne parviens pas à résoudre...
~ $ uname -a; lspci -nnk | grep -iA3 net; lsusb; dmesg | grep -i bluetooth; dmesg | grep -i firmware; lsmod | grep bluetooth
Linux BLOTILAP 5.3.0-40-generic #32~18.04.1-Ubuntu SMP Mon Feb 3 14:05:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
02:00.0 Network controller [0280]: Intel Corporation Wireless 7260 [8086:08b1] (rev c3)
Subsystem: Intel Corporation Wireless-N 7260 [8086:4062]
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
--
03:00.1 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 12)
Subsystem: CLEVO/KAPOK Computer RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1558:5455]
Kernel driver in use: r8169
Kernel modules: r8169
Bus 002 Device 002: ID 8087:8000 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 04f2:b43b Chicony Electronics Co., Ltd
Bus 003 Device 003: ID 8087:07dc Intel Corp.
Bus 003 Device 002: ID 046d:c069 Logitech, Inc. M-U0007 [Corded Mouse M500]
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[ 9.677232] Bluetooth: Core ver 2.22
[ 9.677251] Bluetooth: HCI device and connection manager initialized
[ 9.677254] Bluetooth: HCI socket layer initialized
[ 9.677256] Bluetooth: L2CAP socket layer initialized
[ 9.677259] Bluetooth: SCO socket layer initialized
[ 9.701980] Bluetooth: hci0: read Intel version: 3707100180012d0d2a
[ 9.701982] Bluetooth: hci0: Intel device is already patched. patch num: 2a
[ 10.228530] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 10.228531] Bluetooth: BNEP filters: protocol multicast
[ 10.228535] Bluetooth: BNEP socket layer initialized
[ 12.754446] Bluetooth: RFCOMM TTY layer initialized
[ 12.754454] Bluetooth: RFCOMM socket layer initialized
[ 12.754459] Bluetooth: RFCOMM ver 1.11
[ 0.125379] Spectre V2 : Enabling Restricted Speculation for firmware calls
[ 0.158125] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[ 9.726918] iwlwifi 0000:02:00.0: loaded firmware version 17.948900127.0 op_mode iwlmvm
bluetooth 573440 41 btrtl,btintel,btbcm,bnep,btusb,rfcomm
ecdh_generic 16384 1 bluetooth
~ $ dpkg -l | grep blue
ii blueberry 1.3.4 all A configuration tool for Bluetooth
ii blueman 2.0.5-1ubuntu1 amd64 Graphical bluetooth manager
ii bluetooth 5.50-0ubuntu0ppa1 all Bluetooth support
ii bluez 5.50-0ubuntu0ppa1 amd64 Bluetooth tools and daemons
ii bluez-cups 5.50-0ubuntu0ppa1 amd64 Bluetooth printer driver for CUPS
ii bluez-obexd 5.50-0ubuntu0ppa1 amd64 bluez obex daemon
ii bluez-tools 0.2.0~20140808-5build1 amd64 Set of tools to manage Bluetooth devices for linux
ii gir1.2-gnomebluetooth-1.0:amd64 3.28.0-2ubuntu0.2 amd64 Introspection data for GnomeBluetooth
ii gnome-bluetooth 3.28.0-2ubuntu0.2 amd64 GNOME Bluetooth tools
ii libbluetooth3:amd64 5.50-0ubuntu0ppa1 amd64 Library to use the BlueZ Linux Bluetooth stack
ii libgnome-bluetooth13:amd64 3.28.0-2ubuntu0.2 amd64 GNOME Bluetooth tools - support library
ii pulseaudio-module-bluetooth 1:11.1-1ubuntu7.4 amd64 Bluetooth module for PulseAudio sound server
~ $ rfkill list all
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
Jusqu'ici tout semble ok.
Par contre dès que je connecte l'enceinte, la connexion se fait....
~ $ sudo service bluetooth status
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2020-02-28 16:31:28 CET; 16min ago
Docs: man:bluetoothd(8)
Main PID: 866 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 4915)
CGroup: /system.slice/bluetooth.service
└─866 /usr/lib/bluetooth/bluetoothd
févr. 28 16:44:50 MYLAP bluetoothd[866]: Endpoint unregistered: sender=:1.45 path=/MediaEndpoint/A2DPSource
févr. 28 16:44:50 MYLAP bluetoothd[866]: Endpoint unregistered: sender=:1.45 path=/MediaEndpoint/A2DPSink
févr. 28 16:44:50 MYLAP bluetoothd[866]: Endpoint registered: sender=:1.45 path=/MediaEndpoint/A2DPSource
févr. 28 16:44:50 MYLAP bluetoothd[866]: Endpoint registered: sender=:1.45 path=/MediaEndpoint/A2DPSink
févr. 28 16:45:26 MYLAP bluetoothd[866]: /org/bluez/hci0/dev_0C_A6_94_85_44_E3/fd3: fd(35) ready
févr. 28 16:47:05 MYLAP bluetoothd[866]: Endpoint unregistered: sender=:1.45 path=/MediaEndpoint/A2DPSource
févr. 28 16:47:05 MYLAP bluetoothd[866]: Endpoint unregistered: sender=:1.45 path=/MediaEndpoint/A2DPSink
févr. 28 16:47:06 MYLAP bluetoothd[866]: Endpoint registered: sender=:1.45 path=/MediaEndpoint/A2DPSource
févr. 28 16:47:06 MYLAP bluetoothd[866]: Endpoint registered: sender=:1.45 path=/MediaEndpoint/A2DPSink
févr. 28 16:47:28 MYLAP bluetoothd[866]: /org/bluez/hci0/dev_0C_A6_94_85_44_E3/fd4: fd(34) ready
Puis se déconnecte...
~ $ sudo service bluetooth status
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2020-02-28 16:31:28 CET; 17min ago
Docs: man:bluetoothd(8)
Main PID: 866 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 4915)
CGroup: /system.slice/bluetooth.service
└─866 /usr/lib/bluetooth/bluetoothd
févr. 28 16:47:05 MYLAP bluetoothd[866]: Endpoint unregistered: sender=:1.45 path=/MediaEndpoint/A2DPSource
févr. 28 16:47:05 MYLAP bluetoothd[866]: Endpoint unregistered: sender=:1.45 path=/MediaEndpoint/A2DPSink
févr. 28 16:47:06 MYLAP bluetoothd[866]: Endpoint registered: sender=:1.45 path=/MediaEndpoint/A2DPSource
févr. 28 16:47:06 MYLAP bluetoothd[866]: Endpoint registered: sender=:1.45 path=/MediaEndpoint/A2DPSink
févr. 28 16:47:28 MYLAP bluetoothd[866]: /org/bluez/hci0/dev_0C_A6_94_85_44_E3/fd4: fd(34) ready
févr. 28 16:47:30 MYLAP bluetoothd[866]: avrcp-controller profile connect failed for 0C:A6:94:85:44:E3: Operation already in progress
févr. 28 16:48:59 MYLAP bluetoothd[866]: Endpoint unregistered: sender=:1.45 path=/MediaEndpoint/A2DPSource
févr. 28 16:48:59 MYLAP bluetoothd[866]: Endpoint unregistered: sender=:1.45 path=/MediaEndpoint/A2DPSink
févr. 28 16:48:59 MYLAP bluetoothd[866]: Endpoint registered: sender=:1.45 path=/MediaEndpoint/A2DPSource
févr. 28 16:48:59 MYLAP bluetoothd[866]: Endpoint registered: sender=:1.45 path=/MediaEndpoint/A2DPSink
Se reconnecte, mais avec son saccadé....
~ $ sudo service bluetooth status
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2020-02-28 16:31:28 CET; 26min ago
Docs: man:bluetoothd(8)
Main PID: 866 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 4915)
CGroup: /system.slice/bluetooth.service
└─866 /usr/lib/bluetooth/bluetoothd
févr. 28 16:56:45 MYLAP bluetoothd[866]: Endpoint registered: sender=:1.45 path=/MediaEndpoint/A2DPSource
févr. 28 16:56:45 MYLAP bluetoothd[866]: Endpoint registered: sender=:1.45 path=/MediaEndpoint/A2DPSink
févr. 28 16:57:24 MYLAP bluetoothd[866]: No reply to Start request
févr. 28 16:57:24 MYLAP bluetoothd[866]: Failed to set mode: Invalid Index (0x11)
févr. 28 16:57:24 MYLAP bluetoothd[866]: Failed to set mode: Invalid Index (0x11)
févr. 28 16:57:24 MYLAP bluetoothd[866]: Endpoint unregistered: sender=:1.45 path=/MediaEndpoint/A2DPSource
févr. 28 16:57:24 MYLAP bluetoothd[866]: Endpoint unregistered: sender=:1.45 path=/MediaEndpoint/A2DPSink
févr. 28 16:57:24 MYLAP bluetoothd[866]: Endpoint registered: sender=:1.45 path=/MediaEndpoint/A2DPSource
févr. 28 16:57:24 MYLAP bluetoothd[866]: Endpoint registered: sender=:1.45 path=/MediaEndpoint/A2DPSink
févr. 28 16:57:52 MYLAP bluetoothd[866]: /org/bluez/hci0/dev_0C_A6_94_85_44_E3/fd8: fd(37) ready
Se reconnecte....
sudo service bluetooth status
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2020-02-28 16:31:28 CET; 44min ago
Docs: man:bluetoothd(8)
Main PID: 866 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 4915)
CGroup: /system.slice/bluetooth.service
└─866 /usr/lib/bluetooth/bluetoothd
févr. 28 16:57:52 MYLAP bluetoothd[866]: /org/bluez/hci0/dev_0C_A6_94_85_44_E3/fd8: fd(37) ready
févr. 28 17:01:58 MYLAP bluetoothd[866]: Endpoint unregistered: sender=:1.45 path=/MediaEndpoint/A2DPSource
févr. 28 17:01:58 MYLAP bluetoothd[866]: Endpoint unregistered: sender=:1.45 path=/MediaEndpoint/A2DPSink
févr. 28 17:01:59 MYLAP bluetoothd[866]: Endpoint registered: sender=:1.45 path=/MediaEndpoint/A2DPSource
févr. 28 17:01:59 MYLAP bluetoothd[866]: Endpoint registered: sender=:1.45 path=/MediaEndpoint/A2DPSink
févr. 28 17:02:24 MYLAP bluetoothd[866]: Endpoint unregistered: sender=:1.45 path=/MediaEndpoint/A2DPSource
févr. 28 17:02:24 MYLAP bluetoothd[866]: Endpoint unregistered: sender=:1.45 path=/MediaEndpoint/A2DPSink
févr. 28 17:02:24 MYLAP bluetoothd[866]: Endpoint registered: sender=:1.45 path=/MediaEndpoint/A2DPSource
févr. 28 17:02:24 MYLAP bluetoothd[866]: Endpoint registered: sender=:1.45 path=/MediaEndpoint/A2DPSink
févr. 28 17:03:24 MYLAP bluetoothd[866]: /org/bluez/hci0/dev_0C_A6_94_85_44_E3/fd9: fd(35) ready
Etc....
Merci pour votre aide !